API referenceRuns
Thread Stream
Live output of one thread's runs over SSE: `delta` and `boundary` frames with `changed`, `reset`, `gap`. Resumes from `Last-Event-ID` or a run's `position`; the session stream suits clients that do not track them.
GET
/api/v1/threads/{thread_id}/streamLive output of one thread's runs over SSE: delta and boundary frames with changed, reset, gap.
Resumes from Last-Event-ID or a run's position; the session stream suits clients that do not track them.
AuthorizationBearer <token>
A workspace API key (a13n_...)
In: header
Path Parameters
thread_id*Thread Id
Query Parameters
run?string|null
position?|null
Header Parameters
Last-Event-ID?|null
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/threads/string/stream"Empty