Read a Robot session turn stream
Read persisted turn events after an offset, optionally attaching to the live tail using Server-Sent Events.
/robots/sessions/{session_id}/turns/{turn_id}Read persisted turn events after an offset, optionally attaching to the live tail using Server-Sent Events.
In: cookie
Path Parameters
Robot session ID
Robot turn ID
Query Parameters
Read events after this stream offset. Use -1 to start at beginning.
Attach to the live stream tail after catching up.
Response Body
application/json
curl -X GET "https://example.com/robots/sessions/cc5lnd2s1s4652adtu50/turns/cc5lnd2s1s4652adtu50"[
{
"type": "start",
"messageId": "string"
}
]{
"type": "string",
"title": "string",
"detail": "string",
"trace_id": "string",
"metadata": {}
}Inspect a Robot session event stream HEAD
Inspect the session event stream without reading any events. The supplied offset represents the last event already observed by the caller. The response reports the offset to use for the next read and whether that position is caught up with the stream's current tail. This request returns immediately and does not wait for future events.
Inspect a Robot session turn stream HEAD
Read the current stream offset and state without returning events.