Skip to content
VaakyoDocs
Navigation
Open console →

Calls

The call object

Every call in Vaakyo—outbound, inbound, or browser preview—is stored as a unified call record. This page details each field, valid values, and query patterns.

Retrieve a call

curl https://api.vaakyo.com/api/v1/calls/$CALL_ID -H "Authorization: Bearer $VAAKYO_API_KEY"

The same record is delivered in the call.completed webhook as data.call. See Webhook events.

Example record

{
  "id": "00b1d622a8f04f4f8f3a3c2d9e5b7a11",
  "agent_id": "1b81a241c0e44f5c9d1f0e2a7c3b9d10",
  "agent_name": "Appointment reminder",
  "channel": "phone",
  "direction": "outbound",
  "from_number": "+918035001234",
  "to_number": "+919812345678",
  "status": "completed",
  "user_data": {"customer_name": "Rohan", "slot": "11 am"},
  "transcript": [
    {"role": "assistant", "text": "Hello Rohan, this is City Clinic calling about your appointment tomorrow.", "at": "2026-10-01T14:44:02.410000+05:30", "interrupted": false},
    {"role": "user", "text": "Yes, I'll be there at eleven.", "at": "2026-10-01T14:44:07.950000+05:30", "interrupted": false},
    {"role": "assistant", "text": "Great, we'll see you tomorrow at 11 am. Goodbye!", "at": "2026-10-01T14:44:09.120000+05:30", "interrupted": false}
  ],
  "usage": {"stt_seconds": 14.0, "tts_characters": 121, "llm_input_tokens": 1840, "llm_output_tokens": 41, "llm_calls": 1},
  "has_recording": true,
  "recording_seconds": 14.1,
  "hangup_by": "agent",
  "hangup_reason": "agent ended the call",
  "error": "",
  "created_at": "2026-10-01T14:43:51.002000+05:30",
  "updated_at": "2026-10-01T14:44:21.640000+05:30",
  "queued_at": "2026-10-01T14:43:51.001000+05:30",
  "dequeued_at": "2026-10-01T14:43:52.318000+05:30",
  "answered_at": "2026-10-01T14:44:01.870000+05:30",
  "ended_at": "2026-10-01T14:44:16.090000+05:30",
  "duration_seconds": 14.2,
  "first_audio_ms": 1050,
  "interruptions": {"real": 1, "false": 2, "ignored": 4},
  "cost_paise": 95,
  "total_cost": 0.95,
  "answered_by_voicemail": false,
  "cost_breakdown": {
    "currency": "INR",
    "usage_paise": 85,
    "total_paise": 95,
    "components": {"transcriber": 20, "llm": 25, "voice": 30, "telephony": 10, "platform": 10},
    "lines": [
      {"component": "voice", "provider": "cartesia", "model": "sonic-3.6", "quantity": 121, "unit": "chars", "amount_paise": 30}
    ]
  },
  "providers": {"llm": "gemini", "llm_model": "gemini-3.5-flash-lite", "stt": "cartesia", "tts": "cartesia"},
  "ignore_call_window": false,
  "transcript_text": "assistant: Hello Rohan, this is City Clinic calling about your appointment tomorrow.\nuser: Yes, I'll be there at eleven.\nassistant: Great, we'll see you tomorrow at 11 am. Goodbye!",
  "summary": "City Clinic called Rohan to confirm appointment.",
  "extracted": {"confirmed": true, "new_day": null}
}

Field reference

Identity

FieldTypeDescription
idstringUnique call identifier (32 hex characters).
agent_idstringIdentifier of the handling agent.
agent_namestringName of the agent when the call executed.
channelphone or webPhone or browser preview.
directionoutbound, inbound, webOrigin orientation of the call.
from_numberstringE.164 caller ID (outbound) or caller number (inbound).
to_numberstringE.164 destination number (outbound) or receiving line (inbound).
user_dataobjectCustom parameters attached to the call.
ignore_call_windowbooleanWhether regional calling hours were bypassed.
batch_idstringThe campaign the call belongs to ("" when none).
batch_rowinteger or nullThe contact’s row in the campaign’s file (1 = first contact).
attemptintegerWhich attempt at the contact this is (1 = first call, 2 = first retry, …).

Status

FieldTypeDescription
statusstringscheduled, queued, ringing, in-progress, call-disconnected (ended, results still being made), completed (every field filled in), failed, no-answer, busy, canceled, balance-low (out of credits). See Call flow.
errorstringExplanatory message if status is failed.
waiting_forstringWhy a queued call isn’t dialled yet: slot (every call slot is busy), calling_hours, provider capacity, workspace (the workspace isn’t active); "" once dialled.
scheduled_forstring or nullWhen a call booked for later rings (auto reschedule).

Termination

FieldTypeDescription
hangup_bystringEntity that disconnected: caller, agent, api, error, system.
hangup_reasonstringPlain-text explanation for disconnect.
answered_bystringAnswering party classification (human, machine, unknown).
answered_by_voicemailbooleantrue when an answering machine or voicemail picked up (the carrier’s detection, confirmed by the agent listening).
interruptionsobjectBarge-ins on this call: real (the caller stopped the agent), false (the agent paused for noise and carried on), ignored (noise, listening sounds or echo that never paused it). See Interruptions.

Recording

FieldTypeDescription
has_recordingbooleanIndicates whether audio recording is stored. Fetch via GET /api/v1/calls/{id}/recording.
transcriptarrayThe conversation turn by turn: role (assistant, user, or tool for a tool the agent called), text, at, interrupted.
transcript_textstringThe same conversation as plain text, one role: text line per turn (tool turns left out). On a single call (GET /api/v1/calls/{id}, the call.completed webhook), not in lists.
recording_secondsnumberRecorded audio duration in seconds.

Usage and cost

FieldTypeDescription
cost_paiseintegerTotal charge in the minor unit of currency (paise for INR, cents for USD).
currencystringThe workspace’s billing currency when the call was made (INR or USD).
plan_seconds_coveredintegerBillable seconds paid for by your plan’s included minutes; credits paid the rest.
total_costnumberThe same charge in the currency’s main unit (rupees, or dollars for a USD workspace): cost_paise / 100.
cost_breakdownobjectItemized charges by component (transcriber, llm, voice, telephony, platform), including unit quantities and line rates.
usage.stt_secondsnumberInput audio seconds processed by speech-to-text.
usage.tts_charactersintegerSynthesized text character count.
usage.llm_input_tokensintegerTotal LLM prompt tokens across turns.
usage.llm_output_tokensintegerTotal LLM output tokens generated.
usage.llm_callsintegerNumber of LLM inference requests executed.
providersobjectConfigured engine providers (llm, llm_model, stt, tts).
first_audio_msinteger or nullAverage time from the caller finishing a turn to the agent’s first audio.

Times

All times are ISO 8601 in the ?timezone= you ask for (default Asia/Kolkata).

FieldTypeDescription
created_atstringWhen the call was created.
queued_at, dequeued_atstringWhen an outbound call joined the queue and left it to be dialled.
answered_at, ended_atstringWhen the call was answered and when it ended.
duration_secondsnumberTalk time, from answer to hang-up.
updated_atstringThe last change to the record: a status, a turn, the cost or the post-call results. Poll a call until status is final and summary is filled, or use the call.completed webhook.

Results

FieldTypeDescription
summarystringThe post-call summary (analytics).
extractedobjectThe values pulled out of the call (analytics).
bookingobjectA meeting booked on Cal.com during the call (Cal.com): uid, start, when, email. Empty when none.
rescheduled_to, rescheduled_forstring, string or nullThe call back booked on this call, and when it rings (auto reschedule).
rescheduled_fromstringOn a booked call back, the call where it was asked for.
guardrail_incidents, guardrail_severityinteger, stringPolicy incidents the post-call check recorded, and the worst severity (violation, warning or ""). See Guardrails.

Transfer

Set when the agent handed the caller to a person (transfer to a human).

FieldTypeDescription
transferred_toobject{name, number} of the target. Empty when the call wasn’t transferred.
transferred_atstring or nullWhen the transfer started.
transfer_reasonstringThe agent’s one-sentence reason.
transfer_statusstringconnecting, then answered, no-answer, busy, failed or canceled.
transfer_secondsnumberHow long the person talked.
transfer_charged_paiseintegerWhat the connected leg cost, included in cost_paise.

Field names in other platforms

If your integration was built for another voice platform’s call record, these are the Vaakyo fields to read:

You may know it asVaakyo field
conversation_durationduration_seconds
total_costtotal_cost (main unit) or cost_paise
cost_breakdown.transcriber, .llm, .synthesizer, .network, .platformcost_breakdown.components.transcriber, .llm, .voice, .telephony, .platform (paise)
error_messageerror
answered_by_voice_mailanswered_by_voicemail
transcript (text)transcript_text
batch_id, status, created_at, updated_atthe same names
status initiated / rescheduled / error / stoppedringing / scheduled / failed / canceled; queued, ringing, in-progress, call-disconnected, completed, no-answer, busy, balance-low are the same

Call endpoints

EndpointDescription
GET /api/v1/callsFilter and paginate workspace calls.
GET /api/v1/calls/{id}Retrieve call details with complete transcript.
GET /api/v1/calls/{id}/eventsRetrieve real-time lifecycle timeline.
GET /api/v1/calls/{id}/recordingDownload audio recording (stereo MP3; recordings made before October 2026 are WAV).
POST /api/v1/calls/{id}/hangupTerminate an in-progress call or cancel a queued call.
Esc