Join a run stream. This endpoint streams output in real-time from a run similar to the /threads/THREAD_ID/runs/stream endpoint. If the run has been created with stream_resumable=true
, the stream can be resumed from the last seen event ID.
The ID of the last event received. Set to -1 if you want to stream all events. Requires stream_resumable=true
to be set when creating the run.
The ID of the thread.
The ID of the run.
The mode to stream the run in. If not provided, the default mode will be used.
If true, the run will be cancelled if the client disconnects.
Success
The server will send a stream of events in SSE format.
Example event:
id: 1
event: message
data: {}