This endpoint streams output in real-time from a thread. The stream will include the output of each run executed sequentially on the thread and will remain open indefinitely. It is the responsibility of the calling client to close the connection.
The ID of the last event received. Used to resume streaming from a specific point. Pass '-' to resume from the beginning.
The ID of the thread.
Stream modes to control which events are returned. 'lifecycle' returns only run start/end events, 'run_modes' returns all run events (default behavior), 'state_update' returns only state update events.
lifecycle
, run_modes
, state_update
Success
The server will send a stream of events in SSE format.
Example event:
id: 1
event: message
data: {}