Skip to main content
GET
Read a durable AI chat session's event log, as a page or an SSE tail (bearer token)

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Last-Event-ID
string | null

Path Parameters

session_id
string<uuid>
required

Query Parameters

since
integer
default:0
Required range: x >= 0
limit
integer
default:1000
Required range: 1 <= x <= 5000
stream
boolean
default:false

Response

stream=false: the event page after since (SessionEventsPage). stream=true: the SSE tail - persisted events replay first (id = sequence number), live events follow with 4-second heartbeats, and the terminal end frame closes the stream; resume with since or the Last-Event-ID header (the larger wins)