Storyden
Robots

Inspect a Robot session event stream

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.

HEAD/robots/sessions/{session_id}/stream

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.

storyden-session<token>

In: cookie

Path Parameters

session_id*string

Robot session ID

Query Parameters

offset?string

Read events after this stream offset. Use -1 to start at beginning.

Response Body

application/json

curl -X HEAD "https://example.com/robots/sessions/cc5lnd2s1s4652adtu50/stream"
Empty
Empty
Empty
Empty
Empty
{
  "type": "string",
  "title": "string",
  "detail": "string",
  "trace_id": "string",
  "metadata": {}
}