curl --request GET \
--url https://api.example.com/sessions/{id}/events \
--header 'Authorization: Bearer <token>'"<string>"Opens a server-sent event (SSE) stream for real-time session updates.
Each SSE frame includes a sequential numeric id: field that supports
resumption via the Last-Event-ID request header.
The stream emits the following SSE event types:
event: content_delta — data: {"delta": "..."} (incremental text chunk)event: assistant_turn — data: AssistantTurn JSON objectevent: tool_turn — data: ToolTurn JSON objectevent: done — data: {} (stream complete)event: error — data: {"message": "..."} (error occurred)Each SSE frame has an id: line (sequential integer), an event: line (the event type),
and a data: line (the JSON payload).
curl --request GET \
--url https://api.example.com/sessions/{id}/events \
--header 'Authorization: Bearer <token>'"<string>"JWT bearer token issued by fabro-web. See the Authentication guide for details.
SSE reconnection header. When provided, the server resumes the stream after the event with this ID. IDs are 0-based sequential integers assigned to each emitted SSE frame.
Unique session identifier.
Server-sent event stream
The response is of type string.