Executions
An execution is one end-to-end agent run. It contains spans (units of work) and events (timeline entries).Lifecycle
POST /api/v1/executions- start withagent_id, optionaltriggerandmetadataPOST /api/v1/executions/{id}/spans- ingest spans (auto-emitsSPAN_STARTED/SPAN_ENDED)POST /api/v1/executions/{id}/events- custom mid-span eventsPUT /api/v1/executions/{id}/end- set final status
Span DAG
Spans link viaparent_span_id and caused_by_span_ids forming a directed acyclic graph rendered in the dashboard with React Flow.
Query: GET /api/v1/executions/{id}/dag
Replay
GET /api/v1/executions/{id}/replay?from_sequence=&to_sequence= returns ordered frames for frame-by-frame debugging.