Skip to main content
GET
Get Agent Session

Authorizations

Authorization
string
header
required

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

Path Parameters

session_id
string
required

Response

Request fulfilled, document follows

session_id
string
required
agent_id
string
required
agent_name
string
required
status
enum<string>
required
Available options:
pending,
active,
completed,
failed,
unknown
source
enum<string>
required
Available options:
api_key,
dashboard,
public,
phone
created_at
string
required
name
string | null
direction
enum<string>
default:inbound
Available options:
inbound,
outbound
dial_status
enum<string> | null
Available options:
answered,
busy,
no_answer,
failed
answered_by
enum<string> | null
Available options:
human,
voicemail,
unknown
caller_number
string | null
dialed_number
string | null
timezone
string | null
started_at
string | null
ended_at
string | null
duration_seconds
integer | null
metadata
Metadata · object
items
(AgentSessionMessageItem · object | AgentSessionToolCallItem · object | AgentSessionToolResultItem · object)[]

One transcript message; system messages never surface here.

analysis
AgentSessionAnalysisResult · object | null

Public trim of the post-call analysis record: outcomes only, no run internals (model, tokens, config hash).