Skip to main content
GET
Returns the parsed conversation history for a session, including all events from the agent’s JSONL log. Required scope: sessions:read

Path Parameters

string
required
The session ID (e.g. ses_abc123).

Query Parameters

string
The Claude CLI session UUID. If omitted, falls back to the session’s stored agent_session_id. Returns an empty list if neither is available.

Headers

string
required
Bearer token. Example: Bearer runtm_xxx

Response

array
Array of parsed conversation events from the agent’s JSONL log.
integer
Total number of events returned.