API referenceRuns
Thread Stream
Live output of the thread's runs over SSE: `delta` and `boundary` frames with `changed`, `reset`, `gap`.
GET
/api/v1/threads/{thread_id}/streamLive output of the thread's runs over SSE: delta and boundary frames with changed, reset, gap.
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