Agent Chat

Get Events

Poll-transport read of the event bus: events with seq > since.

Replaces the held-SSE /stream for the web client (T-907): a held stream cost one connection per open tab plus a server-side 250ms DB poll for its lifetime, while this endpoint costs one read per client poll tick.

Returns one read_page page (500 raw rows): next_since is the raw-scan watermark the client resumes from (advances even across retired-kind stretches the filter drops), has_more=True tells it to re-poll immediately instead of waiting a full interval, so a long history replays in a fast page loop.

get/api/agent-chat/sessions/{session_id}/events

Path parameters

session_idstring required

Query parameters

sinceinteger

Cookies

ex_accessstring nullable
ex_orgstring nullable

Response

Successful Response

{"stackTrail":"paths:/api/agent-chat/sessions/{session_id}/events:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.