Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
session_id
string
required
Query Parameters
include
string | null
Comma-separated extra sections to return. Allowed values: turns (per-turn latency; without it turns is null). Any other value answers 400.
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
conversation_status
string
required
How the conversation went, derived from status and end_reason. Current values: active is still going; resolved ended normally, which does not mean the caller's problem was solved; escalated was transferred to a person; missed is a call nobody connected to, or one the caller left before the agent started; error is a conversation the platform ended because something failed. New values may be added, so treat an unknown value as a status you do not recognise rather than an error. Filter the list with conversation_status, which accepts only the values above.
source
enum<string>
required
Available options:
api_key,
dashboard,
public,
phone,
whatsapp
created_at
string
required
name
string | null
end_user_id
string | null
end_reason
enum<string> | null
Available options:
user_hangup,
agent_hangup,
escalated,
conversation_timeout,
heartbeat_timeout,
agent_join_timeout,
internal_error,
llm_endpoint_failure,
room_join_timeout,
cancelled,
dial_failed,
call_rejected
rejection_reason
enum<string> | null
Why an inbound phone call was refused before entering a session (when end_reason is call_rejected). Null on all other sessions.
Available options:
missing_dynamic_variables,
agent_not_published,
number_unassigned,
number_not_active,
out_of_credit,
concurrency_limit_exceeded
rejection_detail
string | null
Human-readable detail for rejection_reason when extra context is available, such as missing dynamic variable names or phone number status. Null when no extra context applies. Intended for display, wording is not guaranteed to stay stable.
direction
enum<string>
default:inbound
Available options:
inbound,
outbound
dial_status
enum<string> | null
Available options:
answered,
busy,
no_answer,
failed
dial_sip_status
integer | null
busy, no_answer and failed: the final SIP response code the carrier or your SIP trunk gave to the outbound dial. Null on an answered call and when it gave none.
dial_sip_reason
string | null
The reason text the carrier or your SIP trunk sent with dial_sip_status, verbatim, for example Busy here. Null when it sent none.
answered_by
enum<string> | null
Available options:
human,
voicemail,
unknown
caller_number
string | null
caller_id_withheld
boolean | null
dialed_number
string | null
sip_call_id
string | null
call_sid
string | null
timezone
string | null
started_at
string | null
ended_at
string | null
duration_seconds
integer | null
participant_identity
string | null
agent_participant_identity
string | null
agent_joined_at
string | null
metadata
Metadata · object
Show child attributes
content_purged_at
string | null
keypad_menu
AgentSessionKeypadMenu · object | null
How the keypad menu of an inbound phone call ended. outcome is
selected when the caller chose an option, no_input or no_match
when no attempt got a valid choice (the last one had no input, or input
matching no option), and skipped when the menu could not run (a resumed
conversation or no SIP caller). value is what the menu variable
received: the chosen option's value, or the fallback value when the
caller never made a valid choice.
One transcript message; system messages never surface here.
AgentSessionMessageItem
AgentSessionToolCallItem
AgentSessionTransferItem
AgentSessionToolResultItem
Show child attributes
analysis
AgentSessionAnalysisResult · object | null
The post-call analysis of the session.
Show child attributes
llm_endpoint_errors
AgentSessionLlmEndpointError · object[]
Show child attributes
llm_fallbacks
AgentSessionLlmFallback · object[]
Show child attributes
engine_fallbacks
AgentSessionEngineFallback · object[]
Show child attributes
turns
AgentSessionTurn · object[] | null
Per-turn latency, ascending by turn_id. Only returned when include=turns is set; null otherwise. A turn's messages and tool calls are in items with the same turn_id.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Fish Audio","description":"Documentation for Fish Audio APIs, SDKs, models, voice cloning, real-time streaming, and self-hosting.","colors":{"primary":"#0e0e0e","light":"#9b90e8","dark":"#09090b"},"logo":{"light":"https://mintcdn.com/hanabiaiinc/amYp9Dj31LtlHliX/logo/light.png?fit=max\u0026auto=format\u0026n=amYp9Dj31LtlHliX\u0026q=85\u0026s=305973cd6a8d11dbf36d1ec682ee845e","dark":"https://mintcdn.com/hanabiaiinc/amYp9Dj31LtlHliX/logo/dark.png?fit=max\u0026auto=format\u0026n=amYp9Dj31LtlHliX\u0026q=85\u0026s=b79bd889db9ac1aae939834596e8a22f"},"favicon":"https://mintcdn.com/hanabiaiinc/-WxHANLOAmlTUwdM/favicon.svg?fit=max\u0026auto=format\u0026n=-WxHANLOAmlTUwdM\u0026q=85\u0026s=dc65d9f44bda0f5b8277c48dd9c979c3","navbar":{"links":[{"href":"https://discord.gg/dF9Db2Tt3Y","label":"Community"},{"href":"mailto:support@fish.audio","label":"Support"}],"primary":{"type":"button","label":"Sign Up","href":"https://fish.audio/app/developers/get-started/?utm_source=docs\u0026utm_medium=navbar\u0026utm_content=sign-up"}},"footer":{"socials":{"website":"https://fish.audio","github":"https://github.com/fishaudio","x":"https://x.com/fishaudio","linkedin":"https://www.linkedin.com/company/fish-audio","discord":"https://discord.gg/dF9Db2Tt3Y"},"links":[{"header":"About","items":[{"label":"Research","href":"https://openaudio.com/"},{"label":"Careers","href":"mailto:hr@fish.audio"},{"label":"Blog","href":"https://fish.audio/blog"}]},{"header":"Resources","items":[{"label":"API Status","href":"https://status.fish.audio"},{"label":"Open Source","href":"https://github.com/fishaudio"},{"label":"Changelog","href":"https://docs.fish.audio/developer-guide/getting-started/changelog"}]},{"header":"Legal","items":[{"label":"Privacy Policy","href":"https://fish.audio/privacy"},{"label":"Terms of Service","href":"https://fish.audio/terms"},{"label":"Report Abuse","href":"mailto:support@fish.audio?subject=%5BReport+Abuse%5D+MODEL+NAME\u0026amp;body=Please+provide+a+detailed+description+of+the+abuse+you+are+reporting."}]}]},"fonts":{"family":"Onest"},"integrations":{"amplitude":{"apiKey":"39daf30712f00da6ea5283bc21e7084e"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity"],"display":"header"},"interaction":{"drilldown":true},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"hanabiaiinc","hasAudioNarration":false,"actualSubdomain":"hanabiaiinc","customDomains":["docs.fish.audio"],"gitSource":{"type":"github","owner":"fishaudio","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0f8f4b2082dbe35a79b697","clientVersion":"0.0.4410","searchFilterCounts":[{"language":"default","tag":"API Reference","count":114},{"language":"default","tag":"Agents API","count":72},{"language":"default","tag":"Agents","count":58},{"language":"default","tag":"Resources","count":43},{"language":"default","tag":"Overview","count":32},{"language":"default","tag":"REST API","count":26},{"language":"default","tag":"Tests","count":17},{"language":"default","tag":"Core Features","count":15},{"language":"default","tag":"Cookbook","count":13},{"language":"default","tag":"Build","count":12}]},"assistantConfig":{"enableAskAiButton":true,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@fish.audio","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[{"filePath":"custom.css","content":"*{scrollbar-width:thin;scrollbar-color:rgba(120,120,120,0.4) transparent}::-webkit-scrollbar{width:6px;height:6px;background:transparent!important}::-webkit-scrollbar-thumb{background:rgba(120,120,120,0.5);border-radius:999px}::-webkit-scrollbar-thumb{opacity:0;transition:opacity 0.2s ease}:hover::-webkit-scrollbar-thumb,*:active::-webkit-scrollbar-thumb{opacity:1}img[src*=\"/images/\"]{background:transparent!important}.prompt-card{display:grid;cursor:pointer;outline:none}.prompt-card .card{transition:border-color 0.15s ease}.prompt-card:hover .card,.prompt-card:focus-visible .card{border-color:rgb(var(--primary))!important}.dark .prompt-card:hover .card,.dark .prompt-card:focus-visible .card{border-color:rgb(var(--primary-light))!important}.prompt-card-hint{position:absolute;top:1rem;right:1rem;padding:0.3rem 0.6rem;border-radius:9999px;font-size:0.75rem;line-height:1;color:rgb(var(--gray-500));background:rgba(120, 120, 120, 0.12);opacity:0;transition:opacity 0.15s ease;pointer-events:none}.prompt-card:hover .prompt-card-hint,.prompt-card:focus-visible .prompt-card-hint,.prompt-card[data-state=\"copied\"] .prompt-card-hint,.prompt-card[data-state=\"failed\"] .prompt-card-hint{opacity:1}.prompt-card[data-state=\"copied\"] .prompt-card-hint{color:rgb(var(--primary));background:rgb(var(--primary) / 0.12)}.dark .prompt-card[data-state=\"copied\"] .prompt-card-hint{color:rgb(var(--primary-light));background:rgb(var(--primary-light) / 0.16)}.tab-container:is(.console-api,:has(>.console-api)){margin:1.5rem 0;padding:0.875rem 1.25rem 1.125rem;border:1px solid rgb(var(--gray-200));border-radius:1rem}.dark .tab-container:is(.console-api,:has(>.console-api)){border-color:rgb(255 255 255 / 0.1)}.tab-container:is(.console-api,:has(>.console-api))>[data-component-part=\"tabs-list\"]{display:flex;width:fit-content;min-width:0;gap:2px;padding:3px;margin-bottom:0.875rem;border:0;border-radius:9px;background:rgb(120 120 120 / 0.12)}.tab-container:is(.console-api,:has(>.console-api))>[data-component-part=\"tabs-list\"] [data-component-part=\"tab-button\"]{padding:2px 10px;margin:0;border:0;border-radius:6px;font-size:0.8125rem;font-weight:500;line-height:1.375rem;color:rgb(var(--gray-600))}.tab-container:is(.console-api,:has(>.console-api))>[data-component-part=\"tabs-list\"] [data-component-part=\"tab-button\"]:hover{color:rgb(var(--gray-900))}.tab-container:is(.console-api,:has(>.console-api))>[data-component-part=\"tabs-list\"] [data-component-part=\"tab-button\"][data-active=\"true\"]{color:rgb(var(--primary));background:#fff;box-shadow:0 1px 2px rgb(0 0 0 / 0.1)}.dark .tab-container:is(.console-api,:has(>.console-api))>[data-component-part=\"tabs-list\"] [data-component-part=\"tab-button\"]{color:rgb(var(--gray-400))}.dark .tab-container:is(.console-api,:has(>.console-api))>[data-component-part=\"tabs-list\"] [data-component-part=\"tab-button\"]:hover{color:rgb(var(--gray-200))}.dark .tab-container:is(.console-api,:has(>.console-api))>[data-component-part=\"tabs-list\"] [data-component-part=\"tab-button\"][data-active=\"true\"]{color:rgb(var(--primary-light));background:rgb(255 255 255 / 0.12);box-shadow:none}.tab-container:is(.console-api,:has(>.console-api))>[data-component-part=\"tabs-list\"] .tab-icon{width:0.8125rem;height:0.8125rem;background-color:currentColor}.tab-container:is(.console-api,:has(>.console-api))>div>[data-component-part=\"tab-content\"]>:first-child{margin-top:0}.tab-container:is(.console-api,:has(>.console-api))>div>[data-component-part=\"tab-content\"]>:last-child{margin-bottom:0}"}]}
{"page":{"pagePath":"api-reference/endpoint/agent/get-agent-session","slug":"/api-reference/endpoint/agent/get-agent-session","pageMetadata":{"openapi":"get /v1/agent/sessions/{session_id}","title":"Get Voice Agent Session","sidebarTitle":"Get Agent Session","description":"Fetch one session's full detail: status, timing, and the conversation\ntimeline (transcript turns interleaved with tool calls, in order).","icon":"headset","iconType":"solid","href":"/api-reference/endpoint/agent/get-agent-session"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Fetch one session’s full detail: status, timing, and the conversation\\ntimeline (transcript turns interleaved with tool calls, in order).\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"get /v1/agent/sessions/{session_id}","title":"Get Voice Agent Session","sidebarTitle":"Get Agent Session","description":"Fetch one session's full detail: status, timing, and the conversation\ntimeline (transcript turns interleaved with tool calls, in order).","icon":"headset","iconType":"solid","href":"/api-reference/endpoint/agent/get-agent-session"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Get Agent Session","description":"Fetch one session's full detail: status, timing, and the conversation\ntimeline (transcript turns interleaved with tool calls, in order).","security":["e3406302-dbfa-4997-9395-77d457ffb895"],"parameters":["2ca44dc3-e142-43e6-816c-df5ff02b46ce","aa87bebd-6305-4d42-830c-a91dea91371c"],"responses":{"200":"d0544ae5-b22b-4858-a3c6-fc4d2b97d260","400":"055c98dd-d553-4cf1-8e39-b955fb1a848f","401":"58f46c5a-de17-45e6-9f74-d1691f45aa0a","404":"5ccd3d03-d3e4-4a04-a38e-42a3d14fd802","502":"47523e83-9936-404b-a5f1-6c00e7aa115d","503":"f891affa-b81f-4cd2-ac09-52b961b60907"},"tags":["Agent Sessions"],"method":"get","type":"path","servers":["d5525dc3-ebcf-4a6b-8358-76716e8b1400"],"path":"/https/docs.fish.audio/v1/agent/sessions/{session_id}","baseUrlOptions":["https://api.fish.audio"],"title":"Get Agent Session","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"2ca44dc3-e142-43e6-816c-df5ff02b46ce":{"in":"path","name":"session_id","description":"","required":true,"schema":{"title":"Session Id","type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"},"deprecated":false},"aa87bebd-6305-4d42-830c-a91dea91371c":{"in":"query","name":"include","description":"Comma-separated extra sections to return. Allowed values: `turns` (per-turn latency; without it `turns` is null). Any other value answers 400.","required":false,"schema":{"oneOf":[{"type":"string","title":"Include","description":"Comma-separated extra sections to return. Allowed values: `turns` (per-turn latency; without it `turns` is null). Any other value answers 400.","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"Include","description":"Comma-separated extra sections to return. Allowed values: `turns` (per-turn latency; without it `turns` is null). Any other value answers 400.","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"},"deprecated":false}},"responses":{"d0544ae5-b22b-4858-a3c6-fc4d2b97d260":{"description":"Request fulfilled, document follows","headers":{},"content":{"application/json":{"schema":{"properties":{"session_id":{"title":"Session Id","type":"string","isRequired":true,"uniqueKey":"session_id","typeLabel":"string"},"agent_id":{"title":"Agent Id","type":"string","isRequired":true,"uniqueKey":"agent_id","typeLabel":"string"},"agent_name":{"title":"Agent Name","type":"string","isRequired":true,"uniqueKey":"agent_name","typeLabel":"string"},"status":{"enum":["pending","active","completed","failed","unknown"],"title":"Status","type":"string","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"conversation_status":{"description":"How the conversation went, derived from `status` and `end_reason`. Current values: `active` is still going; `resolved` ended normally, which does not mean the caller's problem was solved; `escalated` was transferred to a person; `missed` is a call nobody connected to, or one the caller left before the agent started; `error` is a conversation the platform ended because something failed. New values may be added, so treat an unknown value as a status you do not recognise rather than an error. Filter the list with `conversation_status`, which accepts only the values above.","title":"Conversation Status","type":"string","isRequired":true,"uniqueKey":"conversation_status","typeLabel":"string"},"source":{"enum":["api_key","dashboard","public","phone","whatsapp"],"title":"Source","type":"string","isRequired":true,"uniqueKey":"source","typeLabel":"enum\u003cstring>"},"created_at":{"title":"Created At","type":"string","isRequired":true,"uniqueKey":"created_at","typeLabel":"string"},"name":{"oneOf":[{"type":"string","title":"Name","uniqueKey":"name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","uniqueKey":"name.oneOf.1","typeLabel":"null"}],"uniqueKey":"name","typeLabel":"string | null"},"end_user_id":{"oneOf":[{"type":"string","title":"End User Id","uniqueKey":"end_user_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"End User Id","uniqueKey":"end_user_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"end_user_id","typeLabel":"string | null"},"end_reason":{"oneOf":[{"type":"string","title":"End Reason","enum":["user_hangup","agent_hangup","escalated","conversation_timeout","heartbeat_timeout","agent_join_timeout","internal_error","llm_endpoint_failure","room_join_timeout","cancelled","dial_failed","call_rejected"],"uniqueKey":"end_reason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"End Reason","uniqueKey":"end_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"end_reason","typeLabel":"enum\u003cstring> | null"},"rejection_reason":{"oneOf":[{"type":"string","title":"Rejection Reason","description":"Why an inbound phone call was refused before entering a session (when end_reason is call_rejected). Null on all other sessions.","enum":["missing_dynamic_variables","agent_not_published","number_unassigned","number_not_active","out_of_credit","concurrency_limit_exceeded"],"uniqueKey":"rejection_reason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Rejection Reason","description":"Why an inbound phone call was refused before entering a session (when end_reason is call_rejected). Null on all other sessions.","uniqueKey":"rejection_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"rejection_reason","typeLabel":"enum\u003cstring> | null"},"rejection_detail":{"oneOf":[{"type":"string","title":"Rejection Detail","description":"Human-readable detail for rejection_reason when extra context is available, such as missing dynamic variable names or phone number status. Null when no extra context applies. Intended for display, wording is not guaranteed to stay stable.","uniqueKey":"rejection_detail.oneOf.0","typeLabel":"string"},{"type":"null","title":"Rejection Detail","description":"Human-readable detail for rejection_reason when extra context is available, such as missing dynamic variable names or phone number status. Null when no extra context applies. Intended for display, wording is not guaranteed to stay stable.","uniqueKey":"rejection_detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"rejection_detail","typeLabel":"string | null"},"direction":{"default":"inbound","enum":["inbound","outbound"],"title":"Direction","type":"string","uniqueKey":"direction","typeLabel":"enum\u003cstring>"},"dial_status":{"oneOf":[{"type":"string","title":"Dial Status","enum":["answered","busy","no_answer","failed"],"uniqueKey":"dial_status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Dial Status","uniqueKey":"dial_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"dial_status","typeLabel":"enum\u003cstring> | null"},"dial_sip_status":{"oneOf":[{"type":"integer","title":"Dial Sip Status","description":"busy, no_answer and failed: the final SIP response code the carrier or your SIP trunk gave to the outbound dial. Null on an answered call and when it gave none.","uniqueKey":"dial_sip_status.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Dial Sip Status","description":"busy, no_answer and failed: the final SIP response code the carrier or your SIP trunk gave to the outbound dial. Null on an answered call and when it gave none.","uniqueKey":"dial_sip_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"dial_sip_status","typeLabel":"integer | null"},"dial_sip_reason":{"oneOf":[{"type":"string","title":"Dial Sip Reason","description":"The reason text the carrier or your SIP trunk sent with dial_sip_status, verbatim, for example `Busy here`. Null when it sent none.","uniqueKey":"dial_sip_reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Dial Sip Reason","description":"The reason text the carrier or your SIP trunk sent with dial_sip_status, verbatim, for example `Busy here`. Null when it sent none.","uniqueKey":"dial_sip_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"dial_sip_reason","typeLabel":"string | null"},"answered_by":{"oneOf":[{"type":"string","title":"Answered By","enum":["human","voicemail","unknown"],"uniqueKey":"answered_by.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Answered By","uniqueKey":"answered_by.oneOf.1","typeLabel":"null"}],"uniqueKey":"answered_by","typeLabel":"enum\u003cstring> | null"},"caller_number":{"oneOf":[{"type":"string","title":"Caller Number","uniqueKey":"caller_number.oneOf.0","typeLabel":"string"},{"type":"null","title":"Caller Number","uniqueKey":"caller_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"caller_number","typeLabel":"string | null"},"caller_id_withheld":{"oneOf":[{"type":"boolean","title":"Caller Id Withheld","uniqueKey":"caller_id_withheld.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Caller Id Withheld","uniqueKey":"caller_id_withheld.oneOf.1","typeLabel":"null"}],"uniqueKey":"caller_id_withheld","typeLabel":"boolean | null"},"dialed_number":{"oneOf":[{"type":"string","title":"Dialed Number","uniqueKey":"dialed_number.oneOf.0","typeLabel":"string"},{"type":"null","title":"Dialed Number","uniqueKey":"dialed_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"dialed_number","typeLabel":"string | null"},"sip_call_id":{"oneOf":[{"type":"string","title":"Sip Call Id","uniqueKey":"sip_call_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Sip Call Id","uniqueKey":"sip_call_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"sip_call_id","typeLabel":"string | null"},"call_sid":{"oneOf":[{"type":"string","title":"Call Sid","uniqueKey":"call_sid.oneOf.0","typeLabel":"string"},{"type":"null","title":"Call Sid","uniqueKey":"call_sid.oneOf.1","typeLabel":"null"}],"uniqueKey":"call_sid","typeLabel":"string | null"},"timezone":{"oneOf":[{"type":"string","title":"Timezone","uniqueKey":"timezone.oneOf.0","typeLabel":"string"},{"type":"null","title":"Timezone","uniqueKey":"timezone.oneOf.1","typeLabel":"null"}],"uniqueKey":"timezone","typeLabel":"string | null"},"started_at":{"oneOf":[{"type":"string","title":"Started At","uniqueKey":"started_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Started At","uniqueKey":"started_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"started_at","typeLabel":"string | null"},"ended_at":{"oneOf":[{"type":"string","title":"Ended At","uniqueKey":"ended_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Ended At","uniqueKey":"ended_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"ended_at","typeLabel":"string | null"},"duration_seconds":{"oneOf":[{"type":"integer","title":"Duration Seconds","uniqueKey":"duration_seconds.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Duration Seconds","uniqueKey":"duration_seconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"duration_seconds","typeLabel":"integer | null"},"participant_identity":{"oneOf":[{"type":"string","title":"Participant Identity","uniqueKey":"participant_identity.oneOf.0","typeLabel":"string"},{"type":"null","title":"Participant Identity","uniqueKey":"participant_identity.oneOf.1","typeLabel":"null"}],"uniqueKey":"participant_identity","typeLabel":"string | null"},"agent_participant_identity":{"oneOf":[{"type":"string","title":"Agent Participant Identity","uniqueKey":"agent_participant_identity.oneOf.0","typeLabel":"string"},{"type":"null","title":"Agent Participant Identity","uniqueKey":"agent_participant_identity.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent_participant_identity","typeLabel":"string | null"},"agent_joined_at":{"oneOf":[{"type":"string","title":"Agent Joined At","uniqueKey":"agent_joined_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Agent Joined At","uniqueKey":"agent_joined_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent_joined_at","typeLabel":"string | null"},"metadata":{"additionalProperties":{"oneOf":[{}],"uniqueKey":"metadata.additionalProperties","typeLabel":"any"},"title":"Metadata","type":"object","uniqueKey":"metadata","typeLabel":"Metadata · object"},"content_purged_at":{"oneOf":[{"type":"string","title":"Content Purged At","uniqueKey":"content_purged_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Content Purged At","uniqueKey":"content_purged_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"content_purged_at","typeLabel":"string | null"},"keypad_menu":{"oneOf":[{"type":"object","title":"AgentSessionKeypadMenu","description":"How the keypad menu of an inbound phone call ended. `outcome` is\n`selected` when the caller chose an option, `no_input` or `no_match`\nwhen no attempt got a valid choice (the last one had no input, or input\nmatching no option), and `skipped` when the menu could not run (a resumed\nconversation or no SIP caller). `value` is what the menu variable\nreceived: the chosen option's value, or the fallback value when the\ncaller never made a valid choice.","required":["outcome","variable","value"],"properties":{"outcome":{"enum":["selected","no_input","no_match","skipped"],"title":"Outcome","type":"string","isRequired":true,"uniqueKey":"keypad_menu.oneOf.0.outcome","typeLabel":"enum\u003cstring>"},"variable":{"title":"Variable","type":"string","isRequired":true,"uniqueKey":"keypad_menu.oneOf.0.variable","typeLabel":"string"},"value":{"title":"Value","type":"string","isRequired":true,"uniqueKey":"keypad_menu.oneOf.0.value","typeLabel":"string"},"key":{"oneOf":[{"type":"string","title":"Key","uniqueKey":"keypad_menu.oneOf.0.key.oneOf.0","typeLabel":"string"},{"type":"null","title":"Key","uniqueKey":"keypad_menu.oneOf.0.key.oneOf.1","typeLabel":"null"}],"uniqueKey":"keypad_menu.oneOf.0.key","typeLabel":"string | null"},"input":{"oneOf":[{"type":"string","title":"Input","enum":["dtmf","speech"],"uniqueKey":"keypad_menu.oneOf.0.input.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Input","uniqueKey":"keypad_menu.oneOf.0.input.oneOf.1","typeLabel":"null"}],"uniqueKey":"keypad_menu.oneOf.0.input","typeLabel":"enum\u003cstring> | null"},"attempts":{"default":0,"title":"Attempts","type":"integer","uniqueKey":"keypad_menu.oneOf.0.attempts","typeLabel":"integer"},"completed_at":{"oneOf":[{"type":"string","title":"Completed At","format":"date-time","uniqueKey":"keypad_menu.oneOf.0.completed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Completed At","uniqueKey":"keypad_menu.oneOf.0.completed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"keypad_menu.oneOf.0.completed_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"keypad_menu.oneOf.0","typeLabel":"AgentSessionKeypadMenu · object"},{"type":"null","uniqueKey":"keypad_menu.oneOf.1","typeLabel":"null"}],"uniqueKey":"keypad_menu","typeLabel":"AgentSessionKeypadMenu · object | null"},"unattributed_llm_usage":{"items":{"properties":{"status":{"enum":["complete","pending","unavailable"],"title":"Status","type":"string","isRequired":true,"uniqueKey":"unattributed_llm_usage.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"billing_mode":{"enum":["tokens","included","legacy"],"title":"Billing Mode","type":"string","isRequired":true,"uniqueKey":"unattributed_llm_usage.items.[INDEX].billing_mode","typeLabel":"enum\u003cstring>"},"message_generation_id":{"oneOf":[{"type":"string","title":"Message Generation Id","uniqueKey":"unattributed_llm_usage.items.[INDEX].message_generation_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Message Generation Id","uniqueKey":"unattributed_llm_usage.items.[INDEX].message_generation_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"unattributed_llm_usage.items.[INDEX].message_generation_id","typeLabel":"string | null"},"turn_id":{"oneOf":[{"type":"integer","title":"Turn Id","uniqueKey":"unattributed_llm_usage.items.[INDEX].turn_id.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Turn Id","uniqueKey":"unattributed_llm_usage.items.[INDEX].turn_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"unattributed_llm_usage.items.[INDEX].turn_id","typeLabel":"integer | null"},"call_count":{"default":0,"title":"Call Count","type":"integer","uniqueKey":"unattributed_llm_usage.items.[INDEX].call_count","typeLabel":"integer"},"unbilled_call_count":{"default":0,"title":"Unbilled Call Count","type":"integer","uniqueKey":"unattributed_llm_usage.items.[INDEX].unbilled_call_count","typeLabel":"integer"},"usage_complete":{"default":false,"title":"Usage Complete","type":"boolean","uniqueKey":"unattributed_llm_usage.items.[INDEX].usage_complete","typeLabel":"boolean"},"call_ids":{"items":{"type":"string","uniqueKey":"unattributed_llm_usage.items.[INDEX].call_ids.items.[INDEX]","typeLabel":"string"},"title":"Call Ids","type":"array","uniqueKey":"unattributed_llm_usage.items.[INDEX].call_ids","typeLabel":"string[]"},"cost_usd":{"oneOf":[{"type":"string","title":"Cost Usd","uniqueKey":"unattributed_llm_usage.items.[INDEX].cost_usd.oneOf.0","typeLabel":"string"},{"type":"null","title":"Cost Usd","uniqueKey":"unattributed_llm_usage.items.[INDEX].cost_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"unattributed_llm_usage.items.[INDEX].cost_usd","typeLabel":"string | null"},"billable_cost_usd":{"oneOf":[{"type":"string","title":"Billable Cost Usd","uniqueKey":"unattributed_llm_usage.items.[INDEX].billable_cost_usd.oneOf.0","typeLabel":"string"},{"type":"null","title":"Billable Cost Usd","uniqueKey":"unattributed_llm_usage.items.[INDEX].billable_cost_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"unattributed_llm_usage.items.[INDEX].billable_cost_usd","typeLabel":"string | null"},"known_cost_usd":{"default":"0","title":"Known Cost Usd","type":"string","uniqueKey":"unattributed_llm_usage.items.[INDEX].known_cost_usd","typeLabel":"string"},"tokens":{"items":{"properties":{"model":{"oneOf":[{"type":"string","title":"Model","isRequired":true,"uniqueKey":"unattributed_llm_usage.items.[INDEX].tokens.items.[INDEX].model.oneOf.0","typeLabel":"string"},{"type":"null","title":"Model","isRequired":true,"uniqueKey":"unattributed_llm_usage.items.[INDEX].tokens.items.[INDEX].model.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"unattributed_llm_usage.items.[INDEX].tokens.items.[INDEX].model","typeLabel":"string | null"},"rate_version":{"oneOf":[{"type":"string","title":"Rate Version","isRequired":true,"uniqueKey":"unattributed_llm_usage.items.[INDEX].tokens.items.[INDEX].rate_version.oneOf.0","typeLabel":"string"},{"type":"null","title":"Rate Version","isRequired":true,"uniqueKey":"unattributed_llm_usage.items.[INDEX].tokens.items.[INDEX].rate_version.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"unattributed_llm_usage.items.[INDEX].tokens.items.[INDEX].rate_version","typeLabel":"string | null"},"category":{"enum":["input","cache_read","cache_write_5m","cache_write_1h","output"],"title":"Category","type":"string","isRequired":true,"uniqueKey":"unattributed_llm_usage.items.[INDEX].tokens.items.[INDEX].category","typeLabel":"enum\u003cstring>"},"tokens":{"oneOf":[{"type":"integer","title":"Tokens","isRequired":true,"uniqueKey":"unattributed_llm_usage.items.[INDEX].tokens.items.[INDEX].tokens.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Tokens","isRequired":true,"uniqueKey":"unattributed_llm_usage.items.[INDEX].tokens.items.[INDEX].tokens.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"unattributed_llm_usage.items.[INDEX].tokens.items.[INDEX].tokens","typeLabel":"integer | null"},"rate_per_million":{"oneOf":[{"type":"string","title":"Rate Per Million","isRequired":true,"uniqueKey":"unattributed_llm_usage.items.[INDEX].tokens.items.[INDEX].rate_per_million.oneOf.0","typeLabel":"string"},{"type":"null","title":"Rate Per Million","isRequired":true,"uniqueKey":"unattributed_llm_usage.items.[INDEX].tokens.items.[INDEX].rate_per_million.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"unattributed_llm_usage.items.[INDEX].tokens.items.[INDEX].rate_per_million","typeLabel":"string | null"},"cost_usd":{"oneOf":[{"type":"string","title":"Cost Usd","isRequired":true,"uniqueKey":"unattributed_llm_usage.items.[INDEX].tokens.items.[INDEX].cost_usd.oneOf.0","typeLabel":"string"},{"type":"null","title":"Cost Usd","isRequired":true,"uniqueKey":"unattributed_llm_usage.items.[INDEX].tokens.items.[INDEX].cost_usd.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"unattributed_llm_usage.items.[INDEX].tokens.items.[INDEX].cost_usd","typeLabel":"string | null"},"occurred_at":{"oneOf":[{"type":"string","title":"Occurred At","format":"date-time","uniqueKey":"unattributed_llm_usage.items.[INDEX].tokens.items.[INDEX].occurred_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Occurred At","uniqueKey":"unattributed_llm_usage.items.[INDEX].tokens.items.[INDEX].occurred_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"unattributed_llm_usage.items.[INDEX].tokens.items.[INDEX].occurred_at","typeLabel":"string\u003cdate-time> | null"}},"required":["model","rate_version","category","tokens","rate_per_million","cost_usd"],"title":"LLMMessageTokenCost","type":"object","uniqueKey":"unattributed_llm_usage.items.[INDEX].tokens.items.[INDEX]","typeLabel":"LLMMessageTokenCost · object"},"title":"Tokens","type":"array","uniqueKey":"unattributed_llm_usage.items.[INDEX].tokens","typeLabel":"LLMMessageTokenCost · object[]"}},"required":["status","billing_mode"],"title":"LLMMessageUsage","type":"object","uniqueKey":"unattributed_llm_usage.items.[INDEX]","typeLabel":"LLMMessageUsage · object"},"title":"Unattributed Llm Usage","type":"array","uniqueKey":"unattributed_llm_usage","typeLabel":"LLMMessageUsage · object[]"},"items":{"items":{"oneOf":[{"type":"object","title":"AgentSessionMessageItem","description":"One transcript message; system messages never surface here.","required":["role","content"],"properties":{"role":{"enum":["user","assistant"],"title":"Role","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.0.role","typeLabel":"enum\u003cstring>"},"content":{"title":"Content","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.0.content","typeLabel":"string"},"id":{"oneOf":[{"type":"string","title":"Id","uniqueKey":"\\items.items.[INDEX].oneOf.0.id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Id","uniqueKey":"\\items.items.[INDEX].oneOf.0.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.0.id","typeLabel":"string | null"},"runtime_message_id":{"oneOf":[{"type":"string","title":"Runtime Message Id","uniqueKey":"\\items.items.[INDEX].oneOf.0.runtime_message_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Runtime Message Id","uniqueKey":"\\items.items.[INDEX].oneOf.0.runtime_message_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.0.runtime_message_id","typeLabel":"string | null"},"message_generation_id":{"oneOf":[{"type":"string","title":"Message Generation Id","uniqueKey":"\\items.items.[INDEX].oneOf.0.message_generation_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Message Generation Id","uniqueKey":"\\items.items.[INDEX].oneOf.0.message_generation_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.0.message_generation_id","typeLabel":"string | null"},"llm_usage":{"oneOf":[{"type":"object","title":"LLMMessageUsage","required":["status","billing_mode"],"properties":{"status":{"enum":["complete","pending","unavailable"],"title":"Status","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.status","typeLabel":"enum\u003cstring>"},"billing_mode":{"enum":["tokens","included","legacy"],"title":"Billing Mode","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.billing_mode","typeLabel":"enum\u003cstring>"},"message_generation_id":{"oneOf":[{"type":"string","title":"Message Generation Id","uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.message_generation_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Message Generation Id","uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.message_generation_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.message_generation_id","typeLabel":"string | null"},"turn_id":{"oneOf":[{"type":"integer","title":"Turn Id","uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.turn_id.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Turn Id","uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.turn_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.turn_id","typeLabel":"integer | null"},"call_count":{"default":0,"title":"Call Count","type":"integer","uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.call_count","typeLabel":"integer"},"unbilled_call_count":{"default":0,"title":"Unbilled Call Count","type":"integer","uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.unbilled_call_count","typeLabel":"integer"},"usage_complete":{"default":false,"title":"Usage Complete","type":"boolean","uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.usage_complete","typeLabel":"boolean"},"call_ids":{"items":{"type":"string","uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.call_ids.items.[INDEX]","typeLabel":"string"},"title":"Call Ids","type":"array","uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.call_ids","typeLabel":"string[]"},"cost_usd":{"oneOf":[{"type":"string","title":"Cost Usd","uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.cost_usd.oneOf.0","typeLabel":"string"},{"type":"null","title":"Cost Usd","uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.cost_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.cost_usd","typeLabel":"string | null"},"billable_cost_usd":{"oneOf":[{"type":"string","title":"Billable Cost Usd","uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.billable_cost_usd.oneOf.0","typeLabel":"string"},{"type":"null","title":"Billable Cost Usd","uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.billable_cost_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.billable_cost_usd","typeLabel":"string | null"},"known_cost_usd":{"default":"0","title":"Known Cost Usd","type":"string","uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.known_cost_usd","typeLabel":"string"},"tokens":{"items":{"properties":{"model":{"oneOf":[{"type":"string","title":"Model","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.tokens.items.[INDEX].model.oneOf.0","typeLabel":"string"},{"type":"null","title":"Model","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.tokens.items.[INDEX].model.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.tokens.items.[INDEX].model","typeLabel":"string | null"},"rate_version":{"oneOf":[{"type":"string","title":"Rate Version","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.tokens.items.[INDEX].rate_version.oneOf.0","typeLabel":"string"},{"type":"null","title":"Rate Version","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.tokens.items.[INDEX].rate_version.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.tokens.items.[INDEX].rate_version","typeLabel":"string | null"},"category":{"enum":["input","cache_read","cache_write_5m","cache_write_1h","output"],"title":"Category","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.tokens.items.[INDEX].category","typeLabel":"enum\u003cstring>"},"tokens":{"oneOf":[{"type":"integer","title":"Tokens","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.tokens.items.[INDEX].tokens.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Tokens","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.tokens.items.[INDEX].tokens.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.tokens.items.[INDEX].tokens","typeLabel":"integer | null"},"rate_per_million":{"oneOf":[{"type":"string","title":"Rate Per Million","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.tokens.items.[INDEX].rate_per_million.oneOf.0","typeLabel":"string"},{"type":"null","title":"Rate Per Million","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.tokens.items.[INDEX].rate_per_million.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.tokens.items.[INDEX].rate_per_million","typeLabel":"string | null"},"cost_usd":{"oneOf":[{"type":"string","title":"Cost Usd","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.tokens.items.[INDEX].cost_usd.oneOf.0","typeLabel":"string"},{"type":"null","title":"Cost Usd","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.tokens.items.[INDEX].cost_usd.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.tokens.items.[INDEX].cost_usd","typeLabel":"string | null"},"occurred_at":{"oneOf":[{"type":"string","title":"Occurred At","format":"date-time","uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.tokens.items.[INDEX].occurred_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Occurred At","uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.tokens.items.[INDEX].occurred_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.tokens.items.[INDEX].occurred_at","typeLabel":"string\u003cdate-time> | null"}},"required":["model","rate_version","category","tokens","rate_per_million","cost_usd"],"title":"LLMMessageTokenCost","type":"object","uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.tokens.items.[INDEX]","typeLabel":"LLMMessageTokenCost · object"},"title":"Tokens","type":"array","uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0.tokens","typeLabel":"LLMMessageTokenCost · object[]"}},"uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.0","typeLabel":"LLMMessageUsage · object"},{"type":"null","uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.0.llm_usage","typeLabel":"LLMMessageUsage · object | null"},"type":{"const":"message","default":"message","title":"Type","type":"string","uniqueKey":"\\items.items.[INDEX].oneOf.0.type","typeLabel":"string"},"input_medium":{"oneOf":[{"type":"string","title":"Input Medium","const":"dtmf","uniqueKey":"\\items.items.[INDEX].oneOf.0.input_medium.oneOf.0","typeLabel":"string"},{"type":"null","title":"Input Medium","uniqueKey":"\\items.items.[INDEX].oneOf.0.input_medium.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.0.input_medium","typeLabel":"string | null"},"fallback_reason":{"oneOf":[{"type":"string","title":"Fallback Reason","const":"llm_error","uniqueKey":"\\items.items.[INDEX].oneOf.0.fallback_reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Fallback Reason","uniqueKey":"\\items.items.[INDEX].oneOf.0.fallback_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.0.fallback_reason","typeLabel":"string | null"},"answered_by_model":{"oneOf":[{"type":"object","title":"AgentSessionLlmModelRef","description":"A model as the agent config names it: a platform model id in `model`,\nor a customer endpoint in `custom` (never its key).","properties":{"model":{"oneOf":[{"type":"string","title":"Model","uniqueKey":"\\items.items.[INDEX].oneOf.0.answered_by_model.oneOf.0.model.oneOf.0","typeLabel":"string"},{"type":"null","title":"Model","uniqueKey":"\\items.items.[INDEX].oneOf.0.answered_by_model.oneOf.0.model.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.0.answered_by_model.oneOf.0.model","typeLabel":"string | null"},"custom":{"oneOf":[{"type":"object","title":"AgentSessionLlmCustomRef","required":["base_url","model"],"properties":{"base_url":{"title":"Base Url","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.0.answered_by_model.oneOf.0.custom.oneOf.0.base_url","typeLabel":"string"},"model":{"title":"Model","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.0.answered_by_model.oneOf.0.custom.oneOf.0.model","typeLabel":"string"}},"uniqueKey":"\\items.items.[INDEX].oneOf.0.answered_by_model.oneOf.0.custom.oneOf.0","typeLabel":"AgentSessionLlmCustomRef · object"},{"type":"null","uniqueKey":"\\items.items.[INDEX].oneOf.0.answered_by_model.oneOf.0.custom.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.0.answered_by_model.oneOf.0.custom","typeLabel":"AgentSessionLlmCustomRef · object | null"}},"uniqueKey":"\\items.items.[INDEX].oneOf.0.answered_by_model.oneOf.0","typeLabel":"AgentSessionLlmModelRef · object"},{"type":"null","uniqueKey":"\\items.items.[INDEX].oneOf.0.answered_by_model.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.0.answered_by_model","typeLabel":"AgentSessionLlmModelRef · object | null"},"turn_id":{"oneOf":[{"type":"integer","title":"Turn Id","uniqueKey":"\\items.items.[INDEX].oneOf.0.turn_id.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Turn Id","uniqueKey":"\\items.items.[INDEX].oneOf.0.turn_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.0.turn_id","typeLabel":"integer | null"},"created_at":{"oneOf":[{"type":"string","title":"Created At","description":"When the message was written to the session record, which is the order of the items. It is not when the message was said. An agent message is written once the agent has finished saying it, and a user message about a second after the user stopped speaking, once the platform has decided that their turn is over. `started_at` and `ended_at` are when the message was said.","uniqueKey":"\\items.items.[INDEX].oneOf.0.created_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Created At","description":"When the message was written to the session record, which is the order of the items. It is not when the message was said. An agent message is written once the agent has finished saying it, and a user message about a second after the user stopped speaking, once the platform has decided that their turn is over. `started_at` and `ended_at` are when the message was said.","uniqueKey":"\\items.items.[INDEX].oneOf.0.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.0.created_at","typeLabel":"string | null"},"started_at":{"oneOf":[{"type":"string","title":"Started At","description":"When the message started to be said. Agent messages: the moment the platform began to play its first audio (for a reply sent as text, the moment its first text was sent). User messages: the first sound the platform heard in the user's turn. That can be several seconds before the words of the message, for example when the user said a short \"okay\" first, or \"hello\" as they picked up, which is not part of the message's text. Do not use it to measure how long the user spoke. On a session whose `voice.engine` is `live3`, an agent message starts where the user began to hear the agent answer after they stopped speaking: a short word of the voice's own (\"Okay,\") counts, even with a pause before the message's text, so it can be up to 2 seconds before that text. Null on a user message that was typed or entered on the keypad, on a line the agent did not say through its voice or its reply stream, on the messages of a `live3` session that the fallback voice said or that were sent as text, and on sessions recorded before the field existed.","uniqueKey":"\\items.items.[INDEX].oneOf.0.started_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Started At","description":"When the message started to be said. Agent messages: the moment the platform began to play its first audio (for a reply sent as text, the moment its first text was sent). User messages: the first sound the platform heard in the user's turn. That can be several seconds before the words of the message, for example when the user said a short \"okay\" first, or \"hello\" as they picked up, which is not part of the message's text. Do not use it to measure how long the user spoke. On a session whose `voice.engine` is `live3`, an agent message starts where the user began to hear the agent answer after they stopped speaking: a short word of the voice's own (\"Okay,\") counts, even with a pause before the message's text, so it can be up to 2 seconds before that text. Null on a user message that was typed or entered on the keypad, on a line the agent did not say through its voice or its reply stream, on the messages of a `live3` session that the fallback voice said or that were sent as text, and on sessions recorded before the field existed.","uniqueKey":"\\items.items.[INDEX].oneOf.0.started_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.0.started_at","typeLabel":"string | null"},"ended_at":{"oneOf":[{"type":"string","title":"Ended At","description":"When the message stopped being said. Agent messages: the end of its audio, which includes the short silence the voice leaves at the end (about half a second, up to a second after a very long reply), or the moment its sound stopped when the message was interrupted. On a session whose `voice.engine` is `live3` it is the end of the agent's last sound, which fades out, so 0.1 to 0.5 seconds of it can be too faint to hear. User messages: the user's last sound before the platform decided that their turn was over. How long a user waited for the agent is the agent message's `started_at` minus the `ended_at` of the user message before it. Null in the same cases as `started_at`, and either of the two can be null on its own.","uniqueKey":"\\items.items.[INDEX].oneOf.0.ended_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Ended At","description":"When the message stopped being said. Agent messages: the end of its audio, which includes the short silence the voice leaves at the end (about half a second, up to a second after a very long reply), or the moment its sound stopped when the message was interrupted. On a session whose `voice.engine` is `live3` it is the end of the agent's last sound, which fades out, so 0.1 to 0.5 seconds of it can be too faint to hear. User messages: the user's last sound before the platform decided that their turn was over. How long a user waited for the agent is the agent message's `started_at` minus the `ended_at` of the user message before it. Null in the same cases as `started_at`, and either of the two can be null on its own.","uniqueKey":"\\items.items.[INDEX].oneOf.0.ended_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.0.ended_at","typeLabel":"string | null"},"interrupted":{"oneOf":[{"type":"boolean","title":"Interrupted","description":"True when this assistant reply was cut off before it finished; `content` is then roughly the part that was spoken and may run a few words past the point where playback stopped. Null on complete replies, on user messages and on messages from before the field existed (it is never false).","uniqueKey":"\\items.items.[INDEX].oneOf.0.interrupted.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Interrupted","description":"True when this assistant reply was cut off before it finished; `content` is then roughly the part that was spoken and may run a few words past the point where playback stopped. Null on complete replies, on user messages and on messages from before the field existed (it is never false).","uniqueKey":"\\items.items.[INDEX].oneOf.0.interrupted.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.0.interrupted","typeLabel":"boolean | null"},"interrupted_by":{"oneOf":[{"type":"string","title":"Interrupted By","description":"What cut the reply off, set together with `interrupted`: `user_speech` (the caller talked over it), `user_message` (the user typed a message), `keypad` (a key press), `client` (your client sent an interrupt), `session_end` (the session ended mid-reply, for example the caller hung up). New values may be added, so treat unknown values as an unspecified cause. Null when `interrupted` is null, and on older cut-off replies that did not record a cause.","uniqueKey":"\\items.items.[INDEX].oneOf.0.interrupted_by.oneOf.0","typeLabel":"string"},{"type":"null","title":"Interrupted By","description":"What cut the reply off, set together with `interrupted`: `user_speech` (the caller talked over it), `user_message` (the user typed a message), `keypad` (a key press), `client` (your client sent an interrupt), `session_end` (the session ended mid-reply, for example the caller hung up). New values may be added, so treat unknown values as an unspecified cause. Null when `interrupted` is null, and on older cut-off replies that did not record a cause.","uniqueKey":"\\items.items.[INDEX].oneOf.0.interrupted_by.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.0.interrupted_by","typeLabel":"string | null"}},"uniqueKey":"\\items.items.[INDEX].oneOf.0","typeLabel":"AgentSessionMessageItem · object"},{"type":"object","title":"AgentSessionToolCallItem","description":"Tool invocation, mirroring the realtime `tool.started` event; `call_id`\nmatches the SDK event's callId, so live UIs and history line up.","required":["call_id","tool_name","input"],"properties":{"call_id":{"title":"Call Id","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.1.call_id","typeLabel":"string"},"tool_name":{"title":"Tool Name","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.1.tool_name","typeLabel":"string"},"input":{"title":"Input","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.1.input","typeLabel":"string"},"type":{"const":"tool_call","default":"tool_call","title":"Type","type":"string","uniqueKey":"\\items.items.[INDEX].oneOf.1.type","typeLabel":"string"},"tool_source":{"oneOf":[{"type":"string","title":"Tool Source","uniqueKey":"\\items.items.[INDEX].oneOf.1.tool_source.oneOf.0","typeLabel":"string"},{"type":"null","title":"Tool Source","uniqueKey":"\\items.items.[INDEX].oneOf.1.tool_source.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.1.tool_source","typeLabel":"string | null"},"transfer_id":{"oneOf":[{"type":"string","title":"Transfer Id","description":"Set when the agent made this tool call on a warm transfer's consult call, the call to the transfer destination while the caller is on hold. It is the `call_id` of that transfer item. Null for a tool call made in the conversation with the caller.","uniqueKey":"\\items.items.[INDEX].oneOf.1.transfer_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Transfer Id","description":"Set when the agent made this tool call on a warm transfer's consult call, the call to the transfer destination while the caller is on hold. It is the `call_id` of that transfer item. Null for a tool call made in the conversation with the caller.","uniqueKey":"\\items.items.[INDEX].oneOf.1.transfer_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.1.transfer_id","typeLabel":"string | null"},"turn_id":{"oneOf":[{"type":"integer","title":"Turn Id","uniqueKey":"\\items.items.[INDEX].oneOf.1.turn_id.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Turn Id","uniqueKey":"\\items.items.[INDEX].oneOf.1.turn_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.1.turn_id","typeLabel":"integer | null"},"created_at":{"oneOf":[{"type":"string","title":"Created At","uniqueKey":"\\items.items.[INDEX].oneOf.1.created_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Created At","uniqueKey":"\\items.items.[INDEX].oneOf.1.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.1.created_at","typeLabel":"string | null"}},"uniqueKey":"\\items.items.[INDEX].oneOf.1","typeLabel":"AgentSessionToolCallItem · object"},{"type":"object","title":"AgentSessionTransferItem","description":"One transfer attempt. `call_id` matches its `_transfer_call` tool_call\nitem. A warm transfer's consult call (the caller on hold meanwhile) is in\n`messages`, never in the caller's message items. `merged` and `referred`\nsucceeded, and `outcome` is null while the attempt runs.","required":["call_id","destination","destination_type","target","mode"],"properties":{"call_id":{"title":"Call Id","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.2.call_id","typeLabel":"string"},"destination":{"title":"Destination","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.2.destination","typeLabel":"string"},"destination_type":{"enum":["phone","sip"],"title":"Destination Type","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.2.destination_type","typeLabel":"enum\u003cstring>"},"target":{"title":"Target","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.2.target","typeLabel":"string"},"mode":{"enum":["cold","warm"],"title":"Mode","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.2.mode","typeLabel":"enum\u003cstring>"},"type":{"const":"transfer","default":"transfer","title":"Type","type":"string","uniqueKey":"\\items.items.[INDEX].oneOf.2.type","typeLabel":"string"},"warm_connect":{"oneOf":[{"type":"string","title":"Warm Connect","enum":["confirm","briefing","direct"],"uniqueKey":"\\items.items.[INDEX].oneOf.2.warm_connect.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Warm Connect","uniqueKey":"\\items.items.[INDEX].oneOf.2.warm_connect.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.2.warm_connect","typeLabel":"enum\u003cstring> | null"},"outcome":{"oneOf":[{"type":"string","title":"Outcome","enum":["merged","referred","dial_failed","declined","voicemail","ivr","consult_closed","consult_timeout","merge_failed","refer_failed","caller_hangup","cancelled","unavailable"],"uniqueKey":"\\items.items.[INDEX].oneOf.2.outcome.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Outcome","uniqueKey":"\\items.items.[INDEX].oneOf.2.outcome.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.2.outcome","typeLabel":"enum\u003cstring> | null"},"sip_status":{"oneOf":[{"type":"integer","title":"Sip Status","description":"dial_failed and refer_failed: the final SIP response code the carrier gave. Null when it gave none.","uniqueKey":"\\items.items.[INDEX].oneOf.2.sip_status.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Sip Status","description":"dial_failed and refer_failed: the final SIP response code the carrier gave. Null when it gave none.","uniqueKey":"\\items.items.[INDEX].oneOf.2.sip_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.2.sip_status","typeLabel":"integer | null"},"sip_reason":{"oneOf":[{"type":"string","title":"Sip Reason","description":"dial_failed and refer_failed: the reason text the carrier or SIP server sent with sip_status, verbatim, for example `Proxy Authentication Required`. Null when it sent none.","uniqueKey":"\\items.items.[INDEX].oneOf.2.sip_reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Sip Reason","description":"dial_failed and refer_failed: the reason text the carrier or SIP server sent with sip_status, verbatim, for example `Proxy Authentication Required`. Null when it sent none.","uniqueKey":"\\items.items.[INDEX].oneOf.2.sip_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.2.sip_reason","typeLabel":"string | null"},"dial_status":{"oneOf":[{"type":"string","title":"Dial Status","description":"dial_failed and refer_failed: why the transfer target could not be reached, classified from sip_status the same way as an outbound call's dial_status.","enum":["busy","no_answer","failed"],"uniqueKey":"\\items.items.[INDEX].oneOf.2.dial_status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Dial Status","description":"dial_failed and refer_failed: why the transfer target could not be reached, classified from sip_status the same way as an outbound call's dial_status.","uniqueKey":"\\items.items.[INDEX].oneOf.2.dial_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.2.dial_status","typeLabel":"enum\u003cstring> | null"},"decline_reason":{"oneOf":[{"type":"string","title":"Decline Reason","description":"declined: the agent's summary of why the transfer target declined. Null when none was given. What they actually said is in messages.","uniqueKey":"\\items.items.[INDEX].oneOf.2.decline_reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Decline Reason","description":"declined: the agent's summary of why the transfer target declined. Null when none was given. What they actually said is in messages.","uniqueKey":"\\items.items.[INDEX].oneOf.2.decline_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.2.decline_reason","typeLabel":"string | null"},"consult_end_reason":{"oneOf":[{"type":"string","title":"Consult End Reason","description":"consult_closed: how the consult call ended before the caller was connected. Null when it cannot be told.","enum":["transfer_target_hangup","connection_lost"],"uniqueKey":"\\items.items.[INDEX].oneOf.2.consult_end_reason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Consult End Reason","description":"consult_closed: how the consult call ended before the caller was connected. Null when it cannot be told.","uniqueKey":"\\items.items.[INDEX].oneOf.2.consult_end_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.2.consult_end_reason","typeLabel":"enum\u003cstring> | null"},"hold_started_at":{"oneOf":[{"type":"string","title":"Hold Started At","uniqueKey":"\\items.items.[INDEX].oneOf.2.hold_started_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Hold Started At","uniqueKey":"\\items.items.[INDEX].oneOf.2.hold_started_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.2.hold_started_at","typeLabel":"string | null"},"hold_ended_at":{"oneOf":[{"type":"string","title":"Hold Ended At","uniqueKey":"\\items.items.[INDEX].oneOf.2.hold_ended_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Hold Ended At","uniqueKey":"\\items.items.[INDEX].oneOf.2.hold_ended_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.2.hold_ended_at","typeLabel":"string | null"},"dial_started_at":{"oneOf":[{"type":"string","title":"Dial Started At","uniqueKey":"\\items.items.[INDEX].oneOf.2.dial_started_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Dial Started At","uniqueKey":"\\items.items.[INDEX].oneOf.2.dial_started_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.2.dial_started_at","typeLabel":"string | null"},"answered_at":{"oneOf":[{"type":"string","title":"Answered At","uniqueKey":"\\items.items.[INDEX].oneOf.2.answered_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Answered At","uniqueKey":"\\items.items.[INDEX].oneOf.2.answered_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.2.answered_at","typeLabel":"string | null"},"ended_at":{"oneOf":[{"type":"string","title":"Ended At","uniqueKey":"\\items.items.[INDEX].oneOf.2.ended_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Ended At","uniqueKey":"\\items.items.[INDEX].oneOf.2.ended_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.2.ended_at","typeLabel":"string | null"},"transferred_call_ended_at":{"oneOf":[{"type":"string","title":"Transferred Call Ended At","description":"merged and referred: when the call between the caller and the transfer target ended. Null while it is still on. A cold transfer waits for the carrier's call record (up to about an hour) and stays null on imported SIP numbers.","uniqueKey":"\\items.items.[INDEX].oneOf.2.transferred_call_ended_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Transferred Call Ended At","description":"merged and referred: when the call between the caller and the transfer target ended. Null while it is still on. A cold transfer waits for the carrier's call record (up to about an hour) and stays null on imported SIP numbers.","uniqueKey":"\\items.items.[INDEX].oneOf.2.transferred_call_ended_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.2.transferred_call_ended_at","typeLabel":"string | null"},"transferred_call_duration_seconds":{"oneOf":[{"type":"integer","title":"Transferred Call Duration Seconds","description":"merged and referred: how long the caller talked with the transfer target. Warm: from ended_at to transferred_call_ended_at. Cold: the carrier's call record, 0 when the target never really answered.","uniqueKey":"\\items.items.[INDEX].oneOf.2.transferred_call_duration_seconds.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Transferred Call Duration Seconds","description":"merged and referred: how long the caller talked with the transfer target. Warm: from ended_at to transferred_call_ended_at. Cold: the carrier's call record, 0 when the target never really answered.","uniqueKey":"\\items.items.[INDEX].oneOf.2.transferred_call_duration_seconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.2.transferred_call_duration_seconds","typeLabel":"integer | null"},"transferred_call_end_reason":{"oneOf":[{"type":"string","title":"Transferred Call End Reason","description":"merged: how the call between the caller and the transfer target ended. caller_hangup: the caller hung up (on an outbound call, the person the agent called). transfer_target_hangup: the transfer target hung up. conversation_timeout: the call reached the agent's maximum call duration, counted from the start of the call. connection_lost: a line dropped, nobody hung up. Null when it cannot be told, and always null on a cold transfer.","enum":["caller_hangup","transfer_target_hangup","conversation_timeout","connection_lost"],"uniqueKey":"\\items.items.[INDEX].oneOf.2.transferred_call_end_reason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Transferred Call End Reason","description":"merged: how the call between the caller and the transfer target ended. caller_hangup: the caller hung up (on an outbound call, the person the agent called). transfer_target_hangup: the transfer target hung up. conversation_timeout: the call reached the agent's maximum call duration, counted from the start of the call. connection_lost: a line dropped, nobody hung up. Null when it cannot be told, and always null on a cold transfer.","uniqueKey":"\\items.items.[INDEX].oneOf.2.transferred_call_end_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.2.transferred_call_end_reason","typeLabel":"enum\u003cstring> | null"},"messages":{"items":{"description":"One line of a warm transfer's private consult call: `assistant` is the\nagent briefing, `transfer_target` the person it dialed.","properties":{"role":{"enum":["assistant","transfer_target"],"title":"Role","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.2.messages.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"content":{"title":"Content","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.2.messages.items.[INDEX].content","typeLabel":"string"},"created_at":{"oneOf":[{"type":"string","title":"Created At","description":"When the line was written to the session record. An `assistant` line is written once the agent has finished saying it, so this is after the end of its speech: `started_at` is when the agent started to speak.","uniqueKey":"\\items.items.[INDEX].oneOf.2.messages.items.[INDEX].created_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Created At","description":"When the line was written to the session record. An `assistant` line is written once the agent has finished saying it, so this is after the end of its speech: `started_at` is when the agent started to speak.","uniqueKey":"\\items.items.[INDEX].oneOf.2.messages.items.[INDEX].created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.2.messages.items.[INDEX].created_at","typeLabel":"string | null"},"started_at":{"oneOf":[{"type":"string","title":"Started At","description":"`assistant` lines: when the agent started to say it on the consult call, the moment the platform began to play its first audio. Measure the wait between the transfer's `answered_at` and the agent's briefing to this time, not to `created_at`. Null on `transfer_target` lines and on sessions recorded before the field existed.","uniqueKey":"\\items.items.[INDEX].oneOf.2.messages.items.[INDEX].started_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Started At","description":"`assistant` lines: when the agent started to say it on the consult call, the moment the platform began to play its first audio. Measure the wait between the transfer's `answered_at` and the agent's briefing to this time, not to `created_at`. Null on `transfer_target` lines and on sessions recorded before the field existed.","uniqueKey":"\\items.items.[INDEX].oneOf.2.messages.items.[INDEX].started_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.2.messages.items.[INDEX].started_at","typeLabel":"string | null"},"ended_at":{"oneOf":[{"type":"string","title":"Ended At","description":"`assistant` lines: when the agent stopped saying it, the end of its audio, which includes the short silence the voice leaves at the end (about half a second), or the moment its sound stopped when it was interrupted. Null in the same cases as `started_at`.","uniqueKey":"\\items.items.[INDEX].oneOf.2.messages.items.[INDEX].ended_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Ended At","description":"`assistant` lines: when the agent stopped saying it, the end of its audio, which includes the short silence the voice leaves at the end (about half a second), or the moment its sound stopped when it was interrupted. Null in the same cases as `started_at`.","uniqueKey":"\\items.items.[INDEX].oneOf.2.messages.items.[INDEX].ended_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.2.messages.items.[INDEX].ended_at","typeLabel":"string | null"}},"required":["role","content"],"title":"AgentSessionTransferMessage","type":"object","uniqueKey":"\\items.items.[INDEX].oneOf.2.messages.items.[INDEX]","typeLabel":"AgentSessionTransferMessage · object"},"title":"Messages","type":"array","uniqueKey":"\\items.items.[INDEX].oneOf.2.messages","typeLabel":"AgentSessionTransferMessage · object[]"},"created_at":{"oneOf":[{"type":"string","title":"Created At","uniqueKey":"\\items.items.[INDEX].oneOf.2.created_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Created At","uniqueKey":"\\items.items.[INDEX].oneOf.2.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.2.created_at","typeLabel":"string | null"}},"uniqueKey":"\\items.items.[INDEX].oneOf.2","typeLabel":"AgentSessionTransferItem · object"},{"type":"object","title":"AgentSessionToolResultItem","description":"Tool outcome (`tool.completed`/`tool.failed` twin). A call that never\nresolved (session died mid-flight) has no result item.","required":["call_id","tool_name","status"],"properties":{"call_id":{"title":"Call Id","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.3.call_id","typeLabel":"string"},"tool_name":{"title":"Tool Name","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.3.tool_name","typeLabel":"string"},"status":{"enum":["completed","failed"],"title":"Status","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.3.status","typeLabel":"enum\u003cstring>"},"type":{"const":"tool_result","default":"tool_result","title":"Type","type":"string","uniqueKey":"\\items.items.[INDEX].oneOf.3.type","typeLabel":"string"},"tool_source":{"oneOf":[{"type":"string","title":"Tool Source","uniqueKey":"\\items.items.[INDEX].oneOf.3.tool_source.oneOf.0","typeLabel":"string"},{"type":"null","title":"Tool Source","uniqueKey":"\\items.items.[INDEX].oneOf.3.tool_source.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.3.tool_source","typeLabel":"string | null"},"output":{"oneOf":[{"type":"string","title":"Output","uniqueKey":"\\items.items.[INDEX].oneOf.3.output.oneOf.0","typeLabel":"string"},{"type":"null","title":"Output","uniqueKey":"\\items.items.[INDEX].oneOf.3.output.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.3.output","typeLabel":"string | null"},"output_truncated":{"default":false,"title":"Output Truncated","type":"boolean","uniqueKey":"\\items.items.[INDEX].oneOf.3.output_truncated","typeLabel":"boolean"},"error":{"oneOf":[{"type":"string","title":"Error","uniqueKey":"\\items.items.[INDEX].oneOf.3.error.oneOf.0","typeLabel":"string"},{"type":"null","title":"Error","uniqueKey":"\\items.items.[INDEX].oneOf.3.error.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.3.error","typeLabel":"string | null"},"error_detail":{"oneOf":[{"type":"object","title":"AgentSessionToolErrorDetail","description":"A failed tool call's structured reason, beside the `error` string.\nOnly `_transfer_call` fills it so far: `status_code` is then why the\ntransfer did not connect (not_placed, busy, no_answer, declined, voicemail,\nivr, hung_up, merge_failed or caller_hangup, the last when the caller hung\nup during the transfer). The gateway's keys, forwarded as they are.","required":["status_code","status_message"],"properties":{"status_code":{"title":"Status Code","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.3.error_detail.oneOf.0.status_code","typeLabel":"string"},"status_message":{"title":"Status Message","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].oneOf.3.error_detail.oneOf.0.status_message","typeLabel":"string"},"sip_status":{"oneOf":[{"type":"integer","title":"Sip Status","uniqueKey":"\\items.items.[INDEX].oneOf.3.error_detail.oneOf.0.sip_status.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Sip Status","uniqueKey":"\\items.items.[INDEX].oneOf.3.error_detail.oneOf.0.sip_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.3.error_detail.oneOf.0.sip_status","typeLabel":"integer | null"}},"uniqueKey":"\\items.items.[INDEX].oneOf.3.error_detail.oneOf.0","typeLabel":"AgentSessionToolErrorDetail · object"},{"type":"null","uniqueKey":"\\items.items.[INDEX].oneOf.3.error_detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.3.error_detail","typeLabel":"AgentSessionToolErrorDetail · object | null"},"rejected_by":{"oneOf":[{"type":"string","title":"Rejected By","const":"parameter_validation","uniqueKey":"\\items.items.[INDEX].oneOf.3.rejected_by.oneOf.0","typeLabel":"string"},{"type":"null","title":"Rejected By","uniqueKey":"\\items.items.[INDEX].oneOf.3.rejected_by.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.3.rejected_by","typeLabel":"string | null"},"transfer_id":{"oneOf":[{"type":"string","title":"Transfer Id","description":"Set when the agent made this tool call on a warm transfer's consult call, the call to the transfer destination while the caller is on hold. It is the `call_id` of that transfer item. Null for a tool call made in the conversation with the caller.","uniqueKey":"\\items.items.[INDEX].oneOf.3.transfer_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Transfer Id","description":"Set when the agent made this tool call on a warm transfer's consult call, the call to the transfer destination while the caller is on hold. It is the `call_id` of that transfer item. Null for a tool call made in the conversation with the caller.","uniqueKey":"\\items.items.[INDEX].oneOf.3.transfer_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.3.transfer_id","typeLabel":"string | null"},"latency_ms":{"oneOf":[{"type":"integer","title":"Latency Ms","uniqueKey":"\\items.items.[INDEX].oneOf.3.latency_ms.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Latency Ms","uniqueKey":"\\items.items.[INDEX].oneOf.3.latency_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.3.latency_ms","typeLabel":"integer | null"},"turn_id":{"oneOf":[{"type":"integer","title":"Turn Id","uniqueKey":"\\items.items.[INDEX].oneOf.3.turn_id.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Turn Id","uniqueKey":"\\items.items.[INDEX].oneOf.3.turn_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.3.turn_id","typeLabel":"integer | null"},"created_at":{"oneOf":[{"type":"string","title":"Created At","uniqueKey":"\\items.items.[INDEX].oneOf.3.created_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Created At","uniqueKey":"\\items.items.[INDEX].oneOf.3.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.3.created_at","typeLabel":"string | null"}},"uniqueKey":"\\items.items.[INDEX].oneOf.3","typeLabel":"AgentSessionToolResultItem · object"}],"uniqueKey":"\\items.items.[INDEX]","typeLabel":"AgentSessionMessageItem · object | AgentSessionToolCallItem · object | AgentSessionTransferItem · object | AgentSessionToolResultItem · object"},"title":"Items","type":"array","uniqueKey":"\\items","typeLabel":"(AgentSessionMessageItem · object | AgentSessionToolCallItem · object | AgentSessionTransferItem · object | AgentSessionToolResultItem · object)[]"},"analysis":{"oneOf":[{"type":"object","title":"AgentSessionAnalysisResult","description":"The post-call analysis of the session.","required":["status"],"properties":{"status":{"enum":["queued","running","completed","skipped","error"],"title":"Status","type":"string","isRequired":true,"uniqueKey":"analysis.oneOf.0.status","typeLabel":"enum\u003cstring>"},"summary":{"oneOf":[{"type":"string","title":"Summary","uniqueKey":"analysis.oneOf.0.summary.oneOf.0","typeLabel":"string"},{"type":"null","title":"Summary","uniqueKey":"analysis.oneOf.0.summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis.oneOf.0.summary","typeLabel":"string | null"},"data":{"items":{"properties":{"name":{"title":"Name","type":"string","isRequired":true,"uniqueKey":"analysis.oneOf.0.data.items.[INDEX].name","typeLabel":"string"},"type":{"enum":["boolean","text","number","enum"],"title":"Type","type":"string","isRequired":true,"uniqueKey":"analysis.oneOf.0.data.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"value":{"oneOf":[{"type":"boolean","title":"Value","uniqueKey":"analysis.oneOf.0.data.items.[INDEX].value.oneOf.0","typeLabel":"boolean"},{"type":"number","title":"Value","uniqueKey":"analysis.oneOf.0.data.items.[INDEX].value.oneOf.1","typeLabel":"number"},{"type":"string","title":"Value","uniqueKey":"analysis.oneOf.0.data.items.[INDEX].value.oneOf.2","typeLabel":"string"},{"type":"null","title":"Value","uniqueKey":"analysis.oneOf.0.data.items.[INDEX].value.oneOf.3","typeLabel":"null"}],"uniqueKey":"analysis.oneOf.0.data.items.[INDEX].value","typeLabel":"boolean | number | string | null"},"rationale":{"default":"","title":"Rationale","type":"string","uniqueKey":"analysis.oneOf.0.data.items.[INDEX].rationale","typeLabel":"string"}},"required":["name","type"],"title":"AgentSessionAnalysisDataValue","type":"object","uniqueKey":"analysis.oneOf.0.data.items.[INDEX]","typeLabel":"AgentSessionAnalysisDataValue · object"},"title":"Data","type":"array","uniqueKey":"analysis.oneOf.0.data","typeLabel":"AgentSessionAnalysisDataValue · object[]"},"criteria_results":{"items":{"properties":{"name":{"title":"Name","type":"string","isRequired":true,"uniqueKey":"analysis.oneOf.0.criteria_results.items.[INDEX].name","typeLabel":"string"},"result":{"enum":["success","failure","unknown"],"title":"Result","type":"string","isRequired":true,"uniqueKey":"analysis.oneOf.0.criteria_results.items.[INDEX].result","typeLabel":"enum\u003cstring>"},"rationale":{"default":"","title":"Rationale","type":"string","uniqueKey":"analysis.oneOf.0.criteria_results.items.[INDEX].rationale","typeLabel":"string"}},"required":["name","result"],"title":"AgentSessionAnalysisCriterionResult","type":"object","uniqueKey":"analysis.oneOf.0.criteria_results.items.[INDEX]","typeLabel":"AgentSessionAnalysisCriterionResult · object"},"title":"Criteria Results","type":"array","uniqueKey":"analysis.oneOf.0.criteria_results","typeLabel":"AgentSessionAnalysisCriterionResult · object[]"},"error":{"oneOf":[{"type":"string","title":"Error","description":"error: why the analysis failed. Null for every other status.","uniqueKey":"analysis.oneOf.0.error.oneOf.0","typeLabel":"string"},{"type":"null","title":"Error","description":"error: why the analysis failed. Null for every other status.","uniqueKey":"analysis.oneOf.0.error.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis.oneOf.0.error","typeLabel":"string | null"},"transcript_incomplete":{"default":false,"description":"True when the transcript still looked cut short after the analysis waited for it, so the summary, data and criteria may rest on an incomplete conversation. Can be true for completed and skipped.","title":"Transcript Incomplete","type":"boolean","uniqueKey":"analysis.oneOf.0.transcript_incomplete","typeLabel":"boolean"},"finished_at":{"oneOf":[{"type":"string","title":"Finished At","description":"When the analysis finished, as an RFC 3339 timestamp in UTC, for example `2026-07-20T06:05:07.250000Z`. Null while it has not finished.","uniqueKey":"analysis.oneOf.0.finished_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Finished At","description":"When the analysis finished, as an RFC 3339 timestamp in UTC, for example `2026-07-20T06:05:07.250000Z`. Null while it has not finished.","uniqueKey":"analysis.oneOf.0.finished_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis.oneOf.0.finished_at","typeLabel":"string | null"}},"uniqueKey":"analysis.oneOf.0","typeLabel":"AgentSessionAnalysisResult · object"},{"type":"null","uniqueKey":"analysis.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis","typeLabel":"AgentSessionAnalysisResult · object | null"},"llm_endpoint_errors":{"items":{"description":"One failed reply from the customer's own LLM endpoint, after the\nplatform's single retry within the request, or one reply the model's\nprovider refused (a platform model's included).\n\n- http_error: the endpoint answered with a non-2xx status.\n- timeout: no response within the request timeout.\n- connection_error: the request got no answer. `reason` is dns_failed,\n connection_refused, connection_reset, tls_failed, address_not_allowed\n (an address the platform does not call) or unknown.\n- invalid_response: a 2xx response that was not a usable reply. `reason`\n is not_event_stream (a streamed request answered with something else),\n stream_incomplete (the stream ended without a finish_reason, usage or\n output), empty_reply (no text and no tool call), refused (the model's\n provider finished the reply as a refusal, a content filter or a policy\n block: `response_body` is what it said) or unknown.","properties":{"type":{"enum":["http_error","timeout","connection_error","invalid_response"],"title":"Type","type":"string","isRequired":true,"uniqueKey":"llm_endpoint_errors.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"consecutive_failures":{"title":"Consecutive Failures","type":"integer","isRequired":true,"uniqueKey":"llm_endpoint_errors.items.[INDEX].consecutive_failures","typeLabel":"integer"},"occurred_at":{"oneOf":[{"type":"string","title":"Occurred At","uniqueKey":"llm_endpoint_errors.items.[INDEX].occurred_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Occurred At","uniqueKey":"llm_endpoint_errors.items.[INDEX].occurred_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm_endpoint_errors.items.[INDEX].occurred_at","typeLabel":"string | null"},"turn_id":{"oneOf":[{"type":"integer","title":"Turn Id","uniqueKey":"llm_endpoint_errors.items.[INDEX].turn_id.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Turn Id","uniqueKey":"llm_endpoint_errors.items.[INDEX].turn_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm_endpoint_errors.items.[INDEX].turn_id","typeLabel":"integer | null"},"reason":{"oneOf":[{"type":"string","title":"Reason","enum":["dns_failed","connection_refused","connection_reset","tls_failed","address_not_allowed","not_event_stream","stream_incomplete","empty_reply","refused","unknown"],"uniqueKey":"llm_endpoint_errors.items.[INDEX].reason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Reason","uniqueKey":"llm_endpoint_errors.items.[INDEX].reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm_endpoint_errors.items.[INDEX].reason","typeLabel":"enum\u003cstring> | null"},"status_code":{"oneOf":[{"type":"integer","title":"Status Code","uniqueKey":"llm_endpoint_errors.items.[INDEX].status_code.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Status Code","uniqueKey":"llm_endpoint_errors.items.[INDEX].status_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm_endpoint_errors.items.[INDEX].status_code","typeLabel":"integer | null"},"response_body":{"oneOf":[{"type":"string","title":"Response Body","uniqueKey":"llm_endpoint_errors.items.[INDEX].response_body.oneOf.0","typeLabel":"string"},{"type":"null","title":"Response Body","uniqueKey":"llm_endpoint_errors.items.[INDEX].response_body.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm_endpoint_errors.items.[INDEX].response_body","typeLabel":"string | null"},"duration_ms":{"oneOf":[{"type":"integer","title":"Duration Ms","uniqueKey":"llm_endpoint_errors.items.[INDEX].duration_ms.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Duration Ms","uniqueKey":"llm_endpoint_errors.items.[INDEX].duration_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm_endpoint_errors.items.[INDEX].duration_ms","typeLabel":"integer | null"}},"required":["type","consecutive_failures"],"title":"AgentSessionLlmEndpointError","type":"object","uniqueKey":"llm_endpoint_errors.items.[INDEX]","typeLabel":"AgentSessionLlmEndpointError · object"},"title":"Llm Endpoint Errors","type":"array","uniqueKey":"llm_endpoint_errors","typeLabel":"AgentSessionLlmEndpointError · object[]"},"llm_fallbacks":{"items":{"description":"One move of a reply to another model.\n\n- error: the model failed the request.\n- timeout: no reply within the platform's own time limit (outside manual;\n in manual every model has a first-token limit, 5 seconds when not set).\n- ttft_timeout: no first token within the model's `ttft_timeout_ms`.\n- total_timeout: the reply, nothing of it spoken yet, not finished within\n the model's `total_timeout_ms`.\n- empty: the model's response stream broke off with no output and no end\n signal (a provider failure). A reply the model finished with nothing in\n it is the agent staying silent, not a fallback.\n- refused: the model's provider finished the reply as a refusal with no\n output (a content filter or a policy block), and the next model was\n asked instead.\n- kick_in: running in parallel, the first fallback's reply was used\n because the agent's own model had no first token within `kick_in_ms`.","properties":{"from":{"description":"A model as the agent config names it: a platform model id in `model`,\nor a customer endpoint in `custom` (never its key).","properties":{"model":{"oneOf":[{"type":"string","title":"Model","uniqueKey":"llm_fallbacks.items.[INDEX].from.model.oneOf.0","typeLabel":"string"},{"type":"null","title":"Model","uniqueKey":"llm_fallbacks.items.[INDEX].from.model.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm_fallbacks.items.[INDEX].from.model","typeLabel":"string | null"},"custom":{"oneOf":[{"type":"object","title":"AgentSessionLlmCustomRef","required":["base_url","model"],"properties":{"base_url":{"title":"Base Url","type":"string","isRequired":true,"uniqueKey":"llm_fallbacks.items.[INDEX].from.custom.oneOf.0.base_url","typeLabel":"string"},"model":{"title":"Model","type":"string","isRequired":true,"uniqueKey":"llm_fallbacks.items.[INDEX].from.custom.oneOf.0.model","typeLabel":"string"}},"uniqueKey":"llm_fallbacks.items.[INDEX].from.custom.oneOf.0","typeLabel":"AgentSessionLlmCustomRef · object"},{"type":"null","uniqueKey":"llm_fallbacks.items.[INDEX].from.custom.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm_fallbacks.items.[INDEX].from.custom","typeLabel":"AgentSessionLlmCustomRef · object | null"}},"title":"AgentSessionLlmModelRef","type":"object","isRequired":true,"uniqueKey":"llm_fallbacks.items.[INDEX].from","typeLabel":"AgentSessionLlmModelRef · object"},"to":{"description":"A model as the agent config names it: a platform model id in `model`,\nor a customer endpoint in `custom` (never its key).","properties":{"model":{"oneOf":[{"type":"string","title":"Model","uniqueKey":"llm_fallbacks.items.[INDEX].to.model.oneOf.0","typeLabel":"string"},{"type":"null","title":"Model","uniqueKey":"llm_fallbacks.items.[INDEX].to.model.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm_fallbacks.items.[INDEX].to.model","typeLabel":"string | null"},"custom":{"oneOf":[{"type":"object","title":"AgentSessionLlmCustomRef","required":["base_url","model"],"properties":{"base_url":{"title":"Base Url","type":"string","isRequired":true,"uniqueKey":"llm_fallbacks.items.[INDEX].to.custom.oneOf.0.base_url","typeLabel":"string"},"model":{"title":"Model","type":"string","isRequired":true,"uniqueKey":"llm_fallbacks.items.[INDEX].to.custom.oneOf.0.model","typeLabel":"string"}},"uniqueKey":"llm_fallbacks.items.[INDEX].to.custom.oneOf.0","typeLabel":"AgentSessionLlmCustomRef · object"},{"type":"null","uniqueKey":"llm_fallbacks.items.[INDEX].to.custom.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm_fallbacks.items.[INDEX].to.custom","typeLabel":"AgentSessionLlmCustomRef · object | null"}},"title":"AgentSessionLlmModelRef","type":"object","isRequired":true,"uniqueKey":"llm_fallbacks.items.[INDEX].to","typeLabel":"AgentSessionLlmModelRef · object"},"reason":{"enum":["error","timeout","ttft_timeout","total_timeout","empty","refused","kick_in"],"title":"Reason","type":"string","isRequired":true,"uniqueKey":"llm_fallbacks.items.[INDEX].reason","typeLabel":"enum\u003cstring>"},"occurred_at":{"oneOf":[{"type":"string","title":"Occurred At","uniqueKey":"llm_fallbacks.items.[INDEX].occurred_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Occurred At","uniqueKey":"llm_fallbacks.items.[INDEX].occurred_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm_fallbacks.items.[INDEX].occurred_at","typeLabel":"string | null"},"turn_id":{"oneOf":[{"type":"integer","title":"Turn Id","uniqueKey":"llm_fallbacks.items.[INDEX].turn_id.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Turn Id","uniqueKey":"llm_fallbacks.items.[INDEX].turn_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm_fallbacks.items.[INDEX].turn_id","typeLabel":"integer | null"}},"required":["from","to","reason"],"title":"AgentSessionLlmFallback","type":"object","uniqueKey":"llm_fallbacks.items.[INDEX]","typeLabel":"AgentSessionLlmFallback · object"},"title":"Llm Fallbacks","type":"array","uniqueKey":"llm_fallbacks","typeLabel":"AgentSessionLlmFallback · object[]"},"engine_fallbacks":{"items":{"description":"One time the session did not speak with the speech engine or the voice\nits agent is set up with. `from` is what it was set up with, `to` is what\nspoke instead.\n\n- unsupported_language: the speech engine does not speak the session's\n language (live3 speaks English only), so the whole session was spoken\n by the agent's text-to-speech model. `detail` is the session's language.\n- invalid_config: the speech engine refused the agent's voice settings,\n so the whole session was spoken by the agent's text-to-speech model.\n `message` is what the engine said.\n- engine_unavailable: the speech engine was not available, when the\n session started or from `occurred_at` during it. Replies from\n `occurred_at` on were spoken by the agent's text-to-speech model, which\n is the whole session when the engine could not take it.\n- voice_unusable: the speech engine could not use the agent's voice, so\n the session stayed on the engine and spoke in the voice `to` names.\n When the cause is the voice itself, `detail` names it (for example\n no_transcript, too_long, text_mismatch, no_clip or not_found) and\n `message` is what the engine said.","properties":{"from":{"description":"What a session speaks with, in the terms of the agent's `voice`\nsettings.","properties":{"engine":{"enum":["fish_tts","live3"],"title":"Engine","type":"string","isRequired":true,"uniqueKey":"engine_fallbacks.items.[INDEX].from.engine","typeLabel":"enum\u003cstring>"},"tts_model":{"oneOf":[{"type":"string","title":"Tts Model","uniqueKey":"engine_fallbacks.items.[INDEX].from.tts_model.oneOf.0","typeLabel":"string"},{"type":"null","title":"Tts Model","uniqueKey":"engine_fallbacks.items.[INDEX].from.tts_model.oneOf.1","typeLabel":"null"}],"uniqueKey":"engine_fallbacks.items.[INDEX].from.tts_model","typeLabel":"string | null"},"voice_id":{"oneOf":[{"type":"string","title":"Voice Id","uniqueKey":"engine_fallbacks.items.[INDEX].from.voice_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Voice Id","uniqueKey":"engine_fallbacks.items.[INDEX].from.voice_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"engine_fallbacks.items.[INDEX].from.voice_id","typeLabel":"string | null"}},"required":["engine"],"title":"AgentSessionEngineRef","type":"object","isRequired":true,"uniqueKey":"engine_fallbacks.items.[INDEX].from","typeLabel":"AgentSessionEngineRef · object"},"to":{"description":"What a session speaks with, in the terms of the agent's `voice`\nsettings.","properties":{"engine":{"enum":["fish_tts","live3"],"title":"Engine","type":"string","isRequired":true,"uniqueKey":"engine_fallbacks.items.[INDEX].to.engine","typeLabel":"enum\u003cstring>"},"tts_model":{"oneOf":[{"type":"string","title":"Tts Model","uniqueKey":"engine_fallbacks.items.[INDEX].to.tts_model.oneOf.0","typeLabel":"string"},{"type":"null","title":"Tts Model","uniqueKey":"engine_fallbacks.items.[INDEX].to.tts_model.oneOf.1","typeLabel":"null"}],"uniqueKey":"engine_fallbacks.items.[INDEX].to.tts_model","typeLabel":"string | null"},"voice_id":{"oneOf":[{"type":"string","title":"Voice Id","uniqueKey":"engine_fallbacks.items.[INDEX].to.voice_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Voice Id","uniqueKey":"engine_fallbacks.items.[INDEX].to.voice_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"engine_fallbacks.items.[INDEX].to.voice_id","typeLabel":"string | null"}},"required":["engine"],"title":"AgentSessionEngineRef","type":"object","isRequired":true,"uniqueKey":"engine_fallbacks.items.[INDEX].to","typeLabel":"AgentSessionEngineRef · object"},"reason":{"enum":["unsupported_language","invalid_config","engine_unavailable","voice_unusable"],"title":"Reason","type":"string","isRequired":true,"uniqueKey":"engine_fallbacks.items.[INDEX].reason","typeLabel":"enum\u003cstring>"},"occurred_at":{"oneOf":[{"type":"string","title":"Occurred At","uniqueKey":"engine_fallbacks.items.[INDEX].occurred_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Occurred At","uniqueKey":"engine_fallbacks.items.[INDEX].occurred_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"engine_fallbacks.items.[INDEX].occurred_at","typeLabel":"string | null"},"detail":{"oneOf":[{"type":"string","title":"Detail","uniqueKey":"engine_fallbacks.items.[INDEX].detail.oneOf.0","typeLabel":"string"},{"type":"null","title":"Detail","uniqueKey":"engine_fallbacks.items.[INDEX].detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"engine_fallbacks.items.[INDEX].detail","typeLabel":"string | null"},"message":{"oneOf":[{"type":"string","title":"Message","uniqueKey":"engine_fallbacks.items.[INDEX].message.oneOf.0","typeLabel":"string"},{"type":"null","title":"Message","uniqueKey":"engine_fallbacks.items.[INDEX].message.oneOf.1","typeLabel":"null"}],"uniqueKey":"engine_fallbacks.items.[INDEX].message","typeLabel":"string | null"}},"required":["from","to","reason"],"title":"AgentSessionEngineFallback","type":"object","uniqueKey":"engine_fallbacks.items.[INDEX]","typeLabel":"AgentSessionEngineFallback · object"},"title":"Engine Fallbacks","type":"array","uniqueKey":"engine_fallbacks","typeLabel":"AgentSessionEngineFallback · object[]"},"turns":{"oneOf":[{"type":"array","items":{"description":"What the platform measured for one conversation turn. The turn's\nmessages are in `items`, matched by `turn_id`.","properties":{"turn_id":{"title":"Turn Id","type":"integer","isRequired":true,"uniqueKey":"turns.oneOf.0.items.[INDEX].turn_id","typeLabel":"integer"},"latency_summary":{"description":"First-response latency of one turn, in whole milliseconds; null when\nit could not be measured.","properties":{"eou_ms":{"oneOf":[{"type":"integer","title":"Eou Ms","description":"Delay of the end-of-utterance decision.","uniqueKey":"turns.oneOf.0.items.[INDEX].latency_summary.eou_ms.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Eou Ms","description":"Delay of the end-of-utterance decision.","uniqueKey":"turns.oneOf.0.items.[INDEX].latency_summary.eou_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"turns.oneOf.0.items.[INDEX].latency_summary.eou_ms","typeLabel":"integer | null"},"llm_ms":{"oneOf":[{"type":"integer","title":"Llm Ms","description":"LLM time to first token.","uniqueKey":"turns.oneOf.0.items.[INDEX].latency_summary.llm_ms.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Llm Ms","description":"LLM time to first token.","uniqueKey":"turns.oneOf.0.items.[INDEX].latency_summary.llm_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"turns.oneOf.0.items.[INDEX].latency_summary.llm_ms","typeLabel":"integer | null"},"tts_ms":{"oneOf":[{"type":"integer","title":"Tts Ms","description":"Speech synthesis time to first audio byte.","uniqueKey":"turns.oneOf.0.items.[INDEX].latency_summary.tts_ms.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Tts Ms","description":"Speech synthesis time to first audio byte.","uniqueKey":"turns.oneOf.0.items.[INDEX].latency_summary.tts_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"turns.oneOf.0.items.[INDEX].latency_summary.tts_ms","typeLabel":"integer | null"},"voice_to_voice_ms":{"oneOf":[{"type":"integer","title":"Voice To Voice Ms","description":"From the caller finishing speaking to the first agent audio.","uniqueKey":"turns.oneOf.0.items.[INDEX].latency_summary.voice_to_voice_ms.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Voice To Voice Ms","description":"From the caller finishing speaking to the first agent audio.","uniqueKey":"turns.oneOf.0.items.[INDEX].latency_summary.voice_to_voice_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"turns.oneOf.0.items.[INDEX].latency_summary.voice_to_voice_ms","typeLabel":"integer | null"}},"title":"AgentSessionLatencySummary","type":"object","uniqueKey":"turns.oneOf.0.items.[INDEX].latency_summary","typeLabel":"AgentSessionLatencySummary · object"}},"required":["turn_id"],"title":"AgentSessionTurn","type":"object","uniqueKey":"turns.oneOf.0.items.[INDEX]","typeLabel":"AgentSessionTurn · object"},"title":"Turns","description":"Per-turn latency, ascending by `turn_id`. Only returned when `include=turns` is set; null otherwise. A turn's messages and tool calls are in `items` with the same `turn_id`.","uniqueKey":"turns.oneOf.0","typeLabel":"AgentSessionTurn · object[]"},{"type":"null","title":"Turns","description":"Per-turn latency, ascending by `turn_id`. Only returned when `include=turns` is set; null otherwise. A turn's messages and tool calls are in `items` with the same `turn_id`.","uniqueKey":"turns.oneOf.1","typeLabel":"null"}],"uniqueKey":"turns","typeLabel":"AgentSessionTurn · object[] | null"}},"required":["session_id","agent_id","agent_name","status","conversation_status","source","created_at"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"session_id":"\u003cstring>","agent_id":"\u003cstring>","agent_name":"\u003cstring>","status":"pending","conversation_status":"\u003cstring>","source":"api_key","created_at":"\u003cstring>","name":"\u003cstring>","end_user_id":"\u003cstring>","end_reason":"user_hangup","rejection_reason":"missing_dynamic_variables","rejection_detail":"\u003cstring>","direction":"inbound","dial_status":"answered","dial_sip_status":123,"dial_sip_reason":"\u003cstring>","answered_by":"human","caller_number":"\u003cstring>","caller_id_withheld":true,"dialed_number":"\u003cstring>","sip_call_id":"\u003cstring>","call_sid":"\u003cstring>","timezone":"\u003cstring>","started_at":"\u003cstring>","ended_at":"\u003cstring>","duration_seconds":123,"participant_identity":"\u003cstring>","agent_participant_identity":"\u003cstring>","agent_joined_at":"\u003cstring>","metadata":{},"content_purged_at":"\u003cstring>","keypad_menu":{"outcome":"selected","variable":"\u003cstring>","value":"\u003cstring>","key":"\u003cstring>","input":"dtmf","attempts":0,"completed_at":"2023-11-07T05:31:56Z"},"unattributed_llm_usage":[{"status":"complete","billing_mode":"tokens","message_generation_id":"\u003cstring>","turn_id":123,"call_count":0,"unbilled_call_count":0,"usage_complete":false,"call_ids":["\u003cstring>"],"cost_usd":"\u003cstring>","billable_cost_usd":"\u003cstring>","known_cost_usd":"0","tokens":[{"model":"\u003cstring>","rate_version":"\u003cstring>","category":"input","tokens":123,"rate_per_million":"\u003cstring>","cost_usd":"\u003cstring>","occurred_at":"2023-11-07T05:31:56Z"}]}],"items":[{"role":"user","content":"\u003cstring>","id":"\u003cstring>","runtime_message_id":"\u003cstring>","message_generation_id":"\u003cstring>","llm_usage":{"status":"complete","billing_mode":"tokens","message_generation_id":"\u003cstring>","turn_id":123,"call_count":0,"unbilled_call_count":0,"usage_complete":false,"call_ids":["\u003cstring>"],"cost_usd":"\u003cstring>","billable_cost_usd":"\u003cstring>","known_cost_usd":"0","tokens":[{"model":"\u003cstring>","rate_version":"\u003cstring>","category":"input","tokens":123,"rate_per_million":"\u003cstring>","cost_usd":"\u003cstring>","occurred_at":"2023-11-07T05:31:56Z"}]},"type":"message","input_medium":"dtmf","fallback_reason":"llm_error","answered_by_model":{"model":"\u003cstring>","custom":{"base_url":"\u003cstring>","model":"\u003cstring>"}},"turn_id":123,"created_at":"\u003cstring>","started_at":"\u003cstring>","ended_at":"\u003cstring>","interrupted":true,"interrupted_by":"\u003cstring>"}],"analysis":{"status":"queued","summary":"\u003cstring>","data":[{"name":"\u003cstring>","type":"boolean","value":true,"rationale":""}],"criteria_results":[{"name":"\u003cstring>","result":"success","rationale":""}],"error":"\u003cstring>","transcript_incomplete":false,"finished_at":"\u003cstring>"},"llm_endpoint_errors":[{"type":"http_error","consecutive_failures":123,"occurred_at":"\u003cstring>","turn_id":123,"reason":"dns_failed","status_code":123,"response_body":"\u003cstring>","duration_ms":123}],"llm_fallbacks":[{"from":{"model":"\u003cstring>","custom":{"base_url":"\u003cstring>","model":"\u003cstring>"}},"to":{"model":"\u003cstring>","custom":{"base_url":"\u003cstring>","model":"\u003cstring>"}},"reason":"error","occurred_at":"\u003cstring>","turn_id":123}],"engine_fallbacks":[{"from":{"engine":"fish_tts","tts_model":"\u003cstring>","voice_id":"\u003cstring>"},"to":{"engine":"fish_tts","tts_model":"\u003cstring>","voice_id":"\u003cstring>"},"reason":"unsupported_language","occurred_at":"\u003cstring>","detail":"\u003cstring>","message":"\u003cstring>"}],"turns":[{"turn_id":123,"latency_summary":{"eou_ms":123,"llm_ms":123,"tts_ms":123,"voice_to_voice_ms":123}}]}}},"exampleType":"generated"}},"exampleType":"generated"},"055c98dd-d553-4cf1-8e39-b955fb1a848f":{"description":"Bad request syntax or unsupported method","headers":{},"content":{"application/json":{"schema":{"properties":{"status":{"title":"Status","type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"message":{"title":"Message","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"reason":{"oneOf":[{"type":"string","title":"Reason","uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"reason","typeLabel":"string | null"}},"required":["status","message"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":123,"message":"\u003cstring>","reason":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"58f46c5a-de17-45e6-9f74-d1691f45aa0a":{"description":"No permission -- see authorization schemes","headers":{},"content":{"application/json":{"schema":{"properties":{"status":{"title":"Status","type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"message":{"title":"Message","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"reason":{"oneOf":[{"type":"string","title":"Reason","uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"reason","typeLabel":"string | null"}},"required":["status","message"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":123,"message":"\u003cstring>","reason":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"5ccd3d03-d3e4-4a04-a38e-42a3d14fd802":{"description":"Nothing matches the given URI","headers":{},"content":{"application/json":{"schema":{"properties":{"status":{"title":"Status","type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"message":{"title":"Message","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"reason":{"oneOf":[{"type":"string","title":"Reason","uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"reason","typeLabel":"string | null"}},"required":["status","message"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":123,"message":"\u003cstring>","reason":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"47523e83-9936-404b-a5f1-6c00e7aa115d":{"description":"Invalid responses from another server/proxy","headers":{},"content":{"application/json":{"schema":{"properties":{"status":{"title":"Status","type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"message":{"title":"Message","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"reason":{"oneOf":[{"type":"string","title":"Reason","uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"reason","typeLabel":"string | null"}},"required":["status","message"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":123,"message":"\u003cstring>","reason":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"f891affa-b81f-4cd2-ac09-52b961b60907":{"description":"The server cannot process the request due to a high load","headers":{},"content":{"application/json":{"schema":{"properties":{"status":{"title":"Status","type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"message":{"title":"Message","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"reason":{"oneOf":[{"type":"string","title":"Reason","uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"reason","typeLabel":"string | null"}},"required":["status","message"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":123,"message":"\u003cstring>","reason":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"e3406302-dbfa-4997-9395-77d457ffb895":{"BearerAuth":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"d5525dc3-ebcf-4a6b-8358-76716e8b1400":{"description":"Fish Audio API","url":"https://api.fish.audio"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"hanabiaiinc","siteName":"Fish Audio","title":"Get Voice Agent Session - Fish Audio","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-22T10:18:45.163Z","originalFileLocation":"api-reference/endpoint/agent/get-agent-session.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Fetch one session\u0026#x27;s full detail: status, timing, and the conversation timeline (transcript turns interleaved with tool calls, in order).\">\u003cmeta data-mint-head name=\"application-name\" content=\"Fish Audio\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/hanabiaiinc/rHJNuwD9FcQhvMwX/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/hanabiaiinc/rHJNuwD9FcQhvMwX/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/hanabiaiinc/rHJNuwD9FcQhvMwX/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/hanabiaiinc/rHJNuwD9FcQhvMwX/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/hanabiaiinc/rHJNuwD9FcQhvMwX/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/hanabiaiinc/rHJNuwD9FcQhvMwX/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/hanabiaiinc/rHJNuwD9FcQhvMwX/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/hanabiaiinc/rHJNuwD9FcQhvMwX/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/hanabiaiinc/rHJNuwD9FcQhvMwX/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Voice Agent Session - Fish Audio\">\u003cmeta data-mint-head property=\"og:description\" content=\"Fetch one session\u0026#x27;s full detail: status, timing, and the conversation timeline (transcript turns interleaved with tool calls, in order).\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Fish Audio\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.fish.audio/api-reference/endpoint/agent/get-agent-session\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://hanabiaiinc.mintlify.site/_mintlify/api/og/v2?division=Sessions\u0026amp;title=Get+Voice+Agent+Session\u0026amp;description=Fetch+one+session%27s+full+detail%3A+status%2C+timing%2C+and+the+conversation%0Atimeline+%28transcript+turns+interleaved+with+tool+calls%2C+in+order%29.\u0026amp;theme=61fce384ffd542cc270fb190\u0026amp;signature=6462a70933adb47a4045c681bbb5411c0eefb81d71b722d6b12bffe1db7aea5a\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get Voice Agent Session - Fish Audio\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Fetch one session\u0026#x27;s full detail: status, timing, and the conversation timeline (transcript turns interleaved with tool calls, in order).\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://hanabiaiinc.mintlify.site/_mintlify/api/og/v2?division=Sessions\u0026amp;title=Get+Voice+Agent+Session\u0026amp;description=Fetch+one+session%27s+full+detail%3A+status%2C+timing%2C+and+the+conversation%0Atimeline+%28transcript+turns+interleaved+with+tool+calls%2C+in+order%29.\u0026amp;theme=61fce384ffd542cc270fb190\u0026amp;signature=6462a70933adb47a4045c681bbb5411c0eefb81d71b722d6b12bffe1db7aea5a\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/hanabiaiinc/rHJNuwD9FcQhvMwX/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Fish Audio\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0e0e0e\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.fish.audio/api-reference/endpoint/agent/get-agent-session\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/agent/get-agent-session.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.fish.audio/#organization\",\"name\":\"Fish Audio\",\"url\":\"https://docs.fish.audio\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/hanabiaiinc/amYp9Dj31LtlHliX/logo/light.png?fit=max\u0026auto=format\u0026n=amYp9Dj31LtlHliX\u0026q=85\u0026s=305973cd6a8d11dbf36d1ec682ee845e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.fish.audio#website\",\"name\":\"Fish Audio\",\"url\":\"https://docs.fish.audio\",\"publisher\":{\"@id\":\"https://docs.fish.audio/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.fish.audio/api-reference/endpoint/agent/get-agent-session#webpage\",\"url\":\"https://docs.fish.audio/api-reference/endpoint/agent/get-agent-session\",\"name\":\"Get Voice Agent Session\",\"description\":\"Fetch one session's full detail: status, timing, and the conversation timeline (transcript turns interleaved with tool calls, in order).\",\"dateModified\":\"2026-11-22T10:18:45.163Z\",\"isPartOf\":{\"@id\":\"https://docs.fish.audio#website\"},\"breadcrumb\":{\"@id\":\"https://docs.fish.audio/api-reference/endpoint/agent/get-agent-session#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.fish.audio/api-reference/endpoint/agent/get-agent-session#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Agents API\",\"item\":\"https://docs.fish.audio/api-reference/agent-errors\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Sessions\",\"item\":\"https://docs.fish.audio/api-reference/endpoint/agent/create-agent-session\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get Voice Agent Session\",\"item\":\"https://docs.fish.audio/api-reference/endpoint/agent/get-agent-session\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.fish.audio/api-reference/endpoint/agent/get-agent-session#apireference\",\"headline\":\"Get Voice Agent Session\",\"name\":\"Get Voice Agent Session\",\"description\":\"Fetch one session's full detail: status, timing, and the conversation timeline (transcript turns interleaved with tool calls, in order).\",\"url\":\"https://docs.fish.audio/api-reference/endpoint/agent/get-agent-session\",\"mainEntityOfPage\":{\"@id\":\"https://docs.fish.audio/api-reference/endpoint/agent/get-agent-session#webpage\"},\"dateModified\":\"2026-11-22T10:18:45.163Z\",\"publisher\":{\"@id\":\"https://docs.fish.audio/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.fish.audio#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Fish Audio\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Fish Audio\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoint/agent/get-agent-session.md","siteName":"Fish Audio","nav":{"global":null,"tabs":[{"tab":"Overview","pages":[{"title":"Overview","href":"/overview/capabilities"}]},{"tab":"Agents","pages":[{"title":"Agents","href":"/agents/overview"}]},{"tab":"Resources","pages":[{"title":"Resources","href":"/developer-guide/sdk-guide/quickstart"}]},{"tab":"API Reference","groups":[{"group":"API Reference","pages":[{"title":"Introduction","icon":"book","iconType":"solid","href":"/api-reference/introduction"},{"title":"Tracing \u0026 Performance Analysis","icon":"chart-line","iconType":"solid","href":"/api-reference/observability"},{"title":"Errors","icon":"triangle-exclamation","href":"/api-reference/errors"}]},{"group":"REST API","pages":[{"group":"Wallet","icon":"wallet","pages":[{"openapi":"get /wallet/{user_id}/api-credit","title":"Get API Credit","icon":"wallet","iconType":"solid","href":"/api-reference/endpoint/wallet/get-api-credit"},{"openapi":"get /wallet/{user_id}/package","title":"Get User Package","icon":"star","iconType":"solid","href":"/api-reference/endpoint/wallet/get-user-package"}]},{"group":"API Keys","icon":"key","pages":[{"openapi":"post /apikey/revoke","title":"Revoke Exposed API Keys","icon":"key","iconType":"solid","href":"/api-reference/endpoint/apikey/revoke-api-keys"}]},{"group":"Voice Models","icon":"cube","pages":[{"openapi":"get /model","title":"List Models","icon":"list","iconType":"solid","href":"/api-reference/endpoint/model/list-models"},{"openapi":"post /model","title":"Create Model","icon":"circle-plus","iconType":"solid","href":"/api-reference/endpoint/model/create-model"},{"openapi":"get /model/{id}","title":"Get Model","icon":"circle-info","iconType":"solid","href":"/api-reference/endpoint/model/get-model"},{"openapi":"delete /model/{id}","title":"Delete Model","icon":"trash","iconType":"solid","href":"/api-reference/endpoint/model/delete-model"},{"openapi":"patch /model/{id}","title":"Update Model","icon":"pen-to-square","iconType":"solid","href":"/api-reference/endpoint/model/update-model"}]},{"group":"Pronunciation Dictionaries","icon":"book-open","pages":[{"openapi":"get /v1/pronunciation-dictionaries","title":"List Dictionaries","icon":"list","iconType":"solid","href":"/api-reference/endpoint/pronunciation-dictionary/list-dictionaries"},{"openapi":"post /v1/pronunciation-dictionaries","title":"Create Dictionary","icon":"circle-plus","iconType":"solid","href":"/api-reference/endpoint/pronunciation-dictionary/create-dictionary"},{"openapi":"get /v1/pronunciation-dictionaries/{dictionary_id}","title":"Get Dictionary","icon":"book-open","iconType":"solid","href":"/api-reference/endpoint/pronunciation-dictionary/get-dictionary"},{"openapi":"patch /v1/pronunciation-dictionaries/{dictionary_id}","title":"Update Dictionary","icon":"pen-to-square","iconType":"solid","href":"/api-reference/endpoint/pronunciation-dictionary/update-dictionary"},{"openapi":"delete /v1/pronunciation-dictionaries/{dictionary_id}","title":"Delete Dictionary","icon":"trash","iconType":"solid","href":"/api-reference/endpoint/pronunciation-dictionary/delete-dictionary"},{"openapi":"get /v1/pronunciation-dictionaries/{dictionary_id}/versions","title":"List Versions","icon":"clock-rotate-left","iconType":"solid","href":"/api-reference/endpoint/pronunciation-dictionary/list-versions"},{"openapi":"post /v1/pronunciation-dictionaries/{dictionary_id}/versions","title":"Publish Version","icon":"upload","iconType":"solid","href":"/api-reference/endpoint/pronunciation-dictionary/create-version"},{"openapi":"get /v1/pronunciation-dictionaries/{dictionary_id}/versions/{version_id}","title":"Get Version","icon":"file-lines","iconType":"solid","href":"/api-reference/endpoint/pronunciation-dictionary/get-version"},{"openapi":"get /v1/pronunciation-dictionaries/{dictionary_id}/versions/{version_id}/compare","title":"Compare Versions","icon":"code-compare","iconType":"solid","href":"/api-reference/endpoint/pronunciation-dictionary/compare-versions"},{"openapi":"delete /v1/pronunciation-dictionaries/{dictionary_id}/versions/{version_id}","title":"Delete Version","icon":"trash-can","iconType":"solid","href":"/api-reference/endpoint/pronunciation-dictionary/delete-version"}]},{"group":"TTS (v1)","icon":"code","pages":[{"openapi":"post /v1/tts","title":"Text to Speech","icon":"comment-dots","iconType":"solid","href":"/api-reference/endpoint/openapi-v1/text-to-speech"},{"openapi":"post /v1/tts/stream/with-timestamp","title":"Text to Speech Stream with Timestamps","icon":"waveform-lines","iconType":"solid","href":"/api-reference/endpoint/openapi-v1/text-to-speech-stream-with-timestamps"},{"asyncapi":"api-reference/asyncapi.yml ttsLive","title":"WebSocket TTS Streaming","icon":"webhook","iconType":"solid","href":"/api-reference/endpoint/websocket/tts-live"},{"asyncapi":"api-reference/asyncapi.yml ttsLiveWithTimestamps","title":"WebSocket TTS with Timestamps","icon":"webhook","iconType":"solid","href":"/api-reference/endpoint/openapi-v1/text-to-speech-live-with-timestamps"},{"openapi":"post /v1/audio/infill","title":"Audio Infill","icon":"pen-to-square","iconType":"solid","href":"/api-reference/endpoint/openapi-v1/audio-infill"}]},{"group":"Duplex (v1)","icon":"waveform-lines","hidden":true,"pages":[{"asyncapi":"api-reference/duplex-api-asyncapi.yml duplexConverse","title":"Duplex API Converse","icon":"waveform-lines","href":"/api-reference/endpoint/websocket/duplex-api-converse"}]},{"group":"ASR (v1)","icon":"microphone","pages":[{"openapi":"post /v1/asr","title":"Speech to Text","icon":"microphone","iconType":"solid","href":"/api-reference/endpoint/openapi-v1/speech-to-text"},{"asyncapi":"api-reference/asyncapi-asr-realtime.yml asrRealtime","title":"WebSocket Realtime Speech to Text","icon":"webhook","iconType":"solid","tag":"Preview","href":"/api-reference/endpoint/websocket/asr-realtime"}]},{"group":"Voice Design","icon":"wand-magic-sparkles","pages":[{"openapi":"post /v1/voice-design","title":"Voice Design","icon":"wand-magic-sparkles","iconType":"solid","href":"/api-reference/endpoint/openapi-v1/voice-design"}]}]},{"group":"Agents API","pages":[{"title":"Voice Agents API Errors","sidebarTitle":"Agents API Errors","icon":"triangle-exclamation","href":"/api-reference/agent-errors"},{"group":"Agents","icon":"robot","pages":[{"openapi":"get /v1/agent/agents","title":"List Voice Agents","sidebarTitle":"List Agents","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/list-agents"},{"openapi":"post /v1/agent/agents","title":"Create Voice Agent","sidebarTitle":"Create Agent","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/create-agent"},{"openapi":"get /v1/agent/agents/{agent_id}","title":"Get Voice Agent","sidebarTitle":"Get Agent","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/get-agent"},{"openapi":"patch /v1/agent/agents/{agent_id}","title":"Update Voice Agent","sidebarTitle":"Update Agent","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/update-agent"},{"openapi":"post /v1/agent/agents/{agent_id}/clone","title":"Clone Agent","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/clone-agent"},{"openapi":"delete /v1/agent/agents/{agent_id}","title":"Delete Voice Agent","sidebarTitle":"Delete Agent","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/delete-agent"},{"openapi":"get /v1/agent/agents/{agent_id}/config","title":"Get Voice Agent Draft Config","sidebarTitle":"Get Draft Config","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/get-draft-config"},{"openapi":"patch /v1/agent/agents/{agent_id}/config","title":"Update Voice Agent Draft Config","sidebarTitle":"Update Draft Config","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/update-draft-config"},{"openapi":"post /v1/agent/agents/{agent_id}/llm/custom/test","title":"Test Voice Agent Custom LLM Endpoint","sidebarTitle":"Test Custom LLM","icon":"plug","iconType":"solid","href":"/api-reference/endpoint/agent/test-custom-llm"},{"openapi":"post /v1/agent/agents/{agent_id}/publish","title":"Publish Voice Agent","sidebarTitle":"Publish Agent","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/publish-agent"},{"openapi":"get /v1/agent/agents/{agent_id}/versions","title":"List Voice Agent Versions","sidebarTitle":"List Agent Versions","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/list-agent-versions"},{"openapi":"get /v1/agent/agents/{agent_id}/versions/{version_number}","title":"Get Voice Agent Version","sidebarTitle":"Get Agent Version","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/get-agent-version"},{"openapi":"patch /v1/agent/agents/{agent_id}/versions/{version_number}","title":"Update Version Labels","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/update-agent-version"},{"openapi":"post /v1/agent/agents/{agent_id}/versions/{version_number}/rollback","title":"Roll Back To Version","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/rollback-agent-version"},{"openapi":"get /v1/agent/agents/{agent_id}/deployments","title":"List Deployments","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/list-agent-deployments"},{"openapi":"get /v1/agent/agents/{agent_id}/widget","title":"Get Voice Agent Widget Config","sidebarTitle":"Get Widget Config","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/get-widget-config"}]},{"group":"Sessions","icon":"headset","pages":[{"openapi":"post /v1/agent/sessions","title":"Create Voice Agent Session","sidebarTitle":"Create Agent Session","icon":"headset","iconType":"solid","href":"/api-reference/endpoint/agent/create-agent-session"},{"openapi":"get /v1/agent/sessions","title":"List Voice Agent Sessions","sidebarTitle":"List Agent Sessions","description":"List your team's sessions, newest first.","icon":"headset","iconType":"solid","href":"/api-reference/endpoint/agent/list-agent-sessions"},{"openapi":"get /v1/agent/sessions/{session_id}","title":"Get Voice Agent Session","sidebarTitle":"Get Agent Session","icon":"headset","iconType":"solid","href":"/api-reference/endpoint/agent/get-agent-session"},{"openapi":"get /v1/agent/sessions/{session_id}/recording","title":"Get Voice Agent Session Recording","sidebarTitle":"Get Agent Session Recording","description":"Return time-limited download URLs for the session's audio recording, one\nper speaker track (agent and user are recorded separately).","icon":"headset","iconType":"solid","href":"/api-reference/endpoint/agent/get-agent-session-recording"},{"openapi":"post /v1/agent/sessions/{session_id}/end","title":"End Voice Agent Session","sidebarTitle":"End Agent Session","icon":"headset","iconType":"solid","href":"/api-reference/endpoint/agent/end-agent-session"},{"openapi":"post /v1/agent/sessions/{session_id}/analysis/rerun","title":"Rerun Voice Agent Session Analysis","sidebarTitle":"Rerun Session Analysis","icon":"rotate-right","iconType":"solid","href":"/api-reference/endpoint/agent/rerun-session-analysis"}]},{"group":"Tools","icon":"wrench","pages":[{"openapi":"get /v1/agent/tools","title":"List Voice Agent Tools","sidebarTitle":"List Tools","icon":"wrench","iconType":"solid","href":"/api-reference/endpoint/agent/list-tools"},{"openapi":"post /v1/agent/tools","title":"Create Voice Agent Tool","sidebarTitle":"Create Tool","icon":"wrench","iconType":"solid","href":"/api-reference/endpoint/agent/create-tool"},{"openapi":"get /v1/agent/tools/{tool_id}","title":"Get Voice Agent Tool","sidebarTitle":"Get Tool","icon":"wrench","iconType":"solid","href":"/api-reference/endpoint/agent/get-tool"},{"openapi":"patch /v1/agent/tools/{tool_id}","title":"Update Voice Agent Tool","sidebarTitle":"Update Tool","icon":"wrench","iconType":"solid","href":"/api-reference/endpoint/agent/update-tool"},{"openapi":"post /v1/agent/tools/{tool_id}/test","title":"Test Voice Agent Webhook Tool","sidebarTitle":"Test Tool","icon":"wrench","iconType":"solid","href":"/api-reference/endpoint/agent/test-tool"},{"openapi":"delete /v1/agent/tools/{tool_id}","title":"Delete Voice Agent Tool","sidebarTitle":"Delete Tool","icon":"wrench","iconType":"solid","href":"/api-reference/endpoint/agent/delete-tool"},{"openapi":"get /v1/agent/tools/{tool_id}/agents","title":"List Voice Agents Using Tool","sidebarTitle":"List Agents Using Tool","icon":"wrench","iconType":"solid","href":"/api-reference/endpoint/agent/list-agents-using-tool"}]},{"group":"Tests","icon":"flask","pages":[{"openapi":"get /v1/agent/tests","title":"List Voice Agent Tests","sidebarTitle":"List Tests","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/list-tests"},{"openapi":"post /v1/agent/tests","title":"Create Voice Agent Test","sidebarTitle":"Create Test","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/create-test"},{"openapi":"get /v1/agent/tests/{test_id}","title":"Get Voice Agent Test","sidebarTitle":"Get Test","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/get-test"},{"openapi":"patch /v1/agent/tests/{test_id}","title":"Update Voice Agent Test","sidebarTitle":"Update Test","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/update-test"},{"openapi":"delete /v1/agent/tests/{test_id}","title":"Delete Voice Agent Test","sidebarTitle":"Delete Test","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/delete-test"},{"openapi":"put /v1/agent/agents/{agent_id}/tests/{test_id}","title":"Attach Test to Voice Agent","sidebarTitle":"Attach Test","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/attach-test"},{"openapi":"delete /v1/agent/agents/{agent_id}/tests/{test_id}","title":"Detach Test from Voice Agent","sidebarTitle":"Detach Test","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/detach-test"},{"openapi":"get /v1/agent/agents/{agent_id}/test-tools","title":"List Voice Agent Test Tools","sidebarTitle":"List Test Tools","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/list-test-tools"},{"openapi":"post /v1/agent/agents/{agent_id}/tests/run","title":"Run Voice Agent Tests","sidebarTitle":"Run Tests","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/run-tests"},{"openapi":"get /v1/agent/test-settings","title":"Get Voice Agent Test Settings","sidebarTitle":"Get Test Settings","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/get-test-settings"},{"openapi":"patch /v1/agent/test-settings","title":"Update Voice Agent Test Settings","sidebarTitle":"Update Test Settings","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/update-test-settings"},{"openapi":"get /v1/agent/agents/{agent_id}/test-batches","title":"List Voice Agent Test Batches","sidebarTitle":"List Test Batches","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/list-test-batches"},{"openapi":"get /v1/agent/agents/{agent_id}/test-batches/{batch_id}","title":"Get Voice Agent Test Batch","sidebarTitle":"Get Test Batch","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/get-test-batch"},{"openapi":"patch /v1/agent/agents/{agent_id}/test-batches/{batch_id}","title":"Update Voice Agent Test Batch","sidebarTitle":"Update Test Batch","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/update-test-batch"},{"openapi":"post /v1/agent/agents/{agent_id}/test-batches/{batch_id}/cancel","title":"Cancel Voice Agent Test Batch","sidebarTitle":"Cancel Test Batch","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/cancel-test-batch"},{"openapi":"get /v1/agent/test-runs","title":"List Voice Agent Test Runs","sidebarTitle":"List Test Runs","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/list-test-runs"},{"openapi":"get /v1/agent/test-runs/{run_id}","title":"Get Voice Agent Test Run","sidebarTitle":"Get Test Run","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/get-test-run"}]},{"group":"Test Folders","icon":"folder","pages":[{"openapi":"get /v1/agent/test-folders","title":"List Voice Agent Test Folders","sidebarTitle":"List Test Folders","icon":"folder","iconType":"solid","href":"/api-reference/endpoint/agent/list-test-folders"},{"openapi":"post /v1/agent/test-folders","title":"Create Voice Agent Test Folder","sidebarTitle":"Create Test Folder","icon":"folder","iconType":"solid","href":"/api-reference/endpoint/agent/create-test-folder"},{"openapi":"patch /v1/agent/test-folders/{folder_id}","title":"Rename Voice Agent Test Folder","sidebarTitle":"Rename Test Folder","icon":"folder","iconType":"solid","href":"/api-reference/endpoint/agent/update-test-folder"},{"openapi":"delete /v1/agent/test-folders/{folder_id}","title":"Delete Voice Agent Test Folder","sidebarTitle":"Delete Test Folder","icon":"folder","iconType":"solid","href":"/api-reference/endpoint/agent/delete-test-folder"}]},{"group":"Knowledge Sources","icon":"book","pages":[{"openapi":"get /v1/agent/knowledge-sources","title":"List Voice Agent Knowledge Sources","sidebarTitle":"List Knowledge Sources","icon":"book","iconType":"solid","href":"/api-reference/endpoint/agent/list-knowledge-sources"},{"openapi":"post /v1/agent/knowledge-sources","title":"Create Voice Agent Knowledge Source","sidebarTitle":"Create Knowledge Source","icon":"book","iconType":"solid","href":"/api-reference/endpoint/agent/create-knowledge-source"},{"openapi":"get /v1/agent/knowledge-sources/{source_id}","title":"Get Voice Agent Knowledge Source","sidebarTitle":"Get Knowledge Source","icon":"book","iconType":"solid","href":"/api-reference/endpoint/agent/get-knowledge-source"},{"openapi":"patch /v1/agent/knowledge-sources/{source_id}","title":"Update Voice Agent Knowledge Source","sidebarTitle":"Update Knowledge Source","icon":"book","iconType":"solid","href":"/api-reference/endpoint/agent/update-knowledge-source"},{"openapi":"delete /v1/agent/knowledge-sources/{source_id}","title":"Delete Voice Agent Knowledge Source","sidebarTitle":"Delete Knowledge Source","icon":"book","iconType":"solid","href":"/api-reference/endpoint/agent/delete-knowledge-source"},{"openapi":"get /v1/agent/knowledge-sources/{source_id}/agents","title":"List Voice Agents Using Knowledge Source","sidebarTitle":"List Agents Using Knowledge Source","icon":"book","iconType":"solid","href":"/api-reference/endpoint/agent/list-agents-using-knowledge-source"}]},{"group":"Knowledge Folders","icon":"folder","pages":[{"openapi":"get /v1/agent/knowledge-folders","title":"List Voice Agent Knowledge Folders","sidebarTitle":"List Knowledge Folders","icon":"folder","iconType":"solid","href":"/api-reference/endpoint/agent/list-knowledge-folders"},{"openapi":"post /v1/agent/knowledge-folders","title":"Create Voice Agent Knowledge Folder","sidebarTitle":"Create Knowledge Folder","icon":"folder","iconType":"solid","href":"/api-reference/endpoint/agent/create-knowledge-folder"},{"openapi":"patch /v1/agent/knowledge-folders/{folder_id}","title":"Rename Voice Agent Knowledge Folder","sidebarTitle":"Rename Knowledge Folder","icon":"folder","iconType":"solid","href":"/api-reference/endpoint/agent/update-knowledge-folder"},{"openapi":"delete /v1/agent/knowledge-folders/{folder_id}","title":"Delete Voice Agent Knowledge Folder","sidebarTitle":"Delete Knowledge Folder","icon":"folder","iconType":"solid","href":"/api-reference/endpoint/agent/delete-knowledge-folder"}]},{"group":"Background Sounds","icon":"volume-high","pages":[{"openapi":"get /v1/agent/background-sounds","title":"List Voice Agent Background Sounds","sidebarTitle":"List Background Sounds","icon":"volume-high","iconType":"solid","href":"/api-reference/endpoint/agent/list-background-sounds"},{"openapi":"post /v1/agent/background-sounds","title":"Create Voice Agent Background Sound","sidebarTitle":"Create Background Sound","icon":"volume-high","iconType":"solid","href":"/api-reference/endpoint/agent/create-background-sound"},{"openapi":"delete /v1/agent/background-sounds/{asset_id}","title":"Delete Voice Agent Background Sound","sidebarTitle":"Delete Background Sound","icon":"volume-high","iconType":"solid","href":"/api-reference/endpoint/agent/delete-background-sound"}]},{"group":"LLM Models","icon":"brain","pages":[{"openapi":"get /v1/agent/llm-models","title":"List Voice Agent LLM Models","sidebarTitle":"List LLM Models","icon":"brain","iconType":"solid","href":"/api-reference/endpoint/agent/list-llm-models"}]},{"group":"Phone Numbers","icon":"phone","pages":[{"openapi":"get /v1/agent/available-phone-numbers","title":"Search Available Voice Agent Phone Numbers","sidebarTitle":"Search Available Phone Numbers","icon":"phone","iconType":"solid","href":"/api-reference/endpoint/agent/search-available-phone-numbers"},{"openapi":"get /v1/agent/phone-numbers","title":"List Voice Agent Phone Numbers","sidebarTitle":"List Phone Numbers","icon":"phone","iconType":"solid","href":"/api-reference/endpoint/agent/list-phone-numbers"},{"openapi":"post /v1/agent/phone-numbers","title":"Purchase Voice Agent Phone Number","sidebarTitle":"Purchase Phone Number","icon":"phone","iconType":"solid","href":"/api-reference/endpoint/agent/purchase-phone-number"},{"openapi":"get /v1/agent/phone-numbers/{phone_number_id}","title":"Get Voice Agent Phone Number","sidebarTitle":"Get Phone Number","icon":"phone","iconType":"solid","href":"/api-reference/endpoint/agent/get-phone-number"},{"openapi":"patch /v1/agent/phone-numbers/{phone_number_id}","title":"Update Voice Agent Phone Number","sidebarTitle":"Update Phone Number","icon":"phone","iconType":"solid","href":"/api-reference/endpoint/agent/update-phone-number"},{"openapi":"delete /v1/agent/phone-numbers/{phone_number_id}","title":"Release Voice Agent Phone Number","sidebarTitle":"Release Phone Number","icon":"phone","iconType":"solid","href":"/api-reference/endpoint/agent/release-phone-number"}]},{"group":"Phone Calls","icon":"phone-arrow-up-right","pages":[{"openapi":"post /v1/agent/phone-calls","title":"Create Voice Agent Phone Call","sidebarTitle":"Create Phone Call","icon":"phone-arrow-up-right","iconType":"solid","href":"/api-reference/endpoint/agent/create-phone-call"}]}]},{"group":"SDK Reference","pages":[{"group":"Python SDK","icon":"python","pages":[{"title":"Overview","icon":"python","href":"/api-reference/sdk/python/overview"},{"group":"Reference","icon":"book-open","pages":[{"title":null,"href":"/api-reference/sdk/python/client"},{"title":null,"href":"/api-reference/sdk/python/resources"},{"title":null,"href":"/api-reference/sdk/python/types"},{"title":null,"href":"/api-reference/sdk/python/core"},{"title":null,"href":"/api-reference/sdk/python/utils"},{"title":null,"href":"/api-reference/sdk/python/exceptions"}]},{"title":"Legacy","icon":"clock-rotate-left","href":"/archive/python-sdk-legacy/index"}]},{"group":"JavaScript SDK","icon":"js","pages":[{"title":"JavaScript SDK Reference","sidebarTitle":"Reference","icon":"book","href":"/api-reference/sdk/javascript/api-reference"}]},{"group":"Go SDK","icon":"golang","pages":[{"title":"API Reference","icon":"book","href":"/api-reference/sdk/go/api-reference"}]}]}]}]},"basePath":"","title":"Get Voice Agent Session - Fish Audio","deploymentId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","buildId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DUG0fxZu.js","snippetPresets-Ba5aWAdQ.js","utils-GxQLQihZ.js","style-to-object-BY3JEAdk.js","utils-WKMM_gjD.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Bo9LYdaA.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DwYjaFhs.js","_Uint8Array-DDE2Hehm.js","isObject-FP1Yky1u.js","ApiExamples-DhR-5ORn.js","usePlaygroundInputsStore-BaYqfAgH.js","shallow-BC7UwQwD.js","isEqual-gcN6MEQu.js","CodeSnippets-B8P54LrN.js","CodeSnippet-Czwn5OJE.js","use-playground-group-access-C3A6I116.js","Page-CUkc1DBo.js","api-description-markdown-CDE0Fpj5.js","DynamicMarkdown-F4EfLno9.js","SectionHeading-DMe18In2.js","MethodPill-CW7tTaiB.js","getPastedJson-DB5smC0Q.js","Check2Icon-DDdveNjm.js","axios-CsQoIw0U.js","Markdown-BLge-GTN.js","AssistantPageLink-BFI2wFhH.js","dist-C1RpOC6K.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}