Agent Sessions

Follow the chat

Follow the chat reads the open conversation. The first line is sequence 0, the session start for Assistant, with no turn yet.

get/v1/agent-sessions/{id}/stream

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /v1/agent-sessions/{id}/stream
  • Auth: HTTP bearer

Path parameters

idstring required

Session id.

Example:session_abc123

Stable session id.

Query parameters

afterSeqinteger

Last sequence already shown.

Send the last sequence already shown when reconnecting. The first read omits this.

Headers

Acceptstring
Example:application/x-ndjson

Ask for one event per line.

Response

Session started.

Changes

No recorded changes to this operation across all 50 revisions of this API.