Get call
The call record. status moves queued → dialing → in_progress, then lands on one final value: completed, voicemail, no_answer, busy, failed, timeout or aborted. A final status never changes. ended_reason says why it ended.
cost is settled when the call ends. Only calls that connected are billed. analysis appears once the post-call analysis has settled (see Get call analysis), and a call run by a node-based agent also carries flow.
Webhooks are the better way to follow a call. If you poll, poll every 5 seconds at most. A call id from another workspace is a 404, the same as one that never existed.
Authorizations
Response
A finished call
Partial call response schema documenting additive fields; other existing call fields are retained.
The allowed_tools the call was created with, as sent: the only tools of its agent that could run on it (the builtin end_call always stays as the agent configured it). Present on GET, list and the webhooks built from the stored call only when the call was created with it; absent otherwise.
How an outbound phone call's number was chosen: request (the call's own phone_number_id, or its campaign's), agent (the agent's calls_from), pool (a phone pool picked it), own (nothing chose one, so the workspace's own number), shared (the Mirai shared line, only for a workspace with no number that can place calls; shared with other customers and showing as Mirai) or trunk (a Mirai line: one from a campaign's caller_ids, or the caller ID Mirai set up for your workspace's shared-line calls). Absent on inbound, web and WhatsApp calls.
request, agent, pool, own, shared, trunk How the call was held: phone (dialled out, answered inbound, or a WhatsApp call), web (a browser session), text (the console's typed test chat) or realtime (a Realtime API session). The same vocabulary as GET /v2/calls/summary's by_channel. Present wherever created_at is.
phone, web, text, realtime When the call was accepted (RFC 3339, UTC): the time GET /v2/calls orders by and its from/to filter on. Present on GET and list, and in data.call of the ending event (call.completed, call.failed, call.voicemail, call.aborted) and call.processed; not on call.queued or call.started. Absent only on a call stored without one.
pending until the call has ended and its transcript is settled; ready when GET /v2/calls/{id}/transcript returns turns; empty when nobody spoke or media never started; failed when the transcript was lost. Present on GET and list.
pending, ready, empty, failed