Calls
Get a call
https://api.vaakyo.com/api/v1/calls/{call_id}One call with its transcript, usage, cost, and post-call analytics (summary, extracted).
Authorization
Your API key as a bearer token: Authorization: Bearer vx_....
Path parameters
call_idstringrequiredThe call's id.
Query parameters
timezoneenum<string>default: "Asia/Kolkata"IANA time zone for every timestamp in the response (at, date, timestamp and *_at fields), as ISO 8601 with the offset. Any IANA zone works; the common ones are listed. The X-Timezone header works too; the zone used comes back in the X-Timezone response header. An unknown zone is a 400.
One of:Asia/KolkataUTCAsia/DubaiAsia/RiyadhAsia/SingaporeAsia/JakartaAsia/DhakaAsia/KathmanduAsia/KarachiAsia/TokyoAustralia/SydneyEurope/LondonEurope/BerlinAfrica/LagosAfrica/NairobiAmerica/New_YorkAmerica/ChicagoAmerica/Los_AngelesAmerica/Sao_Paulo
Response
200Success.
idstringThe call's id.
agent_idstringagent_namestringchannelenum<string>default: "phone"phone or web (a browser test call).
One of:phoneweb
directionenum<string>default: "outbound"outbound, inbound or web.
One of:outboundinboundweb
from_numberstringto_numberstringstatusenum<string>default: "queued"Final states: completed, failed, no-answer, busy, canceled.
One of:scheduledqueuedringingin-progresscall-disconnectedcompletedfailedno-answerbusycanceledbalance-low
waiting_forstringuser_dataobjectWhat was passed when the call was placed.
transcriptobject[]Every turn, in order (only on Get a call).
Show item attributes
roleenum<string>One of:assistantusertool
textstringatstringdate-time
interruptedbooleandefault: falseusageobjectSpeech, voice and model usage.
Show child attributes
stt_secondsnumberdefault: 0tts_charactersintegerdefault: 0llm_input_tokensintegerdefault: 0llm_output_tokensintegerdefault: 0llm_callsintegerdefault: 0recording_secondsnumberdefault: 0Length of the recording; download it with Download a recording.
hangup_bystringWho ended the call (agent, user, api, system, ...).
hangup_reasonstringerrorstringcreated_atstringdate-time
updated_atstring | nulldefault: nulldate-time
answered_atstring | nulldefault: nulldate-time
ended_atstring | nulldefault: nulldate-time
duration_secondsnumberdefault: 0From answer to hang-up.
first_audio_msinteger | nulldefault: nullAverage time from the caller finishing a turn to the agent's first audio.
interruptionsobjectcost_paiseintegerdefault: 0What the call cost the workspace, billed per second.
currencystringcost_breakdownobjectplan_seconds_coveredintegerdefault: 0providersobjectqueued_atstring | nulldefault: nullWhen the call joined the queue (outbound calls).
date-time
dequeued_atstring | nulldefault: nulldate-time
ignore_call_windowbooleandefault: falsesummarystringPost-call summary, when the agent's analytics ask for one.
extractedobjectPost-call extraction, when the agent's analytics ask for it.
bookingobjectguardrail_incidentsintegerdefault: 0guardrail_severitystringbatch_idstringbatch_rowinteger | nulldefault: nullattemptintegerdefault: 1answered_bystringscheduled_forstring | nulldefault: nulldate-time
rescheduled_fromstringrescheduled_tostringrescheduled_forstring | nulldefault: nulldate-time
transferred_toobjecttransferred_atstring | nulldefault: nulldate-time
transfer_reasonstringtransfer_statusstringtransfer_secondsnumberdefault: 0transfer_charged_paiseintegerdefault: 0has_recordingbooleanA recording exists: fetch it with GET /calls/{call_id}/recording.
401No credentials, or they are invalid or revoked.
detailstringWhat went wrong, in plain words.
403Your role (or an API key) lacks the permission.
detailstringWhat went wrong, in plain words.
422Validation Error
detailobject[]Show item attributes
locstring | integer[]msgstringtypestring429Over the per-key rate limit; wait for Retry-After.
detailstringWhat went wrong, in plain words.