get session
Returns a session by ID, including the tool calls made during the session once it has ended and the engine has delivered its session report (toolCalls is empty until then, and always empty for LiveKit and audio-passthrough sessions, which never produce a report). Tool call names, timing, status and errors are always included; call arguments, results and accessed-document names are only included when transcripts were enabled for the session and the session is not zero-data-retention, since they embed conversation content. HTTP headers and credential-like keys are never returned. Anam-internal admin API keys may fetch sessions of any organization.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Session ID
Response
Successfully retrieved session
A single connection between a client and a persona. Contains metadata but not the transcript or recording — those are fetched separately.
Unique identifier for the session.
ID of the persona the client connected to, or null if the session was issued with an ephemeral persona config.
Label supplied by the caller when minting the session token.
Timestamp when the session started.
Timestamp when the session ended, or null if still active.
Duration of the session in milliseconds, or null if still active.
How the session ended (e.g. NORMAL_EXIT, ERROR), or null if still active.
Hostname of the engine pod that served the session.
Protocol used to stream the session (e.g. https).
Version of the engine pod that served the session.
Arbitrary metadata collected from the client during the session.
Snapshot of the persona configuration taken at the moment the session started.
ID of the API key that minted the session token.
ID of the organization that owns the session. IDs may be either UUIDs or nanoid-style strings depending on when the organization was created.
Timestamp when the session record was created.
Timestamp when the session record was last updated.
Tool calls made during the session, in conversational order. Empty until the session has ended and its report has been delivered.

