GET
Get Chat Detail

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

chat_id
string<uuid>
required

Response

Successful Response

One chat with what explains it: health, priced lines, what it ran, and trace.

agent_config
AgentConfig · object | null
required

The whole agent: what it says, which models run it, and what it can do.

AgentBase plus the session this agent owns and the media stack that session runs — which is what a task, running inside someone else's session, has none of.

A complete definition, not a patch — whatever it omits takes that field's default.

agent_plan
StoredAgentPlan · object | null
required

What a call ran, frozen at the moment it started.

Written only when the call differs from "the published agent, as-is" — so a null agent_plan means exactly that. members[0] is the agent that answered.

agent_version
required
billed_at
string<date-time> | null
required
billing_status
string
required
chat
ChatResponse · object
required

One chat: a text session from its first message to its end.

contact_userdata
Contact Userdata · object
required
cost
CostDetailResponse · object | null
required

The three totals, plus the priced lines they were summed from.

pricing_snapshot is the exact PriceBreakdown the biller wrote at seal, rates and all — declared as one rather than as a bag so every reader gets the real shape instead of re-deriving it. Only the computed branch of the biller writes a breakdown here, and this whole model is None unless billing_status = 'computed', so the {"error": …} shape the unpriceable path writes to the same column is unreachable from here.

events
SessionEventResponse · object[]
required
snapshot
HealthSnapshotResponse · object
required

The band at the top of the call and conversation views.

starting_prompt
string
default:""
required
team
TeamMemberResponse · object[]
required
tools
SessionToolResponse · object[]
required
vars
Vars · object
required