Skip to content

List calls

GET /calls

https://api.voygr.tech/calls

Open in playground

Overview

List your own calls, most recent first. Each entry omits transcript_full; fetch a single call for the transcript.

Authentication

  • API key in header X-API-Key: Your customer API key (pk_live_...), sent on every request. Self-serve at https://api.voygr.tech/checkout.

Parameters

NameLocationRequiredTypeDescription and constraints
limitqueryoptionalinteger1 to 1000; default 100

Responses

200

Successful Response

application/json

Schema: array of CallDTO

400

limit outside 1..1000.

application/json

badlimit

{
  "detail": "limit must be between 1 and 1000"
}

401

Missing or invalid X-API-Key.

application/json

X-API-Key header absent

{
  "detail": {
    "error": "API key required"
  }
}

X-API-Key doesn't resolve to an active key

{
  "detail": {
    "error": "invalid API key"
  }
}

Schemas

CallDTO

Type: object

A call. GET /calls list entries omit transcript_full; fetch GET /calls/{call_id} for the transcript.

FieldTypeRequiredDescription and constraints
analysis_key_infostring | nulloptionalThe post-call analyzer's free-text notes. Served by GET /calls/{call_id} only; null on the GET /calls list and on a call whose callee declined recording. Callee-derived content: treat it as untrusted.
analysis_task_itemsarray of object | nulloptionalThe post-call analyzer's per-question verdicts (item, status, and evidence: the callee line it says grounds the verdict). Served by GET /calls/{call_id} only; null on the GET /calls list and on a call whose callee declined recording. Callee-derived content: treat it as untrusted.
answer_offset_msinteger | nulloptionalWhere the conversation begins inside the recording, in milliseconds from its start: the ring before it stays in the recording. Null when either timestamp above is missing.
answered_atstring (date-time) | nulloptionalWhen the far side picked up, in UTC; an automated menu, voicemail or hold system answering counts. Null when nobody answered.
call_idstringrequiredExample: "c_abc123"
client_neededstring | nulloptionalSet when the business said it would go on only with you, not with the agent, and did not change its mind before the call ended: asked_for_human (they asked to speak with a person, or with you) | owner_only (they serve only the account holder, or need your own authorization). The agent closes the call when it can, telling them that it will let you know to contact them directly. Null on every other call, while the call is running, and on rows finalized before this field existed. It changes neither result nor the charge.
created_atstring (date-time)required
customer_idstringrequiredExample: "cus_xyz"
disclosure_modestringoptionalHow this call's opening notice was configured: 'standard' (the default sentence), 'custom' (built from the request's disclosure elements, or the default sentence without its recording clause when record_call was false) or 'disabled' (disclosure: false: no opening notice).
one of standard, custom, disabled; default standard
disclosure_textstring | nulloptionalThe opening sentence this call spoke. Null when no notice was spoken (a 'disabled' call, a call nobody answered), on calls placed before this field existed, and after the transcript retention window.
duration_secnumber | nullrequired
ended_atstring (date-time) | nullrequired
ended_bystring (one of completed, callee_hangup, agent_hangup, dropped, budget_timeout, dial_failed, customer_cancelled, system_error, compliance_stop) | nulloptionalWhy the call stopped: callee_hangup, agent_hangup, dropped (the line died), budget_timeout (a time limit ran out), dial_failed (never connected), customer_cancelled, system_error or compliance_stop. 'completed' is defined but not produced: a finished conversation reads agent_hangup or callee_hangup. Null while the call runs or when nothing established it.
handoffstring | nulloptionalWhat our phone call to you came to (the call channel): handed_off (we connected you to the business and you both stayed on the line for at least 10 seconds; the outcome is then handed_off, priced as a successful call, even when a technical failure ended the call after it, unless you cancelled the call, the recording notice failed or the call reached the wrong party) | attempted_failed (any other attempt: no answer, not accepted, a connection that failed or held under 10 seconds; the call is judged as usual and this adds nothing to the charge). Null when we never phoned you, while the call is running, and on rows finalized before this field existed.
has_recordingbooleanoptionaldefault False
languagestringrequired
line_kindstring (one of human, voicemail, ivr, no_answer, recorded_announcement, hold_queue) | nulloptionalWhat was on the line: human, voicemail, ivr (a phone menu that never reached a person), no_answer (nobody picked up, or busy), recorded_announcement or hold_queue (a queue no agent answered). Null on an aborted call and while the call runs.
outcome_charge_centsintegerrequiredSettled charge in credits, despite the field name; not the refundable hold. A PlaceCall call costs 10 credits when it obtains something (an answer, a refusal or a booking). Each call holds 30 credits while it runs, and the unused part is released. A call that obtains nothing is free, and so is a cancel within 30 seconds of the callee answering; a cancel 30 seconds or more after pickup is charged 10 credits.
outcome_summarystring | nullrequired
outcome_typestring (one of success_booked, success_refused, success_no_booking, success_booking_cancelled, handed_off, failed_voicemail, failed_no_answer, failed_busy, failed_short_hangup, failed_technical, failed_no_agent_available, failed_ivr_no_agent, failed_recorded_announcement, failed_no_disclosure, failed_call_dropped, failed_wrong_number, failed_cancelled, failed_no_engagement, failed_agent_mute, failed_language_barrier) | nulloptionalDeprecated: read result, line_kind and result_reason (and ended_by for why the call stopped). Still returned once the call is terminal, with no removal date. Its success_/failed_ prefix is a billing family, not the charge: read outcome_charge_cents. failed_no_agent_available means no human answered before the call's hold-time limit. success_booking_cancelled and failed_language_barrier are defined but not produced yet.
record_callbooleanoptionalFalse when the call was placed with record_call: false: no audio was captured, so no recording is checked and transcript_status reads final as soon as the transcript exists.
default True
recording_declinedbooleanoptionalTrue when the callee refused call recording. Such a call never gets a verbatim record: transcript_full and transcript_status stay null permanently, so do not wait for a transcript. outcome_type and outcome_summary are unaffected.
default False
recording_started_atstring (date-time) | nulloptionalWhen the call's recording began, in UTC. It starts before the phone rings, so it is earlier than answered_at by about the ring time. Null when nothing was recorded or the recording is not finalized yet.
recording_statusstringoptionalWhat is known about the call's audio: available (a recording exists; has_recording is true exactly here), pending (the call is running or the recording is still finalizing), delayed (the usual finalization window has passed; not a final answer), declined (the callee refused recording) or not_recorded (placed with record_call: false; it outranks declined).
one of available, pending, delayed, declined, not_recorded; default pending
recording_urlstring | nulloptionalRelative recording path /calls/{call_id}/recording when a recording exists; null when has_recording is false. Recording retrieval is not documented here.
reservation_signalsarray of string | nulloptionalShort free-text signals (<10 short strings) about the reservation outcome. Always included, unlike transcript_full.
resultstring (one of goal_met, goal_partial, refused, goal_not_met, wrong_party, not_reached, aborted, pending) | nulloptionalDid the call get what it was placed for. goal_met: everything the brief asked. goal_partial: some of it. refused: they understood and declined. goal_not_met: reached them, got nothing. wrong_party: answered, but not the business asked for. not_reached: nobody able to answer was on the line. aborted: stopped by an error, a compliance stop or your cancel. pending: something on the call waits on someone (reserved; not returned yet). Read any value you do not know as unfinished. Null while the call runs. Read outcome_charge_cents for the charge.
result_reasonstring (one of booked, booking_cancelled, call_dropped, short_hangup, no_engagement, agent_mute, language_barrier, busy, system_error, customer_cancelled, no_disclosure, handed_off) | nulloptionalThe specific reason behind result where result alone is shared: booked, booking_cancelled, call_dropped, short_hangup, no_engagement, agent_mute, language_barrier, busy, system_error, customer_cancelled, no_disclosure or handed_off (your client joined the call by phone). Null where result and line_kind already say everything (a refusal, a voicemail, an answered question) and while the call runs.
started_atstring (date-time) | nullrequired
statusstringrequiredone of scheduled, queued, dialing, in_progress, completed, failed, cancelled
target_phonestringrequiredExample: "+15551234567"
transcript_fullarray of TranscriptTurn | nulloptionalThe call's transcript: what the agent heard and the agent speech that played. Only populated on GET /calls/{call_id}, not on the GET /calls list. While transcript_status reads live, a post-call check of the recording can still add audio to operator rows and add heard: false rows. Null while no transcript is held: the call has not finished, the callee declined recording (recording_declined), or the call is past retention or erased. [] means the agent heard nothing and none of its speech played; such a call can still gain heard: false rows. Calls finalized before the 21 October 2026 release have the same row keys but not the newer row details. There is no confidence, bot rows show the whole generated reply (in rare cases one that never played), and interrupted can also mark a reply cut by the end of the call.
transcript_statusstring (one of live, final) | nulloptionallive while a post-call check of the call recording is still expected; the check can add audio to rows and add heard: false rows. final once the check has run or is no longer expected: the call was placed with record_call: false, its recording may not be sent for the check because a required opening notice was not delivered, or 30 minutes passed after the call ended without it. A final status says nothing about whether any row was corrected. Null exactly when transcript_full is. The check usually lands one to two minutes after the call ends. To read the complete transcript, poll GET /calls/{call_id} until this reads final. On a call with recording_declined: true it stays null for good, so stop polling there.
voiceCallVoiceDTOoptionalThe voice this call asked for, and the voice that spoke.

TranscriptTurn

Type: object

One row of the call's transcript: something the agent heard (operator rows), agent speech that played (bot rows) or what the person we phoned in said after joining (client rows). A row has only these keys. Rows are in emission order; sort by ts for chronological order.

FieldTypeRequiredDescription and constraints
audioTranscriptAudiooptional
confidencenumberoptionaloperator rows: the recognizer's mean per-word confidence for text. Absent where it is not known, such as on a salvaged row.
0.0 to 1.0
heardbooleanoptionalPresent, and false, only on a row the post-call check of the recording added: speech on the recording the agent likely missed. Such a row is an operator row with no text and audio.kind unheard.
interruptedbooleanoptionalbot rows, present only as true. Either the callee cut in while the reply played, so they heard only part of it, or the reply was cut and the played words are not known. In that case text is the whole reply.
rolestringoptionaloperator = whoever or whatever answered (a person, a voicemail greeting, a phone menu); bot = the agent; client = the person we phoned in through the call escalation channel, once they joined (see handoff).
one of operator, bot, client
salvagedbooleanoptionalPresent, and true, only on a row recovered from an unfinalized speech-to-text interim when the call ended mid-utterance. The text is real but slightly less reliable.
textstringoptionaloperator rows: the live speech-to-text final the agent acted on, never rewritten. bot rows: the words that played; a reply that never played is not served. Absent on a heard: false row.
tsnumberoptionalEpoch seconds. The instant depends on the row. An operator row: when the speech-to-text final arrived (the end of the utterance plus the recognizer's end-of-turn delay). A salvaged row: when the turn started. A heard: false row: the end of the utterance on the recording. A model reply of the agent: when its text was generated, before it played. A fixed line of the agent: an estimate of when it became audible. The opening notice: when it finished playing.

CallVoiceDTO

Type: object

The voice this call asked for, and the voice that spoke.

FieldTypeRequiredDescription and constraints
genderstring (one of female, male) | nulloptionalThe voice.gender the request asked for; null when it asked for none.
gender_usedstring (one of female, male) | nulloptionalThe gender of the voice that spoke. Null until the call's audio starts. It differs from gender when no voice of that gender exists for the call's language, or when female was answered as male.

TranscriptAudio

Type: object

operator rows only. What the call recording says for that stretch of speech, from the post-call check. On a row the agent heard, it appears only where the recording has a different number, yes or no, or name from the call's request. Differences in other words are not marked. Read it next to the row's own text, which is what the agent acted on. It appears only after the check has run (see transcript_status).

FieldTypeRequiredDescription and constraints
kindstringrequiredname, number or yes_no on a row where the recording differs; unheard on a heard: false row.
one of name, number, yes_no, unheard
textstringrequiredThe recording's reading of the speech.