GET
/
threads
/
{thread_id}
/
stream
Join Thread Stream
curl --request GET \
  --url https://api.b-bot.space/v2/threads/{thread_id}/stream
"<string>"

Headers

Last-Event-ID
string

The ID of the last event received. Used to resume streaming from a specific point. Pass '-' to resume from the beginning.

Path Parameters

thread_id
string<uuid>
required

The ID of the thread.

Query Parameters

stream_modes
default:["run_modes"]

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.

Available options:
lifecycle,
run_modes,
state_update

Response

200
text/event-stream

Success

The server will send a stream of events in SSE format.

Example event:

id: 1

event: message

data: {}