Getsessionbyid

View as MarkdownOpen in Claude

Session detail with a built step tree and policy events.

404 when no rows are found for the session.

Success data: { "sessionId", "steps", "summary", "policyEvents" }.

Path parameters

idstringRequired
Session id.

Headers

AuthorizationstringOptional

Optional. Bearer JWT, Virtual Key, or PAT. Server also accepts Cookie alephant_token; not modeled as a header here.

X-Workspace-IdstringOptional

Optional in the spec; required for authenticated analytics. Omit for unauthenticated GET /v1/analytics/health.

Response

codeinteger
messagestring
dataany