Stream Run
GET/v1/agents/:agent_id/runs/:run_id:stream
Stream run output as Server-Sent Events (SSE).
Clients reconnect with ?starting_after={last_streamId} to resume
from where they left off. Each SSE data event contains a streamId
field that serves as the cursor for resumption.
Status Codes:
200: Stream started (text/event-stream)404: Agent or run not found
Request
Responses
- 200
- 400
Server-Sent Events stream. Each data: event is a JSON object. Keepalives are emitted as : keepalive SSE comments with no data.
Validation Error