Skip to content
Get started

Call

Get call by ID
call.retrieve(strid) -> CallRetrieveResponse
GET/call/{id}
Place a call
call.create(CallCreateParams**kwargs) -> CallCreateResponse
POST/call
Get calls
call.search(CallSearchParams**kwargs) -> CallSearchResponse
POST/call/search
Export calls history
call.export(CallExportParams**kwargs) -> CallExportResponse
POST/call/export
Pause a call
call.pause(strid) -> CallPauseResponse
POST/call/{id}/pause
Resume a paused call
call.resume(strid) -> CallResumeResponse
POST/call/{id}/resume
Cancel a call
call.cancel(strid) -> CallCancelResponse
POST/call/{id}/cancel
ModelsExpand Collapse
class CallRetrieveResponse: …
call: Call

This represent a call “order” that was requested by the user. A call order can be resolved over multiple call attempts spanning up to a few days.

id: str

The ID of the call.

assignee: Optional[CallAssignee]

The team member responsible for following up on this call.

id: str

The database user id of the assignee.

email: str
first_name: Optional[str]
last_name: Optional[str]
assistant: Optional[CallAssistant]
id: str
background_sound: Optional[Literal["audio/office.ogg"]]

Ambient background sound to play during the call. null disables it.

background_sound_volume: float

Volume of the ambient background sound (0 = silent, 1 = max).

minimum0
maximum1
cal: Optional[CallAssistantCal]
connection_id: str

The connection ID representing the link between your Cal.com account and Revox.

event_type_id: str

The ID of the Cal.com event type to schedule. (eg: 7081322)

calendly: Optional[CallAssistantCalendly]
connection_id: str

The connection ID representing the link between your Calendly account and Revox.

event_type_id: str

The event type ID representing the event type to schedule. (eg: https://api.calendly.com/event_types/b2330295-2a91-4a1d-bb73-99e7707663d5)

call_retry_config: Optional[CallAssistantCallRetryConfig]

Configuration for call retry behavior including time windows, delays, and max iterations. If not provided, defaults will be used.

allowed_days: List[Literal["monday", "tuesday", "wednesday", 4 more]]

Days of the week when calls are allowed, in the recipient’s timezone. Default: Monday through Friday.

One of the following:
"monday"
"tuesday"
"wednesday"
"thursday"
"friday"
"saturday"
"sunday"
call_twice_in_a_row: bool

If true and max_retry_attempts >= 2, attempt #2 fires immediately (skipping retry_delay_seconds) when attempt #1 didn’t reach a human. Calling-window/allowed-days checks still apply. Only affects the 1→2 transition. Default: false.

calling_windows: List[CallAssistantCallRetryConfigCallingWindow]
calling_window_end_time: str

End time for the calling window in the recipient’s timezone (or timezone_override if provided). Format: ‘HH:mm’ (24-hour) or ‘H:mma’ (12-hour). Examples: ‘17:00’, ‘6pm’. Default: ‘18:00’.

calling_window_start_time: str

Start time for the calling window in the recipient’s timezone (or timezone_override if provided). Format: ‘HH:mm’ (24-hour) or ‘H:mma’ (12-hour). Examples: ‘09:00’, ‘10am’. Default: ‘10:00’.

retry_delay_seconds: object

Delay between retry attempts in seconds. Values below the 15-minute minimum are raised to it: a shorter delay means calling someone again minutes after they declined. For one deliberate immediate second dial, use call_twice_in_a_row. Default: 7200 (2 hours).

max_retry_attempts: int

Maximum number of call retry attempts. Default: 3.

exclusiveMinimum0
maximum9007199254740991
timezone: Optional[str]

Optional IANA timezone identifier to override the automatic timezone detection from phone number. If not provided, timezone is determined from the recipient’s phone number country code. Examples: ‘America/New_York’, ‘Europe/Paris’.

cartesia_dictionary_pronunciation_id: Optional[str]

Optional Cartesia pronunciation dictionary ID linked to this assistant.

created_at: object
custom_tools: Optional[List[CallAssistantCustomTool]]
body_template: Optional[str]

JSON body template for the request. Use quoted {{variable}} placeholders (e.g. “{{name}}”) for dynamic values

description: str

Human-readable description of what the tool does, used by the LLM to decide when to call it

minLength1
headers: List[CallAssistantCustomToolHeader]

HTTP headers to include in the request. Values support {{variable}} placeholders

key: str
minLength1
value: str
input_schema: List[CallAssistantCustomToolInputSchema]

Schema defining the parameters the LLM should extract from the conversation to pass to this tool

name: str
minLength1
required: bool
type: Literal["string", "number", "boolean", 3 more]
One of the following:
"string"
"number"
"boolean"
"enum"
"date"
"datetime"
description: Optional[str]
enum_options: Optional[List[str]]
method: Literal["GET", "POST", "PUT", 2 more]

HTTP method to use when calling the API endpoint

One of the following:
"GET"
"POST"
"PUT"
"PATCH"
"DELETE"
name: str

Unique tool name in lowercase_snake_case (e.g. check_inventory)

minLength1
query_params: List[CallAssistantCustomToolQueryParam]

Query string parameters appended to the URL. Values support {{variable}} placeholders

key: str
minLength1
value: str
url: str

Full URL of the API endpoint. Supports {{variable}} placeholders for dynamic values

minLength1
end_of_call_sentence: Optional[str]
first_sentence: Optional[str]
first_sentence_delay_ms: int

Delay in milliseconds before speaking the first sentence. Default: 400.

minimum-9007199254740991
maximum9007199254740991
first_sentence_mode: Literal["generated", "static", "none"]
One of the following:
"generated"
"static"
"none"
from_phone_number: Optional[str]

Override the default outbound phone number for calls placed with this assistant. When null, the organization’s default phone number is used.

hubspot: Optional[CallAssistantHubspot]
connection_id: str

The Nango connection ID linking the org’s HubSpot account to Revox.

precall_lookup_enabled: bool

Resolve the caller against HubSpot contacts before answering an inbound call, filling the contact_* prompt variables (contact_name, contact_owner, contact_lead_status, contact_has_open_deal). Off by default: it costs API calls before the phone is picked up.

post_call_sync: Optional[CallAssistantHubspotPostCallSync]

Sends call data back to HubSpot after the call. Off until set: connecting HubSpot to book meetings must not start writing to the CRM. Always present in responses; omit it on update to leave the current setting untouched.

enabled: bool

Records calls in HubSpot after they end: the contact is created or updated from the phone number and the call is logged on its timeline. By default every call a person answered is recorded. When the post-call prompt talks about the CRM (in plain words or by mentioning the crm_push_call tool), the post-call agent decides instead which calls are recorded and what the logged call says.

field_mapping: List[CallAssistantHubspotPostCallSyncFieldMapping]

Maps extracted call fields (structured_output / prompt variables) onto HubSpot contact properties.

hubspot_property: str

Destination HubSpot contact property, by internal name (e.g. ‘email’, ‘company’, or a custom ‘budget’).

minLength1
source: str

Source key to read from the call: a structured_output field name, falling back to a prompt variable of the same name.

minLength1
human_transfer_mode: Optional[Literal["warm", "cold"]]

Warm or cold transfer when transfer_destinations is non-empty; null when transfer is not configured.

One of the following:
"warm"
"cold"
ivr_navigation_enabled: bool

Enable IVR navigation tools. When enabled, the assistant can send DTMF tones and skip turns to navigate phone menus.

krisp_viva_filter_enabled: bool

When true, the agent’s noise-cancellation filter is Krisp VIVA Tel instead of the legacy BVCTelephony.

llm_model: CallAssistantLlmModel
One of the following:
class CallAssistantLlmModelRecommended: …
type: Literal["recommended"]

The LLM Revox currently recommends for voice agents, chosen server-side and upgraded without any change on your side. No per-assistant configuration.

class CallAssistantLlmModelUnionMember1: …
name: Literal["gpt-4.1", "ministral-3-8b-instruct"]
One of the following:
"gpt-4.1"
"ministral-3-8b-instruct"
type: Literal["dedicated-instance"]
class CallAssistantLlmModelUnionMember2: …
openrouter_model_id: str

The model ID to use from OpenRouter. eg: openai/gpt-4.1

openrouter_provider: str

The provider to use from OpenRouter. eg: nebius, openai, azure, etc.

type: Literal["openrouter"]

Use a model from OpenRouter.

class CallAssistantLlmModelUnionMember3: …
api_key: str

API key sent as Bearer token to the custom endpoint.

minLength1
api_url: str

Base URL for the OpenAI-compatible API, e.g. https://api.together.xyz/v1

formaturi
model_name: str

Model name as expected by the provider, e.g. meta-llama/llama-3-70b

minLength1
type: Literal["custom"]

OpenAI-compatible chat completions API (bring your own endpoint and key).

class CallAssistantLlmModelType: …
type: Literal["gemma-4-31b-racing"]

gemma-4-31b raced between two pinned OpenRouter endpoints (modelrun/fp4 and crusoe/bf16), first chunk wins. Served with the server-side OPENROUTER_API_KEY; no per-assistant configuration.

class CallAssistantLlmModelUnionMember5: …
model_name: str

Fireworks model id, e.g. accounts/fireworks/models/qwen3-235b-a22b or a dedicated deployment id.

minLength1
type: Literal["fireworks"]

Fireworks AI model, served with the server-side FIREWORKS_API_KEY (no key stored per-assistant).

reasoning_effort: Optional[Literal["none", "low", "medium", "high"]]

Reasoning effort sent with each request. Hybrid-reasoning models (e.g. gemma-4-31b) think by default, which adds latency and can eat the whole token budget before any speakable text: voice agents want ‘none’. Omit for models that reject the knob.

One of the following:
"none"
"low"
"medium"
"high"
class CallAssistantLlmModelUnionMember6: …
provider: Literal["openai", "google"]

The provider to use from Realtime. eg: openai, google.

One of the following:
"openai"
"google"
realtime_model_id: str

The model ID to use from Realtime. eg: gpt-4.1

type: Literal["realtime"]

Use a model from Realtime.

realtime_voice_id: Optional[str]

Output voice for the realtime provider (e.g. OpenAI: marin; Gemini: Puck).

minLength1
logo_url: Optional[str]

Public URL of the brand logo shown on the assistant’s demo page. Null when unset.

max_call_duration_secs: float

The maximum duration of the call in seconds. This is the maximum time the call will be allowed to run.

max_duration_end_message: Optional[str]

Optional message the agent will say, without being interruptible, when the call reaches its max duration. Kept short so it fits inside the farewell buffer. If null, the call ends silently.

maxLength150
name: str
organization_id: str
position: Optional[CallAssistantPosition]
x: float
y: float
post_call_prompt: Optional[str]
precall_lookup_headers: Optional[List[CallAssistantPrecallLookupHeader]]

HTTP headers sent with the pre-call lookup request. Null when none are configured.

key: str
maxLength200
value: str
minLength1
maxLength4000
precall_lookup_url: Optional[str]

URL fetched before an inbound call is answered to resolve the assistant’s prompt variables. Null when no lookup is configured.

prompt: str
slack: Optional[CallAssistantSlack]
channels: List[CallAssistantSlackChannel]

The Slack channels the post-call agent may post to. It resolves the channel it was told to use against this list and cannot reach any other.

id: str

The Slack channel ID (e.g. ‘C01234567’).

name: Optional[str]

Human-readable Slack channel name, cached for display in the UI and given to the LLM when the agent prompt routes by channel name.

connection_id: str

The Nango connection ID linking the org’s Slack workspace to Revox.

start_step_name: Optional[str]
structured_output_config: Optional[List[CallAssistantStructuredOutputConfig]]

The structured output config to use for the call. This is used to extract the data from the call (like email, name, company name, etc.).

name: str
minLength1
required: bool
type: Literal["string", "number", "boolean", 3 more]
One of the following:
"string"
"number"
"boolean"
"enum"
"date"
"datetime"
description: Optional[str]
enum_options: Optional[List[str]]
structured_output_prompt: Optional[str]

Custom prompt for structured data extraction. If not provided, a default prompt is used. Available variables: {{transcript}}, {{call_direction}}, {{user_phone_number}}, {{agent_phone_number}}.

stt_bvc_filter_enabled: bool

When false, the agent transcribes the raw caller track instead of the BVC noise-cancellation output.

stt_context: Optional[CallAssistantSttContext]

Assistant-level speech-to-text context: structured general key/value pairs plus a list of domain terms. Prompt-derived context is merged in without replacing existing entries.

general: List[CallAssistantSttContextGeneral]
key: str
minLength1
value: str
minLength1
terms: List[str]
stt_endpoint_latency_level: Optional[int]

Soniox endpoint latency adjustment level (0 to 3). Null: Soniox default.

minimum-9007199254740991
maximum9007199254740991
stt_endpoint_sensitivity: Optional[float]

Soniox endpoint sensitivity (-1 to 1). Null: Soniox default.

stt_model: Literal["stt-rt-v4", "stt-rt-v5"]

Transcriber (speech-to-text) model used for the assistant.

One of the following:
"stt-rt-v4"
"stt-rt-v5"
teams: Optional[CallAssistantTeams]
channels: List[CallAssistantTeamsChannel]

The Teams channels the post-call agent may post to. It resolves the channel it was told to use against this list and cannot reach any other.

id: str

The Microsoft Teams channel ID (e.g. ‘19:561fbdbb…@thread.tacv2’).

team_id: str

The ID of the team the channel belongs to. Needed to post.

name: Optional[str]

Human-readable channel name, cached for display in the UI and given to the LLM when the agent prompt routes by channel name.

team_name: Optional[str]

Human-readable team name. Channel names repeat across teams (every team has a ‘General’), so the team name is what tells two of them apart.

connection_id: str

The Nango connection ID linking a Microsoft Teams account to Revox. Messages are posted as that account.

thinking_sound: Optional[Literal["city-ambience.ogg", "forest-ambience.ogg", "office-ambience.ogg", 4 more]]

Audio clip to play while the agent is processing a response. One of the built-in LiveKit audio clips; null disables it.

One of the following:
"city-ambience.ogg"
"forest-ambience.ogg"
"office-ambience.ogg"
"crowded-room.ogg"
"keyboard-typing.ogg"
"keyboard-typing2.ogg"
"hold_music.ogg"
thinking_sound_probability: float

Probability [0..1] that the thinking sound plays on any given turn; otherwise the agent is silent while thinking.

minimum0
maximum1
thinking_sound_volume: float

Volume of the thinking sound (0 = silent, 1 = max).

minimum0
maximum1
transfer_destinations: Optional[List[CallAssistantTransferDestination]]

Where calls can be transferred to when users ask to speak to a human. Null or empty when transfer is not configured.

label: str
minLength1
maxLength60
phone_number: str
type: Literal["standalone", "multi-step", "sub-assistant"]
One of the following:
"standalone"
"multi-step"
"sub-assistant"
updated_at: object
voice: Optional[CallAssistantVoice]
id: str

The ID of the voice.

minLength1
provider: Literal["cartesia", "elevenlabs", "gradium"]

The provider of the voice.

One of the following:
"cartesia"
"elevenlabs"
"gradium"
model: Optional[Literal["sonic-3", "sonic-3.5", "sonic-3.6"]]

Cartesia TTS model (Cartesia only). Defaults to sonic-3.6 when omitted. Ignored for other providers.

One of the following:
"sonic-3"
"sonic-3.5"
"sonic-3.6"
speed: Optional[float]

The speed of the voice. Range depends on provider: Cartesia 0.6–1.5, ElevenLabs 0.7–1.2, Gradium 0.6–1.5. Default is 1.0.

minimum0.6
maximum1.5
volume: Optional[float]

Volume of the voice (Cartesia only). 0.5–2.0, default 1.0. Ignored for other providers.

minimum0.5
maximum2
voice_languages: Optional[List[CallAssistantVoiceLanguage]]

Extra languages for a multilingual assistant, each with its own voice. Calls pick one through their language value, else the phone number’s country; other calls use the assistant’s voice.

language: Literal["en", "fr", "es", 5 more]

The language contacts are called in with this voice.

One of the following:
"en"
"fr"
"es"
"de"
"it"
"pt"
"ru"
"zh"
voice: CallAssistantVoiceLanguageVoice

The voice used for contacts whose language is this language.

id: str

The ID of the voice.

minLength1
provider: Literal["cartesia", "elevenlabs", "gradium"]

The provider of the voice.

One of the following:
"cartesia"
"elevenlabs"
"gradium"
model: Optional[Literal["sonic-3", "sonic-3.5", "sonic-3.6"]]

Cartesia TTS model (Cartesia only). Defaults to sonic-3.6 when omitted. Ignored for other providers.

One of the following:
"sonic-3"
"sonic-3.5"
"sonic-3.6"
speed: Optional[float]

The speed of the voice. Range depends on provider: Cartesia 0.6–1.5, ElevenLabs 0.7–1.2, Gradium 0.6–1.5. Default is 1.0.

minimum0.6
maximum1.5
volume: Optional[float]

Volume of the voice (Cartesia only). 0.5–2.0, default 1.0. Ignored for other providers.

minimum0.5
maximum2
voicemail_message: Optional[str]

If set, when voicemail is detected the agent will speak this message then hang up; if null, hang up immediately.

warm_transfer_summary_instructions: Optional[str]

Warm transfer only: instructions for the supervisor handoff summary; null when not configured or cold transfer.

warm_transfer_voice_speed: Optional[float]

Warm transfer only: voice speed of the briefing to the human colleague; null when it follows voice.speed, not configured, or cold transfer.

minimum0.6
maximum1.5
webhook_url: Optional[str]

The webhook URL to call when the call is completed.

zoho: Optional[CallAssistantZoho]
connection_id: str

The Nango connection ID linking the org’s Zoho CRM account to Revox.

field_mapping: List[CallAssistantZohoFieldMapping]

Maps extracted call fields (structured_output / prompt variables) onto Zoho field API names on the upserted record.

source: str

Source key to read from the call: a structured_output field name, falling back to a prompt variable of the same name.

minLength1
zoho_field: str

Destination Zoho field API name on the upserted record (e.g. ‘Email’, ‘Company’, or a custom ‘Budget__c’).

minLength1
log_call_activity: bool

When true, also log the call as a record in Zoho’s Calls module (related to the upserted prospect via Who_Id).

module: str

Zoho module the prospect record is upserted into (e.g. ‘Leads’ or ‘Contacts’).

minLength1
template: Optional[str]

Optional Note body template. Supports {{summary}}, {{outcome}}, {{phone}}, {{call_url}}, {{assistant_name}}, {{campaign_name}}, {{transcript}}, plus prompt_variables and structured_output keys. When null/empty a default note (outcome + summary + auto-listed extracted fields) is used.

created_by: Optional[CallAssistantCreatedBy]

The user who created the assistant.

id: str

The database user id of the creator.

email: str
first_name: Optional[str]
last_name: Optional[str]
is_inbound_receptionist: Optional[bool]
is_realestate_assistant: Optional[bool]
call_attempts: List[CallCallAttempt]

All call attempts for this call order, ordered by most recent first.

id: str

The ID of the call attempt.

answered_at: object

The time the call was answered.

dial_error: Optional[Literal["number_non_attributed", "too_many_calls", "busy", 7 more]]

The SIP error that occurred.

One of the following:
"number_non_attributed"
"too_many_calls"
"busy"
"temporarily_unavailable"
"no_answer"
"rejected"
"blocked"
"no_international_permission"
"precondition_failed"
"non_classified_error"
ended_at: object

The time the call ended.

handled_by_ai: bool

Whether the AI agent conducted the conversation on this attempt. False for a silent speed-dial probe (whose agent only detects a human) and for attempts that were never answered.

handled_by_human: bool

Whether a human conducted (part of) this attempt — a jump-in / speed-dial takeover, or a transfer to a rep.

handled_by_user: Optional[CallCallAttemptHandledByUser]

The team member responsible for following up on this call.

id: str

The database user id of the assignee.

email: str
first_name: Optional[str]
last_name: Optional[str]
phone_number: str

The phone number that was called. Formatted in E.164 format. Example: +1234567890

recording_url: Optional[str]

The URL of the audio recording of the call.

result: Optional[Literal["IVR", "voicemail", "human", 2 more]]
One of the following:
"IVR"
"voicemail"
"human"
"unknown"
"screening-filter"
started_at: object

The time the call started.

status: Literal["queued", "ringing", "ongoing", 2 more]

The status of the call attempt.

One of the following:
"queued"
"ringing"
"ongoing"
"completed"
"error"
actions: Optional[List[CallCallAttemptAction]]

Tools the agent ran for this attempt, in call and after it, ordered oldest first. This is the decision trail — the delivery trail lives in sms_log / email_log.

id: str
arguments: Dict[str, object]
created_at: object

When the tool ran.

error: Optional[str]
phase: Literal["in_call", "post_call"]
One of the following:
"in_call"
"post_call"
status: Literal["succeeded", "failed"]
One of the following:
"succeeded"
"failed"
tool_name: str
assistant_names: Optional[Dict[str, str]]

Names of the assistants in assistants_used, keyed by id. Only set when the attempt went through several assistants (a multi-step call).

assistants_used: Optional[List[str]]

Assistant node ids entered during this attempt, in traversal order.

email_log: Optional[List[CallCallAttemptEmailLog]]

Notification emails sent in connection with the call, ordered oldest first (from/to addresses, subject, sent time).

id: str
calendar_invite_at: object

Start of the callback or meeting the attached calendar invitation (invite.ics) was for. Null when the email carried no invitation.

created_at: object

When the email was sent.

from_address: str
resend_message_id: Optional[str]
subject: str
to_emails: List[str]
end_reason: Optional[Literal["client_initiated", "connection_timeout", "human_takeover", 13 more]]

Reason for ending the call when ended_by is ‘agent’. E.g. ‘tool_end_call’, ‘voicemail’, ‘transfer’, ‘ivr_no_navigate’.

One of the following:
"client_initiated"
"connection_timeout"
"human_takeover"
"ivr_no_navigate"
"max_duration"
"participant_removed"
"tool_end_call"
"transfer"
"user_inactive"
"user_rejected"
"user_unavailable"
"voicemail"
"speed_dial_abandoned"
"speed_dial_operator_missed"
"speed_dial_timeout"
"speed_dial_hangup"
ended_by: Optional[Literal["agent", "user", "system"]]

Who ended the call: ‘agent’ (AI agent), ‘user’ (caller/callee hung up), or ‘system’ (e.g. max duration limit).

One of the following:
"agent"
"user"
"system"
post_call_transcript: Optional[List[CallCallAttemptPostCallTranscript]]

Higher-quality transcript generated after the call via Soniox async STT. Null until generated or when no recording is available.

content: str
role: Literal["user", "assistant", "human_agent", "tool"]
One of the following:
"user"
"assistant"
"human_agent"
"tool"
tool_arguments: Optional[Union[Dict[str, object], str, null]]
One of the following:
Dict[str, object]
str
tool_is_error: Optional[bool]
tool_name: Optional[str]
tool_output: Optional[str]
sms_log: Optional[List[CallCallAttemptSMSLog]]

Automatic SMS sent after the call (voicemail and after-call), ordered oldest first. The in-call send_sms is excluded — it already appears in the transcript as a tool call.

id: str
created_at: object

When the SMS was sent.

message_body: str
provider: Literal["twilio", "vonage"]
One of the following:
"twilio"
"vonage"
provider_error_code: Optional[str]

The provider’s numeric reason for a terminal failure (e.g. Twilio 30034). Null unless the message failed.

provider_message_id: Optional[str]
provider_status: Optional[str]

Delivery status in the provider’s own vocabulary (Twilio queued/sent/delivered/failed/undelivered), so only interpretable alongside provider. Null when the provider hasn’t reported one — always the case for Vonage, whose receipts we don’t yet parse.

to_phone_number: str
type: Literal["in_call", "voicemail", "after_call"]
One of the following:
"in_call"
"voicemail"
"after_call"
speech_events: Optional[List[CallCallAttemptSpeechEvent]]

Per-turn speech segments (VAD-derived) with timing and pipeline latencies, ordered by started_speaking_at_ms. Empty for calls recorded before this was tracked or for realtime sessions that don’t emit them.

id: str
is_real_turn: bool

False when the segment was flagged as noise/blip rather than a meaningful turn.

llm_system_prompt: Optional[str]

Agent-only: despite the name, the whole prompt the LLM was given for this turn — system instructions plus conversation history — as JSON.

llm_ttft_ms: Optional[float]

Agent-only: LLM time-to-first-token for the reply, in ms.

llm_winner_model: Optional[str]

Agent-only: the model that produced the reply — the winning leg when the LLM is a race, which is also the model llm_ttft_ms describes.

speaker: Literal["user", "agent"]

Who was speaking during this segment.

One of the following:
"user"
"agent"
started_speaking_at_ms: float

Milliseconds since session start when speech began.

stopped_speaking_at_ms: Optional[float]

Milliseconds since session start when speech ended. Null when the session ended before the turn closed.

stt_transcription_delay_ms: Optional[float]

User-only: time from end-of-speech to final transcript, in ms.

transcript: Optional[str]

Recognized text for this segment, when available.

tts_ttfb_ms: Optional[float]

Agent-only: TTS time-to-first-audio-byte for the reply, in ms.

was_cut: Optional[bool]

Agent-only: true when the agent’s audio was interrupted (real or auto-resumed). Null on user segments.

structured_output: Optional[Dict[str, object]]

The data extracted from the call, using the structured output config from the parent call object.

transcript: Optional[List[CallCallAttemptTranscript]]

The live transcript of the call, built in real time.

content: str
role: Literal["user", "assistant", "human_agent", "tool"]
One of the following:
"user"
"assistant"
"human_agent"
"tool"
tool_arguments: Optional[Union[Dict[str, object], str, null]]
One of the following:
Dict[str, object]
str
tool_is_error: Optional[bool]
tool_name: Optional[str]
tool_output: Optional[str]
transferred_to: Optional[str]

The number the call was transferred to, in E.164 format (e.g. +33123456789). Recorded by the agent from the destination it actually dialled, so it is the destination itself and not a name read off the transcript. Null when the call was not transferred, and on transfers placed before this was tracked.

call_retry_config: Optional[CallCallRetryConfig]

Configuration for call retry behavior including time windows, delays, and max iterations. If not provided, defaults will be used.

allowed_days: List[Literal["monday", "tuesday", "wednesday", 4 more]]

Days of the week when calls are allowed, in the recipient’s timezone. Default: Monday through Friday.

One of the following:
"monday"
"tuesday"
"wednesday"
"thursday"
"friday"
"saturday"
"sunday"
call_twice_in_a_row: bool

If true and max_retry_attempts >= 2, attempt #2 fires immediately (skipping retry_delay_seconds) when attempt #1 didn’t reach a human. Calling-window/allowed-days checks still apply. Only affects the 1→2 transition. Default: false.

calling_windows: List[CallCallRetryConfigCallingWindow]
calling_window_end_time: str

End time for the calling window in the recipient’s timezone (or timezone_override if provided). Format: ‘HH:mm’ (24-hour) or ‘H:mma’ (12-hour). Examples: ‘17:00’, ‘6pm’. Default: ‘18:00’.

calling_window_start_time: str

Start time for the calling window in the recipient’s timezone (or timezone_override if provided). Format: ‘HH:mm’ (24-hour) or ‘H:mma’ (12-hour). Examples: ‘09:00’, ‘10am’. Default: ‘10:00’.

retry_delay_seconds: object

Delay between retry attempts in seconds. Values below the 15-minute minimum are raised to it: a shorter delay means calling someone again minutes after they declined. For one deliberate immediate second dial, use call_twice_in_a_row. Default: 7200 (2 hours).

max_retry_attempts: int

Maximum number of call retry attempts. Default: 3.

exclusiveMinimum0
maximum9007199254740991
timezone: Optional[str]

Optional IANA timezone identifier to override the automatic timezone detection from phone number. If not provided, timezone is determined from the recipient’s phone number country code. Examples: ‘America/New_York’, ‘Europe/Paris’.

calls_count: float

The number of call attempts made.

campaign: Optional[CallCampaign]
id: str
name: str
status: Literal["running", "paused", "completed"]
One of the following:
"running"
"paused"
"completed"
channel: Literal["phone", "web"]

web for a test call taken in the browser: its phone number is a placeholder, never dialed.

One of the following:
"phone"
"web"
contact: CallContact

Magic contact variables (prospect identity) extracted from the call’s input data and transcript.

company: Optional[str]
email: Optional[str]
first_name: Optional[str]
job_title: Optional[str]
last_name: Optional[str]
created_at: object

The time the call order was created.

direction: Literal["inbound", "outbound"]

Whether the call is inbound or outbound.

One of the following:
"inbound"
"outbound"
first_sentence_delay_ms: int

Delay in milliseconds before speaking the first sentence. Default: 400.

minimum-9007199254740991
maximum9007199254740991
from_phone_number: str

The phone number that made the call. Formatted in E.164 format. Example: +1234567890

is_cancelled: bool

DEPRECATED: Whether the call has been cancelled. This is derived from status. Use status instead.

is_completed: bool

DEPRECATED: Whether the call has completed. This is derived from status. Use status instead.

last_call_attempt: Optional[CallLastCallAttempt]

This represent a single call attempt. A call attempt is a single call made to the phone number.

id: str

The ID of the call attempt.

answered_at: object

The time the call was answered.

dial_error: Optional[Literal["number_non_attributed", "too_many_calls", "busy", 7 more]]

The SIP error that occurred.

One of the following:
"number_non_attributed"
"too_many_calls"
"busy"
"temporarily_unavailable"
"no_answer"
"rejected"
"blocked"
"no_international_permission"
"precondition_failed"
"non_classified_error"
ended_at: object

The time the call ended.

handled_by_ai: bool

Whether the AI agent conducted the conversation on this attempt. False for a silent speed-dial probe (whose agent only detects a human) and for attempts that were never answered.

handled_by_human: bool

Whether a human conducted (part of) this attempt — a jump-in / speed-dial takeover, or a transfer to a rep.

handled_by_user: Optional[CallLastCallAttemptHandledByUser]

The team member responsible for following up on this call.

id: str

The database user id of the assignee.

email: str
first_name: Optional[str]
last_name: Optional[str]
phone_number: str

The phone number that was called. Formatted in E.164 format. Example: +1234567890

recording_url: Optional[str]

The URL of the audio recording of the call.

result: Optional[Literal["IVR", "voicemail", "human", 2 more]]
One of the following:
"IVR"
"voicemail"
"human"
"unknown"
"screening-filter"
started_at: object

The time the call started.

status: Literal["queued", "ringing", "ongoing", 2 more]

The status of the call attempt.

One of the following:
"queued"
"ringing"
"ongoing"
"completed"
"error"
actions: Optional[List[CallLastCallAttemptAction]]

Tools the agent ran for this attempt, in call and after it, ordered oldest first. This is the decision trail — the delivery trail lives in sms_log / email_log.

id: str
arguments: Dict[str, object]
created_at: object

When the tool ran.

error: Optional[str]
phase: Literal["in_call", "post_call"]
One of the following:
"in_call"
"post_call"
status: Literal["succeeded", "failed"]
One of the following:
"succeeded"
"failed"
tool_name: str
assistant_names: Optional[Dict[str, str]]

Names of the assistants in assistants_used, keyed by id. Only set when the attempt went through several assistants (a multi-step call).

assistants_used: Optional[List[str]]

Assistant node ids entered during this attempt, in traversal order.

email_log: Optional[List[CallLastCallAttemptEmailLog]]

Notification emails sent in connection with the call, ordered oldest first (from/to addresses, subject, sent time).

id: str
calendar_invite_at: object

Start of the callback or meeting the attached calendar invitation (invite.ics) was for. Null when the email carried no invitation.

created_at: object

When the email was sent.

from_address: str
resend_message_id: Optional[str]
subject: str
to_emails: List[str]
end_reason: Optional[Literal["client_initiated", "connection_timeout", "human_takeover", 13 more]]

Reason for ending the call when ended_by is ‘agent’. E.g. ‘tool_end_call’, ‘voicemail’, ‘transfer’, ‘ivr_no_navigate’.

One of the following:
"client_initiated"
"connection_timeout"
"human_takeover"
"ivr_no_navigate"
"max_duration"
"participant_removed"
"tool_end_call"
"transfer"
"user_inactive"
"user_rejected"
"user_unavailable"
"voicemail"
"speed_dial_abandoned"
"speed_dial_operator_missed"
"speed_dial_timeout"
"speed_dial_hangup"
ended_by: Optional[Literal["agent", "user", "system"]]

Who ended the call: ‘agent’ (AI agent), ‘user’ (caller/callee hung up), or ‘system’ (e.g. max duration limit).

One of the following:
"agent"
"user"
"system"
post_call_transcript: Optional[List[CallLastCallAttemptPostCallTranscript]]

Higher-quality transcript generated after the call via Soniox async STT. Null until generated or when no recording is available.

content: str
role: Literal["user", "assistant", "human_agent", "tool"]
One of the following:
"user"
"assistant"
"human_agent"
"tool"
tool_arguments: Optional[Union[Dict[str, object], str, null]]
One of the following:
Dict[str, object]
str
tool_is_error: Optional[bool]
tool_name: Optional[str]
tool_output: Optional[str]
sms_log: Optional[List[CallLastCallAttemptSMSLog]]

Automatic SMS sent after the call (voicemail and after-call), ordered oldest first. The in-call send_sms is excluded — it already appears in the transcript as a tool call.

id: str
created_at: object

When the SMS was sent.

message_body: str
provider: Literal["twilio", "vonage"]
One of the following:
"twilio"
"vonage"
provider_error_code: Optional[str]

The provider’s numeric reason for a terminal failure (e.g. Twilio 30034). Null unless the message failed.

provider_message_id: Optional[str]
provider_status: Optional[str]

Delivery status in the provider’s own vocabulary (Twilio queued/sent/delivered/failed/undelivered), so only interpretable alongside provider. Null when the provider hasn’t reported one — always the case for Vonage, whose receipts we don’t yet parse.

to_phone_number: str
type: Literal["in_call", "voicemail", "after_call"]
One of the following:
"in_call"
"voicemail"
"after_call"
speech_events: Optional[List[CallLastCallAttemptSpeechEvent]]

Per-turn speech segments (VAD-derived) with timing and pipeline latencies, ordered by started_speaking_at_ms. Empty for calls recorded before this was tracked or for realtime sessions that don’t emit them.

id: str
is_real_turn: bool

False when the segment was flagged as noise/blip rather than a meaningful turn.

llm_system_prompt: Optional[str]

Agent-only: despite the name, the whole prompt the LLM was given for this turn — system instructions plus conversation history — as JSON.

llm_ttft_ms: Optional[float]

Agent-only: LLM time-to-first-token for the reply, in ms.

llm_winner_model: Optional[str]

Agent-only: the model that produced the reply — the winning leg when the LLM is a race, which is also the model llm_ttft_ms describes.

speaker: Literal["user", "agent"]

Who was speaking during this segment.

One of the following:
"user"
"agent"
started_speaking_at_ms: float

Milliseconds since session start when speech began.

stopped_speaking_at_ms: Optional[float]

Milliseconds since session start when speech ended. Null when the session ended before the turn closed.

stt_transcription_delay_ms: Optional[float]

User-only: time from end-of-speech to final transcript, in ms.

transcript: Optional[str]

Recognized text for this segment, when available.

tts_ttfb_ms: Optional[float]

Agent-only: TTS time-to-first-audio-byte for the reply, in ms.

was_cut: Optional[bool]

Agent-only: true when the agent’s audio was interrupted (real or auto-resumed). Null on user segments.

structured_output: Optional[Dict[str, object]]

The data extracted from the call, using the structured output config from the parent call object.

transcript: Optional[List[CallLastCallAttemptTranscript]]

The live transcript of the call, built in real time.

content: str
role: Literal["user", "assistant", "human_agent", "tool"]
One of the following:
"user"
"assistant"
"human_agent"
"tool"
tool_arguments: Optional[Union[Dict[str, object], str, null]]
One of the following:
Dict[str, object]
str
tool_is_error: Optional[bool]
tool_name: Optional[str]
tool_output: Optional[str]
transferred_to: Optional[str]

The number the call was transferred to, in E.164 format (e.g. +33123456789). Recorded by the agent from the destination it actually dialled, so it is the destination itself and not a name read off the transcript. Null when the call was not transferred, and on transfers placed before this was tracked.

llm_model: CallLlmModel
One of the following:
class CallLlmModelRecommended: …
type: Literal["recommended"]

The LLM Revox currently recommends for voice agents, chosen server-side and upgraded without any change on your side. No per-assistant configuration.

class CallLlmModelUnionMember1: …
name: Literal["gpt-4.1", "ministral-3-8b-instruct"]
One of the following:
"gpt-4.1"
"ministral-3-8b-instruct"
type: Literal["dedicated-instance"]
class CallLlmModelUnionMember2: …
openrouter_model_id: str

The model ID to use from OpenRouter. eg: openai/gpt-4.1

openrouter_provider: str

The provider to use from OpenRouter. eg: nebius, openai, azure, etc.

type: Literal["openrouter"]

Use a model from OpenRouter.

class CallLlmModelUnionMember3: …
api_key: str

API key sent as Bearer token to the custom endpoint.

minLength1
api_url: str

Base URL for the OpenAI-compatible API, e.g. https://api.together.xyz/v1

formaturi
model_name: str

Model name as expected by the provider, e.g. meta-llama/llama-3-70b

minLength1
type: Literal["custom"]

OpenAI-compatible chat completions API (bring your own endpoint and key).

class CallLlmModelType: …
type: Literal["gemma-4-31b-racing"]

gemma-4-31b raced between two pinned OpenRouter endpoints (modelrun/fp4 and crusoe/bf16), first chunk wins. Served with the server-side OPENROUTER_API_KEY; no per-assistant configuration.

class CallLlmModelUnionMember5: …
model_name: str

Fireworks model id, e.g. accounts/fireworks/models/qwen3-235b-a22b or a dedicated deployment id.

minLength1
type: Literal["fireworks"]

Fireworks AI model, served with the server-side FIREWORKS_API_KEY (no key stored per-assistant).

reasoning_effort: Optional[Literal["none", "low", "medium", "high"]]

Reasoning effort sent with each request. Hybrid-reasoning models (e.g. gemma-4-31b) think by default, which adds latency and can eat the whole token budget before any speakable text: voice agents want ‘none’. Omit for models that reject the knob.

One of the following:
"none"
"low"
"medium"
"high"
class CallLlmModelUnionMember6: …
provider: Literal["openai", "google"]

The provider to use from Realtime. eg: openai, google.

One of the following:
"openai"
"google"
realtime_model_id: str

The model ID to use from Realtime. eg: gpt-4.1

type: Literal["realtime"]

Use a model from Realtime.

realtime_voice_id: Optional[str]

Output voice for the realtime provider (e.g. OpenAI: marin; Gemini: Puck).

minLength1
metadata: Optional[Dict[str, str]]

Metadata stored with the call.

organization_id: str

The ID of the organization that owns the call.

prompt_variables: Optional[Dict[str, str]]

Variables used to interpolate the prompt.

retries_stopped: bool

Whether no further attempt will be made for this call: it was cancelled, or its future attempts were stopped while an attempt was already in progress (that attempt still finishes). Unlike is_cancelled, this is true as soon as retries are stopped, before the call reaches a terminal status.

scheduled_at: object

The time the call order is scheduled to start.

status: Literal["initializing", "queued_for_calling", "calling", 7 more]

The status of the call.

One of the following:
"initializing"
"queued_for_calling"
"calling"
"post_processing"
"not_launched"
"scheduled"
"paused"
"completed"
"cancelled"
"errored"
to_phone_number: str

The phone number that received the call. Formatted in E.164 format. Example: +1234567890

transfer_destinations: Optional[List[CallTransferDestination]]

Where this call can be transferred, if anywhere.

label: str
minLength1
maxLength60
phone_number: str
updated_at: object

The time the call order was last updated (any state change, retry, or analysis result).

callback_from: Optional[CallCallbackFrom]

For an inbound call only: the outbound call this one answers, when the prospect rang us back after we called them. Null for every other call.

call_id: str
created_at: object
cancel_reason: Optional[Literal["prospect_called_back"]]

Why the call was cancelled, when it can be told. prospect_called_back: the prospect called back before the next retry, so the pending retry was cancelled and their call is recorded as a separate inbound call. Null for a manual or campaign cancel, and for calls that are not cancelled.

do_not_call: Optional[bool]

True when the prospect’s phone number is on the do-not-call list: it can no longer be called.

outcome: Optional[Literal["not_interested", "interested", "completed", "requested_callback_later"]]

Business outcome of the call. Null if not computed or no transcript.

One of the following:
"not_interested"
"interested"
"completed"
"requested_callback_later"
outcome_summary: Optional[str]

LLM explanation for the outcome, when outcome was computed from the transcript.

prompt_version: Optional[CallPromptVersion]

The assistant prompt version the call’s prompt was compiled from. Null for calls created before versions were tracked, and for calls made with an inline assistant.

id: str

The ID of the assistant prompt version.

latest_number: int

The number of the assistant’s current prompt version. Higher than number when the call was left on an older version, e.g. because it lacks a variable the newer prompt uses.

minimum-9007199254740991
maximum9007199254740991
number: int

The version’s number in the assistant’s prompt history (v1 is the oldest).

minimum-9007199254740991
maximum9007199254740991
visual_number: Optional[int]

Campaign-scoped display number for the call (“#14” on the live campaign board), assigned when a human answers. Null outside campaigns or before a human picked up. Gaps are normal.

minimum-9007199254740991
maximum9007199254740991
class CallCreateResponse: …
call: Call

This represent a call “order” that was requested by the user. A call order can be resolved over multiple call attempts spanning up to a few days.

id: str

The ID of the call.

assignee: Optional[CallAssignee]

The team member responsible for following up on this call.

id: str

The database user id of the assignee.

email: str
first_name: Optional[str]
last_name: Optional[str]
assistant: Optional[CallAssistant]
id: str
background_sound: Optional[Literal["audio/office.ogg"]]

Ambient background sound to play during the call. null disables it.

background_sound_volume: float

Volume of the ambient background sound (0 = silent, 1 = max).

minimum0
maximum1
cal: Optional[CallAssistantCal]
connection_id: str

The connection ID representing the link between your Cal.com account and Revox.

event_type_id: str

The ID of the Cal.com event type to schedule. (eg: 7081322)

calendly: Optional[CallAssistantCalendly]
connection_id: str

The connection ID representing the link between your Calendly account and Revox.

event_type_id: str

The event type ID representing the event type to schedule. (eg: https://api.calendly.com/event_types/b2330295-2a91-4a1d-bb73-99e7707663d5)

call_retry_config: Optional[CallAssistantCallRetryConfig]

Configuration for call retry behavior including time windows, delays, and max iterations. If not provided, defaults will be used.

allowed_days: List[Literal["monday", "tuesday", "wednesday", 4 more]]

Days of the week when calls are allowed, in the recipient’s timezone. Default: Monday through Friday.

One of the following:
"monday"
"tuesday"
"wednesday"
"thursday"
"friday"
"saturday"
"sunday"
call_twice_in_a_row: bool

If true and max_retry_attempts >= 2, attempt #2 fires immediately (skipping retry_delay_seconds) when attempt #1 didn’t reach a human. Calling-window/allowed-days checks still apply. Only affects the 1→2 transition. Default: false.

calling_windows: List[CallAssistantCallRetryConfigCallingWindow]
calling_window_end_time: str

End time for the calling window in the recipient’s timezone (or timezone_override if provided). Format: ‘HH:mm’ (24-hour) or ‘H:mma’ (12-hour). Examples: ‘17:00’, ‘6pm’. Default: ‘18:00’.

calling_window_start_time: str

Start time for the calling window in the recipient’s timezone (or timezone_override if provided). Format: ‘HH:mm’ (24-hour) or ‘H:mma’ (12-hour). Examples: ‘09:00’, ‘10am’. Default: ‘10:00’.

retry_delay_seconds: object

Delay between retry attempts in seconds. Values below the 15-minute minimum are raised to it: a shorter delay means calling someone again minutes after they declined. For one deliberate immediate second dial, use call_twice_in_a_row. Default: 7200 (2 hours).

max_retry_attempts: int

Maximum number of call retry attempts. Default: 3.

exclusiveMinimum0
maximum9007199254740991
timezone: Optional[str]

Optional IANA timezone identifier to override the automatic timezone detection from phone number. If not provided, timezone is determined from the recipient’s phone number country code. Examples: ‘America/New_York’, ‘Europe/Paris’.

cartesia_dictionary_pronunciation_id: Optional[str]

Optional Cartesia pronunciation dictionary ID linked to this assistant.

created_at: object
custom_tools: Optional[List[CallAssistantCustomTool]]
body_template: Optional[str]

JSON body template for the request. Use quoted {{variable}} placeholders (e.g. “{{name}}”) for dynamic values

description: str

Human-readable description of what the tool does, used by the LLM to decide when to call it

minLength1
headers: List[CallAssistantCustomToolHeader]

HTTP headers to include in the request. Values support {{variable}} placeholders

key: str
minLength1
value: str
input_schema: List[CallAssistantCustomToolInputSchema]

Schema defining the parameters the LLM should extract from the conversation to pass to this tool

name: str
minLength1
required: bool
type: Literal["string", "number", "boolean", 3 more]
One of the following:
"string"
"number"
"boolean"
"enum"
"date"
"datetime"
description: Optional[str]
enum_options: Optional[List[str]]
method: Literal["GET", "POST", "PUT", 2 more]

HTTP method to use when calling the API endpoint

One of the following:
"GET"
"POST"
"PUT"
"PATCH"
"DELETE"
name: str

Unique tool name in lowercase_snake_case (e.g. check_inventory)

minLength1
query_params: List[CallAssistantCustomToolQueryParam]

Query string parameters appended to the URL. Values support {{variable}} placeholders

key: str
minLength1
value: str
url: str

Full URL of the API endpoint. Supports {{variable}} placeholders for dynamic values

minLength1
end_of_call_sentence: Optional[str]
first_sentence: Optional[str]
first_sentence_delay_ms: int

Delay in milliseconds before speaking the first sentence. Default: 400.

minimum-9007199254740991
maximum9007199254740991
first_sentence_mode: Literal["generated", "static", "none"]
One of the following:
"generated"
"static"
"none"
from_phone_number: Optional[str]

Override the default outbound phone number for calls placed with this assistant. When null, the organization’s default phone number is used.

hubspot: Optional[CallAssistantHubspot]
connection_id: str

The Nango connection ID linking the org’s HubSpot account to Revox.

precall_lookup_enabled: bool

Resolve the caller against HubSpot contacts before answering an inbound call, filling the contact_* prompt variables (contact_name, contact_owner, contact_lead_status, contact_has_open_deal). Off by default: it costs API calls before the phone is picked up.

post_call_sync: Optional[CallAssistantHubspotPostCallSync]

Sends call data back to HubSpot after the call. Off until set: connecting HubSpot to book meetings must not start writing to the CRM. Always present in responses; omit it on update to leave the current setting untouched.

enabled: bool

Records calls in HubSpot after they end: the contact is created or updated from the phone number and the call is logged on its timeline. By default every call a person answered is recorded. When the post-call prompt talks about the CRM (in plain words or by mentioning the crm_push_call tool), the post-call agent decides instead which calls are recorded and what the logged call says.

field_mapping: List[CallAssistantHubspotPostCallSyncFieldMapping]

Maps extracted call fields (structured_output / prompt variables) onto HubSpot contact properties.

hubspot_property: str

Destination HubSpot contact property, by internal name (e.g. ‘email’, ‘company’, or a custom ‘budget’).

minLength1
source: str

Source key to read from the call: a structured_output field name, falling back to a prompt variable of the same name.

minLength1
human_transfer_mode: Optional[Literal["warm", "cold"]]

Warm or cold transfer when transfer_destinations is non-empty; null when transfer is not configured.

One of the following:
"warm"
"cold"
ivr_navigation_enabled: bool

Enable IVR navigation tools. When enabled, the assistant can send DTMF tones and skip turns to navigate phone menus.

krisp_viva_filter_enabled: bool

When true, the agent’s noise-cancellation filter is Krisp VIVA Tel instead of the legacy BVCTelephony.

llm_model: CallAssistantLlmModel
One of the following:
class CallAssistantLlmModelRecommended: …
type: Literal["recommended"]

The LLM Revox currently recommends for voice agents, chosen server-side and upgraded without any change on your side. No per-assistant configuration.

class CallAssistantLlmModelUnionMember1: …
name: Literal["gpt-4.1", "ministral-3-8b-instruct"]
One of the following:
"gpt-4.1"
"ministral-3-8b-instruct"
type: Literal["dedicated-instance"]
class CallAssistantLlmModelUnionMember2: …
openrouter_model_id: str

The model ID to use from OpenRouter. eg: openai/gpt-4.1

openrouter_provider: str

The provider to use from OpenRouter. eg: nebius, openai, azure, etc.

type: Literal["openrouter"]

Use a model from OpenRouter.

class CallAssistantLlmModelUnionMember3: …
api_key: str

API key sent as Bearer token to the custom endpoint.

minLength1
api_url: str

Base URL for the OpenAI-compatible API, e.g. https://api.together.xyz/v1

formaturi
model_name: str

Model name as expected by the provider, e.g. meta-llama/llama-3-70b

minLength1
type: Literal["custom"]

OpenAI-compatible chat completions API (bring your own endpoint and key).

class CallAssistantLlmModelType: …
type: Literal["gemma-4-31b-racing"]

gemma-4-31b raced between two pinned OpenRouter endpoints (modelrun/fp4 and crusoe/bf16), first chunk wins. Served with the server-side OPENROUTER_API_KEY; no per-assistant configuration.

class CallAssistantLlmModelUnionMember5: …
model_name: str

Fireworks model id, e.g. accounts/fireworks/models/qwen3-235b-a22b or a dedicated deployment id.

minLength1
type: Literal["fireworks"]

Fireworks AI model, served with the server-side FIREWORKS_API_KEY (no key stored per-assistant).

reasoning_effort: Optional[Literal["none", "low", "medium", "high"]]

Reasoning effort sent with each request. Hybrid-reasoning models (e.g. gemma-4-31b) think by default, which adds latency and can eat the whole token budget before any speakable text: voice agents want ‘none’. Omit for models that reject the knob.

One of the following:
"none"
"low"
"medium"
"high"
class CallAssistantLlmModelUnionMember6: …
provider: Literal["openai", "google"]

The provider to use from Realtime. eg: openai, google.

One of the following:
"openai"
"google"
realtime_model_id: str

The model ID to use from Realtime. eg: gpt-4.1

type: Literal["realtime"]

Use a model from Realtime.

realtime_voice_id: Optional[str]

Output voice for the realtime provider (e.g. OpenAI: marin; Gemini: Puck).

minLength1
logo_url: Optional[str]

Public URL of the brand logo shown on the assistant’s demo page. Null when unset.

max_call_duration_secs: float

The maximum duration of the call in seconds. This is the maximum time the call will be allowed to run.

max_duration_end_message: Optional[str]

Optional message the agent will say, without being interruptible, when the call reaches its max duration. Kept short so it fits inside the farewell buffer. If null, the call ends silently.

maxLength150
name: str
organization_id: str
position: Optional[CallAssistantPosition]
x: float
y: float
post_call_prompt: Optional[str]
precall_lookup_headers: Optional[List[CallAssistantPrecallLookupHeader]]

HTTP headers sent with the pre-call lookup request. Null when none are configured.

key: str
maxLength200
value: str
minLength1
maxLength4000
precall_lookup_url: Optional[str]

URL fetched before an inbound call is answered to resolve the assistant’s prompt variables. Null when no lookup is configured.

prompt: str
slack: Optional[CallAssistantSlack]
channels: List[CallAssistantSlackChannel]

The Slack channels the post-call agent may post to. It resolves the channel it was told to use against this list and cannot reach any other.

id: str

The Slack channel ID (e.g. ‘C01234567’).

name: Optional[str]

Human-readable Slack channel name, cached for display in the UI and given to the LLM when the agent prompt routes by channel name.

connection_id: str

The Nango connection ID linking the org’s Slack workspace to Revox.

start_step_name: Optional[str]
structured_output_config: Optional[List[CallAssistantStructuredOutputConfig]]

The structured output config to use for the call. This is used to extract the data from the call (like email, name, company name, etc.).

name: str
minLength1
required: bool
type: Literal["string", "number", "boolean", 3 more]
One of the following:
"string"
"number"
"boolean"
"enum"
"date"
"datetime"
description: Optional[str]
enum_options: Optional[List[str]]
structured_output_prompt: Optional[str]

Custom prompt for structured data extraction. If not provided, a default prompt is used. Available variables: {{transcript}}, {{call_direction}}, {{user_phone_number}}, {{agent_phone_number}}.

stt_bvc_filter_enabled: bool

When false, the agent transcribes the raw caller track instead of the BVC noise-cancellation output.

stt_context: Optional[CallAssistantSttContext]

Assistant-level speech-to-text context: structured general key/value pairs plus a list of domain terms. Prompt-derived context is merged in without replacing existing entries.

general: List[CallAssistantSttContextGeneral]
key: str
minLength1
value: str
minLength1
terms: List[str]
stt_endpoint_latency_level: Optional[int]

Soniox endpoint latency adjustment level (0 to 3). Null: Soniox default.

minimum-9007199254740991
maximum9007199254740991
stt_endpoint_sensitivity: Optional[float]

Soniox endpoint sensitivity (-1 to 1). Null: Soniox default.

stt_model: Literal["stt-rt-v4", "stt-rt-v5"]

Transcriber (speech-to-text) model used for the assistant.

One of the following:
"stt-rt-v4"
"stt-rt-v5"
teams: Optional[CallAssistantTeams]
channels: List[CallAssistantTeamsChannel]

The Teams channels the post-call agent may post to. It resolves the channel it was told to use against this list and cannot reach any other.

id: str

The Microsoft Teams channel ID (e.g. ‘19:561fbdbb…@thread.tacv2’).

team_id: str

The ID of the team the channel belongs to. Needed to post.

name: Optional[str]

Human-readable channel name, cached for display in the UI and given to the LLM when the agent prompt routes by channel name.

team_name: Optional[str]

Human-readable team name. Channel names repeat across teams (every team has a ‘General’), so the team name is what tells two of them apart.

connection_id: str

The Nango connection ID linking a Microsoft Teams account to Revox. Messages are posted as that account.

thinking_sound: Optional[Literal["city-ambience.ogg", "forest-ambience.ogg", "office-ambience.ogg", 4 more]]

Audio clip to play while the agent is processing a response. One of the built-in LiveKit audio clips; null disables it.

One of the following:
"city-ambience.ogg"
"forest-ambience.ogg"
"office-ambience.ogg"
"crowded-room.ogg"
"keyboard-typing.ogg"
"keyboard-typing2.ogg"
"hold_music.ogg"
thinking_sound_probability: float

Probability [0..1] that the thinking sound plays on any given turn; otherwise the agent is silent while thinking.

minimum0
maximum1
thinking_sound_volume: float

Volume of the thinking sound (0 = silent, 1 = max).

minimum0
maximum1
transfer_destinations: Optional[List[CallAssistantTransferDestination]]

Where calls can be transferred to when users ask to speak to a human. Null or empty when transfer is not configured.

label: str
minLength1
maxLength60
phone_number: str
type: Literal["standalone", "multi-step", "sub-assistant"]
One of the following:
"standalone"
"multi-step"
"sub-assistant"
updated_at: object
voice: Optional[CallAssistantVoice]
id: str

The ID of the voice.

minLength1
provider: Literal["cartesia", "elevenlabs", "gradium"]

The provider of the voice.

One of the following:
"cartesia"
"elevenlabs"
"gradium"
model: Optional[Literal["sonic-3", "sonic-3.5", "sonic-3.6"]]

Cartesia TTS model (Cartesia only). Defaults to sonic-3.6 when omitted. Ignored for other providers.

One of the following:
"sonic-3"
"sonic-3.5"
"sonic-3.6"
speed: Optional[float]

The speed of the voice. Range depends on provider: Cartesia 0.6–1.5, ElevenLabs 0.7–1.2, Gradium 0.6–1.5. Default is 1.0.

minimum0.6
maximum1.5
volume: Optional[float]

Volume of the voice (Cartesia only). 0.5–2.0, default 1.0. Ignored for other providers.

minimum0.5
maximum2
voice_languages: Optional[List[CallAssistantVoiceLanguage]]

Extra languages for a multilingual assistant, each with its own voice. Calls pick one through their language value, else the phone number’s country; other calls use the assistant’s voice.

language: Literal["en", "fr", "es", 5 more]

The language contacts are called in with this voice.

One of the following:
"en"
"fr"
"es"
"de"
"it"
"pt"
"ru"
"zh"
voice: CallAssistantVoiceLanguageVoice

The voice used for contacts whose language is this language.

id: str

The ID of the voice.

minLength1
provider: Literal["cartesia", "elevenlabs", "gradium"]

The provider of the voice.

One of the following:
"cartesia"
"elevenlabs"
"gradium"
model: Optional[Literal["sonic-3", "sonic-3.5", "sonic-3.6"]]

Cartesia TTS model (Cartesia only). Defaults to sonic-3.6 when omitted. Ignored for other providers.

One of the following:
"sonic-3"
"sonic-3.5"
"sonic-3.6"
speed: Optional[float]

The speed of the voice. Range depends on provider: Cartesia 0.6–1.5, ElevenLabs 0.7–1.2, Gradium 0.6–1.5. Default is 1.0.

minimum0.6
maximum1.5
volume: Optional[float]

Volume of the voice (Cartesia only). 0.5–2.0, default 1.0. Ignored for other providers.

minimum0.5
maximum2
voicemail_message: Optional[str]

If set, when voicemail is detected the agent will speak this message then hang up; if null, hang up immediately.

warm_transfer_summary_instructions: Optional[str]

Warm transfer only: instructions for the supervisor handoff summary; null when not configured or cold transfer.

warm_transfer_voice_speed: Optional[float]

Warm transfer only: voice speed of the briefing to the human colleague; null when it follows voice.speed, not configured, or cold transfer.

minimum0.6
maximum1.5
webhook_url: Optional[str]

The webhook URL to call when the call is completed.

zoho: Optional[CallAssistantZoho]
connection_id: str

The Nango connection ID linking the org’s Zoho CRM account to Revox.

field_mapping: List[CallAssistantZohoFieldMapping]

Maps extracted call fields (structured_output / prompt variables) onto Zoho field API names on the upserted record.

source: str

Source key to read from the call: a structured_output field name, falling back to a prompt variable of the same name.

minLength1
zoho_field: str

Destination Zoho field API name on the upserted record (e.g. ‘Email’, ‘Company’, or a custom ‘Budget__c’).

minLength1
log_call_activity: bool

When true, also log the call as a record in Zoho’s Calls module (related to the upserted prospect via Who_Id).

module: str

Zoho module the prospect record is upserted into (e.g. ‘Leads’ or ‘Contacts’).

minLength1
template: Optional[str]

Optional Note body template. Supports {{summary}}, {{outcome}}, {{phone}}, {{call_url}}, {{assistant_name}}, {{campaign_name}}, {{transcript}}, plus prompt_variables and structured_output keys. When null/empty a default note (outcome + summary + auto-listed extracted fields) is used.

created_by: Optional[CallAssistantCreatedBy]

The user who created the assistant.

id: str

The database user id of the creator.

email: str
first_name: Optional[str]
last_name: Optional[str]
is_inbound_receptionist: Optional[bool]
is_realestate_assistant: Optional[bool]
call_attempts: List[CallCallAttempt]

All call attempts for this call order, ordered by most recent first.

id: str

The ID of the call attempt.

answered_at: object

The time the call was answered.

dial_error: Optional[Literal["number_non_attributed", "too_many_calls", "busy", 7 more]]

The SIP error that occurred.

One of the following:
"number_non_attributed"
"too_many_calls"
"busy"
"temporarily_unavailable"
"no_answer"
"rejected"
"blocked"
"no_international_permission"
"precondition_failed"
"non_classified_error"
ended_at: object

The time the call ended.

handled_by_ai: bool

Whether the AI agent conducted the conversation on this attempt. False for a silent speed-dial probe (whose agent only detects a human) and for attempts that were never answered.

handled_by_human: bool

Whether a human conducted (part of) this attempt — a jump-in / speed-dial takeover, or a transfer to a rep.

handled_by_user: Optional[CallCallAttemptHandledByUser]

The team member responsible for following up on this call.

id: str

The database user id of the assignee.

email: str
first_name: Optional[str]
last_name: Optional[str]
phone_number: str

The phone number that was called. Formatted in E.164 format. Example: +1234567890

recording_url: Optional[str]

The URL of the audio recording of the call.

result: Optional[Literal["IVR", "voicemail", "human", 2 more]]
One of the following:
"IVR"
"voicemail"
"human"
"unknown"
"screening-filter"
started_at: object

The time the call started.

status: Literal["queued", "ringing", "ongoing", 2 more]

The status of the call attempt.

One of the following:
"queued"
"ringing"
"ongoing"
"completed"
"error"
actions: Optional[List[CallCallAttemptAction]]

Tools the agent ran for this attempt, in call and after it, ordered oldest first. This is the decision trail — the delivery trail lives in sms_log / email_log.

id: str
arguments: Dict[str, object]
created_at: object

When the tool ran.

error: Optional[str]
phase: Literal["in_call", "post_call"]
One of the following:
"in_call"
"post_call"
status: Literal["succeeded", "failed"]
One of the following:
"succeeded"
"failed"
tool_name: str
assistant_names: Optional[Dict[str, str]]

Names of the assistants in assistants_used, keyed by id. Only set when the attempt went through several assistants (a multi-step call).

assistants_used: Optional[List[str]]

Assistant node ids entered during this attempt, in traversal order.

email_log: Optional[List[CallCallAttemptEmailLog]]

Notification emails sent in connection with the call, ordered oldest first (from/to addresses, subject, sent time).

id: str
calendar_invite_at: object

Start of the callback or meeting the attached calendar invitation (invite.ics) was for. Null when the email carried no invitation.

created_at: object

When the email was sent.

from_address: str
resend_message_id: Optional[str]
subject: str
to_emails: List[str]
end_reason: Optional[Literal["client_initiated", "connection_timeout", "human_takeover", 13 more]]

Reason for ending the call when ended_by is ‘agent’. E.g. ‘tool_end_call’, ‘voicemail’, ‘transfer’, ‘ivr_no_navigate’.

One of the following:
"client_initiated"
"connection_timeout"
"human_takeover"
"ivr_no_navigate"
"max_duration"
"participant_removed"
"tool_end_call"
"transfer"
"user_inactive"
"user_rejected"
"user_unavailable"
"voicemail"
"speed_dial_abandoned"
"speed_dial_operator_missed"
"speed_dial_timeout"
"speed_dial_hangup"
ended_by: Optional[Literal["agent", "user", "system"]]

Who ended the call: ‘agent’ (AI agent), ‘user’ (caller/callee hung up), or ‘system’ (e.g. max duration limit).

One of the following:
"agent"
"user"
"system"
post_call_transcript: Optional[List[CallCallAttemptPostCallTranscript]]

Higher-quality transcript generated after the call via Soniox async STT. Null until generated or when no recording is available.

content: str
role: Literal["user", "assistant", "human_agent", "tool"]
One of the following:
"user"
"assistant"
"human_agent"
"tool"
tool_arguments: Optional[Union[Dict[str, object], str, null]]
One of the following:
Dict[str, object]
str
tool_is_error: Optional[bool]
tool_name: Optional[str]
tool_output: Optional[str]
sms_log: Optional[List[CallCallAttemptSMSLog]]

Automatic SMS sent after the call (voicemail and after-call), ordered oldest first. The in-call send_sms is excluded — it already appears in the transcript as a tool call.

id: str
created_at: object

When the SMS was sent.

message_body: str
provider: Literal["twilio", "vonage"]
One of the following:
"twilio"
"vonage"
provider_error_code: Optional[str]

The provider’s numeric reason for a terminal failure (e.g. Twilio 30034). Null unless the message failed.

provider_message_id: Optional[str]
provider_status: Optional[str]

Delivery status in the provider’s own vocabulary (Twilio queued/sent/delivered/failed/undelivered), so only interpretable alongside provider. Null when the provider hasn’t reported one — always the case for Vonage, whose receipts we don’t yet parse.

to_phone_number: str
type: Literal["in_call", "voicemail", "after_call"]
One of the following:
"in_call"
"voicemail"
"after_call"
speech_events: Optional[List[CallCallAttemptSpeechEvent]]

Per-turn speech segments (VAD-derived) with timing and pipeline latencies, ordered by started_speaking_at_ms. Empty for calls recorded before this was tracked or for realtime sessions that don’t emit them.

id: str
is_real_turn: bool

False when the segment was flagged as noise/blip rather than a meaningful turn.

llm_system_prompt: Optional[str]

Agent-only: despite the name, the whole prompt the LLM was given for this turn — system instructions plus conversation history — as JSON.

llm_ttft_ms: Optional[float]

Agent-only: LLM time-to-first-token for the reply, in ms.

llm_winner_model: Optional[str]

Agent-only: the model that produced the reply — the winning leg when the LLM is a race, which is also the model llm_ttft_ms describes.

speaker: Literal["user", "agent"]

Who was speaking during this segment.

One of the following:
"user"
"agent"
started_speaking_at_ms: float

Milliseconds since session start when speech began.

stopped_speaking_at_ms: Optional[float]

Milliseconds since session start when speech ended. Null when the session ended before the turn closed.

stt_transcription_delay_ms: Optional[float]

User-only: time from end-of-speech to final transcript, in ms.

transcript: Optional[str]

Recognized text for this segment, when available.

tts_ttfb_ms: Optional[float]

Agent-only: TTS time-to-first-audio-byte for the reply, in ms.

was_cut: Optional[bool]

Agent-only: true when the agent’s audio was interrupted (real or auto-resumed). Null on user segments.

structured_output: Optional[Dict[str, object]]

The data extracted from the call, using the structured output config from the parent call object.

transcript: Optional[List[CallCallAttemptTranscript]]

The live transcript of the call, built in real time.

content: str
role: Literal["user", "assistant", "human_agent", "tool"]
One of the following:
"user"
"assistant"
"human_agent"
"tool"
tool_arguments: Optional[Union[Dict[str, object], str, null]]
One of the following:
Dict[str, object]
str
tool_is_error: Optional[bool]
tool_name: Optional[str]
tool_output: Optional[str]
transferred_to: Optional[str]

The number the call was transferred to, in E.164 format (e.g. +33123456789). Recorded by the agent from the destination it actually dialled, so it is the destination itself and not a name read off the transcript. Null when the call was not transferred, and on transfers placed before this was tracked.

call_retry_config: Optional[CallCallRetryConfig]

Configuration for call retry behavior including time windows, delays, and max iterations. If not provided, defaults will be used.

allowed_days: List[Literal["monday", "tuesday", "wednesday", 4 more]]

Days of the week when calls are allowed, in the recipient’s timezone. Default: Monday through Friday.

One of the following:
"monday"
"tuesday"
"wednesday"
"thursday"
"friday"
"saturday"
"sunday"
call_twice_in_a_row: bool

If true and max_retry_attempts >= 2, attempt #2 fires immediately (skipping retry_delay_seconds) when attempt #1 didn’t reach a human. Calling-window/allowed-days checks still apply. Only affects the 1→2 transition. Default: false.

calling_windows: List[CallCallRetryConfigCallingWindow]
calling_window_end_time: str

End time for the calling window in the recipient’s timezone (or timezone_override if provided). Format: ‘HH:mm’ (24-hour) or ‘H:mma’ (12-hour). Examples: ‘17:00’, ‘6pm’. Default: ‘18:00’.

calling_window_start_time: str

Start time for the calling window in the recipient’s timezone (or timezone_override if provided). Format: ‘HH:mm’ (24-hour) or ‘H:mma’ (12-hour). Examples: ‘09:00’, ‘10am’. Default: ‘10:00’.

retry_delay_seconds: object

Delay between retry attempts in seconds. Values below the 15-minute minimum are raised to it: a shorter delay means calling someone again minutes after they declined. For one deliberate immediate second dial, use call_twice_in_a_row. Default: 7200 (2 hours).

max_retry_attempts: int

Maximum number of call retry attempts. Default: 3.

exclusiveMinimum0
maximum9007199254740991
timezone: Optional[str]

Optional IANA timezone identifier to override the automatic timezone detection from phone number. If not provided, timezone is determined from the recipient’s phone number country code. Examples: ‘America/New_York’, ‘Europe/Paris’.

calls_count: float

The number of call attempts made.

campaign: Optional[CallCampaign]
id: str
name: str
status: Literal["running", "paused", "completed"]
One of the following:
"running"
"paused"
"completed"
channel: Literal["phone", "web"]

web for a test call taken in the browser: its phone number is a placeholder, never dialed.

One of the following:
"phone"
"web"
contact: CallContact

Magic contact variables (prospect identity) extracted from the call’s input data and transcript.

company: Optional[str]
email: Optional[str]
first_name: Optional[str]
job_title: Optional[str]
last_name: Optional[str]
created_at: object

The time the call order was created.

direction: Literal["inbound", "outbound"]

Whether the call is inbound or outbound.

One of the following:
"inbound"
"outbound"
first_sentence_delay_ms: int

Delay in milliseconds before speaking the first sentence. Default: 400.

minimum-9007199254740991
maximum9007199254740991
from_phone_number: str

The phone number that made the call. Formatted in E.164 format. Example: +1234567890

is_cancelled: bool

DEPRECATED: Whether the call has been cancelled. This is derived from status. Use status instead.

is_completed: bool

DEPRECATED: Whether the call has completed. This is derived from status. Use status instead.

last_call_attempt: Optional[CallLastCallAttempt]

This represent a single call attempt. A call attempt is a single call made to the phone number.

id: str

The ID of the call attempt.

answered_at: object

The time the call was answered.

dial_error: Optional[Literal["number_non_attributed", "too_many_calls", "busy", 7 more]]

The SIP error that occurred.

One of the following:
"number_non_attributed"
"too_many_calls"
"busy"
"temporarily_unavailable"
"no_answer"
"rejected"
"blocked"
"no_international_permission"
"precondition_failed"
"non_classified_error"
ended_at: object

The time the call ended.

handled_by_ai: bool

Whether the AI agent conducted the conversation on this attempt. False for a silent speed-dial probe (whose agent only detects a human) and for attempts that were never answered.

handled_by_human: bool

Whether a human conducted (part of) this attempt — a jump-in / speed-dial takeover, or a transfer to a rep.

handled_by_user: Optional[CallLastCallAttemptHandledByUser]

The team member responsible for following up on this call.

id: str

The database user id of the assignee.

email: str
first_name: Optional[str]
last_name: Optional[str]
phone_number: str

The phone number that was called. Formatted in E.164 format. Example: +1234567890

recording_url: Optional[str]

The URL of the audio recording of the call.

result: Optional[Literal["IVR", "voicemail", "human", 2 more]]
One of the following:
"IVR"
"voicemail"
"human"
"unknown"
"screening-filter"
started_at: object

The time the call started.

status: Literal["queued", "ringing", "ongoing", 2 more]

The status of the call attempt.

One of the following:
"queued"
"ringing"
"ongoing"
"completed"
"error"
actions: Optional[List[CallLastCallAttemptAction]]

Tools the agent ran for this attempt, in call and after it, ordered oldest first. This is the decision trail — the delivery trail lives in sms_log / email_log.

id: str
arguments: Dict[str, object]
created_at: object

When the tool ran.

error: Optional[str]
phase: Literal["in_call", "post_call"]
One of the following:
"in_call"
"post_call"
status: Literal["succeeded", "failed"]
One of the following:
"succeeded"
"failed"
tool_name: str
assistant_names: Optional[Dict[str, str]]

Names of the assistants in assistants_used, keyed by id. Only set when the attempt went through several assistants (a multi-step call).

assistants_used: Optional[List[str]]

Assistant node ids entered during this attempt, in traversal order.

email_log: Optional[List[CallLastCallAttemptEmailLog]]

Notification emails sent in connection with the call, ordered oldest first (from/to addresses, subject, sent time).

id: str
calendar_invite_at: object

Start of the callback or meeting the attached calendar invitation (invite.ics) was for. Null when the email carried no invitation.

created_at: object

When the email was sent.

from_address: str
resend_message_id: Optional[str]
subject: str
to_emails: List[str]
end_reason: Optional[Literal["client_initiated", "connection_timeout", "human_takeover", 13 more]]

Reason for ending the call when ended_by is ‘agent’. E.g. ‘tool_end_call’, ‘voicemail’, ‘transfer’, ‘ivr_no_navigate’.

One of the following:
"client_initiated"
"connection_timeout"
"human_takeover"
"ivr_no_navigate"
"max_duration"
"participant_removed"
"tool_end_call"
"transfer"
"user_inactive"
"user_rejected"
"user_unavailable"
"voicemail"
"speed_dial_abandoned"
"speed_dial_operator_missed"
"speed_dial_timeout"
"speed_dial_hangup"
ended_by: Optional[Literal["agent", "user", "system"]]

Who ended the call: ‘agent’ (AI agent), ‘user’ (caller/callee hung up), or ‘system’ (e.g. max duration limit).

One of the following:
"agent"
"user"
"system"
post_call_transcript: Optional[List[CallLastCallAttemptPostCallTranscript]]

Higher-quality transcript generated after the call via Soniox async STT. Null until generated or when no recording is available.

content: str
role: Literal["user", "assistant", "human_agent", "tool"]
One of the following:
"user"
"assistant"
"human_agent"
"tool"
tool_arguments: Optional[Union[Dict[str, object], str, null]]
One of the following:
Dict[str, object]
str
tool_is_error: Optional[bool]
tool_name: Optional[str]
tool_output: Optional[str]
sms_log: Optional[List[CallLastCallAttemptSMSLog]]

Automatic SMS sent after the call (voicemail and after-call), ordered oldest first. The in-call send_sms is excluded — it already appears in the transcript as a tool call.

id: str
created_at: object

When the SMS was sent.

message_body: str
provider: Literal["twilio", "vonage"]
One of the following:
"twilio"
"vonage"
provider_error_code: Optional[str]

The provider’s numeric reason for a terminal failure (e.g. Twilio 30034). Null unless the message failed.

provider_message_id: Optional[str]
provider_status: Optional[str]

Delivery status in the provider’s own vocabulary (Twilio queued/sent/delivered/failed/undelivered), so only interpretable alongside provider. Null when the provider hasn’t reported one — always the case for Vonage, whose receipts we don’t yet parse.

to_phone_number: str
type: Literal["in_call", "voicemail", "after_call"]
One of the following:
"in_call"
"voicemail"
"after_call"
speech_events: Optional[List[CallLastCallAttemptSpeechEvent]]

Per-turn speech segments (VAD-derived) with timing and pipeline latencies, ordered by started_speaking_at_ms. Empty for calls recorded before this was tracked or for realtime sessions that don’t emit them.

id: str
is_real_turn: bool

False when the segment was flagged as noise/blip rather than a meaningful turn.

llm_system_prompt: Optional[str]

Agent-only: despite the name, the whole prompt the LLM was given for this turn — system instructions plus conversation history — as JSON.

llm_ttft_ms: Optional[float]

Agent-only: LLM time-to-first-token for the reply, in ms.

llm_winner_model: Optional[str]

Agent-only: the model that produced the reply — the winning leg when the LLM is a race, which is also the model llm_ttft_ms describes.

speaker: Literal["user", "agent"]

Who was speaking during this segment.

One of the following:
"user"
"agent"
started_speaking_at_ms: float

Milliseconds since session start when speech began.

stopped_speaking_at_ms: Optional[float]

Milliseconds since session start when speech ended. Null when the session ended before the turn closed.

stt_transcription_delay_ms: Optional[float]

User-only: time from end-of-speech to final transcript, in ms.

transcript: Optional[str]

Recognized text for this segment, when available.

tts_ttfb_ms: Optional[float]

Agent-only: TTS time-to-first-audio-byte for the reply, in ms.

was_cut: Optional[bool]

Agent-only: true when the agent’s audio was interrupted (real or auto-resumed). Null on user segments.

structured_output: Optional[Dict[str, object]]

The data extracted from the call, using the structured output config from the parent call object.

transcript: Optional[List[CallLastCallAttemptTranscript]]

The live transcript of the call, built in real time.

content: str
role: Literal["user", "assistant", "human_agent", "tool"]
One of the following:
"user"
"assistant"
"human_agent"
"tool"
tool_arguments: Optional[Union[Dict[str, object], str, null]]
One of the following:
Dict[str, object]
str
tool_is_error: Optional[bool]
tool_name: Optional[str]
tool_output: Optional[str]
transferred_to: Optional[str]

The number the call was transferred to, in E.164 format (e.g. +33123456789). Recorded by the agent from the destination it actually dialled, so it is the destination itself and not a name read off the transcript. Null when the call was not transferred, and on transfers placed before this was tracked.

llm_model: CallLlmModel
One of the following:
class CallLlmModelRecommended: …
type: Literal["recommended"]

The LLM Revox currently recommends for voice agents, chosen server-side and upgraded without any change on your side. No per-assistant configuration.

class CallLlmModelUnionMember1: …
name: Literal["gpt-4.1", "ministral-3-8b-instruct"]
One of the following:
"gpt-4.1"
"ministral-3-8b-instruct"
type: Literal["dedicated-instance"]
class CallLlmModelUnionMember2: …
openrouter_model_id: str

The model ID to use from OpenRouter. eg: openai/gpt-4.1

openrouter_provider: str

The provider to use from OpenRouter. eg: nebius, openai, azure, etc.

type: Literal["openrouter"]

Use a model from OpenRouter.

class CallLlmModelUnionMember3: …
api_key: str

API key sent as Bearer token to the custom endpoint.

minLength1
api_url: str

Base URL for the OpenAI-compatible API, e.g. https://api.together.xyz/v1

formaturi
model_name: str

Model name as expected by the provider, e.g. meta-llama/llama-3-70b

minLength1
type: Literal["custom"]

OpenAI-compatible chat completions API (bring your own endpoint and key).

class CallLlmModelType: …
type: Literal["gemma-4-31b-racing"]

gemma-4-31b raced between two pinned OpenRouter endpoints (modelrun/fp4 and crusoe/bf16), first chunk wins. Served with the server-side OPENROUTER_API_KEY; no per-assistant configuration.

class CallLlmModelUnionMember5: …
model_name: str

Fireworks model id, e.g. accounts/fireworks/models/qwen3-235b-a22b or a dedicated deployment id.

minLength1
type: Literal["fireworks"]

Fireworks AI model, served with the server-side FIREWORKS_API_KEY (no key stored per-assistant).

reasoning_effort: Optional[Literal["none", "low", "medium", "high"]]

Reasoning effort sent with each request. Hybrid-reasoning models (e.g. gemma-4-31b) think by default, which adds latency and can eat the whole token budget before any speakable text: voice agents want ‘none’. Omit for models that reject the knob.

One of the following:
"none"
"low"
"medium"
"high"
class CallLlmModelUnionMember6: …
provider: Literal["openai", "google"]

The provider to use from Realtime. eg: openai, google.

One of the following:
"openai"
"google"
realtime_model_id: str

The model ID to use from Realtime. eg: gpt-4.1

type: Literal["realtime"]

Use a model from Realtime.

realtime_voice_id: Optional[str]

Output voice for the realtime provider (e.g. OpenAI: marin; Gemini: Puck).

minLength1
metadata: Optional[Dict[str, str]]

Metadata stored with the call.

organization_id: str

The ID of the organization that owns the call.

prompt_variables: Optional[Dict[str, str]]

Variables used to interpolate the prompt.

retries_stopped: bool

Whether no further attempt will be made for this call: it was cancelled, or its future attempts were stopped while an attempt was already in progress (that attempt still finishes). Unlike is_cancelled, this is true as soon as retries are stopped, before the call reaches a terminal status.

scheduled_at: object

The time the call order is scheduled to start.

status: Literal["initializing", "queued_for_calling", "calling", 7 more]

The status of the call.

One of the following:
"initializing"
"queued_for_calling"
"calling"
"post_processing"
"not_launched"
"scheduled"
"paused"
"completed"
"cancelled"
"errored"
to_phone_number: str

The phone number that received the call. Formatted in E.164 format. Example: +1234567890

transfer_destinations: Optional[List[CallTransferDestination]]

Where this call can be transferred, if anywhere.

label: str
minLength1
maxLength60
phone_number: str
updated_at: object

The time the call order was last updated (any state change, retry, or analysis result).

callback_from: Optional[CallCallbackFrom]

For an inbound call only: the outbound call this one answers, when the prospect rang us back after we called them. Null for every other call.

call_id: str
created_at: object
cancel_reason: Optional[Literal["prospect_called_back"]]

Why the call was cancelled, when it can be told. prospect_called_back: the prospect called back before the next retry, so the pending retry was cancelled and their call is recorded as a separate inbound call. Null for a manual or campaign cancel, and for calls that are not cancelled.

do_not_call: Optional[bool]

True when the prospect’s phone number is on the do-not-call list: it can no longer be called.

outcome: Optional[Literal["not_interested", "interested", "completed", "requested_callback_later"]]

Business outcome of the call. Null if not computed or no transcript.

One of the following:
"not_interested"
"interested"
"completed"
"requested_callback_later"
outcome_summary: Optional[str]

LLM explanation for the outcome, when outcome was computed from the transcript.

prompt_version: Optional[CallPromptVersion]

The assistant prompt version the call’s prompt was compiled from. Null for calls created before versions were tracked, and for calls made with an inline assistant.

id: str

The ID of the assistant prompt version.

latest_number: int

The number of the assistant’s current prompt version. Higher than number when the call was left on an older version, e.g. because it lacks a variable the newer prompt uses.

minimum-9007199254740991
maximum9007199254740991
number: int

The version’s number in the assistant’s prompt history (v1 is the oldest).

minimum-9007199254740991
maximum9007199254740991
visual_number: Optional[int]

Campaign-scoped display number for the call (“#14” on the live campaign board), assigned when a human answers. Null outside campaigns or before a human picked up. Gaps are normal.

minimum-9007199254740991
maximum9007199254740991
class CallSearchResponse: …
calls: List[Call]
id: str

The ID of the call.

assignee: Optional[CallAssignee]

The team member responsible for following up on this call.

id: str

The database user id of the assignee.

email: str
first_name: Optional[str]
last_name: Optional[str]
assistant: Optional[CallAssistant]
id: str
background_sound: Optional[Literal["audio/office.ogg"]]

Ambient background sound to play during the call. null disables it.

background_sound_volume: float

Volume of the ambient background sound (0 = silent, 1 = max).

minimum0
maximum1
cal: Optional[CallAssistantCal]
connection_id: str

The connection ID representing the link between your Cal.com account and Revox.

event_type_id: str

The ID of the Cal.com event type to schedule. (eg: 7081322)

calendly: Optional[CallAssistantCalendly]
connection_id: str

The connection ID representing the link between your Calendly account and Revox.

event_type_id: str

The event type ID representing the event type to schedule. (eg: https://api.calendly.com/event_types/b2330295-2a91-4a1d-bb73-99e7707663d5)

call_retry_config: Optional[CallAssistantCallRetryConfig]

Configuration for call retry behavior including time windows, delays, and max iterations. If not provided, defaults will be used.

allowed_days: List[Literal["monday", "tuesday", "wednesday", 4 more]]

Days of the week when calls are allowed, in the recipient’s timezone. Default: Monday through Friday.

One of the following:
"monday"
"tuesday"
"wednesday"
"thursday"
"friday"
"saturday"
"sunday"
call_twice_in_a_row: bool

If true and max_retry_attempts >= 2, attempt #2 fires immediately (skipping retry_delay_seconds) when attempt #1 didn’t reach a human. Calling-window/allowed-days checks still apply. Only affects the 1→2 transition. Default: false.

calling_windows: List[CallAssistantCallRetryConfigCallingWindow]
calling_window_end_time: str

End time for the calling window in the recipient’s timezone (or timezone_override if provided). Format: ‘HH:mm’ (24-hour) or ‘H:mma’ (12-hour). Examples: ‘17:00’, ‘6pm’. Default: ‘18:00’.

calling_window_start_time: str

Start time for the calling window in the recipient’s timezone (or timezone_override if provided). Format: ‘HH:mm’ (24-hour) or ‘H:mma’ (12-hour). Examples: ‘09:00’, ‘10am’. Default: ‘10:00’.

retry_delay_seconds: object

Delay between retry attempts in seconds. Values below the 15-minute minimum are raised to it: a shorter delay means calling someone again minutes after they declined. For one deliberate immediate second dial, use call_twice_in_a_row. Default: 7200 (2 hours).

max_retry_attempts: int

Maximum number of call retry attempts. Default: 3.

exclusiveMinimum0
maximum9007199254740991
timezone: Optional[str]

Optional IANA timezone identifier to override the automatic timezone detection from phone number. If not provided, timezone is determined from the recipient’s phone number country code. Examples: ‘America/New_York’, ‘Europe/Paris’.

cartesia_dictionary_pronunciation_id: Optional[str]

Optional Cartesia pronunciation dictionary ID linked to this assistant.

created_at: object
custom_tools: Optional[List[CallAssistantCustomTool]]
body_template: Optional[str]

JSON body template for the request. Use quoted {{variable}} placeholders (e.g. “{{name}}”) for dynamic values

description: str

Human-readable description of what the tool does, used by the LLM to decide when to call it

minLength1
headers: List[CallAssistantCustomToolHeader]

HTTP headers to include in the request. Values support {{variable}} placeholders

key: str
minLength1
value: str
input_schema: List[CallAssistantCustomToolInputSchema]

Schema defining the parameters the LLM should extract from the conversation to pass to this tool

name: str
minLength1
required: bool
type: Literal["string", "number", "boolean", 3 more]
One of the following:
"string"
"number"
"boolean"
"enum"
"date"
"datetime"
description: Optional[str]
enum_options: Optional[List[str]]
method: Literal["GET", "POST", "PUT", 2 more]

HTTP method to use when calling the API endpoint

One of the following:
"GET"
"POST"
"PUT"
"PATCH"
"DELETE"
name: str

Unique tool name in lowercase_snake_case (e.g. check_inventory)

minLength1
query_params: List[CallAssistantCustomToolQueryParam]

Query string parameters appended to the URL. Values support {{variable}} placeholders

key: str
minLength1
value: str
url: str

Full URL of the API endpoint. Supports {{variable}} placeholders for dynamic values

minLength1
end_of_call_sentence: Optional[str]
first_sentence: Optional[str]
first_sentence_delay_ms: int

Delay in milliseconds before speaking the first sentence. Default: 400.

minimum-9007199254740991
maximum9007199254740991
first_sentence_mode: Literal["generated", "static", "none"]
One of the following:
"generated"
"static"
"none"
from_phone_number: Optional[str]

Override the default outbound phone number for calls placed with this assistant. When null, the organization’s default phone number is used.

hubspot: Optional[CallAssistantHubspot]
connection_id: str

The Nango connection ID linking the org’s HubSpot account to Revox.

precall_lookup_enabled: bool

Resolve the caller against HubSpot contacts before answering an inbound call, filling the contact_* prompt variables (contact_name, contact_owner, contact_lead_status, contact_has_open_deal). Off by default: it costs API calls before the phone is picked up.

post_call_sync: Optional[CallAssistantHubspotPostCallSync]

Sends call data back to HubSpot after the call. Off until set: connecting HubSpot to book meetings must not start writing to the CRM. Always present in responses; omit it on update to leave the current setting untouched.

enabled: bool

Records calls in HubSpot after they end: the contact is created or updated from the phone number and the call is logged on its timeline. By default every call a person answered is recorded. When the post-call prompt talks about the CRM (in plain words or by mentioning the crm_push_call tool), the post-call agent decides instead which calls are recorded and what the logged call says.

field_mapping: List[CallAssistantHubspotPostCallSyncFieldMapping]

Maps extracted call fields (structured_output / prompt variables) onto HubSpot contact properties.

hubspot_property: str

Destination HubSpot contact property, by internal name (e.g. ‘email’, ‘company’, or a custom ‘budget’).

minLength1
source: str

Source key to read from the call: a structured_output field name, falling back to a prompt variable of the same name.

minLength1
human_transfer_mode: Optional[Literal["warm", "cold"]]

Warm or cold transfer when transfer_destinations is non-empty; null when transfer is not configured.

One of the following:
"warm"
"cold"
ivr_navigation_enabled: bool

Enable IVR navigation tools. When enabled, the assistant can send DTMF tones and skip turns to navigate phone menus.

krisp_viva_filter_enabled: bool

When true, the agent’s noise-cancellation filter is Krisp VIVA Tel instead of the legacy BVCTelephony.

llm_model: CallAssistantLlmModel
One of the following:
class CallAssistantLlmModelRecommended: …
type: Literal["recommended"]

The LLM Revox currently recommends for voice agents, chosen server-side and upgraded without any change on your side. No per-assistant configuration.

class CallAssistantLlmModelUnionMember1: …
name: Literal["gpt-4.1", "ministral-3-8b-instruct"]
One of the following:
"gpt-4.1"
"ministral-3-8b-instruct"
type: Literal["dedicated-instance"]
class CallAssistantLlmModelUnionMember2: …
openrouter_model_id: str

The model ID to use from OpenRouter. eg: openai/gpt-4.1

openrouter_provider: str

The provider to use from OpenRouter. eg: nebius, openai, azure, etc.

type: Literal["openrouter"]

Use a model from OpenRouter.

class CallAssistantLlmModelUnionMember3: …
api_key: str

API key sent as Bearer token to the custom endpoint.

minLength1
api_url: str

Base URL for the OpenAI-compatible API, e.g. https://api.together.xyz/v1

formaturi
model_name: str

Model name as expected by the provider, e.g. meta-llama/llama-3-70b

minLength1
type: Literal["custom"]

OpenAI-compatible chat completions API (bring your own endpoint and key).

class CallAssistantLlmModelType: …
type: Literal["gemma-4-31b-racing"]

gemma-4-31b raced between two pinned OpenRouter endpoints (modelrun/fp4 and crusoe/bf16), first chunk wins. Served with the server-side OPENROUTER_API_KEY; no per-assistant configuration.

class CallAssistantLlmModelUnionMember5: …
model_name: str

Fireworks model id, e.g. accounts/fireworks/models/qwen3-235b-a22b or a dedicated deployment id.

minLength1
type: Literal["fireworks"]

Fireworks AI model, served with the server-side FIREWORKS_API_KEY (no key stored per-assistant).

reasoning_effort: Optional[Literal["none", "low", "medium", "high"]]

Reasoning effort sent with each request. Hybrid-reasoning models (e.g. gemma-4-31b) think by default, which adds latency and can eat the whole token budget before any speakable text: voice agents want ‘none’. Omit for models that reject the knob.

One of the following:
"none"
"low"
"medium"
"high"
class CallAssistantLlmModelUnionMember6: …
provider: Literal["openai", "google"]

The provider to use from Realtime. eg: openai, google.

One of the following:
"openai"
"google"
realtime_model_id: str

The model ID to use from Realtime. eg: gpt-4.1

type: Literal["realtime"]

Use a model from Realtime.

realtime_voice_id: Optional[str]

Output voice for the realtime provider (e.g. OpenAI: marin; Gemini: Puck).

minLength1
logo_url: Optional[str]

Public URL of the brand logo shown on the assistant’s demo page. Null when unset.

max_call_duration_secs: float

The maximum duration of the call in seconds. This is the maximum time the call will be allowed to run.

max_duration_end_message: Optional[str]

Optional message the agent will say, without being interruptible, when the call reaches its max duration. Kept short so it fits inside the farewell buffer. If null, the call ends silently.

maxLength150
name: str
organization_id: str
position: Optional[CallAssistantPosition]
x: float
y: float
post_call_prompt: Optional[str]
precall_lookup_headers: Optional[List[CallAssistantPrecallLookupHeader]]

HTTP headers sent with the pre-call lookup request. Null when none are configured.

key: str
maxLength200
value: str
minLength1
maxLength4000
precall_lookup_url: Optional[str]

URL fetched before an inbound call is answered to resolve the assistant’s prompt variables. Null when no lookup is configured.

prompt: str
slack: Optional[CallAssistantSlack]
channels: List[CallAssistantSlackChannel]

The Slack channels the post-call agent may post to. It resolves the channel it was told to use against this list and cannot reach any other.

id: str

The Slack channel ID (e.g. ‘C01234567’).

name: Optional[str]

Human-readable Slack channel name, cached for display in the UI and given to the LLM when the agent prompt routes by channel name.

connection_id: str

The Nango connection ID linking the org’s Slack workspace to Revox.

start_step_name: Optional[str]
structured_output_config: Optional[List[CallAssistantStructuredOutputConfig]]

The structured output config to use for the call. This is used to extract the data from the call (like email, name, company name, etc.).

name: str
minLength1
required: bool
type: Literal["string", "number", "boolean", 3 more]
One of the following:
"string"
"number"
"boolean"
"enum"
"date"
"datetime"
description: Optional[str]
enum_options: Optional[List[str]]
structured_output_prompt: Optional[str]

Custom prompt for structured data extraction. If not provided, a default prompt is used. Available variables: {{transcript}}, {{call_direction}}, {{user_phone_number}}, {{agent_phone_number}}.

stt_bvc_filter_enabled: bool

When false, the agent transcribes the raw caller track instead of the BVC noise-cancellation output.

stt_context: Optional[CallAssistantSttContext]

Assistant-level speech-to-text context: structured general key/value pairs plus a list of domain terms. Prompt-derived context is merged in without replacing existing entries.

general: List[CallAssistantSttContextGeneral]
key: str
minLength1
value: str
minLength1
terms: List[str]
stt_endpoint_latency_level: Optional[int]

Soniox endpoint latency adjustment level (0 to 3). Null: Soniox default.

minimum-9007199254740991
maximum9007199254740991
stt_endpoint_sensitivity: Optional[float]

Soniox endpoint sensitivity (-1 to 1). Null: Soniox default.

stt_model: Literal["stt-rt-v4", "stt-rt-v5"]

Transcriber (speech-to-text) model used for the assistant.

One of the following:
"stt-rt-v4"
"stt-rt-v5"
teams: Optional[CallAssistantTeams]
channels: List[CallAssistantTeamsChannel]

The Teams channels the post-call agent may post to. It resolves the channel it was told to use against this list and cannot reach any other.

id: str

The Microsoft Teams channel ID (e.g. ‘19:561fbdbb…@thread.tacv2’).

team_id: str

The ID of the team the channel belongs to. Needed to post.

name: Optional[str]

Human-readable channel name, cached for display in the UI and given to the LLM when the agent prompt routes by channel name.

team_name: Optional[str]

Human-readable team name. Channel names repeat across teams (every team has a ‘General’), so the team name is what tells two of them apart.

connection_id: str

The Nango connection ID linking a Microsoft Teams account to Revox. Messages are posted as that account.

thinking_sound: Optional[Literal["city-ambience.ogg", "forest-ambience.ogg", "office-ambience.ogg", 4 more]]

Audio clip to play while the agent is processing a response. One of the built-in LiveKit audio clips; null disables it.

One of the following:
"city-ambience.ogg"
"forest-ambience.ogg"
"office-ambience.ogg"
"crowded-room.ogg"
"keyboard-typing.ogg"
"keyboard-typing2.ogg"
"hold_music.ogg"
thinking_sound_probability: float

Probability [0..1] that the thinking sound plays on any given turn; otherwise the agent is silent while thinking.

minimum0
maximum1
thinking_sound_volume: float

Volume of the thinking sound (0 = silent, 1 = max).

minimum0
maximum1
transfer_destinations: Optional[List[CallAssistantTransferDestination]]

Where calls can be transferred to when users ask to speak to a human. Null or empty when transfer is not configured.

label: str
minLength1
maxLength60
phone_number: str
type: Literal["standalone", "multi-step", "sub-assistant"]
One of the following:
"standalone"
"multi-step"
"sub-assistant"
updated_at: object
voice: Optional[CallAssistantVoice]
id: str

The ID of the voice.

minLength1
provider: Literal["cartesia", "elevenlabs", "gradium"]

The provider of the voice.

One of the following:
"cartesia"
"elevenlabs"
"gradium"
model: Optional[Literal["sonic-3", "sonic-3.5", "sonic-3.6"]]

Cartesia TTS model (Cartesia only). Defaults to sonic-3.6 when omitted. Ignored for other providers.

One of the following:
"sonic-3"
"sonic-3.5"
"sonic-3.6"
speed: Optional[float]

The speed of the voice. Range depends on provider: Cartesia 0.6–1.5, ElevenLabs 0.7–1.2, Gradium 0.6–1.5. Default is 1.0.

minimum0.6
maximum1.5
volume: Optional[float]

Volume of the voice (Cartesia only). 0.5–2.0, default 1.0. Ignored for other providers.

minimum0.5
maximum2
voice_languages: Optional[List[CallAssistantVoiceLanguage]]

Extra languages for a multilingual assistant, each with its own voice. Calls pick one through their language value, else the phone number’s country; other calls use the assistant’s voice.

language: Literal["en", "fr", "es", 5 more]

The language contacts are called in with this voice.

One of the following:
"en"
"fr"
"es"
"de"
"it"
"pt"
"ru"
"zh"
voice: CallAssistantVoiceLanguageVoice

The voice used for contacts whose language is this language.

id: str

The ID of the voice.

minLength1
provider: Literal["cartesia", "elevenlabs", "gradium"]

The provider of the voice.

One of the following:
"cartesia"
"elevenlabs"
"gradium"
model: Optional[Literal["sonic-3", "sonic-3.5", "sonic-3.6"]]

Cartesia TTS model (Cartesia only). Defaults to sonic-3.6 when omitted. Ignored for other providers.

One of the following:
"sonic-3"
"sonic-3.5"
"sonic-3.6"
speed: Optional[float]

The speed of the voice. Range depends on provider: Cartesia 0.6–1.5, ElevenLabs 0.7–1.2, Gradium 0.6–1.5. Default is 1.0.

minimum0.6
maximum1.5
volume: Optional[float]

Volume of the voice (Cartesia only). 0.5–2.0, default 1.0. Ignored for other providers.

minimum0.5
maximum2
voicemail_message: Optional[str]

If set, when voicemail is detected the agent will speak this message then hang up; if null, hang up immediately.

warm_transfer_summary_instructions: Optional[str]

Warm transfer only: instructions for the supervisor handoff summary; null when not configured or cold transfer.

warm_transfer_voice_speed: Optional[float]

Warm transfer only: voice speed of the briefing to the human colleague; null when it follows voice.speed, not configured, or cold transfer.

minimum0.6
maximum1.5
webhook_url: Optional[str]

The webhook URL to call when the call is completed.

zoho: Optional[CallAssistantZoho]
connection_id: str

The Nango connection ID linking the org’s Zoho CRM account to Revox.

field_mapping: List[CallAssistantZohoFieldMapping]

Maps extracted call fields (structured_output / prompt variables) onto Zoho field API names on the upserted record.

source: str

Source key to read from the call: a structured_output field name, falling back to a prompt variable of the same name.

minLength1
zoho_field: str

Destination Zoho field API name on the upserted record (e.g. ‘Email’, ‘Company’, or a custom ‘Budget__c’).

minLength1
log_call_activity: bool

When true, also log the call as a record in Zoho’s Calls module (related to the upserted prospect via Who_Id).

module: str

Zoho module the prospect record is upserted into (e.g. ‘Leads’ or ‘Contacts’).

minLength1
template: Optional[str]

Optional Note body template. Supports {{summary}}, {{outcome}}, {{phone}}, {{call_url}}, {{assistant_name}}, {{campaign_name}}, {{transcript}}, plus prompt_variables and structured_output keys. When null/empty a default note (outcome + summary + auto-listed extracted fields) is used.

created_by: Optional[CallAssistantCreatedBy]

The user who created the assistant.

id: str

The database user id of the creator.

email: str
first_name: Optional[str]
last_name: Optional[str]
is_inbound_receptionist: Optional[bool]
is_realestate_assistant: Optional[bool]
call_attempts: List[CallCallAttempt]

All call attempts for this call order, ordered by most recent first.

id: str

The ID of the call attempt.

answered_at: object

The time the call was answered.

dial_error: Optional[Literal["number_non_attributed", "too_many_calls", "busy", 7 more]]

The SIP error that occurred.

One of the following:
"number_non_attributed"
"too_many_calls"
"busy"
"temporarily_unavailable"
"no_answer"
"rejected"
"blocked"
"no_international_permission"
"precondition_failed"
"non_classified_error"
ended_at: object

The time the call ended.

handled_by_ai: bool

Whether the AI agent conducted the conversation on this attempt. False for a silent speed-dial probe (whose agent only detects a human) and for attempts that were never answered.

handled_by_human: bool

Whether a human conducted (part of) this attempt — a jump-in / speed-dial takeover, or a transfer to a rep.

handled_by_user: Optional[CallCallAttemptHandledByUser]

The team member responsible for following up on this call.

id: str

The database user id of the assignee.

email: str
first_name: Optional[str]
last_name: Optional[str]
phone_number: str

The phone number that was called. Formatted in E.164 format. Example: +1234567890

recording_url: Optional[str]

The URL of the audio recording of the call.

result: Optional[Literal["IVR", "voicemail", "human", 2 more]]
One of the following:
"IVR"
"voicemail"
"human"
"unknown"
"screening-filter"
started_at: object

The time the call started.

status: Literal["queued", "ringing", "ongoing", 2 more]

The status of the call attempt.

One of the following:
"queued"
"ringing"
"ongoing"
"completed"
"error"
actions: Optional[List[CallCallAttemptAction]]

Tools the agent ran for this attempt, in call and after it, ordered oldest first. This is the decision trail — the delivery trail lives in sms_log / email_log.

id: str
arguments: Dict[str, object]
created_at: object

When the tool ran.

error: Optional[str]
phase: Literal["in_call", "post_call"]
One of the following:
"in_call"
"post_call"
status: Literal["succeeded", "failed"]
One of the following:
"succeeded"
"failed"
tool_name: str
assistant_names: Optional[Dict[str, str]]

Names of the assistants in assistants_used, keyed by id. Only set when the attempt went through several assistants (a multi-step call).

assistants_used: Optional[List[str]]

Assistant node ids entered during this attempt, in traversal order.

email_log: Optional[List[CallCallAttemptEmailLog]]

Notification emails sent in connection with the call, ordered oldest first (from/to addresses, subject, sent time).

id: str
calendar_invite_at: object

Start of the callback or meeting the attached calendar invitation (invite.ics) was for. Null when the email carried no invitation.

created_at: object

When the email was sent.

from_address: str
resend_message_id: Optional[str]
subject: str
to_emails: List[str]
end_reason: Optional[Literal["client_initiated", "connection_timeout", "human_takeover", 13 more]]

Reason for ending the call when ended_by is ‘agent’. E.g. ‘tool_end_call’, ‘voicemail’, ‘transfer’, ‘ivr_no_navigate’.

One of the following:
"client_initiated"
"connection_timeout"
"human_takeover"
"ivr_no_navigate"
"max_duration"
"participant_removed"
"tool_end_call"
"transfer"
"user_inactive"
"user_rejected"
"user_unavailable"
"voicemail"
"speed_dial_abandoned"
"speed_dial_operator_missed"
"speed_dial_timeout"
"speed_dial_hangup"
ended_by: Optional[Literal["agent", "user", "system"]]

Who ended the call: ‘agent’ (AI agent), ‘user’ (caller/callee hung up), or ‘system’ (e.g. max duration limit).

One of the following:
"agent"
"user"
"system"
post_call_transcript: Optional[List[CallCallAttemptPostCallTranscript]]

Higher-quality transcript generated after the call via Soniox async STT. Null until generated or when no recording is available.

content: str
role: Literal["user", "assistant", "human_agent", "tool"]
One of the following:
"user"
"assistant"
"human_agent"
"tool"
tool_arguments: Optional[Union[Dict[str, object], str, null]]
One of the following:
Dict[str, object]
str
tool_is_error: Optional[bool]
tool_name: Optional[str]
tool_output: Optional[str]
sms_log: Optional[List[CallCallAttemptSMSLog]]

Automatic SMS sent after the call (voicemail and after-call), ordered oldest first. The in-call send_sms is excluded — it already appears in the transcript as a tool call.

id: str
created_at: object

When the SMS was sent.

message_body: str
provider: Literal["twilio", "vonage"]
One of the following:
"twilio"
"vonage"
provider_error_code: Optional[str]

The provider’s numeric reason for a terminal failure (e.g. Twilio 30034). Null unless the message failed.

provider_message_id: Optional[str]
provider_status: Optional[str]

Delivery status in the provider’s own vocabulary (Twilio queued/sent/delivered/failed/undelivered), so only interpretable alongside provider. Null when the provider hasn’t reported one — always the case for Vonage, whose receipts we don’t yet parse.

to_phone_number: str
type: Literal["in_call", "voicemail", "after_call"]
One of the following:
"in_call"
"voicemail"
"after_call"
speech_events: Optional[List[CallCallAttemptSpeechEvent]]

Per-turn speech segments (VAD-derived) with timing and pipeline latencies, ordered by started_speaking_at_ms. Empty for calls recorded before this was tracked or for realtime sessions that don’t emit them.

id: str
is_real_turn: bool

False when the segment was flagged as noise/blip rather than a meaningful turn.

llm_system_prompt: Optional[str]

Agent-only: despite the name, the whole prompt the LLM was given for this turn — system instructions plus conversation history — as JSON.

llm_ttft_ms: Optional[float]

Agent-only: LLM time-to-first-token for the reply, in ms.

llm_winner_model: Optional[str]

Agent-only: the model that produced the reply — the winning leg when the LLM is a race, which is also the model llm_ttft_ms describes.

speaker: Literal["user", "agent"]

Who was speaking during this segment.

One of the following:
"user"
"agent"
started_speaking_at_ms: float

Milliseconds since session start when speech began.

stopped_speaking_at_ms: Optional[float]

Milliseconds since session start when speech ended. Null when the session ended before the turn closed.

stt_transcription_delay_ms: Optional[float]

User-only: time from end-of-speech to final transcript, in ms.

transcript: Optional[str]

Recognized text for this segment, when available.

tts_ttfb_ms: Optional[float]

Agent-only: TTS time-to-first-audio-byte for the reply, in ms.

was_cut: Optional[bool]

Agent-only: true when the agent’s audio was interrupted (real or auto-resumed). Null on user segments.

structured_output: Optional[Dict[str, object]]

The data extracted from the call, using the structured output config from the parent call object.

transcript: Optional[List[CallCallAttemptTranscript]]

The live transcript of the call, built in real time.

content: str
role: Literal["user", "assistant", "human_agent", "tool"]
One of the following:
"user"
"assistant"
"human_agent"
"tool"
tool_arguments: Optional[Union[Dict[str, object], str, null]]
One of the following:
Dict[str, object]
str
tool_is_error: Optional[bool]
tool_name: Optional[str]
tool_output: Optional[str]
transferred_to: Optional[str]

The number the call was transferred to, in E.164 format (e.g. +33123456789). Recorded by the agent from the destination it actually dialled, so it is the destination itself and not a name read off the transcript. Null when the call was not transferred, and on transfers placed before this was tracked.

call_retry_config: Optional[CallCallRetryConfig]

Configuration for call retry behavior including time windows, delays, and max iterations. If not provided, defaults will be used.

allowed_days: List[Literal["monday", "tuesday", "wednesday", 4 more]]

Days of the week when calls are allowed, in the recipient’s timezone. Default: Monday through Friday.

One of the following:
"monday"
"tuesday"
"wednesday"
"thursday"
"friday"
"saturday"
"sunday"
call_twice_in_a_row: bool

If true and max_retry_attempts >= 2, attempt #2 fires immediately (skipping retry_delay_seconds) when attempt #1 didn’t reach a human. Calling-window/allowed-days checks still apply. Only affects the 1→2 transition. Default: false.

calling_windows: List[CallCallRetryConfigCallingWindow]
calling_window_end_time: str

End time for the calling window in the recipient’s timezone (or timezone_override if provided). Format: ‘HH:mm’ (24-hour) or ‘H:mma’ (12-hour). Examples: ‘17:00’, ‘6pm’. Default: ‘18:00’.

calling_window_start_time: str

Start time for the calling window in the recipient’s timezone (or timezone_override if provided). Format: ‘HH:mm’ (24-hour) or ‘H:mma’ (12-hour). Examples: ‘09:00’, ‘10am’. Default: ‘10:00’.

retry_delay_seconds: object

Delay between retry attempts in seconds. Values below the 15-minute minimum are raised to it: a shorter delay means calling someone again minutes after they declined. For one deliberate immediate second dial, use call_twice_in_a_row. Default: 7200 (2 hours).

max_retry_attempts: int

Maximum number of call retry attempts. Default: 3.

exclusiveMinimum0
maximum9007199254740991
timezone: Optional[str]

Optional IANA timezone identifier to override the automatic timezone detection from phone number. If not provided, timezone is determined from the recipient’s phone number country code. Examples: ‘America/New_York’, ‘Europe/Paris’.

calls_count: float

The number of call attempts made.

campaign: Optional[CallCampaign]
id: str
name: str
status: Literal["running", "paused", "completed"]
One of the following:
"running"
"paused"
"completed"
channel: Literal["phone", "web"]

web for a test call taken in the browser: its phone number is a placeholder, never dialed.

One of the following:
"phone"
"web"
contact: CallContact

Magic contact variables (prospect identity) extracted from the call’s input data and transcript.

company: Optional[str]
email: Optional[str]
first_name: Optional[str]
job_title: Optional[str]
last_name: Optional[str]
created_at: object

The time the call order was created.

direction: Literal["inbound", "outbound"]

Whether the call is inbound or outbound.

One of the following:
"inbound"
"outbound"
first_sentence_delay_ms: int

Delay in milliseconds before speaking the first sentence. Default: 400.

minimum-9007199254740991
maximum9007199254740991
from_phone_number: str

The phone number that made the call. Formatted in E.164 format. Example: +1234567890

is_cancelled: bool

DEPRECATED: Whether the call has been cancelled. This is derived from status. Use status instead.

is_completed: bool

DEPRECATED: Whether the call has completed. This is derived from status. Use status instead.

last_call_attempt: Optional[CallLastCallAttempt]

This represent a single call attempt. A call attempt is a single call made to the phone number.

id: str

The ID of the call attempt.

answered_at: object

The time the call was answered.

dial_error: Optional[Literal["number_non_attributed", "too_many_calls", "busy", 7 more]]

The SIP error that occurred.

One of the following:
"number_non_attributed"
"too_many_calls"
"busy"
"temporarily_unavailable"
"no_answer"
"rejected"
"blocked"
"no_international_permission"
"precondition_failed"
"non_classified_error"
ended_at: object

The time the call ended.

handled_by_ai: bool

Whether the AI agent conducted the conversation on this attempt. False for a silent speed-dial probe (whose agent only detects a human) and for attempts that were never answered.

handled_by_human: bool

Whether a human conducted (part of) this attempt — a jump-in / speed-dial takeover, or a transfer to a rep.

handled_by_user: Optional[CallLastCallAttemptHandledByUser]

The team member responsible for following up on this call.

id: str

The database user id of the assignee.

email: str
first_name: Optional[str]
last_name: Optional[str]
phone_number: str

The phone number that was called. Formatted in E.164 format. Example: +1234567890

recording_url: Optional[str]

The URL of the audio recording of the call.

result: Optional[Literal["IVR", "voicemail", "human", 2 more]]
One of the following:
"IVR"
"voicemail"
"human"
"unknown"
"screening-filter"
started_at: object

The time the call started.

status: Literal["queued", "ringing", "ongoing", 2 more]

The status of the call attempt.

One of the following:
"queued"
"ringing"
"ongoing"
"completed"
"error"
actions: Optional[List[CallLastCallAttemptAction]]

Tools the agent ran for this attempt, in call and after it, ordered oldest first. This is the decision trail — the delivery trail lives in sms_log / email_log.

id: str
arguments: Dict[str, object]
created_at: object

When the tool ran.

error: Optional[str]
phase: Literal["in_call", "post_call"]
One of the following:
"in_call"
"post_call"
status: Literal["succeeded", "failed"]
One of the following:
"succeeded"
"failed"
tool_name: str
assistant_names: Optional[Dict[str, str]]

Names of the assistants in assistants_used, keyed by id. Only set when the attempt went through several assistants (a multi-step call).

assistants_used: Optional[List[str]]

Assistant node ids entered during this attempt, in traversal order.

email_log: Optional[List[CallLastCallAttemptEmailLog]]

Notification emails sent in connection with the call, ordered oldest first (from/to addresses, subject, sent time).

id: str
calendar_invite_at: object

Start of the callback or meeting the attached calendar invitation (invite.ics) was for. Null when the email carried no invitation.

created_at: object

When the email was sent.

from_address: str
resend_message_id: Optional[str]
subject: str
to_emails: List[str]
end_reason: Optional[Literal["client_initiated", "connection_timeout", "human_takeover", 13 more]]

Reason for ending the call when ended_by is ‘agent’. E.g. ‘tool_end_call’, ‘voicemail’, ‘transfer’, ‘ivr_no_navigate’.

One of the following:
"client_initiated"
"connection_timeout"
"human_takeover"
"ivr_no_navigate"
"max_duration"
"participant_removed"
"tool_end_call"
"transfer"
"user_inactive"
"user_rejected"
"user_unavailable"
"voicemail"
"speed_dial_abandoned"
"speed_dial_operator_missed"
"speed_dial_timeout"
"speed_dial_hangup"
ended_by: Optional[Literal["agent", "user", "system"]]

Who ended the call: ‘agent’ (AI agent), ‘user’ (caller/callee hung up), or ‘system’ (e.g. max duration limit).

One of the following:
"agent"
"user"
"system"
post_call_transcript: Optional[List[CallLastCallAttemptPostCallTranscript]]

Higher-quality transcript generated after the call via Soniox async STT. Null until generated or when no recording is available.

content: str
role: Literal["user", "assistant", "human_agent", "tool"]
One of the following:
"user"
"assistant"
"human_agent"
"tool"
tool_arguments: Optional[Union[Dict[str, object], str, null]]
One of the following:
Dict[str, object]
str
tool_is_error: Optional[bool]
tool_name: Optional[str]
tool_output: Optional[str]
sms_log: Optional[List[CallLastCallAttemptSMSLog]]

Automatic SMS sent after the call (voicemail and after-call), ordered oldest first. The in-call send_sms is excluded — it already appears in the transcript as a tool call.

id: str
created_at: object

When the SMS was sent.

message_body: str
provider: Literal["twilio", "vonage"]
One of the following:
"twilio"
"vonage"
provider_error_code: Optional[str]

The provider’s numeric reason for a terminal failure (e.g. Twilio 30034). Null unless the message failed.

provider_message_id: Optional[str]
provider_status: Optional[str]

Delivery status in the provider’s own vocabulary (Twilio queued/sent/delivered/failed/undelivered), so only interpretable alongside provider. Null when the provider hasn’t reported one — always the case for Vonage, whose receipts we don’t yet parse.

to_phone_number: str
type: Literal["in_call", "voicemail", "after_call"]
One of the following:
"in_call"
"voicemail"
"after_call"
speech_events: Optional[List[CallLastCallAttemptSpeechEvent]]

Per-turn speech segments (VAD-derived) with timing and pipeline latencies, ordered by started_speaking_at_ms. Empty for calls recorded before this was tracked or for realtime sessions that don’t emit them.

id: str
is_real_turn: bool

False when the segment was flagged as noise/blip rather than a meaningful turn.

llm_system_prompt: Optional[str]

Agent-only: despite the name, the whole prompt the LLM was given for this turn — system instructions plus conversation history — as JSON.

llm_ttft_ms: Optional[float]

Agent-only: LLM time-to-first-token for the reply, in ms.

llm_winner_model: Optional[str]

Agent-only: the model that produced the reply — the winning leg when the LLM is a race, which is also the model llm_ttft_ms describes.

speaker: Literal["user", "agent"]

Who was speaking during this segment.

One of the following:
"user"
"agent"
started_speaking_at_ms: float

Milliseconds since session start when speech began.

stopped_speaking_at_ms: Optional[float]

Milliseconds since session start when speech ended. Null when the session ended before the turn closed.

stt_transcription_delay_ms: Optional[float]

User-only: time from end-of-speech to final transcript, in ms.

transcript: Optional[str]

Recognized text for this segment, when available.

tts_ttfb_ms: Optional[float]

Agent-only: TTS time-to-first-audio-byte for the reply, in ms.

was_cut: Optional[bool]

Agent-only: true when the agent’s audio was interrupted (real or auto-resumed). Null on user segments.

structured_output: Optional[Dict[str, object]]

The data extracted from the call, using the structured output config from the parent call object.

transcript: Optional[List[CallLastCallAttemptTranscript]]

The live transcript of the call, built in real time.

content: str
role: Literal["user", "assistant", "human_agent", "tool"]
One of the following:
"user"
"assistant"
"human_agent"
"tool"
tool_arguments: Optional[Union[Dict[str, object], str, null]]
One of the following:
Dict[str, object]
str
tool_is_error: Optional[bool]
tool_name: Optional[str]
tool_output: Optional[str]
transferred_to: Optional[str]

The number the call was transferred to, in E.164 format (e.g. +33123456789). Recorded by the agent from the destination it actually dialled, so it is the destination itself and not a name read off the transcript. Null when the call was not transferred, and on transfers placed before this was tracked.

llm_model: CallLlmModel
One of the following:
class CallLlmModelRecommended: …
type: Literal["recommended"]

The LLM Revox currently recommends for voice agents, chosen server-side and upgraded without any change on your side. No per-assistant configuration.

class CallLlmModelUnionMember1: …
name: Literal["gpt-4.1", "ministral-3-8b-instruct"]
One of the following:
"gpt-4.1"
"ministral-3-8b-instruct"
type: Literal["dedicated-instance"]
class CallLlmModelUnionMember2: …
openrouter_model_id: str

The model ID to use from OpenRouter. eg: openai/gpt-4.1

openrouter_provider: str

The provider to use from OpenRouter. eg: nebius, openai, azure, etc.

type: Literal["openrouter"]

Use a model from OpenRouter.

class CallLlmModelUnionMember3: …
api_key: str

API key sent as Bearer token to the custom endpoint.

minLength1
api_url: str

Base URL for the OpenAI-compatible API, e.g. https://api.together.xyz/v1

formaturi
model_name: str

Model name as expected by the provider, e.g. meta-llama/llama-3-70b

minLength1
type: Literal["custom"]

OpenAI-compatible chat completions API (bring your own endpoint and key).

class CallLlmModelType: …
type: Literal["gemma-4-31b-racing"]

gemma-4-31b raced between two pinned OpenRouter endpoints (modelrun/fp4 and crusoe/bf16), first chunk wins. Served with the server-side OPENROUTER_API_KEY; no per-assistant configuration.

class CallLlmModelUnionMember5: …
model_name: str

Fireworks model id, e.g. accounts/fireworks/models/qwen3-235b-a22b or a dedicated deployment id.

minLength1
type: Literal["fireworks"]

Fireworks AI model, served with the server-side FIREWORKS_API_KEY (no key stored per-assistant).

reasoning_effort: Optional[Literal["none", "low", "medium", "high"]]

Reasoning effort sent with each request. Hybrid-reasoning models (e.g. gemma-4-31b) think by default, which adds latency and can eat the whole token budget before any speakable text: voice agents want ‘none’. Omit for models that reject the knob.

One of the following:
"none"
"low"
"medium"
"high"
class CallLlmModelUnionMember6: …
provider: Literal["openai", "google"]

The provider to use from Realtime. eg: openai, google.

One of the following:
"openai"
"google"
realtime_model_id: str

The model ID to use from Realtime. eg: gpt-4.1

type: Literal["realtime"]

Use a model from Realtime.

realtime_voice_id: Optional[str]

Output voice for the realtime provider (e.g. OpenAI: marin; Gemini: Puck).

minLength1
metadata: Optional[Dict[str, str]]

Metadata stored with the call.

organization_id: str

The ID of the organization that owns the call.

prompt_variables: Optional[Dict[str, str]]

Variables used to interpolate the prompt.

retries_stopped: bool

Whether no further attempt will be made for this call: it was cancelled, or its future attempts were stopped while an attempt was already in progress (that attempt still finishes). Unlike is_cancelled, this is true as soon as retries are stopped, before the call reaches a terminal status.

scheduled_at: object

The time the call order is scheduled to start.

status: Literal["initializing", "queued_for_calling", "calling", 7 more]

The status of the call.

One of the following:
"initializing"
"queued_for_calling"
"calling"
"post_processing"
"not_launched"
"scheduled"
"paused"
"completed"
"cancelled"
"errored"
to_phone_number: str

The phone number that received the call. Formatted in E.164 format. Example: +1234567890

transfer_destinations: Optional[List[CallTransferDestination]]

Where this call can be transferred, if anywhere.

label: str
minLength1
maxLength60
phone_number: str
updated_at: object

The time the call order was last updated (any state change, retry, or analysis result).

callback_from: Optional[CallCallbackFrom]

For an inbound call only: the outbound call this one answers, when the prospect rang us back after we called them. Null for every other call.

call_id: str
created_at: object
cancel_reason: Optional[Literal["prospect_called_back"]]

Why the call was cancelled, when it can be told. prospect_called_back: the prospect called back before the next retry, so the pending retry was cancelled and their call is recorded as a separate inbound call. Null for a manual or campaign cancel, and for calls that are not cancelled.

do_not_call: Optional[bool]

True when the prospect’s phone number is on the do-not-call list: it can no longer be called.

outcome: Optional[Literal["not_interested", "interested", "completed", "requested_callback_later"]]

Business outcome of the call. Null if not computed or no transcript.

One of the following:
"not_interested"
"interested"
"completed"
"requested_callback_later"
outcome_summary: Optional[str]

LLM explanation for the outcome, when outcome was computed from the transcript.

prompt_version: Optional[CallPromptVersion]

The assistant prompt version the call’s prompt was compiled from. Null for calls created before versions were tracked, and for calls made with an inline assistant.

id: str

The ID of the assistant prompt version.

latest_number: int

The number of the assistant’s current prompt version. Higher than number when the call was left on an older version, e.g. because it lacks a variable the newer prompt uses.

minimum-9007199254740991
maximum9007199254740991
number: int

The version’s number in the assistant’s prompt history (v1 is the oldest).

minimum-9007199254740991
maximum9007199254740991
visual_number: Optional[int]

Campaign-scoped display number for the call (“#14” on the live campaign board), assigned when a human answers. Null outside campaigns or before a human picked up. Gaps are normal.

minimum-9007199254740991
maximum9007199254740991
total_count: float
class CallExportResponse: …
csv: str
filename: str
next_offset: Optional[int]

Non-null when the export was split because this file reached the 4MB cap: pass it as offset in a follow-up call to get the next file. Null when this file completes the export.

minimum-9007199254740991
maximum9007199254740991
class CallPauseResponse: …
success: bool
class CallResumeResponse: …
success: bool
class CallCancelResponse: …
success: bool
class CallPhoneHistoryResponse: …
phone_history: Dict[str, PhoneHistory]
campaigns: List[PhoneHistoryCampaign]
id: str
name: str
count: float
do_not_contact: bool
hot: bool
last_called_at: Optional[str]
last_outcome: Optional[Literal["not_interested", "interested", "completed", "requested_callback_later"]]
One of the following:
"not_interested"
"interested"
"completed"
"requested_callback_later"
reached_human: bool