API referenceRuns
Session Stream
The session's threads and the live output of their runs over SSE: `thread`, `items`, `delta` and `gap` frames, plus `schedule` and `occurrence` state scoped to this session. Every connection starts from a snapshot.
GET
/api/v1/sessions/{session_id}/streamThe session's threads and the live output of their runs over SSE: thread, items, delta and gap
frames, plus schedule and occurrence state scoped to this session. Every connection starts from a snapshot.
AuthorizationBearer <token>
A workspace API key (a13n_...)
In: header
Path Parameters
session_id*Session Id
Header Parameters
X-Workspace-ID?|
The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden.
Response Body
text/event-stream
application/json
application/json
curl -X GET "https://example.com/api/v1/sessions/string/stream"Empty