Resume or watch an existing run's SSE event stream
Opens an SSE connection to an already-started run. Replays events from the Last-Event-ID header (or from offset 0 if absent), then blocks for new events until the run reaches a terminal state (done/error/cancelled) or the client disconnects.
Supports multi-device watching: multiple simultaneous connections to the same runId all receive the same event sequence from the shared Redis Stream.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Resume cursor. Set to the id field of the last received SSE frame to replay only new events. Omit (or set to "0") to replay the full event history from the start.
Path Parameters
Run identifier returned by POST /agent/runs.
Response
SSE stream of run events from the requested cursor onward.
W3C Server-Sent Events stream. Same frame format as POST /agent/runs. Ends with a terminal RunEvent (done/error/cancelled).