ExecutionsResource on the Figranium Python SDK gives you full visibility and control over every task run. Use it to list past executions, inspect a single run, clean up history, stop active runs, and subscribe to a live Server-Sent Events stream of execution updates.
Methods
list
list
GET /api/executions/list, which is the route intended for API-key access. If you pass api_key_route=False, the SDK switches to GET /api/executions instead.Most callers should leave
api_key_route at its default (True). Only override it when your deployment requires the alternate route.get
get
GET /api/executions/{id}.delete
delete
DELETE /api/executions/{id}.clear
clear
POST /api/executions/clear.stop
stop
POST /api/executions/stop.stream
stream
GET /api/executions/stream and yields each event as it arrives. The iterator stays open until the server closes the stream, the client stops iterating, or the request is aborted.For details on the StreamEvent shape and how cancellation works, see Streaming. For error handling, see Errors.AsyncFigranium, stream returns an AsyncIterator[StreamEvent] and you iterate with async for.