Agent Chat
Get Session
Metadata + last_seq for client reconnect/init.
Clients call this once on page load, then open /stream?since=<last_seq>. The segment object carries the segment-level lifecycle (status + paused
- phase_entered_at) so the UI can render the status pill and input placeholder before the first SSE event arrives.
get/api/agent-chat/sessions/{session_id}
Path parameters
session_idstring required
Cookies
ex_accessstring nullable
ex_orgstring nullable
Response
Successful Response
{"stackTrail":"paths:/api/agent-chat/sessions/{session_id}:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}