> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.vapi.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.vapi.ai/_mcp/server.

# Server Message

POST https://{yourserver}.com/server
Content-Type: application/json



Reference: https://docs.vapi.ai/api-reference/webhooks/server-message

## Request

### Body (application/json)

This endpoint expects a ServerMessage.

- `message` (ServerMessageMessage, required) — These are all the messages that can be sent to your server before, after and during the call. Configure the messages you'd like to receive in `assistant.serverMessages`. The server where the message is sent is determined by the following precedence order: 1. `tool.server.url` (if configured, and only for "tool-calls" message) 2. `assistant.serverUrl` (if configure) 3. `phoneNumber.serverUrl` (if configured) 4. `org.serverUrl` (if configured)

## Response

### 200

This is the response that is expected from the server to the message. Note: Most messages don't expect a response. Only "assistant-request", "tool-calls" and "transfer-destination-request" do.

- `messageResponse` (ServerMessageResponseMessageResponse, required) — This is the response that is expected from the server to the message. Note: Most messages don't expect a response. Only "assistant-request", "tool-calls" and "transfer-destination-request" do.

## Types

### ServerMessageMessage

These are all the messages that can be sent to your server before, after and during the call. Configure the messages you'd like to receive in `assistant.serverMessages`. The server where the message is sent is determined by the following precedence order: 1. `tool.server.url` (if configured, and only for "tool-calls" message) 2. `assistant.serverUrl` (if configure) 3. `phoneNumber.serverUrl` (if configured) 4. `org.serverUrl` (if configured)

- AssistantRequest: ServerMessageAssistantRequest
- ConversationUpdate: ServerMessageConversationUpdate
- EndOfCallReport: ServerMessageEndOfCallReport
- HandoffDestinationRequest: ServerMessageHandoffDestinationRequest
- Hang: ServerMessageHang
- KnowledgeBaseRequest: ServerMessageKnowledgeBaseRequest
- ModelOutput: ServerMessageModelOutput
- PhoneCallControl: ServerMessagePhoneCallControl
- SpeechUpdate: ServerMessageSpeechUpdate
- StatusUpdate: ServerMessageStatusUpdate
- ToolCalls: ServerMessageToolCalls
- TransferDestinationRequest: ServerMessageTransferDestinationRequest
- TransferUpdate: ServerMessageTransferUpdate
- Transcript: ServerMessageTranscript
- UserInterrupted: ServerMessageUserInterrupted
- LanguageChangeDetected: ServerMessageLanguageChangeDetected
- VoiceInput: ServerMessageVoiceInput
- AssistantSpeech: ServerMessageAssistantSpeech
- VoiceRequest: ServerMessageVoiceRequest
- CallEndpointingRequest: ServerMessageCallEndpointingRequest
- ChatCreated: ServerMessageChatCreated
- ChatDeleted: ServerMessageChatDeleted
- SessionCreated: ServerMessageSessionCreated
- SessionUpdated: ServerMessageSessionUpdated
- SessionDeleted: ServerMessageSessionDeleted
- CallDeleted: ServerMessageCallDeleted
- CallDeleteFailed: ServerMessageCallDeleteFailed
- CallArtifactUpload: ServerMessageCallArtifactUpload
- CampaignPredial: ServerMessageCampaignPredial

### ServerMessageResponseMessageResponse

This is the response that is expected from the server to the message. Note: Most messages don't expect a response. Only "assistant-request", "tool-calls" and "transfer-destination-request" do.

- AssistantRequest: ServerMessageResponseAssistantRequest
- HandoffDestinationRequest: ServerMessageResponseHandoffDestinationRequest
- KnowledgeBaseRequest: ServerMessageResponseKnowledgeBaseRequest
- ToolCalls: ServerMessageResponseToolCalls
- TransferDestinationRequest: ServerMessageResponseTransferDestinationRequest
- VoiceRequest: ServerMessageResponseVoiceRequest
- CallEndpointingRequest: ServerMessageResponseCallEndpointingRequest
- CampaignPredial: ServerMessageResponseCampaignPredial

### ServerMessageAssistantRequest

- `type` (enum, required) — This is the type of the message. "assistant-request" is sent to fetch assistant configuration for an incoming call.
  - Allowed values: `assistant-request`
- `phoneNumber` (ServerMessageAssistantRequestPhoneNumber, optional) — This is the phone number that the message is associated with.
- `assistantVersion` (string, optional, nullable) — This is the version label (e.g. `v3`) of the assistant the call was configured with. `null` for inline assistants, squad/workflow calls, pre-resolution assistant-request messages, and orgs not on assistant versioning.
- `timestamp` (double, optional) — This is the timestamp of the message.
- `artifact` (Artifact, optional) — This is a live version of the `call.artifact`. This matches what is stored on `call.artifact` after the call.
- `assistant` (CreateAssistantDTO, optional) — This is the assistant that the message is associated with.
- `customer` (CreateCustomerDTO, optional) — This is the customer that the message is associated with.
- `call` (Call, optional) — This is the call that the message is associated with.
- `chat` (Chat, optional) — This is the chat object.

### ServerMessageConversationUpdate

- `type` (enum, required) — This is the type of the message. "conversation-update" is sent when an update is committed to the conversation history.
  - Allowed values: `conversation-update`
- `messagesOpenAIFormatted` (list of OpenAIMessage, required) — This is the most up-to-date conversation history at the time the message is sent, formatted for OpenAI.
- `phoneNumber` (ServerMessageConversationUpdatePhoneNumber, optional) — This is the phone number that the message is associated with.
- `assistantVersion` (string, optional, nullable) — This is the version label (e.g. `v3`) of the assistant the call was configured with. `null` for inline assistants, squad/workflow calls, pre-resolution assistant-request messages, and orgs not on assistant versioning.
- `messages` (list of ServerMessageConversationUpdateMessagesItems, optional) — This is the most up-to-date conversation history at the time the message is sent.
- `timestamp` (double, optional) — This is the timestamp of the message.
- `artifact` (Artifact, optional) — This is a live version of the `call.artifact`. This matches what is stored on `call.artifact` after the call.
- `assistant` (CreateAssistantDTO, optional) — This is the assistant that the message is associated with.
- `customer` (CreateCustomerDTO, optional) — This is the customer that the message is associated with.
- `call` (Call, optional) — This is the call that the message is associated with.
- `chat` (Chat, optional) — This is the chat object.

### ServerMessageEndOfCallReport

- `type` (enum, required) — This is the type of the message. "end-of-call-report" is sent when the call ends and post-processing is complete.
  - Allowed values: `end-of-call-report`
- `endedReason` (enum, required) — This is the reason the call ended. This can also be found at `call.endedReason` on GET /call/:id.
  - Allowed values: `call.in-progress.error-vapifault-guardrail-evaluation-failed`, `call.in-progress.error-vapifault-guardrail-playback-timeout`, `call.in-progress.guardrail-blocked`, `call.in-progress.error-vapifault-call-start-failed`, `call.in-progress.error-vapifault-assistant-handoff-start-failed`, `call-start-error-neither-assistant-nor-server-set`, `assistant-request-failed`, `assistant-request-returned-error`, `assistant-request-returned-unspeakable-error`, `assistant-request-returned-invalid-assistant`, `assistant-request-returned-no-assistant`, `assistant-request-returned-forwarding-phone-number`, `scheduled-call-deleted`, `call.start.error-vapifault-get-org`, `call.start.error-vapifault-get-subscription`, `call.start.error-get-assistant`, `call.start.error-get-phone-number`, `call.start.error-get-customer`, `call.start.error-get-resources-validation`, `call.start.error-vapi-number-international`, `call.start.error-vapi-number-outbound-daily-limit`, `call.start.error-get-transport`, `call.start.error-subscription-wallet-does-not-exist`, `call.start.error-fraud-check-failed`, `call.start.error-subscription-frozen`, `call.start.error-subscription-insufficient-credits`, `call.start.error-subscription-upgrade-failed`, `call.start.error-subscription-concurrency-limit-reached`, `call.start.error-enterprise-feature-not-available-recording-consent`, `call.start.assistant-version-error-validation`, `call.start.squad-version-error-validation`, `assistant-not-valid`, `call.in-progress.error-vapifault-guardrail-evaluation-failed`, `call.in-progress.error-vapifault-guardrail-playback-timeout`, `call.in-progress.error-vapifault-call-start-failed`, `call.in-progress.error-vapifault-assistant-handoff-start-failed`, `call.start.error-vapifault-database-error`, `assistant-not-found`, `pipeline-error-openai-voice-failed`, `pipeline-error-cartesia-voice-failed`, `pipeline-error-deepgram-voice-failed`, `pipeline-error-eleven-labs-voice-failed`, `pipeline-error-playht-voice-failed`, `pipeline-error-lmnt-voice-failed`, `pipeline-error-azure-voice-failed`, `pipeline-error-rime-ai-voice-failed`, `pipeline-error-smallest-ai-voice-failed`, `pipeline-error-vapi-voice-failed`, `pipeline-error-neuphonic-voice-failed`, `pipeline-error-hume-voice-failed`, `pipeline-error-sesame-voice-failed`, `pipeline-error-inworld-voice-failed`, `pipeline-error-minimax-voice-failed`, `pipeline-error-wellsaid-voice-failed`, `pipeline-error-xai-voice-failed`, `pipeline-error-microsoft-voice-failed`, `pipeline-error-microsoft-voice-request-canceled`, `pipeline-error-tavus-video-failed`, `call.in-progress.error-vapifault-openai-voice-failed`, `call.in-progress.error-vapifault-cartesia-voice-failed`, `call.in-progress.error-vapifault-deepgram-voice-failed`, `call.in-progress.error-vapifault-eleven-labs-voice-failed`, `call.in-progress.error-vapifault-playht-voice-failed`, `call.in-progress.error-vapifault-lmnt-voice-failed`, `call.in-progress.error-vapifault-azure-voice-failed`, `call.in-progress.error-vapifault-rime-ai-voice-failed`, `call.in-progress.error-vapifault-smallest-ai-voice-failed`, `call.in-progress.error-vapifault-vapi-voice-failed`, `call.in-progress.error-vapifault-neuphonic-voice-failed`, `call.in-progress.error-vapifault-hume-voice-failed`, `call.in-progress.error-vapifault-sesame-voice-failed`, `call.in-progress.error-vapifault-inworld-voice-failed`, `call.in-progress.error-vapifault-minimax-voice-failed`, `call.in-progress.error-vapifault-wellsaid-voice-failed`, `call.in-progress.error-vapifault-xai-voice-failed`, `call.in-progress.error-vapifault-microsoft-voice-failed`, `call.in-progress.error-vapifault-tavus-video-failed`, `pipeline-error-vapi-llm-failed`, `pipeline-error-vapi-400-bad-request-validation-failed`, `pipeline-error-vapi-401-unauthorized`, `pipeline-error-vapi-403-model-access-denied`, `pipeline-error-vapi-429-exceeded-quota`, `pipeline-error-vapi-500-server-error`, `pipeline-error-vapi-503-server-overloaded-error`, `call.in-progress.error-providerfault-vapi-llm-failed`, `call.in-progress.error-vapifault-vapi-llm-failed`, `call.in-progress.error-vapifault-vapi-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-vapi-401-unauthorized`, `call.in-progress.error-vapifault-vapi-403-model-access-denied`, `call.in-progress.error-vapifault-vapi-429-exceeded-quota`, `call.in-progress.error-providerfault-vapi-500-server-error`, `call.in-progress.error-providerfault-vapi-503-server-overloaded-error`, `pipeline-error-vapi-transcriber-failed`, `call.in-progress.error-vapifault-vapi-transcriber-failed`, `call.in-progress.error-providerfault-vapi-transcriber-failed`, `call.in-progress.error-providerfault-vapi-voice-failed`, `pipeline-error-deepgram-transcriber-failed`, `pipeline-error-deepgram-transcriber-api-key-missing`, `call.in-progress.error-vapifault-deepgram-transcriber-failed`, `pipeline-error-gladia-transcriber-failed`, `call.in-progress.error-vapifault-gladia-transcriber-failed`, `pipeline-error-speechmatics-transcriber-failed`, `call.in-progress.error-vapifault-speechmatics-transcriber-failed`, `pipeline-error-assembly-ai-transcriber-failed`, `pipeline-error-assembly-ai-returning-400-insufficent-funds`, `pipeline-error-assembly-ai-returning-400-paid-only-feature`, `pipeline-error-assembly-ai-returning-401-invalid-credentials`, `pipeline-error-assembly-ai-returning-500-invalid-schema`, `pipeline-error-assembly-ai-returning-500-word-boost-parsing-failed`, `call.in-progress.error-vapifault-assembly-ai-transcriber-failed`, `call.in-progress.error-vapifault-assembly-ai-returning-400-insufficent-funds`, `call.in-progress.error-vapifault-assembly-ai-returning-400-paid-only-feature`, `call.in-progress.error-vapifault-assembly-ai-returning-401-invalid-credentials`, `call.in-progress.error-vapifault-assembly-ai-returning-500-invalid-schema`, `call.in-progress.error-vapifault-assembly-ai-returning-500-word-boost-parsing-failed`, `pipeline-error-talkscriber-transcriber-failed`, `call.in-progress.error-vapifault-talkscriber-transcriber-failed`, `pipeline-error-azure-speech-transcriber-failed`, `call.in-progress.error-vapifault-azure-speech-transcriber-failed`, `pipeline-error-eleven-labs-transcriber-failed`, `call.in-progress.error-vapifault-eleven-labs-transcriber-failed`, `pipeline-error-google-transcriber-failed`, `call.in-progress.error-vapifault-google-transcriber-failed`, `pipeline-error-openai-transcriber-failed`, `call.in-progress.error-vapifault-openai-transcriber-failed`, `pipeline-error-soniox-transcriber-auth-failed`, `pipeline-error-soniox-transcriber-rate-limited`, `pipeline-error-soniox-transcriber-invalid-config`, `pipeline-error-soniox-transcriber-server-error`, `pipeline-error-soniox-transcriber-failed`, `call.in-progress.error-vapifault-soniox-transcriber-auth-failed`, `call.in-progress.error-vapifault-soniox-transcriber-rate-limited`, `call.in-progress.error-vapifault-soniox-transcriber-invalid-config`, `call.in-progress.error-vapifault-soniox-transcriber-server-error`, `call.in-progress.error-vapifault-soniox-transcriber-failed`, `pipeline-error-xai-transcriber-auth-failed`, `pipeline-error-xai-transcriber-rate-limited`, `pipeline-error-xai-transcriber-invalid-config`, `pipeline-error-xai-transcriber-server-error`, `pipeline-error-xai-transcriber-failed`, `call.in-progress.error-vapifault-xai-transcriber-auth-failed`, `call.in-progress.error-vapifault-xai-transcriber-rate-limited`, `call.in-progress.error-vapifault-xai-transcriber-invalid-config`, `call.in-progress.error-vapifault-xai-transcriber-server-error`, `call.in-progress.error-vapifault-xai-transcriber-failed`, `pipeline-error-reson8-transcriber-auth-failed`, `pipeline-error-reson8-transcriber-rate-limited`, `pipeline-error-reson8-transcriber-invalid-config`, `pipeline-error-reson8-transcriber-closed`, `pipeline-error-reson8-transcriber-failed`, `call.in-progress.error-vapifault-reson8-transcriber-auth-failed`, `call.in-progress.error-vapifault-reson8-transcriber-rate-limited`, `call.in-progress.error-vapifault-reson8-transcriber-invalid-config`, `call.in-progress.error-vapifault-reson8-transcriber-closed`, `call.in-progress.error-vapifault-reson8-transcriber-failed`, `pipeline-error-cartesia-transcriber-failed`, `call.in-progress.error-vapifault-cartesia-transcriber-failed`, `call.in-progress.error-pipeline-no-available-llm-model`, `worker-shutdown`, `vonage-disconnected`, `vonage-failed-to-connect-call`, `vonage-completed`, `phone-call-provider-bypass-enabled-but-no-call-received`, `call.in-progress.error-providerfault-transport-never-connected`, `call.start.error-vapifault-worker-not-available`, `call.in-progress.error-vapifault-worker-not-available`, `call.in-progress.error-vapifault-transport-never-connected`, `call.in-progress.error-vapifault-transport-connected-but-call-not-active`, `call.in-progress.error-vapifault-call-started-but-connection-to-transport-missing`, `call.in-progress.error-vapifault-worker-died`, `call.in-progress.twilio-completed-call`, `call.in-progress.sip-completed-call`, `call.in-progress.error-sip-inbound-call-failed-to-connect`, `call.in-progress.error-providerfault-outbound-sip-503-service-unavailable`, `call.in-progress.error-sip-outbound-call-failed-to-connect`, `call.ringing.error-sip-inbound-call-failed-to-connect`, `call.in-progress.error-providerfault-openai-llm-failed`, `call.in-progress.error-providerfault-azure-openai-llm-failed`, `call.in-progress.error-providerfault-groq-llm-failed`, `call.in-progress.error-providerfault-google-llm-failed`, `call.in-progress.error-providerfault-xai-llm-failed`, `call.in-progress.error-providerfault-mistral-llm-failed`, `call.in-progress.error-providerfault-minimax-llm-failed`, `call.in-progress.error-providerfault-inflection-ai-llm-failed`, `call.in-progress.error-providerfault-cerebras-llm-failed`, `call.in-progress.error-providerfault-deep-seek-llm-failed`, `call.in-progress.error-providerfault-baseten-llm-failed`, `call.in-progress.error-vapifault-chat-pipeline-failed-to-start`, `call.in-progress.error-configfault-model-unsupported-in-squad`, `call.in-progress.error-configfault-transport-unsupported-for-model`, `pipeline-error-openai-400-bad-request-validation-failed`, `pipeline-error-openai-401-unauthorized`, `pipeline-error-openai-401-incorrect-api-key`, `pipeline-error-openai-401-account-not-in-organization`, `pipeline-error-openai-403-model-access-denied`, `pipeline-error-openai-429-exceeded-quota`, `pipeline-error-openai-429-rate-limit-reached`, `pipeline-error-openai-500-server-error`, `pipeline-error-openai-503-server-overloaded-error`, `pipeline-error-openai-llm-failed`, `call.in-progress.error-vapifault-openai-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-openai-401-unauthorized`, `call.in-progress.error-vapifault-openai-401-incorrect-api-key`, `call.in-progress.error-vapifault-openai-401-account-not-in-organization`, `call.in-progress.error-vapifault-openai-403-model-access-denied`, `call.in-progress.error-vapifault-openai-429-exceeded-quota`, `call.in-progress.error-vapifault-openai-429-rate-limit-reached`, `call.in-progress.error-providerfault-openai-500-server-error`, `call.in-progress.error-providerfault-openai-503-server-overloaded-error`, `pipeline-error-azure-openai-400-bad-request-validation-failed`, `pipeline-error-azure-openai-401-unauthorized`, `pipeline-error-azure-openai-403-model-access-denied`, `pipeline-error-azure-openai-429-exceeded-quota`, `pipeline-error-azure-openai-500-server-error`, `pipeline-error-azure-openai-503-server-overloaded-error`, `pipeline-error-azure-openai-llm-failed`, `call.in-progress.error-vapifault-azure-openai-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-azure-openai-401-unauthorized`, `call.in-progress.error-vapifault-azure-openai-403-model-access-denied`, `call.in-progress.error-vapifault-azure-openai-429-exceeded-quota`, `call.in-progress.error-providerfault-azure-openai-500-server-error`, `call.in-progress.error-providerfault-azure-openai-503-server-overloaded-error`, `pipeline-error-google-400-bad-request-validation-failed`, `pipeline-error-google-401-unauthorized`, `pipeline-error-google-403-model-access-denied`, `pipeline-error-google-429-exceeded-quota`, `pipeline-error-google-500-server-error`, `pipeline-error-google-503-server-overloaded-error`, `pipeline-error-google-llm-failed`, `call.in-progress.error-vapifault-google-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-google-401-unauthorized`, `call.in-progress.error-vapifault-google-403-model-access-denied`, `call.in-progress.error-vapifault-google-429-exceeded-quota`, `call.in-progress.error-providerfault-google-500-server-error`, `call.in-progress.error-providerfault-google-503-server-overloaded-error`, `pipeline-error-xai-400-bad-request-validation-failed`, `pipeline-error-xai-401-unauthorized`, `pipeline-error-xai-403-model-access-denied`, `pipeline-error-xai-429-exceeded-quota`, `pipeline-error-xai-500-server-error`, `pipeline-error-xai-503-server-overloaded-error`, `pipeline-error-xai-llm-failed`, `call.in-progress.error-vapifault-xai-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-xai-401-unauthorized`, `call.in-progress.error-vapifault-xai-403-model-access-denied`, `call.in-progress.error-vapifault-xai-429-exceeded-quota`, `call.in-progress.error-providerfault-xai-500-server-error`, `call.in-progress.error-providerfault-xai-503-server-overloaded-error`, `pipeline-error-baseten-400-bad-request-validation-failed`, `pipeline-error-baseten-401-unauthorized`, `pipeline-error-baseten-403-model-access-denied`, `pipeline-error-baseten-429-exceeded-quota`, `pipeline-error-baseten-500-server-error`, `pipeline-error-baseten-503-server-overloaded-error`, `pipeline-error-baseten-llm-failed`, `call.in-progress.error-vapifault-baseten-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-baseten-401-unauthorized`, `call.in-progress.error-vapifault-baseten-403-model-access-denied`, `call.in-progress.error-vapifault-baseten-429-exceeded-quota`, `call.in-progress.error-providerfault-baseten-500-server-error`, `call.in-progress.error-providerfault-baseten-503-server-overloaded-error`, `pipeline-error-mistral-400-bad-request-validation-failed`, `pipeline-error-mistral-401-unauthorized`, `pipeline-error-mistral-403-model-access-denied`, `pipeline-error-mistral-429-exceeded-quota`, `pipeline-error-mistral-500-server-error`, `pipeline-error-mistral-503-server-overloaded-error`, `pipeline-error-mistral-llm-failed`, `call.in-progress.error-vapifault-mistral-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-mistral-401-unauthorized`, `call.in-progress.error-vapifault-mistral-403-model-access-denied`, `call.in-progress.error-vapifault-mistral-429-exceeded-quota`, `call.in-progress.error-providerfault-mistral-500-server-error`, `call.in-progress.error-providerfault-mistral-503-server-overloaded-error`, `pipeline-error-minimax-400-bad-request-validation-failed`, `pipeline-error-minimax-401-unauthorized`, `pipeline-error-minimax-403-model-access-denied`, `pipeline-error-minimax-429-exceeded-quota`, `pipeline-error-minimax-500-server-error`, `pipeline-error-minimax-503-server-overloaded-error`, `pipeline-error-minimax-llm-failed`, `call.in-progress.error-vapifault-minimax-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-minimax-401-unauthorized`, `call.in-progress.error-vapifault-minimax-403-model-access-denied`, `call.in-progress.error-vapifault-minimax-429-exceeded-quota`, `call.in-progress.error-providerfault-minimax-500-server-error`, `call.in-progress.error-providerfault-minimax-503-server-overloaded-error`, `pipeline-error-inflection-ai-400-bad-request-validation-failed`, `pipeline-error-inflection-ai-401-unauthorized`, `pipeline-error-inflection-ai-403-model-access-denied`, `pipeline-error-inflection-ai-429-exceeded-quota`, `pipeline-error-inflection-ai-500-server-error`, `pipeline-error-inflection-ai-503-server-overloaded-error`, `pipeline-error-inflection-ai-llm-failed`, `call.in-progress.error-vapifault-inflection-ai-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-inflection-ai-401-unauthorized`, `call.in-progress.error-vapifault-inflection-ai-403-model-access-denied`, `call.in-progress.error-vapifault-inflection-ai-429-exceeded-quota`, `call.in-progress.error-providerfault-inflection-ai-500-server-error`, `call.in-progress.error-providerfault-inflection-ai-503-server-overloaded-error`, `pipeline-error-deep-seek-400-bad-request-validation-failed`, `pipeline-error-deep-seek-401-unauthorized`, `pipeline-error-deep-seek-403-model-access-denied`, `pipeline-error-deep-seek-429-exceeded-quota`, `pipeline-error-deep-seek-500-server-error`, `pipeline-error-deep-seek-503-server-overloaded-error`, `pipeline-error-deep-seek-llm-failed`, `call.in-progress.error-vapifault-deep-seek-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-deep-seek-401-unauthorized`, `call.in-progress.error-vapifault-deep-seek-403-model-access-denied`, `call.in-progress.error-vapifault-deep-seek-429-exceeded-quota`, `call.in-progress.error-providerfault-deep-seek-500-server-error`, `call.in-progress.error-providerfault-deep-seek-503-server-overloaded-error`, `pipeline-error-groq-400-bad-request-validation-failed`, `pipeline-error-groq-401-unauthorized`, `pipeline-error-groq-403-model-access-denied`, `pipeline-error-groq-429-exceeded-quota`, `pipeline-error-groq-500-server-error`, `pipeline-error-groq-503-server-overloaded-error`, `pipeline-error-groq-llm-failed`, `call.in-progress.error-vapifault-groq-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-groq-401-unauthorized`, `call.in-progress.error-vapifault-groq-403-model-access-denied`, `call.in-progress.error-vapifault-groq-429-exceeded-quota`, `call.in-progress.error-providerfault-groq-500-server-error`, `call.in-progress.error-providerfault-groq-503-server-overloaded-error`, `pipeline-error-cerebras-400-bad-request-validation-failed`, `pipeline-error-cerebras-401-unauthorized`, `pipeline-error-cerebras-403-model-access-denied`, `pipeline-error-cerebras-429-exceeded-quota`, `pipeline-error-cerebras-500-server-error`, `pipeline-error-cerebras-503-server-overloaded-error`, `pipeline-error-cerebras-llm-failed`, `call.in-progress.error-vapifault-cerebras-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-cerebras-401-unauthorized`, `call.in-progress.error-vapifault-cerebras-403-model-access-denied`, `call.in-progress.error-vapifault-cerebras-429-exceeded-quota`, `call.in-progress.error-providerfault-cerebras-500-server-error`, `call.in-progress.error-providerfault-cerebras-503-server-overloaded-error`, `pipeline-error-anthropic-400-bad-request-validation-failed`, `pipeline-error-anthropic-401-unauthorized`, `pipeline-error-anthropic-403-model-access-denied`, `pipeline-error-anthropic-429-exceeded-quota`, `pipeline-error-anthropic-500-server-error`, `pipeline-error-anthropic-503-server-overloaded-error`, `pipeline-error-anthropic-llm-failed`, `call.in-progress.error-providerfault-anthropic-llm-failed`, `call.in-progress.error-vapifault-anthropic-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-anthropic-401-unauthorized`, `call.in-progress.error-vapifault-anthropic-403-model-access-denied`, `call.in-progress.error-vapifault-anthropic-429-exceeded-quota`, `call.in-progress.error-providerfault-anthropic-500-server-error`, `call.in-progress.error-providerfault-anthropic-503-server-overloaded-error`, `pipeline-error-anthropic-bedrock-400-bad-request-validation-failed`, `pipeline-error-anthropic-bedrock-401-unauthorized`, `pipeline-error-anthropic-bedrock-403-model-access-denied`, `pipeline-error-anthropic-bedrock-429-exceeded-quota`, `pipeline-error-anthropic-bedrock-500-server-error`, `pipeline-error-anthropic-bedrock-503-server-overloaded-error`, `pipeline-error-anthropic-bedrock-llm-failed`, `call.in-progress.error-providerfault-anthropic-bedrock-llm-failed`, `call.in-progress.error-vapifault-anthropic-bedrock-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-anthropic-bedrock-401-unauthorized`, `call.in-progress.error-vapifault-anthropic-bedrock-403-model-access-denied`, `call.in-progress.error-vapifault-anthropic-bedrock-429-exceeded-quota`, `call.in-progress.error-providerfault-anthropic-bedrock-500-server-error`, `call.in-progress.error-providerfault-anthropic-bedrock-503-server-overloaded-error`, `pipeline-error-anthropic-vertex-400-bad-request-validation-failed`, `pipeline-error-anthropic-vertex-401-unauthorized`, `pipeline-error-anthropic-vertex-403-model-access-denied`, `pipeline-error-anthropic-vertex-429-exceeded-quota`, `pipeline-error-anthropic-vertex-500-server-error`, `pipeline-error-anthropic-vertex-503-server-overloaded-error`, `pipeline-error-anthropic-vertex-llm-failed`, `call.in-progress.error-providerfault-anthropic-vertex-llm-failed`, `call.in-progress.error-vapifault-anthropic-vertex-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-anthropic-vertex-401-unauthorized`, `call.in-progress.error-vapifault-anthropic-vertex-403-model-access-denied`, `call.in-progress.error-vapifault-anthropic-vertex-429-exceeded-quota`, `call.in-progress.error-providerfault-anthropic-vertex-500-server-error`, `call.in-progress.error-providerfault-anthropic-vertex-503-server-overloaded-error`, `pipeline-error-together-ai-400-bad-request-validation-failed`, `pipeline-error-together-ai-401-unauthorized`, `pipeline-error-together-ai-403-model-access-denied`, `pipeline-error-together-ai-429-exceeded-quota`, `pipeline-error-together-ai-500-server-error`, `pipeline-error-together-ai-503-server-overloaded-error`, `pipeline-error-together-ai-llm-failed`, `call.in-progress.error-providerfault-together-ai-llm-failed`, `call.in-progress.error-vapifault-together-ai-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-together-ai-401-unauthorized`, `call.in-progress.error-vapifault-together-ai-403-model-access-denied`, `call.in-progress.error-vapifault-together-ai-429-exceeded-quota`, `call.in-progress.error-providerfault-together-ai-500-server-error`, `call.in-progress.error-providerfault-together-ai-503-server-overloaded-error`, `pipeline-error-anyscale-400-bad-request-validation-failed`, `pipeline-error-anyscale-401-unauthorized`, `pipeline-error-anyscale-403-model-access-denied`, `pipeline-error-anyscale-429-exceeded-quota`, `pipeline-error-anyscale-500-server-error`, `pipeline-error-anyscale-503-server-overloaded-error`, `pipeline-error-anyscale-llm-failed`, `call.in-progress.error-providerfault-anyscale-llm-failed`, `call.in-progress.error-vapifault-anyscale-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-anyscale-401-unauthorized`, `call.in-progress.error-vapifault-anyscale-403-model-access-denied`, `call.in-progress.error-vapifault-anyscale-429-exceeded-quota`, `call.in-progress.error-providerfault-anyscale-500-server-error`, `call.in-progress.error-providerfault-anyscale-503-server-overloaded-error`, `pipeline-error-openrouter-400-bad-request-validation-failed`, `pipeline-error-openrouter-401-unauthorized`, `pipeline-error-openrouter-403-model-access-denied`, `pipeline-error-openrouter-429-exceeded-quota`, `pipeline-error-openrouter-500-server-error`, `pipeline-error-openrouter-503-server-overloaded-error`, `pipeline-error-openrouter-llm-failed`, `call.in-progress.error-providerfault-openrouter-llm-failed`, `call.in-progress.error-vapifault-openrouter-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-openrouter-401-unauthorized`, `call.in-progress.error-vapifault-openrouter-403-model-access-denied`, `call.in-progress.error-vapifault-openrouter-429-exceeded-quota`, `call.in-progress.error-providerfault-openrouter-500-server-error`, `call.in-progress.error-providerfault-openrouter-503-server-overloaded-error`, `pipeline-error-perplexity-ai-400-bad-request-validation-failed`, `pipeline-error-perplexity-ai-401-unauthorized`, `pipeline-error-perplexity-ai-403-model-access-denied`, `pipeline-error-perplexity-ai-429-exceeded-quota`, `pipeline-error-perplexity-ai-500-server-error`, `pipeline-error-perplexity-ai-503-server-overloaded-error`, `pipeline-error-perplexity-ai-llm-failed`, `call.in-progress.error-providerfault-perplexity-ai-llm-failed`, `call.in-progress.error-vapifault-perplexity-ai-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-perplexity-ai-401-unauthorized`, `call.in-progress.error-vapifault-perplexity-ai-403-model-access-denied`, `call.in-progress.error-vapifault-perplexity-ai-429-exceeded-quota`, `call.in-progress.error-providerfault-perplexity-ai-500-server-error`, `call.in-progress.error-providerfault-perplexity-ai-503-server-overloaded-error`, `pipeline-error-deepinfra-400-bad-request-validation-failed`, `pipeline-error-deepinfra-401-unauthorized`, `pipeline-error-deepinfra-403-model-access-denied`, `pipeline-error-deepinfra-429-exceeded-quota`, `pipeline-error-deepinfra-500-server-error`, `pipeline-error-deepinfra-503-server-overloaded-error`, `pipeline-error-deepinfra-llm-failed`, `call.in-progress.error-providerfault-deepinfra-llm-failed`, `call.in-progress.error-vapifault-deepinfra-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-deepinfra-401-unauthorized`, `call.in-progress.error-vapifault-deepinfra-403-model-access-denied`, `call.in-progress.error-vapifault-deepinfra-429-exceeded-quota`, `call.in-progress.error-providerfault-deepinfra-500-server-error`, `call.in-progress.error-providerfault-deepinfra-503-server-overloaded-error`, `pipeline-error-runpod-400-bad-request-validation-failed`, `pipeline-error-runpod-401-unauthorized`, `pipeline-error-runpod-403-model-access-denied`, `pipeline-error-runpod-429-exceeded-quota`, `pipeline-error-runpod-500-server-error`, `pipeline-error-runpod-503-server-overloaded-error`, `pipeline-error-runpod-llm-failed`, `call.in-progress.error-providerfault-runpod-llm-failed`, `call.in-progress.error-vapifault-runpod-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-runpod-401-unauthorized`, `call.in-progress.error-vapifault-runpod-403-model-access-denied`, `call.in-progress.error-vapifault-runpod-429-exceeded-quota`, `call.in-progress.error-providerfault-runpod-500-server-error`, `call.in-progress.error-providerfault-runpod-503-server-overloaded-error`, `pipeline-error-custom-llm-400-bad-request-validation-failed`, `pipeline-error-custom-llm-401-unauthorized`, `pipeline-error-custom-llm-403-model-access-denied`, `pipeline-error-custom-llm-429-exceeded-quota`, `pipeline-error-custom-llm-500-server-error`, `pipeline-error-custom-llm-503-server-overloaded-error`, `pipeline-error-custom-llm-llm-failed`, `call.in-progress.error-providerfault-custom-llm-llm-failed`, `call.in-progress.error-vapifault-custom-llm-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-custom-llm-401-unauthorized`, `call.in-progress.error-vapifault-custom-llm-403-model-access-denied`, `call.in-progress.error-vapifault-custom-llm-429-exceeded-quota`, `call.in-progress.error-providerfault-custom-llm-500-server-error`, `call.in-progress.error-providerfault-custom-llm-503-server-overloaded-error`, `call.in-progress.error-pipeline-ws-model-connection-failed`, `pipeline-error-custom-voice-failed`, `pipeline-error-cartesia-socket-hang-up`, `pipeline-error-cartesia-requested-payment`, `pipeline-error-cartesia-500-server-error`, `pipeline-error-cartesia-502-server-error`, `pipeline-error-cartesia-503-server-error`, `pipeline-error-cartesia-522-server-error`, `call.in-progress.error-vapifault-cartesia-socket-hang-up`, `call.in-progress.error-vapifault-cartesia-requested-payment`, `call.in-progress.error-providerfault-cartesia-500-server-error`, `call.in-progress.error-providerfault-cartesia-502-server-error`, `call.in-progress.error-providerfault-cartesia-503-server-error`, `call.in-progress.error-providerfault-cartesia-522-server-error`, `pipeline-error-eleven-labs-voice-not-found`, `pipeline-error-eleven-labs-quota-exceeded`, `pipeline-error-eleven-labs-unauthorized-access`, `pipeline-error-eleven-labs-unauthorized-to-access-model`, `pipeline-error-eleven-labs-professional-voices-only-for-creator-plus`, `pipeline-error-eleven-labs-blocked-free-plan-and-requested-upgrade`, `pipeline-error-eleven-labs-blocked-concurrent-requests-and-requested-upgrade`, `pipeline-error-eleven-labs-blocked-using-instant-voice-clone-and-requested-upgrade`, `pipeline-error-eleven-labs-system-busy-and-requested-upgrade`, `pipeline-error-eleven-labs-voice-not-fine-tuned`, `pipeline-error-eleven-labs-invalid-api-key`, `pipeline-error-eleven-labs-invalid-voice-samples`, `pipeline-error-eleven-labs-voice-disabled-by-owner`, `pipeline-error-eleven-labs-vapi-voice-disabled-by-owner`, `pipeline-error-eleven-labs-blocked-account-in-probation`, `pipeline-error-eleven-labs-blocked-content-against-their-policy`, `pipeline-error-eleven-labs-missing-samples-for-voice-clone`, `pipeline-error-eleven-labs-voice-not-fine-tuned-and-cannot-be-used`, `pipeline-error-eleven-labs-voice-not-allowed-for-free-users`, `pipeline-error-eleven-labs-max-character-limit-exceeded`, `pipeline-error-eleven-labs-blocked-voice-potentially-against-terms-of-service-and-awaiting-verification`, `pipeline-error-eleven-labs-unsupported-model`, `pipeline-error-eleven-labs-500-server-error`, `pipeline-error-eleven-labs-503-server-error`, `call.in-progress.error-vapifault-eleven-labs-voice-not-found`, `call.in-progress.error-vapifault-eleven-labs-quota-exceeded`, `call.in-progress.error-vapifault-eleven-labs-unauthorized-access`, `call.in-progress.error-vapifault-eleven-labs-unauthorized-to-access-model`, `call.in-progress.error-vapifault-eleven-labs-professional-voices-only-for-creator-plus`, `call.in-progress.error-vapifault-eleven-labs-blocked-free-plan-and-requested-upgrade`, `call.in-progress.error-vapifault-eleven-labs-blocked-concurrent-requests-and-requested-upgrade`, `call.in-progress.error-vapifault-eleven-labs-blocked-using-instant-voice-clone-and-requested-upgrade`, `call.in-progress.error-vapifault-eleven-labs-system-busy-and-requested-upgrade`, `call.in-progress.error-vapifault-eleven-labs-voice-not-fine-tuned`, `call.in-progress.error-vapifault-eleven-labs-invalid-api-key`, `call.in-progress.error-vapifault-eleven-labs-invalid-voice-samples`, `call.in-progress.error-vapifault-eleven-labs-voice-disabled-by-owner`, `call.in-progress.error-vapifault-eleven-labs-blocked-account-in-probation`, `call.in-progress.error-vapifault-eleven-labs-blocked-content-against-their-policy`, `call.in-progress.error-vapifault-eleven-labs-missing-samples-for-voice-clone`, `call.in-progress.error-vapifault-eleven-labs-voice-not-fine-tuned-and-cannot-be-used`, `call.in-progress.error-vapifault-eleven-labs-voice-not-allowed-for-free-users`, `call.in-progress.error-vapifault-eleven-labs-max-character-limit-exceeded`, `call.in-progress.error-vapifault-eleven-labs-blocked-voice-potentially-against-terms-of-service-and-awaiting-verification`, `call.in-progress.error-vapifault-eleven-labs-unsupported-model`, `call.in-progress.error-providerfault-eleven-labs-system-busy-and-requested-upgrade`, `call.in-progress.error-providerfault-eleven-labs-blocked-concurrent-requests-and-requested-upgrade`, `call.in-progress.error-providerfault-eleven-labs-voice-disabled-by-owner`, `call.in-progress.error-providerfault-eleven-labs-vapi-voice-disabled-by-owner`, `call.in-progress.error-providerfault-eleven-labs-500-server-error`, `call.in-progress.error-providerfault-eleven-labs-503-server-error`, `pipeline-error-playht-request-timed-out`, `pipeline-error-playht-invalid-voice`, `pipeline-error-playht-unexpected-error`, `pipeline-error-playht-out-of-credits`, `pipeline-error-playht-invalid-emotion`, `pipeline-error-playht-voice-must-be-a-valid-voice-manifest-uri`, `pipeline-error-playht-401-unauthorized`, `pipeline-error-playht-403-forbidden-out-of-characters`, `pipeline-error-playht-403-forbidden-api-access-not-available`, `pipeline-error-playht-429-exceeded-quota`, `pipeline-error-playht-502-gateway-error`, `pipeline-error-playht-504-gateway-error`, `call.in-progress.error-vapifault-playht-request-timed-out`, `call.in-progress.error-vapifault-playht-invalid-voice`, `call.in-progress.error-vapifault-playht-unexpected-error`, `call.in-progress.error-vapifault-playht-out-of-credits`, `call.in-progress.error-vapifault-playht-invalid-emotion`, `call.in-progress.error-vapifault-playht-voice-must-be-a-valid-voice-manifest-uri`, `call.in-progress.error-vapifault-playht-401-unauthorized`, `call.in-progress.error-vapifault-playht-403-forbidden-out-of-characters`, `call.in-progress.error-vapifault-playht-403-forbidden-api-access-not-available`, `call.in-progress.error-vapifault-playht-429-exceeded-quota`, `call.in-progress.error-providerfault-playht-502-gateway-error`, `call.in-progress.error-providerfault-playht-504-gateway-error`, `pipeline-error-custom-transcriber-failed`, `call.in-progress.error-vapifault-custom-transcriber-failed`, `pipeline-error-eleven-labs-transcriber-failed`, `call.in-progress.error-vapifault-eleven-labs-transcriber-failed`, `pipeline-error-deepgram-returning-400-no-such-model-language-tier-combination`, `pipeline-error-deepgram-returning-401-invalid-credentials`, `pipeline-error-deepgram-returning-403-model-access-denied`, `pipeline-error-deepgram-returning-404-not-found`, `pipeline-error-deepgram-returning-500-invalid-json`, `pipeline-error-deepgram-returning-502-network-error`, `pipeline-error-deepgram-returning-502-bad-gateway-ehostunreach`, `pipeline-error-deepgram-returning-econnreset`, `call.in-progress.error-vapifault-deepgram-returning-400-no-such-model-language-tier-combination`, `call.in-progress.error-vapifault-deepgram-returning-401-invalid-credentials`, `call.in-progress.error-vapifault-deepgram-returning-404-not-found`, `call.in-progress.error-vapifault-deepgram-returning-403-model-access-denied`, `call.in-progress.error-providerfault-deepgram-returning-500-invalid-json`, `call.in-progress.error-providerfault-deepgram-returning-502-network-error`, `call.in-progress.error-providerfault-deepgram-returning-502-bad-gateway-ehostunreach`, `pipeline-error-google-transcriber-failed`, `call.in-progress.error-vapifault-google-transcriber-failed`, `pipeline-error-openai-transcriber-failed`, `call.in-progress.error-vapifault-openai-transcriber-failed`, `pipeline-error-soniox-transcriber-auth-failed`, `pipeline-error-soniox-transcriber-rate-limited`, `pipeline-error-soniox-transcriber-invalid-config`, `pipeline-error-soniox-transcriber-server-error`, `pipeline-error-soniox-transcriber-failed`, `call.in-progress.error-vapifault-soniox-transcriber-auth-failed`, `call.in-progress.error-vapifault-soniox-transcriber-rate-limited`, `call.in-progress.error-vapifault-soniox-transcriber-invalid-config`, `call.in-progress.error-vapifault-soniox-transcriber-server-error`, `call.in-progress.error-vapifault-soniox-transcriber-failed`, `pipeline-error-xai-transcriber-auth-failed`, `pipeline-error-xai-transcriber-rate-limited`, `pipeline-error-xai-transcriber-invalid-config`, `pipeline-error-xai-transcriber-server-error`, `pipeline-error-xai-transcriber-failed`, `call.in-progress.error-vapifault-xai-transcriber-auth-failed`, `call.in-progress.error-vapifault-xai-transcriber-rate-limited`, `call.in-progress.error-vapifault-xai-transcriber-invalid-config`, `call.in-progress.error-vapifault-xai-transcriber-server-error`, `call.in-progress.error-vapifault-xai-transcriber-failed`, `pipeline-error-reson8-transcriber-auth-failed`, `pipeline-error-reson8-transcriber-rate-limited`, `pipeline-error-reson8-transcriber-invalid-config`, `pipeline-error-reson8-transcriber-closed`, `pipeline-error-reson8-transcriber-failed`, `call.in-progress.error-vapifault-reson8-transcriber-auth-failed`, `call.in-progress.error-vapifault-reson8-transcriber-rate-limited`, `call.in-progress.error-vapifault-reson8-transcriber-invalid-config`, `call.in-progress.error-vapifault-reson8-transcriber-closed`, `call.in-progress.error-vapifault-reson8-transcriber-failed`, `pipeline-error-cartesia-transcriber-failed`, `call.in-progress.error-vapifault-cartesia-transcriber-failed`, `call.in-progress.error-warm-transfer-max-duration`, `call.in-progress.error-warm-transfer-assistant-cancelled`, `call.in-progress.error-warm-transfer-silence-timeout`, `call.in-progress.error-warm-transfer-microphone-timeout`, `assistant-ended-call`, `assistant-said-end-call-phrase`, `assistant-ended-call-with-hangup-task`, `assistant-ended-call-after-message-spoken`, `assistant-forwarded-call`, `assistant-join-timed-out`, `call.in-progress.error-assistant-did-not-receive-customer-audio`, `call.in-progress.error-transfer-failed`, `customer-busy`, `customer-ended-call`, `customer-ended-call-before-warm-transfer`, `customer-ended-call-after-warm-transfer-attempt`, `customer-ended-call-during-transfer`, `customer-did-not-answer`, `customer-did-not-give-microphone-permission`, `exceeded-max-duration`, `manually-canceled`, `phone-call-provider-closed-websocket`, `call.forwarding.operator-busy`, `call.forwarding.no-answer`, `silence-timed-out`, `call.in-progress.error-sip-inbound-call-failed-to-connect`, `call.in-progress.error-providerfault-outbound-sip-403-forbidden`, `call.in-progress.error-providerfault-outbound-sip-407-proxy-authentication-required`, `call.in-progress.error-providerfault-outbound-sip-408-request-timeout`, `call.in-progress.error-providerfault-outbound-sip-503-service-unavailable`, `call.in-progress.error-providerfault-outbound-sip-480-temporarily-unavailable`, `call.in-progress.error-sip-outbound-call-failed-to-connect`, `sip-outbound-unallocated-number`, `sip-outbound-carrier-released-call`, `call.ringing.hook-executed-say`, `call.ringing.hook-executed-transfer`, `call.ending.hook-executed-say`, `call.ending.hook-executed-transfer`, `call.ringing.sip-inbound-caller-hungup-before-call-connect`, `call.ringing.error-sip-inbound-call-failed-to-connect`, `twilio-failed-to-connect-call`, `twilio-reported-customer-misdialed`, `vonage-rejected`, `voicemail`, `call-deleted`
- `artifact` (Artifact, required) — These are the artifacts from the call. This can also be found at `call.artifact` on GET /call/:id.
- `analysis` (Analysis, required) — This is the analysis of the call. This can also be found at `call.analysis` on GET /call/:id.
- `phoneNumber` (ServerMessageEndOfCallReportPhoneNumber, optional) — This is the phone number that the message is associated with.
- `assistantVersion` (string, optional, nullable) — This is the version label (e.g. `v3`) of the assistant the call was configured with. `null` for inline assistants, squad/workflow calls, pre-resolution assistant-request messages, and orgs not on assistant versioning.
- `cost` (double, optional) — This is the cost of the call in USD. This can also be found at `call.cost` on GET /call/:id.
- `costs` (list of ServerMessageEndOfCallReportCostsItems, optional) — These are the costs of individual components of the call in USD. This can also be found at `call.costs` on GET /call/:id.
- `destination` (ServerMessageEndOfCallReportDestination, optional) — This is the destination the call was transferred to, if the call was forwarded. This can also be found at `call.destination` on GET /call/:id.
- `timestamp` (double, optional) — This is the timestamp of the message.
- `assistant` (CreateAssistantDTO, optional) — This is the assistant that the message is associated with.
- `customer` (CreateCustomerDTO, optional) — This is the customer that the message is associated with.
- `call` (Call, optional) — This is the call that the message is associated with.
- `chat` (Chat, optional) — This is the chat object.
- `startedAt` (datetime, optional) — This is the ISO 8601 date-time string of when the call started. This can also be found at `call.startedAt` on GET /call/:id.
- `endedAt` (datetime, optional) — This is the ISO 8601 date-time string of when the call ended. This can also be found at `call.endedAt` on GET /call/:id.
- `compliance` (Compliance, optional) — This is the compliance result of the call. This can also be found at `call.compliance` on GET /call/:id.

### ServerMessageHandoffDestinationRequest

- `type` (enum, required) — This is the type of the message. "handoff-destination-request" is sent when the model is requesting handoff but destination is unknown.
  - Allowed values: `handoff-destination-request`
- `parameters` (ServerMessageHandoffDestinationRequestParameters, required) — This is the parameters of the handoff destination request.
- `phoneNumber` (ServerMessageHandoffDestinationRequestPhoneNumber, optional) — This is the phone number that the message is associated with.
- `assistantVersion` (string, optional, nullable) — This is the version label (e.g. `v3`) of the assistant the call was configured with. `null` for inline assistants, squad/workflow calls, pre-resolution assistant-request messages, and orgs not on assistant versioning.
- `timestamp` (double, optional) — This is the timestamp of the message.
- `artifact` (Artifact, optional) — This is a live version of the `call.artifact`. This matches what is stored on `call.artifact` after the call.
- `assistant` (CreateAssistantDTO, optional) — This is the assistant that the message is associated with.
- `customer` (CreateCustomerDTO, optional) — This is the customer that the message is associated with.
- `call` (Call, optional) — This is the call that the message is associated with.
- `chat` (Chat, optional) — This is the chat object.

### ServerMessageHang

- `type` (enum, required) — This is the type of the message. "hang" is sent when the assistant is hanging due to a delay. The delay can be caused by many factors, such as: - the model is too slow to respond - the voice is too slow to respond - the tool call is still waiting for a response from your server - etc.
  - Allowed values: `hang`
- `phoneNumber` (ServerMessageHangPhoneNumber, optional) — This is the phone number that the message is associated with.
- `assistantVersion` (string, optional, nullable) — This is the version label (e.g. `v3`) of the assistant the call was configured with. `null` for inline assistants, squad/workflow calls, pre-resolution assistant-request messages, and orgs not on assistant versioning.
- `timestamp` (double, optional) — This is the timestamp of the message.
- `artifact` (Artifact, optional) — This is a live version of the `call.artifact`. This matches what is stored on `call.artifact` after the call.
- `assistant` (CreateAssistantDTO, optional) — This is the assistant that the message is associated with.
- `customer` (CreateCustomerDTO, optional) — This is the customer that the message is associated with.
- `call` (Call, optional) — This is the call that the message is associated with.
- `chat` (Chat, optional) — This is the chat object.

### ServerMessageKnowledgeBaseRequest

- `type` (enum, required) — This is the type of the message. "knowledge-base-request" is sent to request knowledge base documents. To enable, use `assistant.knowledgeBase.provider=custom-knowledge-base`.
  - Allowed values: `knowledge-base-request`
- `messagesOpenAIFormatted` (list of OpenAIMessage, required) — This is just `messages` formatted for OpenAI.
- `phoneNumber` (ServerMessageKnowledgeBaseRequestPhoneNumber, optional) — This is the phone number that the message is associated with.
- `assistantVersion` (string, optional, nullable) — This is the version label (e.g. `v3`) of the assistant the call was configured with. `null` for inline assistants, squad/workflow calls, pre-resolution assistant-request messages, and orgs not on assistant versioning.
- `messages` (list of ServerMessageKnowledgeBaseRequestMessagesItems, optional) — These are the messages that are going to be sent to the `model` right after the `knowledge-base-request` webhook completes.
- `timestamp` (double, optional) — This is the timestamp of the message.
- `artifact` (Artifact, optional) — This is a live version of the `call.artifact`. This matches what is stored on `call.artifact` after the call.
- `assistant` (CreateAssistantDTO, optional) — This is the assistant that the message is associated with.
- `customer` (CreateCustomerDTO, optional) — This is the customer that the message is associated with.
- `call` (Call, optional) — This is the call that the message is associated with.
- `chat` (Chat, optional) — This is the chat object.

### ServerMessageModelOutput

- `type` (enum, required) — This is the type of the message. "model-output" is sent as the model outputs tokens.
  - Allowed values: `model-output`
- `output` (ServerMessageModelOutputOutput, required) — This is the output of the model. It can be a token or tool call.
- `phoneNumber` (ServerMessageModelOutputPhoneNumber, optional) — This is the phone number that the message is associated with.
- `assistantVersion` (string, optional, nullable) — This is the version label (e.g. `v3`) of the assistant the call was configured with. `null` for inline assistants, squad/workflow calls, pre-resolution assistant-request messages, and orgs not on assistant versioning.
- `turnId` (string, optional) — This is the unique identifier for the current LLM turn. All tokens from the same LLM response share the same turnId. Use this to group tokens and discard on interruption.
- `timestamp` (double, optional) — This is the timestamp of the message.
- `artifact` (Artifact, optional) — This is a live version of the `call.artifact`. This matches what is stored on `call.artifact` after the call.
- `assistant` (CreateAssistantDTO, optional) — This is the assistant that the message is associated with.
- `customer` (CreateCustomerDTO, optional) — This is the customer that the message is associated with.
- `call` (Call, optional) — This is the call that the message is associated with.
- `chat` (Chat, optional) — This is the chat object.

### ServerMessagePhoneCallControl

- `type` (enum, required) — This is the type of the message. "phone-call-control" is an advanced type of message. When it is requested in `assistant.serverMessages`, the hangup and forwarding responsibilities are delegated to your server. Vapi will no longer do the actual transfer and hangup.
  - Allowed values: `phone-call-control`
- `request` (enum, required) — This is the request to control the phone call.
  - Allowed values: `forward`, `hang-up`
- `phoneNumber` (ServerMessagePhoneCallControlPhoneNumber, optional) — This is the phone number that the message is associated with.
- `assistantVersion` (string, optional, nullable) — This is the version label (e.g. `v3`) of the assistant the call was configured with. `null` for inline assistants, squad/workflow calls, pre-resolution assistant-request messages, and orgs not on assistant versioning.
- `destination` (ServerMessagePhoneCallControlDestination, optional) — This is the destination to forward the call to if the request is "forward".
- `timestamp` (double, optional) — This is the timestamp of the message.
- `artifact` (Artifact, optional) — This is a live version of the `call.artifact`. This matches what is stored on `call.artifact` after the call.
- `assistant` (CreateAssistantDTO, optional) — This is the assistant that the message is associated with.
- `customer` (CreateCustomerDTO, optional) — This is the customer that the message is associated with.
- `call` (Call, optional) — This is the call that the message is associated with.
- `chat` (Chat, optional) — This is the chat object.

### ServerMessageSpeechUpdate

- `type` (enum, required) — This is the type of the message. "speech-update" is sent whenever assistant or user start or stop speaking.
  - Allowed values: `speech-update`
- `status` (enum, required) — This is the status of the speech update.
  - Allowed values: `started`, `stopped`
- `role` (enum, required) — This is the role which the speech update is for.
  - Allowed values: `assistant`, `user`
- `phoneNumber` (ServerMessageSpeechUpdatePhoneNumber, optional) — This is the phone number that the message is associated with.
- `assistantVersion` (string, optional, nullable) — This is the version label (e.g. `v3`) of the assistant the call was configured with. `null` for inline assistants, squad/workflow calls, pre-resolution assistant-request messages, and orgs not on assistant versioning.
- `turn` (double, optional) — This is the turn number of the speech update (0-indexed).
- `timestamp` (double, optional) — This is the timestamp of the message.
- `artifact` (Artifact, optional) — This is a live version of the `call.artifact`. This matches what is stored on `call.artifact` after the call.
- `assistant` (CreateAssistantDTO, optional) — This is the assistant that the message is associated with.
- `customer` (CreateCustomerDTO, optional) — This is the customer that the message is associated with.
- `call` (Call, optional) — This is the call that the message is associated with.
- `chat` (Chat, optional) — This is the chat object.

### ServerMessageStatusUpdate

- `type` (enum, required) — This is the type of the message. "status-update" is sent whenever the `call.status` changes.
  - Allowed values: `status-update`
- `status` (enum, required) — This is the status of the call.
  - Allowed values: `scheduled`, `queued`, `ringing`, `in-progress`, `forwarding`, `ended`, `not-found`, `deletion-failed`
- `phoneNumber` (ServerMessageStatusUpdatePhoneNumber, optional) — This is the phone number that the message is associated with.
- `assistantVersion` (string, optional, nullable) — This is the version label (e.g. `v3`) of the assistant the call was configured with. `null` for inline assistants, squad/workflow calls, pre-resolution assistant-request messages, and orgs not on assistant versioning.
- `endedReason` (enum, optional) — This is the reason the call ended. This is only sent if the status is "ended".
  - Allowed values: `call.in-progress.error-vapifault-guardrail-evaluation-failed`, `call.in-progress.error-vapifault-guardrail-playback-timeout`, `call.in-progress.guardrail-blocked`, `call.in-progress.error-vapifault-call-start-failed`, `call.in-progress.error-vapifault-assistant-handoff-start-failed`, `call-start-error-neither-assistant-nor-server-set`, `assistant-request-failed`, `assistant-request-returned-error`, `assistant-request-returned-unspeakable-error`, `assistant-request-returned-invalid-assistant`, `assistant-request-returned-no-assistant`, `assistant-request-returned-forwarding-phone-number`, `scheduled-call-deleted`, `call.start.error-vapifault-get-org`, `call.start.error-vapifault-get-subscription`, `call.start.error-get-assistant`, `call.start.error-get-phone-number`, `call.start.error-get-customer`, `call.start.error-get-resources-validation`, `call.start.error-vapi-number-international`, `call.start.error-vapi-number-outbound-daily-limit`, `call.start.error-get-transport`, `call.start.error-subscription-wallet-does-not-exist`, `call.start.error-fraud-check-failed`, `call.start.error-subscription-frozen`, `call.start.error-subscription-insufficient-credits`, `call.start.error-subscription-upgrade-failed`, `call.start.error-subscription-concurrency-limit-reached`, `call.start.error-enterprise-feature-not-available-recording-consent`, `call.start.assistant-version-error-validation`, `call.start.squad-version-error-validation`, `assistant-not-valid`, `call.in-progress.error-vapifault-guardrail-evaluation-failed`, `call.in-progress.error-vapifault-guardrail-playback-timeout`, `call.in-progress.error-vapifault-call-start-failed`, `call.in-progress.error-vapifault-assistant-handoff-start-failed`, `call.start.error-vapifault-database-error`, `assistant-not-found`, `pipeline-error-openai-voice-failed`, `pipeline-error-cartesia-voice-failed`, `pipeline-error-deepgram-voice-failed`, `pipeline-error-eleven-labs-voice-failed`, `pipeline-error-playht-voice-failed`, `pipeline-error-lmnt-voice-failed`, `pipeline-error-azure-voice-failed`, `pipeline-error-rime-ai-voice-failed`, `pipeline-error-smallest-ai-voice-failed`, `pipeline-error-vapi-voice-failed`, `pipeline-error-neuphonic-voice-failed`, `pipeline-error-hume-voice-failed`, `pipeline-error-sesame-voice-failed`, `pipeline-error-inworld-voice-failed`, `pipeline-error-minimax-voice-failed`, `pipeline-error-wellsaid-voice-failed`, `pipeline-error-xai-voice-failed`, `pipeline-error-microsoft-voice-failed`, `pipeline-error-microsoft-voice-request-canceled`, `pipeline-error-tavus-video-failed`, `call.in-progress.error-vapifault-openai-voice-failed`, `call.in-progress.error-vapifault-cartesia-voice-failed`, `call.in-progress.error-vapifault-deepgram-voice-failed`, `call.in-progress.error-vapifault-eleven-labs-voice-failed`, `call.in-progress.error-vapifault-playht-voice-failed`, `call.in-progress.error-vapifault-lmnt-voice-failed`, `call.in-progress.error-vapifault-azure-voice-failed`, `call.in-progress.error-vapifault-rime-ai-voice-failed`, `call.in-progress.error-vapifault-smallest-ai-voice-failed`, `call.in-progress.error-vapifault-vapi-voice-failed`, `call.in-progress.error-vapifault-neuphonic-voice-failed`, `call.in-progress.error-vapifault-hume-voice-failed`, `call.in-progress.error-vapifault-sesame-voice-failed`, `call.in-progress.error-vapifault-inworld-voice-failed`, `call.in-progress.error-vapifault-minimax-voice-failed`, `call.in-progress.error-vapifault-wellsaid-voice-failed`, `call.in-progress.error-vapifault-xai-voice-failed`, `call.in-progress.error-vapifault-microsoft-voice-failed`, `call.in-progress.error-vapifault-tavus-video-failed`, `pipeline-error-vapi-llm-failed`, `pipeline-error-vapi-400-bad-request-validation-failed`, `pipeline-error-vapi-401-unauthorized`, `pipeline-error-vapi-403-model-access-denied`, `pipeline-error-vapi-429-exceeded-quota`, `pipeline-error-vapi-500-server-error`, `pipeline-error-vapi-503-server-overloaded-error`, `call.in-progress.error-providerfault-vapi-llm-failed`, `call.in-progress.error-vapifault-vapi-llm-failed`, `call.in-progress.error-vapifault-vapi-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-vapi-401-unauthorized`, `call.in-progress.error-vapifault-vapi-403-model-access-denied`, `call.in-progress.error-vapifault-vapi-429-exceeded-quota`, `call.in-progress.error-providerfault-vapi-500-server-error`, `call.in-progress.error-providerfault-vapi-503-server-overloaded-error`, `pipeline-error-vapi-transcriber-failed`, `call.in-progress.error-vapifault-vapi-transcriber-failed`, `call.in-progress.error-providerfault-vapi-transcriber-failed`, `call.in-progress.error-providerfault-vapi-voice-failed`, `pipeline-error-deepgram-transcriber-failed`, `pipeline-error-deepgram-transcriber-api-key-missing`, `call.in-progress.error-vapifault-deepgram-transcriber-failed`, `pipeline-error-gladia-transcriber-failed`, `call.in-progress.error-vapifault-gladia-transcriber-failed`, `pipeline-error-speechmatics-transcriber-failed`, `call.in-progress.error-vapifault-speechmatics-transcriber-failed`, `pipeline-error-assembly-ai-transcriber-failed`, `pipeline-error-assembly-ai-returning-400-insufficent-funds`, `pipeline-error-assembly-ai-returning-400-paid-only-feature`, `pipeline-error-assembly-ai-returning-401-invalid-credentials`, `pipeline-error-assembly-ai-returning-500-invalid-schema`, `pipeline-error-assembly-ai-returning-500-word-boost-parsing-failed`, `call.in-progress.error-vapifault-assembly-ai-transcriber-failed`, `call.in-progress.error-vapifault-assembly-ai-returning-400-insufficent-funds`, `call.in-progress.error-vapifault-assembly-ai-returning-400-paid-only-feature`, `call.in-progress.error-vapifault-assembly-ai-returning-401-invalid-credentials`, `call.in-progress.error-vapifault-assembly-ai-returning-500-invalid-schema`, `call.in-progress.error-vapifault-assembly-ai-returning-500-word-boost-parsing-failed`, `pipeline-error-talkscriber-transcriber-failed`, `call.in-progress.error-vapifault-talkscriber-transcriber-failed`, `pipeline-error-azure-speech-transcriber-failed`, `call.in-progress.error-vapifault-azure-speech-transcriber-failed`, `pipeline-error-eleven-labs-transcriber-failed`, `call.in-progress.error-vapifault-eleven-labs-transcriber-failed`, `pipeline-error-google-transcriber-failed`, `call.in-progress.error-vapifault-google-transcriber-failed`, `pipeline-error-openai-transcriber-failed`, `call.in-progress.error-vapifault-openai-transcriber-failed`, `pipeline-error-soniox-transcriber-auth-failed`, `pipeline-error-soniox-transcriber-rate-limited`, `pipeline-error-soniox-transcriber-invalid-config`, `pipeline-error-soniox-transcriber-server-error`, `pipeline-error-soniox-transcriber-failed`, `call.in-progress.error-vapifault-soniox-transcriber-auth-failed`, `call.in-progress.error-vapifault-soniox-transcriber-rate-limited`, `call.in-progress.error-vapifault-soniox-transcriber-invalid-config`, `call.in-progress.error-vapifault-soniox-transcriber-server-error`, `call.in-progress.error-vapifault-soniox-transcriber-failed`, `pipeline-error-xai-transcriber-auth-failed`, `pipeline-error-xai-transcriber-rate-limited`, `pipeline-error-xai-transcriber-invalid-config`, `pipeline-error-xai-transcriber-server-error`, `pipeline-error-xai-transcriber-failed`, `call.in-progress.error-vapifault-xai-transcriber-auth-failed`, `call.in-progress.error-vapifault-xai-transcriber-rate-limited`, `call.in-progress.error-vapifault-xai-transcriber-invalid-config`, `call.in-progress.error-vapifault-xai-transcriber-server-error`, `call.in-progress.error-vapifault-xai-transcriber-failed`, `pipeline-error-reson8-transcriber-auth-failed`, `pipeline-error-reson8-transcriber-rate-limited`, `pipeline-error-reson8-transcriber-invalid-config`, `pipeline-error-reson8-transcriber-closed`, `pipeline-error-reson8-transcriber-failed`, `call.in-progress.error-vapifault-reson8-transcriber-auth-failed`, `call.in-progress.error-vapifault-reson8-transcriber-rate-limited`, `call.in-progress.error-vapifault-reson8-transcriber-invalid-config`, `call.in-progress.error-vapifault-reson8-transcriber-closed`, `call.in-progress.error-vapifault-reson8-transcriber-failed`, `pipeline-error-cartesia-transcriber-failed`, `call.in-progress.error-vapifault-cartesia-transcriber-failed`, `call.in-progress.error-pipeline-no-available-llm-model`, `worker-shutdown`, `vonage-disconnected`, `vonage-failed-to-connect-call`, `vonage-completed`, `phone-call-provider-bypass-enabled-but-no-call-received`, `call.in-progress.error-providerfault-transport-never-connected`, `call.start.error-vapifault-worker-not-available`, `call.in-progress.error-vapifault-worker-not-available`, `call.in-progress.error-vapifault-transport-never-connected`, `call.in-progress.error-vapifault-transport-connected-but-call-not-active`, `call.in-progress.error-vapifault-call-started-but-connection-to-transport-missing`, `call.in-progress.error-vapifault-worker-died`, `call.in-progress.twilio-completed-call`, `call.in-progress.sip-completed-call`, `call.in-progress.error-sip-inbound-call-failed-to-connect`, `call.in-progress.error-providerfault-outbound-sip-503-service-unavailable`, `call.in-progress.error-sip-outbound-call-failed-to-connect`, `call.ringing.error-sip-inbound-call-failed-to-connect`, `call.in-progress.error-providerfault-openai-llm-failed`, `call.in-progress.error-providerfault-azure-openai-llm-failed`, `call.in-progress.error-providerfault-groq-llm-failed`, `call.in-progress.error-providerfault-google-llm-failed`, `call.in-progress.error-providerfault-xai-llm-failed`, `call.in-progress.error-providerfault-mistral-llm-failed`, `call.in-progress.error-providerfault-minimax-llm-failed`, `call.in-progress.error-providerfault-inflection-ai-llm-failed`, `call.in-progress.error-providerfault-cerebras-llm-failed`, `call.in-progress.error-providerfault-deep-seek-llm-failed`, `call.in-progress.error-providerfault-baseten-llm-failed`, `call.in-progress.error-vapifault-chat-pipeline-failed-to-start`, `call.in-progress.error-configfault-model-unsupported-in-squad`, `call.in-progress.error-configfault-transport-unsupported-for-model`, `pipeline-error-openai-400-bad-request-validation-failed`, `pipeline-error-openai-401-unauthorized`, `pipeline-error-openai-401-incorrect-api-key`, `pipeline-error-openai-401-account-not-in-organization`, `pipeline-error-openai-403-model-access-denied`, `pipeline-error-openai-429-exceeded-quota`, `pipeline-error-openai-429-rate-limit-reached`, `pipeline-error-openai-500-server-error`, `pipeline-error-openai-503-server-overloaded-error`, `pipeline-error-openai-llm-failed`, `call.in-progress.error-vapifault-openai-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-openai-401-unauthorized`, `call.in-progress.error-vapifault-openai-401-incorrect-api-key`, `call.in-progress.error-vapifault-openai-401-account-not-in-organization`, `call.in-progress.error-vapifault-openai-403-model-access-denied`, `call.in-progress.error-vapifault-openai-429-exceeded-quota`, `call.in-progress.error-vapifault-openai-429-rate-limit-reached`, `call.in-progress.error-providerfault-openai-500-server-error`, `call.in-progress.error-providerfault-openai-503-server-overloaded-error`, `pipeline-error-azure-openai-400-bad-request-validation-failed`, `pipeline-error-azure-openai-401-unauthorized`, `pipeline-error-azure-openai-403-model-access-denied`, `pipeline-error-azure-openai-429-exceeded-quota`, `pipeline-error-azure-openai-500-server-error`, `pipeline-error-azure-openai-503-server-overloaded-error`, `pipeline-error-azure-openai-llm-failed`, `call.in-progress.error-vapifault-azure-openai-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-azure-openai-401-unauthorized`, `call.in-progress.error-vapifault-azure-openai-403-model-access-denied`, `call.in-progress.error-vapifault-azure-openai-429-exceeded-quota`, `call.in-progress.error-providerfault-azure-openai-500-server-error`, `call.in-progress.error-providerfault-azure-openai-503-server-overloaded-error`, `pipeline-error-google-400-bad-request-validation-failed`, `pipeline-error-google-401-unauthorized`, `pipeline-error-google-403-model-access-denied`, `pipeline-error-google-429-exceeded-quota`, `pipeline-error-google-500-server-error`, `pipeline-error-google-503-server-overloaded-error`, `pipeline-error-google-llm-failed`, `call.in-progress.error-vapifault-google-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-google-401-unauthorized`, `call.in-progress.error-vapifault-google-403-model-access-denied`, `call.in-progress.error-vapifault-google-429-exceeded-quota`, `call.in-progress.error-providerfault-google-500-server-error`, `call.in-progress.error-providerfault-google-503-server-overloaded-error`, `pipeline-error-xai-400-bad-request-validation-failed`, `pipeline-error-xai-401-unauthorized`, `pipeline-error-xai-403-model-access-denied`, `pipeline-error-xai-429-exceeded-quota`, `pipeline-error-xai-500-server-error`, `pipeline-error-xai-503-server-overloaded-error`, `pipeline-error-xai-llm-failed`, `call.in-progress.error-vapifault-xai-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-xai-401-unauthorized`, `call.in-progress.error-vapifault-xai-403-model-access-denied`, `call.in-progress.error-vapifault-xai-429-exceeded-quota`, `call.in-progress.error-providerfault-xai-500-server-error`, `call.in-progress.error-providerfault-xai-503-server-overloaded-error`, `pipeline-error-baseten-400-bad-request-validation-failed`, `pipeline-error-baseten-401-unauthorized`, `pipeline-error-baseten-403-model-access-denied`, `pipeline-error-baseten-429-exceeded-quota`, `pipeline-error-baseten-500-server-error`, `pipeline-error-baseten-503-server-overloaded-error`, `pipeline-error-baseten-llm-failed`, `call.in-progress.error-vapifault-baseten-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-baseten-401-unauthorized`, `call.in-progress.error-vapifault-baseten-403-model-access-denied`, `call.in-progress.error-vapifault-baseten-429-exceeded-quota`, `call.in-progress.error-providerfault-baseten-500-server-error`, `call.in-progress.error-providerfault-baseten-503-server-overloaded-error`, `pipeline-error-mistral-400-bad-request-validation-failed`, `pipeline-error-mistral-401-unauthorized`, `pipeline-error-mistral-403-model-access-denied`, `pipeline-error-mistral-429-exceeded-quota`, `pipeline-error-mistral-500-server-error`, `pipeline-error-mistral-503-server-overloaded-error`, `pipeline-error-mistral-llm-failed`, `call.in-progress.error-vapifault-mistral-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-mistral-401-unauthorized`, `call.in-progress.error-vapifault-mistral-403-model-access-denied`, `call.in-progress.error-vapifault-mistral-429-exceeded-quota`, `call.in-progress.error-providerfault-mistral-500-server-error`, `call.in-progress.error-providerfault-mistral-503-server-overloaded-error`, `pipeline-error-minimax-400-bad-request-validation-failed`, `pipeline-error-minimax-401-unauthorized`, `pipeline-error-minimax-403-model-access-denied`, `pipeline-error-minimax-429-exceeded-quota`, `pipeline-error-minimax-500-server-error`, `pipeline-error-minimax-503-server-overloaded-error`, `pipeline-error-minimax-llm-failed`, `call.in-progress.error-vapifault-minimax-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-minimax-401-unauthorized`, `call.in-progress.error-vapifault-minimax-403-model-access-denied`, `call.in-progress.error-vapifault-minimax-429-exceeded-quota`, `call.in-progress.error-providerfault-minimax-500-server-error`, `call.in-progress.error-providerfault-minimax-503-server-overloaded-error`, `pipeline-error-inflection-ai-400-bad-request-validation-failed`, `pipeline-error-inflection-ai-401-unauthorized`, `pipeline-error-inflection-ai-403-model-access-denied`, `pipeline-error-inflection-ai-429-exceeded-quota`, `pipeline-error-inflection-ai-500-server-error`, `pipeline-error-inflection-ai-503-server-overloaded-error`, `pipeline-error-inflection-ai-llm-failed`, `call.in-progress.error-vapifault-inflection-ai-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-inflection-ai-401-unauthorized`, `call.in-progress.error-vapifault-inflection-ai-403-model-access-denied`, `call.in-progress.error-vapifault-inflection-ai-429-exceeded-quota`, `call.in-progress.error-providerfault-inflection-ai-500-server-error`, `call.in-progress.error-providerfault-inflection-ai-503-server-overloaded-error`, `pipeline-error-deep-seek-400-bad-request-validation-failed`, `pipeline-error-deep-seek-401-unauthorized`, `pipeline-error-deep-seek-403-model-access-denied`, `pipeline-error-deep-seek-429-exceeded-quota`, `pipeline-error-deep-seek-500-server-error`, `pipeline-error-deep-seek-503-server-overloaded-error`, `pipeline-error-deep-seek-llm-failed`, `call.in-progress.error-vapifault-deep-seek-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-deep-seek-401-unauthorized`, `call.in-progress.error-vapifault-deep-seek-403-model-access-denied`, `call.in-progress.error-vapifault-deep-seek-429-exceeded-quota`, `call.in-progress.error-providerfault-deep-seek-500-server-error`, `call.in-progress.error-providerfault-deep-seek-503-server-overloaded-error`, `pipeline-error-groq-400-bad-request-validation-failed`, `pipeline-error-groq-401-unauthorized`, `pipeline-error-groq-403-model-access-denied`, `pipeline-error-groq-429-exceeded-quota`, `pipeline-error-groq-500-server-error`, `pipeline-error-groq-503-server-overloaded-error`, `pipeline-error-groq-llm-failed`, `call.in-progress.error-vapifault-groq-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-groq-401-unauthorized`, `call.in-progress.error-vapifault-groq-403-model-access-denied`, `call.in-progress.error-vapifault-groq-429-exceeded-quota`, `call.in-progress.error-providerfault-groq-500-server-error`, `call.in-progress.error-providerfault-groq-503-server-overloaded-error`, `pipeline-error-cerebras-400-bad-request-validation-failed`, `pipeline-error-cerebras-401-unauthorized`, `pipeline-error-cerebras-403-model-access-denied`, `pipeline-error-cerebras-429-exceeded-quota`, `pipeline-error-cerebras-500-server-error`, `pipeline-error-cerebras-503-server-overloaded-error`, `pipeline-error-cerebras-llm-failed`, `call.in-progress.error-vapifault-cerebras-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-cerebras-401-unauthorized`, `call.in-progress.error-vapifault-cerebras-403-model-access-denied`, `call.in-progress.error-vapifault-cerebras-429-exceeded-quota`, `call.in-progress.error-providerfault-cerebras-500-server-error`, `call.in-progress.error-providerfault-cerebras-503-server-overloaded-error`, `pipeline-error-anthropic-400-bad-request-validation-failed`, `pipeline-error-anthropic-401-unauthorized`, `pipeline-error-anthropic-403-model-access-denied`, `pipeline-error-anthropic-429-exceeded-quota`, `pipeline-error-anthropic-500-server-error`, `pipeline-error-anthropic-503-server-overloaded-error`, `pipeline-error-anthropic-llm-failed`, `call.in-progress.error-providerfault-anthropic-llm-failed`, `call.in-progress.error-vapifault-anthropic-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-anthropic-401-unauthorized`, `call.in-progress.error-vapifault-anthropic-403-model-access-denied`, `call.in-progress.error-vapifault-anthropic-429-exceeded-quota`, `call.in-progress.error-providerfault-anthropic-500-server-error`, `call.in-progress.error-providerfault-anthropic-503-server-overloaded-error`, `pipeline-error-anthropic-bedrock-400-bad-request-validation-failed`, `pipeline-error-anthropic-bedrock-401-unauthorized`, `pipeline-error-anthropic-bedrock-403-model-access-denied`, `pipeline-error-anthropic-bedrock-429-exceeded-quota`, `pipeline-error-anthropic-bedrock-500-server-error`, `pipeline-error-anthropic-bedrock-503-server-overloaded-error`, `pipeline-error-anthropic-bedrock-llm-failed`, `call.in-progress.error-providerfault-anthropic-bedrock-llm-failed`, `call.in-progress.error-vapifault-anthropic-bedrock-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-anthropic-bedrock-401-unauthorized`, `call.in-progress.error-vapifault-anthropic-bedrock-403-model-access-denied`, `call.in-progress.error-vapifault-anthropic-bedrock-429-exceeded-quota`, `call.in-progress.error-providerfault-anthropic-bedrock-500-server-error`, `call.in-progress.error-providerfault-anthropic-bedrock-503-server-overloaded-error`, `pipeline-error-anthropic-vertex-400-bad-request-validation-failed`, `pipeline-error-anthropic-vertex-401-unauthorized`, `pipeline-error-anthropic-vertex-403-model-access-denied`, `pipeline-error-anthropic-vertex-429-exceeded-quota`, `pipeline-error-anthropic-vertex-500-server-error`, `pipeline-error-anthropic-vertex-503-server-overloaded-error`, `pipeline-error-anthropic-vertex-llm-failed`, `call.in-progress.error-providerfault-anthropic-vertex-llm-failed`, `call.in-progress.error-vapifault-anthropic-vertex-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-anthropic-vertex-401-unauthorized`, `call.in-progress.error-vapifault-anthropic-vertex-403-model-access-denied`, `call.in-progress.error-vapifault-anthropic-vertex-429-exceeded-quota`, `call.in-progress.error-providerfault-anthropic-vertex-500-server-error`, `call.in-progress.error-providerfault-anthropic-vertex-503-server-overloaded-error`, `pipeline-error-together-ai-400-bad-request-validation-failed`, `pipeline-error-together-ai-401-unauthorized`, `pipeline-error-together-ai-403-model-access-denied`, `pipeline-error-together-ai-429-exceeded-quota`, `pipeline-error-together-ai-500-server-error`, `pipeline-error-together-ai-503-server-overloaded-error`, `pipeline-error-together-ai-llm-failed`, `call.in-progress.error-providerfault-together-ai-llm-failed`, `call.in-progress.error-vapifault-together-ai-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-together-ai-401-unauthorized`, `call.in-progress.error-vapifault-together-ai-403-model-access-denied`, `call.in-progress.error-vapifault-together-ai-429-exceeded-quota`, `call.in-progress.error-providerfault-together-ai-500-server-error`, `call.in-progress.error-providerfault-together-ai-503-server-overloaded-error`, `pipeline-error-anyscale-400-bad-request-validation-failed`, `pipeline-error-anyscale-401-unauthorized`, `pipeline-error-anyscale-403-model-access-denied`, `pipeline-error-anyscale-429-exceeded-quota`, `pipeline-error-anyscale-500-server-error`, `pipeline-error-anyscale-503-server-overloaded-error`, `pipeline-error-anyscale-llm-failed`, `call.in-progress.error-providerfault-anyscale-llm-failed`, `call.in-progress.error-vapifault-anyscale-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-anyscale-401-unauthorized`, `call.in-progress.error-vapifault-anyscale-403-model-access-denied`, `call.in-progress.error-vapifault-anyscale-429-exceeded-quota`, `call.in-progress.error-providerfault-anyscale-500-server-error`, `call.in-progress.error-providerfault-anyscale-503-server-overloaded-error`, `pipeline-error-openrouter-400-bad-request-validation-failed`, `pipeline-error-openrouter-401-unauthorized`, `pipeline-error-openrouter-403-model-access-denied`, `pipeline-error-openrouter-429-exceeded-quota`, `pipeline-error-openrouter-500-server-error`, `pipeline-error-openrouter-503-server-overloaded-error`, `pipeline-error-openrouter-llm-failed`, `call.in-progress.error-providerfault-openrouter-llm-failed`, `call.in-progress.error-vapifault-openrouter-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-openrouter-401-unauthorized`, `call.in-progress.error-vapifault-openrouter-403-model-access-denied`, `call.in-progress.error-vapifault-openrouter-429-exceeded-quota`, `call.in-progress.error-providerfault-openrouter-500-server-error`, `call.in-progress.error-providerfault-openrouter-503-server-overloaded-error`, `pipeline-error-perplexity-ai-400-bad-request-validation-failed`, `pipeline-error-perplexity-ai-401-unauthorized`, `pipeline-error-perplexity-ai-403-model-access-denied`, `pipeline-error-perplexity-ai-429-exceeded-quota`, `pipeline-error-perplexity-ai-500-server-error`, `pipeline-error-perplexity-ai-503-server-overloaded-error`, `pipeline-error-perplexity-ai-llm-failed`, `call.in-progress.error-providerfault-perplexity-ai-llm-failed`, `call.in-progress.error-vapifault-perplexity-ai-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-perplexity-ai-401-unauthorized`, `call.in-progress.error-vapifault-perplexity-ai-403-model-access-denied`, `call.in-progress.error-vapifault-perplexity-ai-429-exceeded-quota`, `call.in-progress.error-providerfault-perplexity-ai-500-server-error`, `call.in-progress.error-providerfault-perplexity-ai-503-server-overloaded-error`, `pipeline-error-deepinfra-400-bad-request-validation-failed`, `pipeline-error-deepinfra-401-unauthorized`, `pipeline-error-deepinfra-403-model-access-denied`, `pipeline-error-deepinfra-429-exceeded-quota`, `pipeline-error-deepinfra-500-server-error`, `pipeline-error-deepinfra-503-server-overloaded-error`, `pipeline-error-deepinfra-llm-failed`, `call.in-progress.error-providerfault-deepinfra-llm-failed`, `call.in-progress.error-vapifault-deepinfra-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-deepinfra-401-unauthorized`, `call.in-progress.error-vapifault-deepinfra-403-model-access-denied`, `call.in-progress.error-vapifault-deepinfra-429-exceeded-quota`, `call.in-progress.error-providerfault-deepinfra-500-server-error`, `call.in-progress.error-providerfault-deepinfra-503-server-overloaded-error`, `pipeline-error-runpod-400-bad-request-validation-failed`, `pipeline-error-runpod-401-unauthorized`, `pipeline-error-runpod-403-model-access-denied`, `pipeline-error-runpod-429-exceeded-quota`, `pipeline-error-runpod-500-server-error`, `pipeline-error-runpod-503-server-overloaded-error`, `pipeline-error-runpod-llm-failed`, `call.in-progress.error-providerfault-runpod-llm-failed`, `call.in-progress.error-vapifault-runpod-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-runpod-401-unauthorized`, `call.in-progress.error-vapifault-runpod-403-model-access-denied`, `call.in-progress.error-vapifault-runpod-429-exceeded-quota`, `call.in-progress.error-providerfault-runpod-500-server-error`, `call.in-progress.error-providerfault-runpod-503-server-overloaded-error`, `pipeline-error-custom-llm-400-bad-request-validation-failed`, `pipeline-error-custom-llm-401-unauthorized`, `pipeline-error-custom-llm-403-model-access-denied`, `pipeline-error-custom-llm-429-exceeded-quota`, `pipeline-error-custom-llm-500-server-error`, `pipeline-error-custom-llm-503-server-overloaded-error`, `pipeline-error-custom-llm-llm-failed`, `call.in-progress.error-providerfault-custom-llm-llm-failed`, `call.in-progress.error-vapifault-custom-llm-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-custom-llm-401-unauthorized`, `call.in-progress.error-vapifault-custom-llm-403-model-access-denied`, `call.in-progress.error-vapifault-custom-llm-429-exceeded-quota`, `call.in-progress.error-providerfault-custom-llm-500-server-error`, `call.in-progress.error-providerfault-custom-llm-503-server-overloaded-error`, `call.in-progress.error-pipeline-ws-model-connection-failed`, `pipeline-error-custom-voice-failed`, `pipeline-error-cartesia-socket-hang-up`, `pipeline-error-cartesia-requested-payment`, `pipeline-error-cartesia-500-server-error`, `pipeline-error-cartesia-502-server-error`, `pipeline-error-cartesia-503-server-error`, `pipeline-error-cartesia-522-server-error`, `call.in-progress.error-vapifault-cartesia-socket-hang-up`, `call.in-progress.error-vapifault-cartesia-requested-payment`, `call.in-progress.error-providerfault-cartesia-500-server-error`, `call.in-progress.error-providerfault-cartesia-502-server-error`, `call.in-progress.error-providerfault-cartesia-503-server-error`, `call.in-progress.error-providerfault-cartesia-522-server-error`, `pipeline-error-eleven-labs-voice-not-found`, `pipeline-error-eleven-labs-quota-exceeded`, `pipeline-error-eleven-labs-unauthorized-access`, `pipeline-error-eleven-labs-unauthorized-to-access-model`, `pipeline-error-eleven-labs-professional-voices-only-for-creator-plus`, `pipeline-error-eleven-labs-blocked-free-plan-and-requested-upgrade`, `pipeline-error-eleven-labs-blocked-concurrent-requests-and-requested-upgrade`, `pipeline-error-eleven-labs-blocked-using-instant-voice-clone-and-requested-upgrade`, `pipeline-error-eleven-labs-system-busy-and-requested-upgrade`, `pipeline-error-eleven-labs-voice-not-fine-tuned`, `pipeline-error-eleven-labs-invalid-api-key`, `pipeline-error-eleven-labs-invalid-voice-samples`, `pipeline-error-eleven-labs-voice-disabled-by-owner`, `pipeline-error-eleven-labs-vapi-voice-disabled-by-owner`, `pipeline-error-eleven-labs-blocked-account-in-probation`, `pipeline-error-eleven-labs-blocked-content-against-their-policy`, `pipeline-error-eleven-labs-missing-samples-for-voice-clone`, `pipeline-error-eleven-labs-voice-not-fine-tuned-and-cannot-be-used`, `pipeline-error-eleven-labs-voice-not-allowed-for-free-users`, `pipeline-error-eleven-labs-max-character-limit-exceeded`, `pipeline-error-eleven-labs-blocked-voice-potentially-against-terms-of-service-and-awaiting-verification`, `pipeline-error-eleven-labs-unsupported-model`, `pipeline-error-eleven-labs-500-server-error`, `pipeline-error-eleven-labs-503-server-error`, `call.in-progress.error-vapifault-eleven-labs-voice-not-found`, `call.in-progress.error-vapifault-eleven-labs-quota-exceeded`, `call.in-progress.error-vapifault-eleven-labs-unauthorized-access`, `call.in-progress.error-vapifault-eleven-labs-unauthorized-to-access-model`, `call.in-progress.error-vapifault-eleven-labs-professional-voices-only-for-creator-plus`, `call.in-progress.error-vapifault-eleven-labs-blocked-free-plan-and-requested-upgrade`, `call.in-progress.error-vapifault-eleven-labs-blocked-concurrent-requests-and-requested-upgrade`, `call.in-progress.error-vapifault-eleven-labs-blocked-using-instant-voice-clone-and-requested-upgrade`, `call.in-progress.error-vapifault-eleven-labs-system-busy-and-requested-upgrade`, `call.in-progress.error-vapifault-eleven-labs-voice-not-fine-tuned`, `call.in-progress.error-vapifault-eleven-labs-invalid-api-key`, `call.in-progress.error-vapifault-eleven-labs-invalid-voice-samples`, `call.in-progress.error-vapifault-eleven-labs-voice-disabled-by-owner`, `call.in-progress.error-vapifault-eleven-labs-blocked-account-in-probation`, `call.in-progress.error-vapifault-eleven-labs-blocked-content-against-their-policy`, `call.in-progress.error-vapifault-eleven-labs-missing-samples-for-voice-clone`, `call.in-progress.error-vapifault-eleven-labs-voice-not-fine-tuned-and-cannot-be-used`, `call.in-progress.error-vapifault-eleven-labs-voice-not-allowed-for-free-users`, `call.in-progress.error-vapifault-eleven-labs-max-character-limit-exceeded`, `call.in-progress.error-vapifault-eleven-labs-blocked-voice-potentially-against-terms-of-service-and-awaiting-verification`, `call.in-progress.error-vapifault-eleven-labs-unsupported-model`, `call.in-progress.error-providerfault-eleven-labs-system-busy-and-requested-upgrade`, `call.in-progress.error-providerfault-eleven-labs-blocked-concurrent-requests-and-requested-upgrade`, `call.in-progress.error-providerfault-eleven-labs-voice-disabled-by-owner`, `call.in-progress.error-providerfault-eleven-labs-vapi-voice-disabled-by-owner`, `call.in-progress.error-providerfault-eleven-labs-500-server-error`, `call.in-progress.error-providerfault-eleven-labs-503-server-error`, `pipeline-error-playht-request-timed-out`, `pipeline-error-playht-invalid-voice`, `pipeline-error-playht-unexpected-error`, `pipeline-error-playht-out-of-credits`, `pipeline-error-playht-invalid-emotion`, `pipeline-error-playht-voice-must-be-a-valid-voice-manifest-uri`, `pipeline-error-playht-401-unauthorized`, `pipeline-error-playht-403-forbidden-out-of-characters`, `pipeline-error-playht-403-forbidden-api-access-not-available`, `pipeline-error-playht-429-exceeded-quota`, `pipeline-error-playht-502-gateway-error`, `pipeline-error-playht-504-gateway-error`, `call.in-progress.error-vapifault-playht-request-timed-out`, `call.in-progress.error-vapifault-playht-invalid-voice`, `call.in-progress.error-vapifault-playht-unexpected-error`, `call.in-progress.error-vapifault-playht-out-of-credits`, `call.in-progress.error-vapifault-playht-invalid-emotion`, `call.in-progress.error-vapifault-playht-voice-must-be-a-valid-voice-manifest-uri`, `call.in-progress.error-vapifault-playht-401-unauthorized`, `call.in-progress.error-vapifault-playht-403-forbidden-out-of-characters`, `call.in-progress.error-vapifault-playht-403-forbidden-api-access-not-available`, `call.in-progress.error-vapifault-playht-429-exceeded-quota`, `call.in-progress.error-providerfault-playht-502-gateway-error`, `call.in-progress.error-providerfault-playht-504-gateway-error`, `pipeline-error-custom-transcriber-failed`, `call.in-progress.error-vapifault-custom-transcriber-failed`, `pipeline-error-eleven-labs-transcriber-failed`, `call.in-progress.error-vapifault-eleven-labs-transcriber-failed`, `pipeline-error-deepgram-returning-400-no-such-model-language-tier-combination`, `pipeline-error-deepgram-returning-401-invalid-credentials`, `pipeline-error-deepgram-returning-403-model-access-denied`, `pipeline-error-deepgram-returning-404-not-found`, `pipeline-error-deepgram-returning-500-invalid-json`, `pipeline-error-deepgram-returning-502-network-error`, `pipeline-error-deepgram-returning-502-bad-gateway-ehostunreach`, `pipeline-error-deepgram-returning-econnreset`, `call.in-progress.error-vapifault-deepgram-returning-400-no-such-model-language-tier-combination`, `call.in-progress.error-vapifault-deepgram-returning-401-invalid-credentials`, `call.in-progress.error-vapifault-deepgram-returning-404-not-found`, `call.in-progress.error-vapifault-deepgram-returning-403-model-access-denied`, `call.in-progress.error-providerfault-deepgram-returning-500-invalid-json`, `call.in-progress.error-providerfault-deepgram-returning-502-network-error`, `call.in-progress.error-providerfault-deepgram-returning-502-bad-gateway-ehostunreach`, `pipeline-error-google-transcriber-failed`, `call.in-progress.error-vapifault-google-transcriber-failed`, `pipeline-error-openai-transcriber-failed`, `call.in-progress.error-vapifault-openai-transcriber-failed`, `pipeline-error-soniox-transcriber-auth-failed`, `pipeline-error-soniox-transcriber-rate-limited`, `pipeline-error-soniox-transcriber-invalid-config`, `pipeline-error-soniox-transcriber-server-error`, `pipeline-error-soniox-transcriber-failed`, `call.in-progress.error-vapifault-soniox-transcriber-auth-failed`, `call.in-progress.error-vapifault-soniox-transcriber-rate-limited`, `call.in-progress.error-vapifault-soniox-transcriber-invalid-config`, `call.in-progress.error-vapifault-soniox-transcriber-server-error`, `call.in-progress.error-vapifault-soniox-transcriber-failed`, `pipeline-error-xai-transcriber-auth-failed`, `pipeline-error-xai-transcriber-rate-limited`, `pipeline-error-xai-transcriber-invalid-config`, `pipeline-error-xai-transcriber-server-error`, `pipeline-error-xai-transcriber-failed`, `call.in-progress.error-vapifault-xai-transcriber-auth-failed`, `call.in-progress.error-vapifault-xai-transcriber-rate-limited`, `call.in-progress.error-vapifault-xai-transcriber-invalid-config`, `call.in-progress.error-vapifault-xai-transcriber-server-error`, `call.in-progress.error-vapifault-xai-transcriber-failed`, `pipeline-error-reson8-transcriber-auth-failed`, `pipeline-error-reson8-transcriber-rate-limited`, `pipeline-error-reson8-transcriber-invalid-config`, `pipeline-error-reson8-transcriber-closed`, `pipeline-error-reson8-transcriber-failed`, `call.in-progress.error-vapifault-reson8-transcriber-auth-failed`, `call.in-progress.error-vapifault-reson8-transcriber-rate-limited`, `call.in-progress.error-vapifault-reson8-transcriber-invalid-config`, `call.in-progress.error-vapifault-reson8-transcriber-closed`, `call.in-progress.error-vapifault-reson8-transcriber-failed`, `pipeline-error-cartesia-transcriber-failed`, `call.in-progress.error-vapifault-cartesia-transcriber-failed`, `call.in-progress.error-warm-transfer-max-duration`, `call.in-progress.error-warm-transfer-assistant-cancelled`, `call.in-progress.error-warm-transfer-silence-timeout`, `call.in-progress.error-warm-transfer-microphone-timeout`, `assistant-ended-call`, `assistant-said-end-call-phrase`, `assistant-ended-call-with-hangup-task`, `assistant-ended-call-after-message-spoken`, `assistant-forwarded-call`, `assistant-join-timed-out`, `call.in-progress.error-assistant-did-not-receive-customer-audio`, `call.in-progress.error-transfer-failed`, `customer-busy`, `customer-ended-call`, `customer-ended-call-before-warm-transfer`, `customer-ended-call-after-warm-transfer-attempt`, `customer-ended-call-during-transfer`, `customer-did-not-answer`, `customer-did-not-give-microphone-permission`, `exceeded-max-duration`, `manually-canceled`, `phone-call-provider-closed-websocket`, `call.forwarding.operator-busy`, `call.forwarding.no-answer`, `silence-timed-out`, `call.in-progress.error-sip-inbound-call-failed-to-connect`, `call.in-progress.error-providerfault-outbound-sip-403-forbidden`, `call.in-progress.error-providerfault-outbound-sip-407-proxy-authentication-required`, `call.in-progress.error-providerfault-outbound-sip-408-request-timeout`, `call.in-progress.error-providerfault-outbound-sip-503-service-unavailable`, `call.in-progress.error-providerfault-outbound-sip-480-temporarily-unavailable`, `call.in-progress.error-sip-outbound-call-failed-to-connect`, `sip-outbound-unallocated-number`, `sip-outbound-carrier-released-call`, `call.ringing.hook-executed-say`, `call.ringing.hook-executed-transfer`, `call.ending.hook-executed-say`, `call.ending.hook-executed-transfer`, `call.ringing.sip-inbound-caller-hungup-before-call-connect`, `call.ringing.error-sip-inbound-call-failed-to-connect`, `twilio-failed-to-connect-call`, `twilio-reported-customer-misdialed`, `vonage-rejected`, `voicemail`, `call-deleted`
- `messages` (list of ServerMessageStatusUpdateMessagesItems, optional) — These are the conversation messages of the call. This is only sent if the status is "forwarding".
- `messagesOpenAIFormatted` (list of OpenAIMessage, optional) — These are the conversation messages of the call. This is only sent if the status is "forwarding".
- `destination` (ServerMessageStatusUpdateDestination, optional) — This is the destination the call is being transferred to. This is only sent if the status is "forwarding".
- `timestamp` (double, optional) — This is the timestamp of the message.
- `artifact` (Artifact, optional) — This is a live version of the `call.artifact`. This matches what is stored on `call.artifact` after the call.
- `assistant` (CreateAssistantDTO, optional) — This is the assistant that the message is associated with.
- `customer` (CreateCustomerDTO, optional) — This is the customer that the message is associated with.
- `call` (Call, optional) — This is the call that the message is associated with.
- `chat` (Chat, optional) — This is the chat object.
- `transcript` (string, optional) — This is the transcript of the call. This is only sent if the status is "forwarding".
- `summary` (string, optional) — This is the summary of the call. This is only sent if the status is "forwarding".
- `inboundPhoneCallDebuggingArtifacts` (ServerMessageStatusUpdateInboundPhoneCallDebuggingArtifacts, optional) — This is the inbound phone call debugging artifacts. This is only sent if the status is "ended" and there was an error accepting the inbound phone call. This will include any errors related to the "assistant-request" if one was made.

### ServerMessageToolCalls

- `toolWithToolCallList` (list of ServerMessageToolCallsToolWithToolCallListItems, required) — This is the list of tools calls that the model is requesting along with the original tool configuration.
- `toolCallList` (list of ToolCall, required) — This is the list of tool calls that the model is requesting.
- `phoneNumber` (ServerMessageToolCallsPhoneNumber, optional) — This is the phone number that the message is associated with.
- `assistantVersion` (string, optional, nullable) — This is the version label (e.g. `v3`) of the assistant the call was configured with. `null` for inline assistants, squad/workflow calls, pre-resolution assistant-request messages, and orgs not on assistant versioning.
- `type` (enum, optional) — This is the type of the message. "tool-calls" is sent to call a tool.
  - Allowed values: `tool-calls`
- `timestamp` (double, optional) — This is the timestamp of the message.
- `artifact` (Artifact, optional) — This is a live version of the `call.artifact`. This matches what is stored on `call.artifact` after the call.
- `assistant` (CreateAssistantDTO, optional) — This is the assistant that the message is associated with.
- `customer` (CreateCustomerDTO, optional) — This is the customer that the message is associated with.
- `call` (Call, optional) — This is the call that the message is associated with.
- `chat` (Chat, optional) — This is the chat object.

### ServerMessageTransferDestinationRequest

- `type` (enum, required) — This is the type of the message. "transfer-destination-request" is sent when the model is requesting transfer but destination is unknown.
  - Allowed values: `transfer-destination-request`
- `phoneNumber` (ServerMessageTransferDestinationRequestPhoneNumber, optional) — This is the phone number that the message is associated with.
- `assistantVersion` (string, optional, nullable) — This is the version label (e.g. `v3`) of the assistant the call was configured with. `null` for inline assistants, squad/workflow calls, pre-resolution assistant-request messages, and orgs not on assistant versioning.
- `timestamp` (double, optional) — This is the timestamp of the message.
- `artifact` (Artifact, optional) — This is a live version of the `call.artifact`. This matches what is stored on `call.artifact` after the call.
- `assistant` (CreateAssistantDTO, optional) — This is the assistant that the message is associated with.
- `customer` (CreateCustomerDTO, optional) — This is the customer that the message is associated with.
- `call` (Call, optional) — This is the call that the message is associated with.
- `chat` (Chat, optional) — This is the chat object.

### ServerMessageTransferUpdate

- `type` (enum, required) — This is the type of the message. "transfer-update" is sent whenever a transfer happens.
  - Allowed values: `transfer-update`
- `phoneNumber` (ServerMessageTransferUpdatePhoneNumber, optional) — This is the phone number that the message is associated with.
- `assistantVersion` (string, optional, nullable) — This is the version label (e.g. `v3`) of the assistant the call was configured with. `null` for inline assistants, squad/workflow calls, pre-resolution assistant-request messages, and orgs not on assistant versioning.
- `destination` (ServerMessageTransferUpdateDestination, optional) — This is the destination of the transfer.
- `timestamp` (double, optional) — This is the timestamp of the message.
- `artifact` (Artifact, optional) — This is a live version of the `call.artifact`. This matches what is stored on `call.artifact` after the call.
- `assistant` (CreateAssistantDTO, optional) — This is the assistant that the message is associated with.
- `customer` (CreateCustomerDTO, optional) — This is the customer that the message is associated with.
- `call` (Call, optional) — This is the call that the message is associated with.
- `chat` (Chat, optional) — This is the chat object.
- `toAssistant` (CreateAssistantDTO, optional) — This is the assistant that the call is being transferred to. This is only sent if `destination.type` is "assistant".
- `fromAssistant` (CreateAssistantDTO, optional) — This is the assistant that the call is being transferred from. This is only sent if `destination.type` is "assistant".
- `toStepRecord` (ServerMessageTransferUpdateToStepRecord, optional) — This is the step that the conversation moved to.
- `fromStepRecord` (ServerMessageTransferUpdateFromStepRecord, optional) — This is the step that the conversation moved from. =

### ServerMessageTranscript

- `type` (enum, required) — This is the type of the message. "transcript" is sent as transcriber outputs partial or final transcript.
  - Allowed values: `transcript`, `transcript[transcriptType="final"]`
- `role` (enum, required) — This is the role for which the transcript is for.
  - Allowed values: `assistant`, `user`
- `transcriptType` (enum, required) — This is the type of the transcript.
  - Allowed values: `partial`, `final`
- `transcript` (string, required) — This is the transcript content.
- `phoneNumber` (ServerMessageTranscriptPhoneNumber, optional) — This is the phone number that the message is associated with.
- `assistantVersion` (string, optional, nullable) — This is the version label (e.g. `v3`) of the assistant the call was configured with. `null` for inline assistants, squad/workflow calls, pre-resolution assistant-request messages, and orgs not on assistant versioning.
- `timestamp` (double, optional) — This is the timestamp of the message.
- `artifact` (Artifact, optional) — This is a live version of the `call.artifact`. This matches what is stored on `call.artifact` after the call.
- `assistant` (CreateAssistantDTO, optional) — This is the assistant that the message is associated with.
- `customer` (CreateCustomerDTO, optional) — This is the customer that the message is associated with.
- `call` (Call, optional) — This is the call that the message is associated with.
- `chat` (Chat, optional) — This is the chat object.
- `assistantId` (string, optional) — The ID of the assistant that produced this transcript. Present on assistant-role events when an active assistant ID is available.
- `assistantName` (string, optional) — The name of the assistant that produced this transcript. Present on assistant-role events when an active assistant name is available.
- `isFiltered` (boolean, optional) — Indicates if the transcript was filtered for security reasons.
- `detectedThreats` (list of string, optional) — List of detected security threats if the transcript was filtered.
- `originalTranscript` (string, optional) — The original transcript before filtering (only included if content was filtered).
- `confidence` (double, optional) — The transcriber's confidence score for this transcript, in [0, 1]. Only ever set alongside `confidenceSource` — see there for why an unmarked score is never included. Set only on final user-role transcripts: each live message carries the score of the one fragment it was built from, and `artifact.messages` agrees with it per fragment. A stored message built from several consecutive fragments reports the minimum across them as 'derived', so it can differ from the individual live messages that fed it. Partials never carry a score, because nothing stored exists for a partial's score to agree with.
- `confidenceSource` (enum, optional) — Whether `confidence` came directly from the transcriber ('provider') or was computed by Vapi ('derived'). 'derived' means Vapi computed the score from the transcriber's per-word scores; the exact aggregation is provider-specific (an average, a median or a minimum, depending on the transcriber). Absent means no trustworthy score was available for this transcript: either the transcriber does not report one, or the value it reported was invalid and was dropped.
  - Allowed values: `provider`, `derived`

### ServerMessageUserInterrupted

- `type` (enum, required) — This is the type of the message. "user-interrupted" is sent when the user interrupts the assistant.
  - Allowed values: `user-interrupted`
- `phoneNumber` (ServerMessageUserInterruptedPhoneNumber, optional) — This is the phone number that the message is associated with.
- `assistantVersion` (string, optional, nullable) — This is the version label (e.g. `v3`) of the assistant the call was configured with. `null` for inline assistants, squad/workflow calls, pre-resolution assistant-request messages, and orgs not on assistant versioning.
- `turnId` (string, optional) — This is the turnId of the LLM response that was interrupted. Matches the turnId on model-output messages so clients can discard the interrupted turn's tokens.
- `timestamp` (double, optional) — This is the timestamp of the message.
- `artifact` (Artifact, optional) — This is a live version of the `call.artifact`. This matches what is stored on `call.artifact` after the call.
- `assistant` (CreateAssistantDTO, optional) — This is the assistant that the message is associated with.
- `customer` (CreateCustomerDTO, optional) — This is the customer that the message is associated with.
- `call` (Call, optional) — This is the call that the message is associated with.
- `chat` (Chat, optional) — This is the chat object.

### ServerMessageLanguageChangeDetected

- `type` (enum, required) — This is the type of the message. "language-change-detected" is sent when the transcriber is automatically switched based on the detected language.
  - Allowed values: `language-change-detected`
- `language` (string, required) — This is the language the transcriber is switched to.
- `phoneNumber` (ServerMessageLanguageChangeDetectedPhoneNumber, optional) — This is the phone number that the message is associated with.
- `assistantVersion` (string, optional, nullable) — This is the version label (e.g. `v3`) of the assistant the call was configured with. `null` for inline assistants, squad/workflow calls, pre-resolution assistant-request messages, and orgs not on assistant versioning.
- `timestamp` (double, optional) — This is the timestamp of the message.
- `artifact` (Artifact, optional) — This is a live version of the `call.artifact`. This matches what is stored on `call.artifact` after the call.
- `assistant` (CreateAssistantDTO, optional) — This is the assistant that the message is associated with.
- `customer` (CreateCustomerDTO, optional) — This is the customer that the message is associated with.
- `call` (Call, optional) — This is the call that the message is associated with.
- `chat` (Chat, optional) — This is the chat object.

### ServerMessageVoiceInput

- `type` (enum, required) — This is the type of the message. "voice-input" is sent when a generation is requested from voice provider.
  - Allowed values: `voice-input`
- `input` (string, required) — This is the voice input content
- `phoneNumber` (ServerMessageVoiceInputPhoneNumber, optional) — This is the phone number that the message is associated with.
- `assistantVersion` (string, optional, nullable) — This is the version label (e.g. `v3`) of the assistant the call was configured with. `null` for inline assistants, squad/workflow calls, pre-resolution assistant-request messages, and orgs not on assistant versioning.
- `timestamp` (double, optional) — This is the timestamp of the message.
- `artifact` (Artifact, optional) — This is a live version of the `call.artifact`. This matches what is stored on `call.artifact` after the call.
- `assistant` (CreateAssistantDTO, optional) — This is the assistant that the message is associated with.
- `customer` (CreateCustomerDTO, optional) — This is the customer that the message is associated with.
- `call` (Call, optional) — This is the call that the message is associated with.
- `chat` (Chat, optional) — This is the chat object.

### ServerMessageAssistantSpeech

- `type` (enum, required) — This is the type of the message. "assistant-speech" is sent as assistant audio is being played.
  - Allowed values: `assistant.speechStarted`
- `text` (string, required) — The full assistant text for the current turn. This is the complete text, not an incremental delta — consumers should use `timing` metadata (e.g. `wordsSpoken`) to determine which portion has been spoken so far.
- `phoneNumber` (ServerMessageAssistantSpeechPhoneNumber, optional) — This is the phone number that the message is associated with.
- `assistantVersion` (string, optional, nullable) — This is the version label (e.g. `v3`) of the assistant the call was configured with. `null` for inline assistants, squad/workflow calls, pre-resolution assistant-request messages, and orgs not on assistant versioning.
- `turn` (double, optional) — This is the turn number of the assistant speech event (0-indexed).
- `source` (enum, optional) — Indicates how the text was sourced.
  - Allowed values: `model`, `force-say`, `custom-voice`
- `timing` (ServerMessageAssistantSpeechTiming, optional) — Optional timing metadata. Shape depends on `timing.type`: - `word-alignment` (ElevenLabs): per-character timing at playback cadence. words[] includes space entries. Best consumed by tracking a running character count: join timing.words, add to a char cursor, and highlight text up to that position. No interpolation needed. - `word-progress` (Minimax with voice.subtitleType: 'word'): cursor- based word count per TTS segment. Use wordsSpoken as the anchor, interpolate forward using segmentDurationMs or timing.words until the next event arrives. When absent, the event is a text-only fallback for providers without word-level timing (e.g. Cartesia, Deepgram, Azure). Text emits once per TTS chunk when audio is playing. Optionally interpolate a word cursor at ~3.5 words/sec between events for approximate tracking.
- `timestamp` (double, optional) — This is the timestamp of the message.
- `artifact` (Artifact, optional) — This is a live version of the `call.artifact`. This matches what is stored on `call.artifact` after the call.
- `assistant` (CreateAssistantDTO, optional) — This is the assistant that the message is associated with.
- `customer` (CreateCustomerDTO, optional) — This is the customer that the message is associated with.
- `call` (Call, optional) — This is the call that the message is associated with.
- `chat` (Chat, optional) — This is the chat object.

### ServerMessageVoiceRequest

- `type` (enum, required) — This is the type of the message. "voice-request" is sent when using `assistant.voice=\{ "type": "custom-voice" }`. Here is what the request will look like: POST https\://\{assistant.voice.server.url} Content-Type: application/json \{ "messsage": \{ "type": "voice-request", "text": "Hello, world!", "sampleRate": 24000, ...other metadata about the call... } } The expected response is 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport: ``` response.on('data', (chunk: Buffer) => \{ outputStream.write(chunk); }); ```
  - Allowed values: `voice-request`
- `text` (string, required) — This is the text to be synthesized.
- `sampleRate` (double, required) — This is the sample rate to be synthesized.
- `phoneNumber` (ServerMessageVoiceRequestPhoneNumber, optional) — This is the phone number that the message is associated with.
- `assistantVersion` (string, optional, nullable) — This is the version label (e.g. `v3`) of the assistant the call was configured with. `null` for inline assistants, squad/workflow calls, pre-resolution assistant-request messages, and orgs not on assistant versioning.
- `timestamp` (double, optional) — This is the timestamp of the message.
- `artifact` (Artifact, optional) — This is a live version of the `call.artifact`. This matches what is stored on `call.artifact` after the call.
- `assistant` (CreateAssistantDTO, optional) — This is the assistant that the message is associated with.
- `customer` (CreateCustomerDTO, optional) — This is the customer that the message is associated with.
- `call` (Call, optional) — This is the call that the message is associated with.
- `chat` (Chat, optional) — This is the chat object.

### ServerMessageCallEndpointingRequest

- `type` (enum, required) — This is the type of the message. "call.endpointing.request" is sent when using `assistant.startSpeakingPlan.smartEndpointingPlan=\{ "provider": "custom-endpointing-model" }`. Here is what the request will look like: POST https\://\{assistant.startSpeakingPlan.smartEndpointingPlan.server.url} Content-Type: application/json \{ "message": \{ "type": "call.endpointing.request", "messages": \[ \{ "role": "user", "message": "Hello, how are you?", "time": 1234567890, "secondsFromStart": 0 } ], ...other metadata about the call... } } The expected response: \{ "timeoutSeconds": 0.5 }
  - Allowed values: `call.endpointing.request`
- `messagesOpenAIFormatted` (list of OpenAIMessage, required) — This is just `messages` formatted for OpenAI.
- `phoneNumber` (ServerMessageCallEndpointingRequestPhoneNumber, optional) — This is the phone number that the message is associated with.
- `assistantVersion` (string, optional, nullable) — This is the version label (e.g. `v3`) of the assistant the call was configured with. `null` for inline assistants, squad/workflow calls, pre-resolution assistant-request messages, and orgs not on assistant versioning.
- `messages` (list of ServerMessageCallEndpointingRequestMessagesItems, optional) — This is the conversation history at the time of the endpointing request.
- `timestamp` (double, optional) — This is the timestamp of the message.
- `artifact` (Artifact, optional) — This is a live version of the `call.artifact`. This matches what is stored on `call.artifact` after the call.
- `assistant` (CreateAssistantDTO, optional) — This is the assistant that the message is associated with.
- `customer` (CreateCustomerDTO, optional) — This is the customer that the message is associated with.
- `call` (Call, optional) — This is the call that the message is associated with.
- `chat` (Chat, optional) — This is the chat object.

### ServerMessageChatCreated

- `type` (enum, required) — This is the type of the message. "chat.created" is sent when a new chat is created.
  - Allowed values: `chat.created`
- `chat` (Chat, required) — This is the chat that was created.
- `phoneNumber` (ServerMessageChatCreatedPhoneNumber, optional) — This is the phone number that the message is associated with.
- `assistantVersion` (string, optional, nullable) — This is the version label (e.g. `v3`) of the assistant the call was configured with. `null` for inline assistants, squad/workflow calls, pre-resolution assistant-request messages, and orgs not on assistant versioning.
- `timestamp` (double, optional) — This is the timestamp of the message.
- `artifact` (Artifact, optional) — This is a live version of the `call.artifact`. This matches what is stored on `call.artifact` after the call.
- `assistant` (CreateAssistantDTO, optional) — This is the assistant that the message is associated with.
- `customer` (CreateCustomerDTO, optional) — This is the customer that the message is associated with.
- `call` (Call, optional) — This is the call that the message is associated with.

### ServerMessageChatDeleted

- `type` (enum, required) — This is the type of the message. "chat.deleted" is sent when a chat is deleted.
  - Allowed values: `chat.deleted`
- `chat` (Chat, required) — This is the chat that was deleted.
- `phoneNumber` (ServerMessageChatDeletedPhoneNumber, optional) — This is the phone number that the message is associated with.
- `assistantVersion` (string, optional, nullable) — This is the version label (e.g. `v3`) of the assistant the call was configured with. `null` for inline assistants, squad/workflow calls, pre-resolution assistant-request messages, and orgs not on assistant versioning.
- `timestamp` (double, optional) — This is the timestamp of the message.
- `artifact` (Artifact, optional) — This is a live version of the `call.artifact`. This matches what is stored on `call.artifact` after the call.
- `assistant` (CreateAssistantDTO, optional) — This is the assistant that the message is associated with.
- `customer` (CreateCustomerDTO, optional) — This is the customer that the message is associated with.
- `call` (Call, optional) — This is the call that the message is associated with.

### ServerMessageSessionCreated

- `type` (enum, required) — This is the type of the message. "session.created" is sent when a new session is created.
  - Allowed values: `session.created`
- `session` (Session, required) — This is the session that was created.
- `phoneNumber` (ServerMessageSessionCreatedPhoneNumber, optional) — This is the phone number that the message is associated with.
- `assistantVersion` (string, optional, nullable) — This is the version label (e.g. `v3`) of the assistant the call was configured with. `null` for inline assistants, squad/workflow calls, pre-resolution assistant-request messages, and orgs not on assistant versioning.
- `timestamp` (double, optional) — This is the timestamp of the message.
- `artifact` (Artifact, optional) — This is a live version of the `call.artifact`. This matches what is stored on `call.artifact` after the call.
- `assistant` (CreateAssistantDTO, optional) — This is the assistant that the message is associated with.
- `customer` (CreateCustomerDTO, optional) — This is the customer that the message is associated with.
- `call` (Call, optional) — This is the call that the message is associated with.
- `chat` (Chat, optional) — This is the chat object.

### ServerMessageSessionUpdated

- `type` (enum, required) — This is the type of the message. "session.updated" is sent when a session is updated.
  - Allowed values: `session.updated`
- `session` (Session, required) — This is the session that was updated.
- `phoneNumber` (ServerMessageSessionUpdatedPhoneNumber, optional) — This is the phone number that the message is associated with.
- `assistantVersion` (string, optional, nullable) — This is the version label (e.g. `v3`) of the assistant the call was configured with. `null` for inline assistants, squad/workflow calls, pre-resolution assistant-request messages, and orgs not on assistant versioning.
- `timestamp` (double, optional) — This is the timestamp of the message.
- `artifact` (Artifact, optional) — This is a live version of the `call.artifact`. This matches what is stored on `call.artifact` after the call.
- `assistant` (CreateAssistantDTO, optional) — This is the assistant that the message is associated with.
- `customer` (CreateCustomerDTO, optional) — This is the customer that the message is associated with.
- `call` (Call, optional) — This is the call that the message is associated with.
- `chat` (Chat, optional) — This is the chat object.

### ServerMessageSessionDeleted

- `type` (enum, required) — This is the type of the message. "session.deleted" is sent when a session is deleted.
  - Allowed values: `session.deleted`
- `session` (Session, required) — This is the session that was deleted.
- `phoneNumber` (ServerMessageSessionDeletedPhoneNumber, optional) — This is the phone number that the message is associated with.
- `assistantVersion` (string, optional, nullable) — This is the version label (e.g. `v3`) of the assistant the call was configured with. `null` for inline assistants, squad/workflow calls, pre-resolution assistant-request messages, and orgs not on assistant versioning.
- `timestamp` (double, optional) — This is the timestamp of the message.
- `artifact` (Artifact, optional) — This is a live version of the `call.artifact`. This matches what is stored on `call.artifact` after the call.
- `assistant` (CreateAssistantDTO, optional) — This is the assistant that the message is associated with.
- `customer` (CreateCustomerDTO, optional) — This is the customer that the message is associated with.
- `call` (Call, optional) — This is the call that the message is associated with.
- `chat` (Chat, optional) — This is the chat object.

### ServerMessageCallDeleted

- `type` (enum, required) — This is the type of the message. "call.deleted" is sent when a call is deleted.
  - Allowed values: `call.deleted`
- `phoneNumber` (ServerMessageCallDeletedPhoneNumber, optional) — This is the phone number that the message is associated with.
- `assistantVersion` (string, optional, nullable) — This is the version label (e.g. `v3`) of the assistant the call was configured with. `null` for inline assistants, squad/workflow calls, pre-resolution assistant-request messages, and orgs not on assistant versioning.
- `timestamp` (double, optional) — This is the timestamp of the message.
- `artifact` (Artifact, optional) — This is a live version of the `call.artifact`. This matches what is stored on `call.artifact` after the call.
- `assistant` (CreateAssistantDTO, optional) — This is the assistant that the message is associated with.
- `customer` (CreateCustomerDTO, optional) — This is the customer that the message is associated with.
- `call` (Call, optional) — This is the call that the message is associated with.
- `chat` (Chat, optional) — This is the chat object.

### ServerMessageCallDeleteFailed

- `type` (enum, required) — This is the type of the message. "call.deleted" is sent when a call is deleted.
  - Allowed values: `call.delete.failed`
- `phoneNumber` (ServerMessageCallDeleteFailedPhoneNumber, optional) — This is the phone number that the message is associated with.
- `assistantVersion` (string, optional, nullable) — This is the version label (e.g. `v3`) of the assistant the call was configured with. `null` for inline assistants, squad/workflow calls, pre-resolution assistant-request messages, and orgs not on assistant versioning.
- `timestamp` (double, optional) — This is the timestamp of the message.
- `artifact` (Artifact, optional) — This is a live version of the `call.artifact`. This matches what is stored on `call.artifact` after the call.
- `assistant` (CreateAssistantDTO, optional) — This is the assistant that the message is associated with.
- `customer` (CreateCustomerDTO, optional) — This is the customer that the message is associated with.
- `call` (Call, optional) — This is the call that the message is associated with.
- `chat` (Chat, optional) — This is the chat object.

### ServerMessageCallArtifactUpload

- `type` (enum, required) — This is the type of the message. "call.artifact.upload" is sent after a call to report whether each artifact was stored in your own configured storage.
  - Allowed values: `call.artifact.upload`
- `artifacts` (list of CallArtifactUploadItem, required) — One entry per artifact whose write targeted your own configured storage, each reporting whether that artifact was stored successfully. Artifacts that were not destined for your own storage (Vapi default storage, or no storage credential configured) are omitted, and this message is sent only when at least one artifact targeted your own storage.
- `phoneNumber` (ServerMessageCallArtifactUploadPhoneNumber, optional) — This is the phone number that the message is associated with.
- `assistantVersion` (string, optional, nullable) — This is the version label (e.g. `v3`) of the assistant the call was configured with. `null` for inline assistants, squad/workflow calls, pre-resolution assistant-request messages, and orgs not on assistant versioning.
- `timestamp` (double, optional) — This is the timestamp of the message.
- `artifact` (Artifact, optional) — This is a live version of the `call.artifact`. This matches what is stored on `call.artifact` after the call.
- `assistant` (CreateAssistantDTO, optional) — This is the assistant that the message is associated with.
- `customer` (CreateCustomerDTO, optional) — This is the customer that the message is associated with.
- `call` (Call, optional) — This is the call that the message is associated with.
- `chat` (Chat, optional) — This is the chat object.

### ServerMessageCampaignPredial

- `type` (enum, required) — This is the type of the message. "campaign.predial" is sent to the campaign's server before each contact is dialed, so the server can decide whether the contact is eligible to be called. It is only sent when the campaign's `predialPlan` is set (and not disabled).
  - Allowed values: `campaign.predial`
- `campaignId` (string, required) — This is the ID of the campaign the contact belongs to.
- `contact` (CampaignContact, required) — This is the contact that is about to be dialed.
- `phoneNumber` (ServerMessageCampaignPredialPhoneNumber, optional) — This is the phone number that the message is associated with.
- `assistantVersion` (string, optional, nullable) — This is the version label (e.g. `v3`) of the assistant the call was configured with. `null` for inline assistants, squad/workflow calls, pre-resolution assistant-request messages, and orgs not on assistant versioning.
- `timestamp` (double, optional) — This is the timestamp of the message.
- `artifact` (Artifact, optional) — This is a live version of the `call.artifact`. This matches what is stored on `call.artifact` after the call.
- `assistant` (CreateAssistantDTO, optional) — This is the assistant that the message is associated with.
- `customer` (CreateCustomerDTO, optional) — This is the customer that the message is associated with.
- `call` (Call, optional) — This is the call that the message is associated with.
- `chat` (Chat, optional) — This is the chat object.

### ServerMessageResponseAssistantRequest

- `destination` (ServerMessageResponseAssistantRequestDestination, optional) — This is the destination to transfer the inbound call to. This will immediately transfer without using any assistants. If this is sent, `assistantId`, `assistant`, `squadId`, and `squad` are ignored.
- `assistantId` (string, optional) — This is the assistant ID that will be used for the call. To use a transient assistant, use `assistant` instead. To start a call with: - Assistant, use `assistantId` or `assistant` - Squad, use `squadId` or `squad` - Workflow, use `workflowId` or `workflow`
- `assistant` (TransientAssistantDTO, optional) — This is the assistant that will be used for the call. To use an existing assistant, use `assistantId` instead. To start a call with: - Assistant, use `assistant` - Squad, use `squad` - Workflow, use `workflow`
- `assistantOverrides` (AssistantOverrides, optional) — These are the overrides for the `assistant` or `assistantId`'s settings and template variables.
- `squadId` (string, optional) — This is the squad that will be used for the call. To use a transient squad, use `squad` instead. To start a call with: - Assistant, use `assistant` or `assistantId` - Squad, use `squad` or `squadId` - Workflow, use `workflow` or `workflowId`
- `squad` (CreateSquadDTO, optional) — This is a squad that will be used for the call. To use an existing squad, use `squadId` instead. To start a call with: - Assistant, use `assistant` or `assistantId` - Squad, use `squad` or `squadId` - Workflow, use `workflow` or `workflowId`
- `squadOverrides` (AssistantOverrides, optional) — These are the overrides for the `squad` or `squadId`'s member settings and template variables. This will apply to all members of the squad.
- `workflowId` (string, optional) — This is the workflow that will be used for the call. To use a transient workflow, use `workflow` instead. To start a call with: - Assistant, use `assistant` or `assistantId` - Squad, use `squad` or `squadId` - Workflow, use `workflow` or `workflowId`
- `workflow` (CreateWorkflowDTO, optional) — This is a workflow that will be used for the call. To use an existing workflow, use `workflowId` instead. To start a call with: - Assistant, use `assistant` or `assistantId` - Squad, use `squad` or `squadId` - Workflow, use `workflow` or `workflowId`
- `workflowOverrides` (WorkflowOverrides, optional) — These are the overrides for the `workflow` or `workflowId`'s settings and template variables.
- `error` (string, optional) — This is the error if the call shouldn't be accepted. This is spoken to the customer. If this is sent, `assistantId`, `assistant`, `squadId`, `squad`, and `destination` are ignored.

### ServerMessageResponseHandoffDestinationRequest

- `destination` (ServerMessageResponseHandoffDestinationRequestDestination, required) — This is the destination you'd like the call to be transferred to.
- `result` (string, optional) — This is the local tool result message returned for the handoff tool call.
- `error` (string, optional) — This is the error message if the handoff should not be made.

### ServerMessageResponseKnowledgeBaseRequest

- `documents` (list of KnowledgeBaseResponseDocument, optional) — This is the list of documents that will be sent to the model alongside the `messages` to generate a response.
- `message` (CustomMessage, optional) — This can be used to skip the model output generation and speak a custom message.

### ServerMessageResponseToolCalls

- `results` (list of ToolCallResult, optional) — These are the results of the "tool-calls" message.
- `error` (string, optional) — This is the error message if the tool call was not successful.

### ServerMessageResponseTransferDestinationRequest

- `destination` (ServerMessageResponseTransferDestinationRequestDestination, optional) — This is the destination you'd like the call to be transferred to.
- `message` (ServerMessageResponseTransferDestinationRequestMessage, optional) — This is the message that will be spoken to the user as the tool is running.
- `error` (string, optional) — This is the error message if the transfer should not be made.

### ServerMessageResponseVoiceRequest

- `data` (string, required) — DO NOT respond to a `voice-request` webhook with this schema of \{ data }. This schema just exists to document what the response should look like. Follow these instructions: Here is what the request will look like: POST https\://\{assistant.voice.server.url} Content-Type: application/json \{ "messsage": \{ "type": "voice-request", "text": "Hello, world!", "sampleRate": 24000, ...other metadata about the call... } } The expected response is 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport: ``` response.on('data', (chunk: Buffer) => \{ outputStream.write(chunk); }); ```

### ServerMessageResponseCallEndpointingRequest

- `timeoutSeconds` (double, required) — This is the timeout in seconds to wait before considering the user's speech as finished.

### ServerMessageResponseCampaignPredial

- `eligible` (boolean, required) — This is whether the contact is eligible to be dialed. `true` places the call; `false` skips the contact. Any other response — a missing or non-boolean `eligible`, an unreachable server, an error, or a timeout — records a pre-dial failure for the contact and the call is not placed.

### ServerMessageAssistantRequestPhoneNumber

This is the phone number that the message is associated with.

- ByoPhoneNumber: CreateByoPhoneNumberDTO
- TwilioPhoneNumber: CreateTwilioPhoneNumberDTO
- VonagePhoneNumber: CreateVonagePhoneNumberDTO
- VapiPhoneNumber: CreateVapiPhoneNumberDTO
- TelnyxPhoneNumber: CreateTelnyxPhoneNumberDTO

### Artifact

- `messages` (list of ArtifactMessagesItems, optional) — These are the messages that were spoken during the call.
- `messagesOpenAIFormatted` (list of OpenAIMessage, optional) — These are the messages that were spoken during the call, formatted for OpenAI.
- `skippedStructuredOutputs` (map from string to SkippedStructuredOutput, optional) — Structured outputs skipped because their conditions were not met, keyed by saved or runtime output ID.
- `transfers` (list of TransferArtifact, optional) — These are the transfer records for the call's transfer attempts (warm and blind), including destination, mode, and status. Warm transfer records also include transcripts and messages.
- `recording` (Recording, optional) — This is the recording url for the call. To enable, set `assistant.artifactPlan.recordingEnabled`.
- `transcript` (string, optional) — This is the transcript of the call. This is derived from `artifact.messages` but provided for convenience.
- `pcapUrl` (string, optional) — This is the packet capture url for the call. This is only available for `phone` type calls where phone number's provider is `vapi` or `byo-phone-number`.
- `logUrl` (string, optional) — This is the url for the call logs. This includes all logging output during the call for debugging purposes.
- `nodes` (list of NodeArtifact, optional) — This is the history of workflow nodes that were executed during the call.
- `assistantActivations` (list of AssistantActivation, optional) — Ordered list of assistants that were active during the call, including after transfers and handoffs.
- `variableValues` (ArtifactVariableValues, optional) — These are the variable values at the end of the workflow execution.
- `performanceMetrics` (PerformanceMetrics, optional) — This is the performance metrics for the call. It contains the turn latency, broken down by component.
- `structuredOutputs` (ArtifactStructuredOutputs, optional) — These are the structured outputs that will be extracted from the call. To enable, set `assistant.artifactPlan.structuredOutputIds` with the IDs of the structured outputs you want to extract.
- `scorecards` (ArtifactScorecards, optional) — These are the scorecards that have been evaluated based on the structured outputs extracted during the call. To enable, set `assistant.artifactPlan.scorecardIds` or `assistant.artifactPlan.scorecards` with the IDs or objects of the scorecards you want to evaluate.
- `structuredOutputsLastUpdatedAt` (datetime, optional) — This is when the structured outputs were last updated
- `presignedMonoUrl` (string, optional) — This is a presigned URL to download the mono recording without authentication. Populated on API responses and server messages; never stored. Expires at `presignedUrlsExpiresAt` — after that, use `GET /call/{id}/mono-recording`.
- `presignedStereoUrl` (string, optional) — This is a presigned URL to download the stereo recording without authentication. Expires at `presignedUrlsExpiresAt` — after that, use `GET /call/{id}/stereo-recording`.
- `presignedVideoUrl` (string, optional) — This is a presigned URL to download the video recording without authentication. Expires at `presignedUrlsExpiresAt` — after that, use `GET /call/{id}/video-recording`.
- `presignedAssistantUrl` (string, optional) — This is a presigned URL to download the assistant-channel mono recording without authentication. Expires at `presignedUrlsExpiresAt`.
- `presignedCustomerUrl` (string, optional) — This is a presigned URL to download the customer-channel mono recording without authentication. Expires at `presignedUrlsExpiresAt`.
- `presignedPcapUrl` (string, optional) — This is a presigned URL to download the packet capture without authentication. Expires at `presignedUrlsExpiresAt`.
- `presignedLogUrl` (string, optional) — This is a presigned URL to download the call logs without authentication. Expires at `presignedUrlsExpiresAt`.
- `presignedUrlsExpiresAt` (string, optional) — This is when the presigned URLs above expire, as an ISO 8601 timestamp. The raw `*Url` fields remain the stable identifiers and do not expire. Presigned URLs are regenerated per response and per webhook delivery, so values differ across retries.
- `recordingUrl` (string, optional, deprecated) — This is the recording url for the call. To enable, set `assistant.artifactPlan.recordingEnabled`.
- `stereoRecordingUrl` (string, optional, deprecated) — This is the stereo recording url for the call. To enable, set `assistant.artifactPlan.recordingEnabled`.
- `videoRecordingUrl` (string, optional, deprecated) — This is video recording url for the call. To enable, set `assistant.artifactPlan.videoRecordingEnabled`.
- `videoRecordingStartDelaySeconds` (double, optional, deprecated) — This is video recording start delay in ms. To enable, set `assistant.artifactPlan.videoRecordingEnabled`. This can be used to align the playback of the recording with artifact.messages timestamps.

### CreateAssistantDTO

- `transcriber` (CreateAssistantDtoTranscriber, optional) — These are the options for the assistant's transcriber.
- `model` (CreateAssistantDtoModel, optional) — These are the options for the assistant's LLM.
- `voice` (CreateAssistantDtoVoice, optional) — These are the options for the assistant's voice.
- `firstMessage` (string, optional) — This is the first message that the assistant will say. This can also be a URL to a containerized audio file (mp3, wav, etc.). If unspecified, assistant will wait for user to speak and use the model to respond once they speak.
- `firstMessageInterruptionsEnabled` (boolean, optional, default: false)
- `firstMessageMode` (enum, optional) — This is the mode for the first message. Default is 'assistant-speaks-first'. Use: - 'assistant-speaks-first' to have the assistant speak first. - 'assistant-waits-for-user' to have the assistant wait for the user to speak first. - 'assistant-speaks-first-with-model-generated-message' to have the assistant speak first with a message generated by the model based on the conversation state. (`assistant.model.messages` at call start, `call.messages` at squad transfer points). @default 'assistant-speaks-first'
  - Allowed values: `assistant-speaks-first`, `assistant-speaks-first-with-model-generated-message`, `assistant-waits-for-user`
- `voicemailDetection` (CreateAssistantDtoVoicemailDetection, optional) — These are the settings to configure or disable voicemail detection. Alternatively, voicemail detection can be configured using the model.tools=[VoicemailTool]. By default, voicemail detection is disabled.
- `clientMessages` (enum, optional) — These are the messages that will be sent to your Client SDKs. Default is conversation-update,function-call,hang,model-output,speech-update,status-update,transfer-update,transcript,tool-calls,user-interrupted,voice-input,workflow.node.started,assistant.started. You can check the shape of the messages in ClientMessage schema.
  - Allowed values: `conversation-update`, `assistant.speechStarted`, `function-call`, `function-call-result`, `hang`, `language-changed`, `metadata`, `model-output`, `speech-update`, `status-update`, `transcript`, `tool-calls`, `tool-calls-result`, `tool.completed`, `transfer-update`, `user-interrupted`, `voice-input`, `workflow.node.started`, `assistant.started`
- `serverMessages` (enum, optional) — These are the messages that will be sent to your Server URL. Default is conversation-update,end-of-call-report,function-call,hang,speech-update,status-update,tool-calls,transfer-destination-request,handoff-destination-request,user-interrupted,assistant.started. You can check the shape of the messages in ServerMessage schema.
  - Allowed values: `assistant.started`, `assistant.speechStarted`, `conversation-update`, `end-of-call-report`, `function-call`, `hang`, `language-changed`, `language-change-detected`, `model-output`, `phone-call-control`, `speech-update`, `status-update`, `transcript`, `transcript[transcriptType="final"]`, `tool-calls`, `transfer-destination-request`, `handoff-destination-request`, `transfer-update`, `user-interrupted`, `voice-input`, `chat.created`, `chat.deleted`, `session.created`, `session.updated`, `session.deleted`, `call.deleted`, `call.delete.failed`, `call.artifact.upload`
- `maxDurationSeconds` (double, optional) — This is the maximum number of seconds that the call will last. When the call reaches this duration, it will be ended. @default 600 (10 minutes)
- `backgroundSound` (CreateAssistantDtoBackgroundSound, optional) — This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'. Bundled sounds: 'office', 'white-noise', 'city', 'crowd' and 'farm'. GPT Live assistants don't play 'office'. You can also provide a custom sound by providing a URL to an audio file.
- `modelOutputInMessagesEnabled` (boolean, optional) — This determines whether the model's output is used in conversation history rather than the transcription of assistant's speech. @default false
- `transportConfigurations` (list of CreateAssistantDtoTransportConfigurationsItems, optional) — These are the configurations to be passed to the transport providers of assistant's calls, like Twilio. You can store multiple configurations for different transport providers. For a call, only the configuration matching the call transport provider is used.
- `observabilityPlan` (LangfuseObservabilityPlan, optional) — This is the plan for observability of assistant's calls. Currently, only Langfuse is supported.
- `credentials` (list of CreateAssistantDtoCredentialsItems, optional) — These are dynamic credentials that will be used for the assistant calls. By default, all the credentials are available for use in the call but you can supplement an additional credentials using this. Dynamic credentials override existing credentials.
- `hooks` (list of CreateAssistantDtoHooksItems, optional) — This is a set of actions that will be performed on certain events.
- `name` (string, optional) — This is the name of the assistant. This is required when you want to transfer between assistants in a call.
- `voicemailMessage` (string, optional) — This is the message that the assistant will say if the call is forwarded to voicemail. If unspecified, it will hang up.
- `endCallMessage` (string, optional) — This is the message that the assistant will say if it ends the call. If unspecified, it will hang up without saying anything.
- `endCallPhrases` (list of string, optional) — This list contains phrases that, if spoken by the assistant, will trigger the call to be hung up. Case insensitive.
- `compliancePlan` (CompliancePlan, optional)
- `metadata` (CreateAssistantDtoMetadata, optional) — This is for metadata you want to store on the assistant.
- `backgroundSpeechDenoisingPlan` (BackgroundSpeechDenoisingPlan, optional) — This enables filtering of noise and background speech while the user is talking. Features: - Smart denoising using Krisp - Fourier denoising Smart denoising can be combined with or used independently of Fourier denoising. Order of precedence: - Smart denoising - Fourier denoising
- `artifactPlan` (ArtifactPlan, optional) — This is the plan for artifacts generated during assistant's calls. Stored in `call.artifact`.
- `startSpeakingPlan` (StartSpeakingPlan, optional) — This is the plan for when the assistant should start talking. You should configure this if you're running into these issues: - The assistant is too slow to start talking after the customer is done speaking. - The assistant is too fast to start talking after the customer is done speaking. - The assistant is so fast that it's actually interrupting the customer.
- `stopSpeakingPlan` (StopSpeakingPlan, optional) — This is the plan for when assistant should stop talking on customer interruption. You should configure this if you're running into these issues: - The assistant is too slow to recognize customer's interruption. - The assistant is too fast to recognize customer's interruption. - The assistant is getting interrupted by phrases that are just acknowledgments. - The assistant is getting interrupted by background noises. - The assistant is not properly stopping -- it starts talking right after getting interrupted.
- `monitorPlan` (MonitorPlan, optional) — This is the plan for real-time monitoring of the assistant's calls. Usage: - To enable live listening of the assistant's calls, set `monitorPlan.listenEnabled` to `true`. - To enable live control of the assistant's calls, set `monitorPlan.controlEnabled` to `true`. - To attach monitors to the assistant, set `monitorPlan.monitorIds` to the set of monitor ids.
- `credentialIds` (list of string, optional) — These are the credentials that will be used for the assistant calls. By default, all the credentials are available for use in the call but you can provide a subset using this.
- `server` (Server, optional) — This is where Vapi will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema. The order of precedence is: 1. assistant.server.url 2. phoneNumber.serverUrl 3. org.serverUrl
- `keypadInputPlan` (KeypadInputPlan, optional)
- `analysisPlan` (AnalysisPlan, optional, deprecated) — This is the plan for analysis of assistant's calls. Stored in `call.analysis`.

### CreateCustomerDTO

- `numberE164CheckEnabled` (boolean, optional, default: true) — This is the flag to toggle the E164 check for the `number` field. This is an advanced property which should be used if you know your use case requires it. Use cases: - `false`: To allow non-E164 numbers like `+001234567890`, `1234`, or `abc`. This is useful for dialing out to non-E164 numbers on your SIP trunks. - `true` (default): To allow only E164 numbers like `+14155551234`. This is standard for PSTN calls. If `false`, the `number` is still required to only contain alphanumeric characters (regex: `/^\+?[a-zA-Z0-9]+$/`). @default true (E164 check is enabled)
- `extension` (string, optional) — This is the extension that will be dialed after the call is answered.
- `assistantOverrides` (AssistantOverrides, optional) — These are the overrides for the assistant's settings and template variables specific to this customer. This allows customization of the assistant's behavior for individual customers in batch calls.
- `squadOverrides` (AssistantOverrides, optional) — These are the overrides applied when the call targets a `squadId`. Mirrors the call-level `squadOverrides` — use this instead of `assistantOverrides` when the campaign or call is squad-based.
- `number` (string, optional) — This is the number of the customer.
- `sipUri` (string, optional) — This is the SIP URI of the customer.
- `name` (string, optional) — This is the name of the customer. This is just for your own reference. For SIP inbound calls, this is extracted from the `From` SIP header with format `"Display Name" <sip:username@domain>`.
- `email` (string, optional) — This is the email of the customer.
- `externalId` (string, optional) — This is the external ID of the customer.

### Call

- `id` (string, required) — This is the unique identifier for the call.
- `orgId` (string, required) — This is the unique identifier for the org that this call belongs to.
- `createdAt` (datetime, required) — This is the ISO 8601 date-time string of when the call was created.
- `updatedAt` (datetime, required) — This is the ISO 8601 date-time string of when the call was last updated.
- `type` (enum, optional) — This is the type of call.
  - Allowed values: `inboundPhoneCall`, `outboundPhoneCall`, `webCall`, `vapi.websocketCall`
- `costs` (list of CallCostsItems, optional) — These are the costs of individual components of the call in USD.
- `messages` (list of CallMessagesItems, optional)
- `phoneCallTransport` (enum, optional) — This is the transport of the phone call. Only relevant for `outboundPhoneCall` and `inboundPhoneCall` type.
  - Allowed values: `sip`, `pstn`
- `status` (enum, optional) — This is the status of the call.
  - Allowed values: `scheduled`, `queued`, `ringing`, `in-progress`, `forwarding`, `ended`, `not-found`, `deletion-failed`
- `endedReason` (enum, optional) — This is the explanation for how the call ended.
  - Allowed values: `call.in-progress.error-vapifault-guardrail-evaluation-failed`, `call.in-progress.error-vapifault-guardrail-playback-timeout`, `call.in-progress.guardrail-blocked`, `call.in-progress.error-vapifault-call-start-failed`, `call.in-progress.error-vapifault-assistant-handoff-start-failed`, `call-start-error-neither-assistant-nor-server-set`, `assistant-request-failed`, `assistant-request-returned-error`, `assistant-request-returned-unspeakable-error`, `assistant-request-returned-invalid-assistant`, `assistant-request-returned-no-assistant`, `assistant-request-returned-forwarding-phone-number`, `scheduled-call-deleted`, `call.start.error-vapifault-get-org`, `call.start.error-vapifault-get-subscription`, `call.start.error-get-assistant`, `call.start.error-get-phone-number`, `call.start.error-get-customer`, `call.start.error-get-resources-validation`, `call.start.error-vapi-number-international`, `call.start.error-vapi-number-outbound-daily-limit`, `call.start.error-get-transport`, `call.start.error-subscription-wallet-does-not-exist`, `call.start.error-fraud-check-failed`, `call.start.error-subscription-frozen`, `call.start.error-subscription-insufficient-credits`, `call.start.error-subscription-upgrade-failed`, `call.start.error-subscription-concurrency-limit-reached`, `call.start.error-enterprise-feature-not-available-recording-consent`, `call.start.assistant-version-error-validation`, `call.start.squad-version-error-validation`, `assistant-not-valid`, `call.in-progress.error-vapifault-guardrail-evaluation-failed`, `call.in-progress.error-vapifault-guardrail-playback-timeout`, `call.in-progress.error-vapifault-call-start-failed`, `call.in-progress.error-vapifault-assistant-handoff-start-failed`, `call.start.error-vapifault-database-error`, `assistant-not-found`, `pipeline-error-openai-voice-failed`, `pipeline-error-cartesia-voice-failed`, `pipeline-error-deepgram-voice-failed`, `pipeline-error-eleven-labs-voice-failed`, `pipeline-error-playht-voice-failed`, `pipeline-error-lmnt-voice-failed`, `pipeline-error-azure-voice-failed`, `pipeline-error-rime-ai-voice-failed`, `pipeline-error-smallest-ai-voice-failed`, `pipeline-error-vapi-voice-failed`, `pipeline-error-neuphonic-voice-failed`, `pipeline-error-hume-voice-failed`, `pipeline-error-sesame-voice-failed`, `pipeline-error-inworld-voice-failed`, `pipeline-error-minimax-voice-failed`, `pipeline-error-wellsaid-voice-failed`, `pipeline-error-xai-voice-failed`, `pipeline-error-microsoft-voice-failed`, `pipeline-error-microsoft-voice-request-canceled`, `pipeline-error-tavus-video-failed`, `call.in-progress.error-vapifault-openai-voice-failed`, `call.in-progress.error-vapifault-cartesia-voice-failed`, `call.in-progress.error-vapifault-deepgram-voice-failed`, `call.in-progress.error-vapifault-eleven-labs-voice-failed`, `call.in-progress.error-vapifault-playht-voice-failed`, `call.in-progress.error-vapifault-lmnt-voice-failed`, `call.in-progress.error-vapifault-azure-voice-failed`, `call.in-progress.error-vapifault-rime-ai-voice-failed`, `call.in-progress.error-vapifault-smallest-ai-voice-failed`, `call.in-progress.error-vapifault-vapi-voice-failed`, `call.in-progress.error-vapifault-neuphonic-voice-failed`, `call.in-progress.error-vapifault-hume-voice-failed`, `call.in-progress.error-vapifault-sesame-voice-failed`, `call.in-progress.error-vapifault-inworld-voice-failed`, `call.in-progress.error-vapifault-minimax-voice-failed`, `call.in-progress.error-vapifault-wellsaid-voice-failed`, `call.in-progress.error-vapifault-xai-voice-failed`, `call.in-progress.error-vapifault-microsoft-voice-failed`, `call.in-progress.error-vapifault-tavus-video-failed`, `pipeline-error-vapi-llm-failed`, `pipeline-error-vapi-400-bad-request-validation-failed`, `pipeline-error-vapi-401-unauthorized`, `pipeline-error-vapi-403-model-access-denied`, `pipeline-error-vapi-429-exceeded-quota`, `pipeline-error-vapi-500-server-error`, `pipeline-error-vapi-503-server-overloaded-error`, `call.in-progress.error-providerfault-vapi-llm-failed`, `call.in-progress.error-vapifault-vapi-llm-failed`, `call.in-progress.error-vapifault-vapi-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-vapi-401-unauthorized`, `call.in-progress.error-vapifault-vapi-403-model-access-denied`, `call.in-progress.error-vapifault-vapi-429-exceeded-quota`, `call.in-progress.error-providerfault-vapi-500-server-error`, `call.in-progress.error-providerfault-vapi-503-server-overloaded-error`, `pipeline-error-vapi-transcriber-failed`, `call.in-progress.error-vapifault-vapi-transcriber-failed`, `call.in-progress.error-providerfault-vapi-transcriber-failed`, `call.in-progress.error-providerfault-vapi-voice-failed`, `pipeline-error-deepgram-transcriber-failed`, `pipeline-error-deepgram-transcriber-api-key-missing`, `call.in-progress.error-vapifault-deepgram-transcriber-failed`, `pipeline-error-gladia-transcriber-failed`, `call.in-progress.error-vapifault-gladia-transcriber-failed`, `pipeline-error-speechmatics-transcriber-failed`, `call.in-progress.error-vapifault-speechmatics-transcriber-failed`, `pipeline-error-assembly-ai-transcriber-failed`, `pipeline-error-assembly-ai-returning-400-insufficent-funds`, `pipeline-error-assembly-ai-returning-400-paid-only-feature`, `pipeline-error-assembly-ai-returning-401-invalid-credentials`, `pipeline-error-assembly-ai-returning-500-invalid-schema`, `pipeline-error-assembly-ai-returning-500-word-boost-parsing-failed`, `call.in-progress.error-vapifault-assembly-ai-transcriber-failed`, `call.in-progress.error-vapifault-assembly-ai-returning-400-insufficent-funds`, `call.in-progress.error-vapifault-assembly-ai-returning-400-paid-only-feature`, `call.in-progress.error-vapifault-assembly-ai-returning-401-invalid-credentials`, `call.in-progress.error-vapifault-assembly-ai-returning-500-invalid-schema`, `call.in-progress.error-vapifault-assembly-ai-returning-500-word-boost-parsing-failed`, `pipeline-error-talkscriber-transcriber-failed`, `call.in-progress.error-vapifault-talkscriber-transcriber-failed`, `pipeline-error-azure-speech-transcriber-failed`, `call.in-progress.error-vapifault-azure-speech-transcriber-failed`, `pipeline-error-eleven-labs-transcriber-failed`, `call.in-progress.error-vapifault-eleven-labs-transcriber-failed`, `pipeline-error-google-transcriber-failed`, `call.in-progress.error-vapifault-google-transcriber-failed`, `pipeline-error-openai-transcriber-failed`, `call.in-progress.error-vapifault-openai-transcriber-failed`, `pipeline-error-soniox-transcriber-auth-failed`, `pipeline-error-soniox-transcriber-rate-limited`, `pipeline-error-soniox-transcriber-invalid-config`, `pipeline-error-soniox-transcriber-server-error`, `pipeline-error-soniox-transcriber-failed`, `call.in-progress.error-vapifault-soniox-transcriber-auth-failed`, `call.in-progress.error-vapifault-soniox-transcriber-rate-limited`, `call.in-progress.error-vapifault-soniox-transcriber-invalid-config`, `call.in-progress.error-vapifault-soniox-transcriber-server-error`, `call.in-progress.error-vapifault-soniox-transcriber-failed`, `pipeline-error-xai-transcriber-auth-failed`, `pipeline-error-xai-transcriber-rate-limited`, `pipeline-error-xai-transcriber-invalid-config`, `pipeline-error-xai-transcriber-server-error`, `pipeline-error-xai-transcriber-failed`, `call.in-progress.error-vapifault-xai-transcriber-auth-failed`, `call.in-progress.error-vapifault-xai-transcriber-rate-limited`, `call.in-progress.error-vapifault-xai-transcriber-invalid-config`, `call.in-progress.error-vapifault-xai-transcriber-server-error`, `call.in-progress.error-vapifault-xai-transcriber-failed`, `pipeline-error-reson8-transcriber-auth-failed`, `pipeline-error-reson8-transcriber-rate-limited`, `pipeline-error-reson8-transcriber-invalid-config`, `pipeline-error-reson8-transcriber-closed`, `pipeline-error-reson8-transcriber-failed`, `call.in-progress.error-vapifault-reson8-transcriber-auth-failed`, `call.in-progress.error-vapifault-reson8-transcriber-rate-limited`, `call.in-progress.error-vapifault-reson8-transcriber-invalid-config`, `call.in-progress.error-vapifault-reson8-transcriber-closed`, `call.in-progress.error-vapifault-reson8-transcriber-failed`, `pipeline-error-cartesia-transcriber-failed`, `call.in-progress.error-vapifault-cartesia-transcriber-failed`, `call.in-progress.error-pipeline-no-available-llm-model`, `worker-shutdown`, `vonage-disconnected`, `vonage-failed-to-connect-call`, `vonage-completed`, `phone-call-provider-bypass-enabled-but-no-call-received`, `call.in-progress.error-providerfault-transport-never-connected`, `call.start.error-vapifault-worker-not-available`, `call.in-progress.error-vapifault-worker-not-available`, `call.in-progress.error-vapifault-transport-never-connected`, `call.in-progress.error-vapifault-transport-connected-but-call-not-active`, `call.in-progress.error-vapifault-call-started-but-connection-to-transport-missing`, `call.in-progress.error-vapifault-worker-died`, `call.in-progress.twilio-completed-call`, `call.in-progress.sip-completed-call`, `call.in-progress.error-sip-inbound-call-failed-to-connect`, `call.in-progress.error-providerfault-outbound-sip-503-service-unavailable`, `call.in-progress.error-sip-outbound-call-failed-to-connect`, `call.ringing.error-sip-inbound-call-failed-to-connect`, `call.in-progress.error-providerfault-openai-llm-failed`, `call.in-progress.error-providerfault-azure-openai-llm-failed`, `call.in-progress.error-providerfault-groq-llm-failed`, `call.in-progress.error-providerfault-google-llm-failed`, `call.in-progress.error-providerfault-xai-llm-failed`, `call.in-progress.error-providerfault-mistral-llm-failed`, `call.in-progress.error-providerfault-minimax-llm-failed`, `call.in-progress.error-providerfault-inflection-ai-llm-failed`, `call.in-progress.error-providerfault-cerebras-llm-failed`, `call.in-progress.error-providerfault-deep-seek-llm-failed`, `call.in-progress.error-providerfault-baseten-llm-failed`, `call.in-progress.error-vapifault-chat-pipeline-failed-to-start`, `call.in-progress.error-configfault-model-unsupported-in-squad`, `call.in-progress.error-configfault-transport-unsupported-for-model`, `pipeline-error-openai-400-bad-request-validation-failed`, `pipeline-error-openai-401-unauthorized`, `pipeline-error-openai-401-incorrect-api-key`, `pipeline-error-openai-401-account-not-in-organization`, `pipeline-error-openai-403-model-access-denied`, `pipeline-error-openai-429-exceeded-quota`, `pipeline-error-openai-429-rate-limit-reached`, `pipeline-error-openai-500-server-error`, `pipeline-error-openai-503-server-overloaded-error`, `pipeline-error-openai-llm-failed`, `call.in-progress.error-vapifault-openai-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-openai-401-unauthorized`, `call.in-progress.error-vapifault-openai-401-incorrect-api-key`, `call.in-progress.error-vapifault-openai-401-account-not-in-organization`, `call.in-progress.error-vapifault-openai-403-model-access-denied`, `call.in-progress.error-vapifault-openai-429-exceeded-quota`, `call.in-progress.error-vapifault-openai-429-rate-limit-reached`, `call.in-progress.error-providerfault-openai-500-server-error`, `call.in-progress.error-providerfault-openai-503-server-overloaded-error`, `pipeline-error-azure-openai-400-bad-request-validation-failed`, `pipeline-error-azure-openai-401-unauthorized`, `pipeline-error-azure-openai-403-model-access-denied`, `pipeline-error-azure-openai-429-exceeded-quota`, `pipeline-error-azure-openai-500-server-error`, `pipeline-error-azure-openai-503-server-overloaded-error`, `pipeline-error-azure-openai-llm-failed`, `call.in-progress.error-vapifault-azure-openai-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-azure-openai-401-unauthorized`, `call.in-progress.error-vapifault-azure-openai-403-model-access-denied`, `call.in-progress.error-vapifault-azure-openai-429-exceeded-quota`, `call.in-progress.error-providerfault-azure-openai-500-server-error`, `call.in-progress.error-providerfault-azure-openai-503-server-overloaded-error`, `pipeline-error-google-400-bad-request-validation-failed`, `pipeline-error-google-401-unauthorized`, `pipeline-error-google-403-model-access-denied`, `pipeline-error-google-429-exceeded-quota`, `pipeline-error-google-500-server-error`, `pipeline-error-google-503-server-overloaded-error`, `pipeline-error-google-llm-failed`, `call.in-progress.error-vapifault-google-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-google-401-unauthorized`, `call.in-progress.error-vapifault-google-403-model-access-denied`, `call.in-progress.error-vapifault-google-429-exceeded-quota`, `call.in-progress.error-providerfault-google-500-server-error`, `call.in-progress.error-providerfault-google-503-server-overloaded-error`, `pipeline-error-xai-400-bad-request-validation-failed`, `pipeline-error-xai-401-unauthorized`, `pipeline-error-xai-403-model-access-denied`, `pipeline-error-xai-429-exceeded-quota`, `pipeline-error-xai-500-server-error`, `pipeline-error-xai-503-server-overloaded-error`, `pipeline-error-xai-llm-failed`, `call.in-progress.error-vapifault-xai-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-xai-401-unauthorized`, `call.in-progress.error-vapifault-xai-403-model-access-denied`, `call.in-progress.error-vapifault-xai-429-exceeded-quota`, `call.in-progress.error-providerfault-xai-500-server-error`, `call.in-progress.error-providerfault-xai-503-server-overloaded-error`, `pipeline-error-baseten-400-bad-request-validation-failed`, `pipeline-error-baseten-401-unauthorized`, `pipeline-error-baseten-403-model-access-denied`, `pipeline-error-baseten-429-exceeded-quota`, `pipeline-error-baseten-500-server-error`, `pipeline-error-baseten-503-server-overloaded-error`, `pipeline-error-baseten-llm-failed`, `call.in-progress.error-vapifault-baseten-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-baseten-401-unauthorized`, `call.in-progress.error-vapifault-baseten-403-model-access-denied`, `call.in-progress.error-vapifault-baseten-429-exceeded-quota`, `call.in-progress.error-providerfault-baseten-500-server-error`, `call.in-progress.error-providerfault-baseten-503-server-overloaded-error`, `pipeline-error-mistral-400-bad-request-validation-failed`, `pipeline-error-mistral-401-unauthorized`, `pipeline-error-mistral-403-model-access-denied`, `pipeline-error-mistral-429-exceeded-quota`, `pipeline-error-mistral-500-server-error`, `pipeline-error-mistral-503-server-overloaded-error`, `pipeline-error-mistral-llm-failed`, `call.in-progress.error-vapifault-mistral-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-mistral-401-unauthorized`, `call.in-progress.error-vapifault-mistral-403-model-access-denied`, `call.in-progress.error-vapifault-mistral-429-exceeded-quota`, `call.in-progress.error-providerfault-mistral-500-server-error`, `call.in-progress.error-providerfault-mistral-503-server-overloaded-error`, `pipeline-error-minimax-400-bad-request-validation-failed`, `pipeline-error-minimax-401-unauthorized`, `pipeline-error-minimax-403-model-access-denied`, `pipeline-error-minimax-429-exceeded-quota`, `pipeline-error-minimax-500-server-error`, `pipeline-error-minimax-503-server-overloaded-error`, `pipeline-error-minimax-llm-failed`, `call.in-progress.error-vapifault-minimax-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-minimax-401-unauthorized`, `call.in-progress.error-vapifault-minimax-403-model-access-denied`, `call.in-progress.error-vapifault-minimax-429-exceeded-quota`, `call.in-progress.error-providerfault-minimax-500-server-error`, `call.in-progress.error-providerfault-minimax-503-server-overloaded-error`, `pipeline-error-inflection-ai-400-bad-request-validation-failed`, `pipeline-error-inflection-ai-401-unauthorized`, `pipeline-error-inflection-ai-403-model-access-denied`, `pipeline-error-inflection-ai-429-exceeded-quota`, `pipeline-error-inflection-ai-500-server-error`, `pipeline-error-inflection-ai-503-server-overloaded-error`, `pipeline-error-inflection-ai-llm-failed`, `call.in-progress.error-vapifault-inflection-ai-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-inflection-ai-401-unauthorized`, `call.in-progress.error-vapifault-inflection-ai-403-model-access-denied`, `call.in-progress.error-vapifault-inflection-ai-429-exceeded-quota`, `call.in-progress.error-providerfault-inflection-ai-500-server-error`, `call.in-progress.error-providerfault-inflection-ai-503-server-overloaded-error`, `pipeline-error-deep-seek-400-bad-request-validation-failed`, `pipeline-error-deep-seek-401-unauthorized`, `pipeline-error-deep-seek-403-model-access-denied`, `pipeline-error-deep-seek-429-exceeded-quota`, `pipeline-error-deep-seek-500-server-error`, `pipeline-error-deep-seek-503-server-overloaded-error`, `pipeline-error-deep-seek-llm-failed`, `call.in-progress.error-vapifault-deep-seek-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-deep-seek-401-unauthorized`, `call.in-progress.error-vapifault-deep-seek-403-model-access-denied`, `call.in-progress.error-vapifault-deep-seek-429-exceeded-quota`, `call.in-progress.error-providerfault-deep-seek-500-server-error`, `call.in-progress.error-providerfault-deep-seek-503-server-overloaded-error`, `pipeline-error-groq-400-bad-request-validation-failed`, `pipeline-error-groq-401-unauthorized`, `pipeline-error-groq-403-model-access-denied`, `pipeline-error-groq-429-exceeded-quota`, `pipeline-error-groq-500-server-error`, `pipeline-error-groq-503-server-overloaded-error`, `pipeline-error-groq-llm-failed`, `call.in-progress.error-vapifault-groq-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-groq-401-unauthorized`, `call.in-progress.error-vapifault-groq-403-model-access-denied`, `call.in-progress.error-vapifault-groq-429-exceeded-quota`, `call.in-progress.error-providerfault-groq-500-server-error`, `call.in-progress.error-providerfault-groq-503-server-overloaded-error`, `pipeline-error-cerebras-400-bad-request-validation-failed`, `pipeline-error-cerebras-401-unauthorized`, `pipeline-error-cerebras-403-model-access-denied`, `pipeline-error-cerebras-429-exceeded-quota`, `pipeline-error-cerebras-500-server-error`, `pipeline-error-cerebras-503-server-overloaded-error`, `pipeline-error-cerebras-llm-failed`, `call.in-progress.error-vapifault-cerebras-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-cerebras-401-unauthorized`, `call.in-progress.error-vapifault-cerebras-403-model-access-denied`, `call.in-progress.error-vapifault-cerebras-429-exceeded-quota`, `call.in-progress.error-providerfault-cerebras-500-server-error`, `call.in-progress.error-providerfault-cerebras-503-server-overloaded-error`, `pipeline-error-anthropic-400-bad-request-validation-failed`, `pipeline-error-anthropic-401-unauthorized`, `pipeline-error-anthropic-403-model-access-denied`, `pipeline-error-anthropic-429-exceeded-quota`, `pipeline-error-anthropic-500-server-error`, `pipeline-error-anthropic-503-server-overloaded-error`, `pipeline-error-anthropic-llm-failed`, `call.in-progress.error-providerfault-anthropic-llm-failed`, `call.in-progress.error-vapifault-anthropic-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-anthropic-401-unauthorized`, `call.in-progress.error-vapifault-anthropic-403-model-access-denied`, `call.in-progress.error-vapifault-anthropic-429-exceeded-quota`, `call.in-progress.error-providerfault-anthropic-500-server-error`, `call.in-progress.error-providerfault-anthropic-503-server-overloaded-error`, `pipeline-error-anthropic-bedrock-400-bad-request-validation-failed`, `pipeline-error-anthropic-bedrock-401-unauthorized`, `pipeline-error-anthropic-bedrock-403-model-access-denied`, `pipeline-error-anthropic-bedrock-429-exceeded-quota`, `pipeline-error-anthropic-bedrock-500-server-error`, `pipeline-error-anthropic-bedrock-503-server-overloaded-error`, `pipeline-error-anthropic-bedrock-llm-failed`, `call.in-progress.error-providerfault-anthropic-bedrock-llm-failed`, `call.in-progress.error-vapifault-anthropic-bedrock-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-anthropic-bedrock-401-unauthorized`, `call.in-progress.error-vapifault-anthropic-bedrock-403-model-access-denied`, `call.in-progress.error-vapifault-anthropic-bedrock-429-exceeded-quota`, `call.in-progress.error-providerfault-anthropic-bedrock-500-server-error`, `call.in-progress.error-providerfault-anthropic-bedrock-503-server-overloaded-error`, `pipeline-error-anthropic-vertex-400-bad-request-validation-failed`, `pipeline-error-anthropic-vertex-401-unauthorized`, `pipeline-error-anthropic-vertex-403-model-access-denied`, `pipeline-error-anthropic-vertex-429-exceeded-quota`, `pipeline-error-anthropic-vertex-500-server-error`, `pipeline-error-anthropic-vertex-503-server-overloaded-error`, `pipeline-error-anthropic-vertex-llm-failed`, `call.in-progress.error-providerfault-anthropic-vertex-llm-failed`, `call.in-progress.error-vapifault-anthropic-vertex-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-anthropic-vertex-401-unauthorized`, `call.in-progress.error-vapifault-anthropic-vertex-403-model-access-denied`, `call.in-progress.error-vapifault-anthropic-vertex-429-exceeded-quota`, `call.in-progress.error-providerfault-anthropic-vertex-500-server-error`, `call.in-progress.error-providerfault-anthropic-vertex-503-server-overloaded-error`, `pipeline-error-together-ai-400-bad-request-validation-failed`, `pipeline-error-together-ai-401-unauthorized`, `pipeline-error-together-ai-403-model-access-denied`, `pipeline-error-together-ai-429-exceeded-quota`, `pipeline-error-together-ai-500-server-error`, `pipeline-error-together-ai-503-server-overloaded-error`, `pipeline-error-together-ai-llm-failed`, `call.in-progress.error-providerfault-together-ai-llm-failed`, `call.in-progress.error-vapifault-together-ai-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-together-ai-401-unauthorized`, `call.in-progress.error-vapifault-together-ai-403-model-access-denied`, `call.in-progress.error-vapifault-together-ai-429-exceeded-quota`, `call.in-progress.error-providerfault-together-ai-500-server-error`, `call.in-progress.error-providerfault-together-ai-503-server-overloaded-error`, `pipeline-error-anyscale-400-bad-request-validation-failed`, `pipeline-error-anyscale-401-unauthorized`, `pipeline-error-anyscale-403-model-access-denied`, `pipeline-error-anyscale-429-exceeded-quota`, `pipeline-error-anyscale-500-server-error`, `pipeline-error-anyscale-503-server-overloaded-error`, `pipeline-error-anyscale-llm-failed`, `call.in-progress.error-providerfault-anyscale-llm-failed`, `call.in-progress.error-vapifault-anyscale-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-anyscale-401-unauthorized`, `call.in-progress.error-vapifault-anyscale-403-model-access-denied`, `call.in-progress.error-vapifault-anyscale-429-exceeded-quota`, `call.in-progress.error-providerfault-anyscale-500-server-error`, `call.in-progress.error-providerfault-anyscale-503-server-overloaded-error`, `pipeline-error-openrouter-400-bad-request-validation-failed`, `pipeline-error-openrouter-401-unauthorized`, `pipeline-error-openrouter-403-model-access-denied`, `pipeline-error-openrouter-429-exceeded-quota`, `pipeline-error-openrouter-500-server-error`, `pipeline-error-openrouter-503-server-overloaded-error`, `pipeline-error-openrouter-llm-failed`, `call.in-progress.error-providerfault-openrouter-llm-failed`, `call.in-progress.error-vapifault-openrouter-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-openrouter-401-unauthorized`, `call.in-progress.error-vapifault-openrouter-403-model-access-denied`, `call.in-progress.error-vapifault-openrouter-429-exceeded-quota`, `call.in-progress.error-providerfault-openrouter-500-server-error`, `call.in-progress.error-providerfault-openrouter-503-server-overloaded-error`, `pipeline-error-perplexity-ai-400-bad-request-validation-failed`, `pipeline-error-perplexity-ai-401-unauthorized`, `pipeline-error-perplexity-ai-403-model-access-denied`, `pipeline-error-perplexity-ai-429-exceeded-quota`, `pipeline-error-perplexity-ai-500-server-error`, `pipeline-error-perplexity-ai-503-server-overloaded-error`, `pipeline-error-perplexity-ai-llm-failed`, `call.in-progress.error-providerfault-perplexity-ai-llm-failed`, `call.in-progress.error-vapifault-perplexity-ai-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-perplexity-ai-401-unauthorized`, `call.in-progress.error-vapifault-perplexity-ai-403-model-access-denied`, `call.in-progress.error-vapifault-perplexity-ai-429-exceeded-quota`, `call.in-progress.error-providerfault-perplexity-ai-500-server-error`, `call.in-progress.error-providerfault-perplexity-ai-503-server-overloaded-error`, `pipeline-error-deepinfra-400-bad-request-validation-failed`, `pipeline-error-deepinfra-401-unauthorized`, `pipeline-error-deepinfra-403-model-access-denied`, `pipeline-error-deepinfra-429-exceeded-quota`, `pipeline-error-deepinfra-500-server-error`, `pipeline-error-deepinfra-503-server-overloaded-error`, `pipeline-error-deepinfra-llm-failed`, `call.in-progress.error-providerfault-deepinfra-llm-failed`, `call.in-progress.error-vapifault-deepinfra-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-deepinfra-401-unauthorized`, `call.in-progress.error-vapifault-deepinfra-403-model-access-denied`, `call.in-progress.error-vapifault-deepinfra-429-exceeded-quota`, `call.in-progress.error-providerfault-deepinfra-500-server-error`, `call.in-progress.error-providerfault-deepinfra-503-server-overloaded-error`, `pipeline-error-runpod-400-bad-request-validation-failed`, `pipeline-error-runpod-401-unauthorized`, `pipeline-error-runpod-403-model-access-denied`, `pipeline-error-runpod-429-exceeded-quota`, `pipeline-error-runpod-500-server-error`, `pipeline-error-runpod-503-server-overloaded-error`, `pipeline-error-runpod-llm-failed`, `call.in-progress.error-providerfault-runpod-llm-failed`, `call.in-progress.error-vapifault-runpod-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-runpod-401-unauthorized`, `call.in-progress.error-vapifault-runpod-403-model-access-denied`, `call.in-progress.error-vapifault-runpod-429-exceeded-quota`, `call.in-progress.error-providerfault-runpod-500-server-error`, `call.in-progress.error-providerfault-runpod-503-server-overloaded-error`, `pipeline-error-custom-llm-400-bad-request-validation-failed`, `pipeline-error-custom-llm-401-unauthorized`, `pipeline-error-custom-llm-403-model-access-denied`, `pipeline-error-custom-llm-429-exceeded-quota`, `pipeline-error-custom-llm-500-server-error`, `pipeline-error-custom-llm-503-server-overloaded-error`, `pipeline-error-custom-llm-llm-failed`, `call.in-progress.error-providerfault-custom-llm-llm-failed`, `call.in-progress.error-vapifault-custom-llm-400-bad-request-validation-failed`, `call.in-progress.error-vapifault-custom-llm-401-unauthorized`, `call.in-progress.error-vapifault-custom-llm-403-model-access-denied`, `call.in-progress.error-vapifault-custom-llm-429-exceeded-quota`, `call.in-progress.error-providerfault-custom-llm-500-server-error`, `call.in-progress.error-providerfault-custom-llm-503-server-overloaded-error`, `call.in-progress.error-pipeline-ws-model-connection-failed`, `pipeline-error-custom-voice-failed`, `pipeline-error-cartesia-socket-hang-up`, `pipeline-error-cartesia-requested-payment`, `pipeline-error-cartesia-500-server-error`, `pipeline-error-cartesia-502-server-error`, `pipeline-error-cartesia-503-server-error`, `pipeline-error-cartesia-522-server-error`, `call.in-progress.error-vapifault-cartesia-socket-hang-up`, `call.in-progress.error-vapifault-cartesia-requested-payment`, `call.in-progress.error-providerfault-cartesia-500-server-error`, `call.in-progress.error-providerfault-cartesia-502-server-error`, `call.in-progress.error-providerfault-cartesia-503-server-error`, `call.in-progress.error-providerfault-cartesia-522-server-error`, `pipeline-error-eleven-labs-voice-not-found`, `pipeline-error-eleven-labs-quota-exceeded`, `pipeline-error-eleven-labs-unauthorized-access`, `pipeline-error-eleven-labs-unauthorized-to-access-model`, `pipeline-error-eleven-labs-professional-voices-only-for-creator-plus`, `pipeline-error-eleven-labs-blocked-free-plan-and-requested-upgrade`, `pipeline-error-eleven-labs-blocked-concurrent-requests-and-requested-upgrade`, `pipeline-error-eleven-labs-blocked-using-instant-voice-clone-and-requested-upgrade`, `pipeline-error-eleven-labs-system-busy-and-requested-upgrade`, `pipeline-error-eleven-labs-voice-not-fine-tuned`, `pipeline-error-eleven-labs-invalid-api-key`, `pipeline-error-eleven-labs-invalid-voice-samples`, `pipeline-error-eleven-labs-voice-disabled-by-owner`, `pipeline-error-eleven-labs-vapi-voice-disabled-by-owner`, `pipeline-error-eleven-labs-blocked-account-in-probation`, `pipeline-error-eleven-labs-blocked-content-against-their-policy`, `pipeline-error-eleven-labs-missing-samples-for-voice-clone`, `pipeline-error-eleven-labs-voice-not-fine-tuned-and-cannot-be-used`, `pipeline-error-eleven-labs-voice-not-allowed-for-free-users`, `pipeline-error-eleven-labs-max-character-limit-exceeded`, `pipeline-error-eleven-labs-blocked-voice-potentially-against-terms-of-service-and-awaiting-verification`, `pipeline-error-eleven-labs-unsupported-model`, `pipeline-error-eleven-labs-500-server-error`, `pipeline-error-eleven-labs-503-server-error`, `call.in-progress.error-vapifault-eleven-labs-voice-not-found`, `call.in-progress.error-vapifault-eleven-labs-quota-exceeded`, `call.in-progress.error-vapifault-eleven-labs-unauthorized-access`, `call.in-progress.error-vapifault-eleven-labs-unauthorized-to-access-model`, `call.in-progress.error-vapifault-eleven-labs-professional-voices-only-for-creator-plus`, `call.in-progress.error-vapifault-eleven-labs-blocked-free-plan-and-requested-upgrade`, `call.in-progress.error-vapifault-eleven-labs-blocked-concurrent-requests-and-requested-upgrade`, `call.in-progress.error-vapifault-eleven-labs-blocked-using-instant-voice-clone-and-requested-upgrade`, `call.in-progress.error-vapifault-eleven-labs-system-busy-and-requested-upgrade`, `call.in-progress.error-vapifault-eleven-labs-voice-not-fine-tuned`, `call.in-progress.error-vapifault-eleven-labs-invalid-api-key`, `call.in-progress.error-vapifault-eleven-labs-invalid-voice-samples`, `call.in-progress.error-vapifault-eleven-labs-voice-disabled-by-owner`, `call.in-progress.error-vapifault-eleven-labs-blocked-account-in-probation`, `call.in-progress.error-vapifault-eleven-labs-blocked-content-against-their-policy`, `call.in-progress.error-vapifault-eleven-labs-missing-samples-for-voice-clone`, `call.in-progress.error-vapifault-eleven-labs-voice-not-fine-tuned-and-cannot-be-used`, `call.in-progress.error-vapifault-eleven-labs-voice-not-allowed-for-free-users`, `call.in-progress.error-vapifault-eleven-labs-max-character-limit-exceeded`, `call.in-progress.error-vapifault-eleven-labs-blocked-voice-potentially-against-terms-of-service-and-awaiting-verification`, `call.in-progress.error-vapifault-eleven-labs-unsupported-model`, `call.in-progress.error-providerfault-eleven-labs-system-busy-and-requested-upgrade`, `call.in-progress.error-providerfault-eleven-labs-blocked-concurrent-requests-and-requested-upgrade`, `call.in-progress.error-providerfault-eleven-labs-voice-disabled-by-owner`, `call.in-progress.error-providerfault-eleven-labs-vapi-voice-disabled-by-owner`, `call.in-progress.error-providerfault-eleven-labs-500-server-error`, `call.in-progress.error-providerfault-eleven-labs-503-server-error`, `pipeline-error-playht-request-timed-out`, `pipeline-error-playht-invalid-voice`, `pipeline-error-playht-unexpected-error`, `pipeline-error-playht-out-of-credits`, `pipeline-error-playht-invalid-emotion`, `pipeline-error-playht-voice-must-be-a-valid-voice-manifest-uri`, `pipeline-error-playht-401-unauthorized`, `pipeline-error-playht-403-forbidden-out-of-characters`, `pipeline-error-playht-403-forbidden-api-access-not-available`, `pipeline-error-playht-429-exceeded-quota`, `pipeline-error-playht-502-gateway-error`, `pipeline-error-playht-504-gateway-error`, `call.in-progress.error-vapifault-playht-request-timed-out`, `call.in-progress.error-vapifault-playht-invalid-voice`, `call.in-progress.error-vapifault-playht-unexpected-error`, `call.in-progress.error-vapifault-playht-out-of-credits`, `call.in-progress.error-vapifault-playht-invalid-emotion`, `call.in-progress.error-vapifault-playht-voice-must-be-a-valid-voice-manifest-uri`, `call.in-progress.error-vapifault-playht-401-unauthorized`, `call.in-progress.error-vapifault-playht-403-forbidden-out-of-characters`, `call.in-progress.error-vapifault-playht-403-forbidden-api-access-not-available`, `call.in-progress.error-vapifault-playht-429-exceeded-quota`, `call.in-progress.error-providerfault-playht-502-gateway-error`, `call.in-progress.error-providerfault-playht-504-gateway-error`, `pipeline-error-custom-transcriber-failed`, `call.in-progress.error-vapifault-custom-transcriber-failed`, `pipeline-error-eleven-labs-transcriber-failed`, `call.in-progress.error-vapifault-eleven-labs-transcriber-failed`, `pipeline-error-deepgram-returning-400-no-such-model-language-tier-combination`, `pipeline-error-deepgram-returning-401-invalid-credentials`, `pipeline-error-deepgram-returning-403-model-access-denied`, `pipeline-error-deepgram-returning-404-not-found`, `pipeline-error-deepgram-returning-500-invalid-json`, `pipeline-error-deepgram-returning-502-network-error`, `pipeline-error-deepgram-returning-502-bad-gateway-ehostunreach`, `pipeline-error-deepgram-returning-econnreset`, `call.in-progress.error-vapifault-deepgram-returning-400-no-such-model-language-tier-combination`, `call.in-progress.error-vapifault-deepgram-returning-401-invalid-credentials`, `call.in-progress.error-vapifault-deepgram-returning-404-not-found`, `call.in-progress.error-vapifault-deepgram-returning-403-model-access-denied`, `call.in-progress.error-providerfault-deepgram-returning-500-invalid-json`, `call.in-progress.error-providerfault-deepgram-returning-502-network-error`, `call.in-progress.error-providerfault-deepgram-returning-502-bad-gateway-ehostunreach`, `pipeline-error-google-transcriber-failed`, `call.in-progress.error-vapifault-google-transcriber-failed`, `pipeline-error-openai-transcriber-failed`, `call.in-progress.error-vapifault-openai-transcriber-failed`, `pipeline-error-soniox-transcriber-auth-failed`, `pipeline-error-soniox-transcriber-rate-limited`, `pipeline-error-soniox-transcriber-invalid-config`, `pipeline-error-soniox-transcriber-server-error`, `pipeline-error-soniox-transcriber-failed`, `call.in-progress.error-vapifault-soniox-transcriber-auth-failed`, `call.in-progress.error-vapifault-soniox-transcriber-rate-limited`, `call.in-progress.error-vapifault-soniox-transcriber-invalid-config`, `call.in-progress.error-vapifault-soniox-transcriber-server-error`, `call.in-progress.error-vapifault-soniox-transcriber-failed`, `pipeline-error-xai-transcriber-auth-failed`, `pipeline-error-xai-transcriber-rate-limited`, `pipeline-error-xai-transcriber-invalid-config`, `pipeline-error-xai-transcriber-server-error`, `pipeline-error-xai-transcriber-failed`, `call.in-progress.error-vapifault-xai-transcriber-auth-failed`, `call.in-progress.error-vapifault-xai-transcriber-rate-limited`, `call.in-progress.error-vapifault-xai-transcriber-invalid-config`, `call.in-progress.error-vapifault-xai-transcriber-server-error`, `call.in-progress.error-vapifault-xai-transcriber-failed`, `pipeline-error-reson8-transcriber-auth-failed`, `pipeline-error-reson8-transcriber-rate-limited`, `pipeline-error-reson8-transcriber-invalid-config`, `pipeline-error-reson8-transcriber-closed`, `pipeline-error-reson8-transcriber-failed`, `call.in-progress.error-vapifault-reson8-transcriber-auth-failed`, `call.in-progress.error-vapifault-reson8-transcriber-rate-limited`, `call.in-progress.error-vapifault-reson8-transcriber-invalid-config`, `call.in-progress.error-vapifault-reson8-transcriber-closed`, `call.in-progress.error-vapifault-reson8-transcriber-failed`, `pipeline-error-cartesia-transcriber-failed`, `call.in-progress.error-vapifault-cartesia-transcriber-failed`, `call.in-progress.error-warm-transfer-max-duration`, `call.in-progress.error-warm-transfer-assistant-cancelled`, `call.in-progress.error-warm-transfer-silence-timeout`, `call.in-progress.error-warm-transfer-microphone-timeout`, `assistant-ended-call`, `assistant-said-end-call-phrase`, `assistant-ended-call-with-hangup-task`, `assistant-ended-call-after-message-spoken`, `assistant-forwarded-call`, `assistant-join-timed-out`, `call.in-progress.error-assistant-did-not-receive-customer-audio`, `call.in-progress.error-transfer-failed`, `customer-busy`, `customer-ended-call`, `customer-ended-call-before-warm-transfer`, `customer-ended-call-after-warm-transfer-attempt`, `customer-ended-call-during-transfer`, `customer-did-not-answer`, `customer-did-not-give-microphone-permission`, `exceeded-max-duration`, `manually-canceled`, `phone-call-provider-closed-websocket`, `call.forwarding.operator-busy`, `call.forwarding.no-answer`, `silence-timed-out`, `call.in-progress.error-sip-inbound-call-failed-to-connect`, `call.in-progress.error-providerfault-outbound-sip-403-forbidden`, `call.in-progress.error-providerfault-outbound-sip-407-proxy-authentication-required`, `call.in-progress.error-providerfault-outbound-sip-408-request-timeout`, `call.in-progress.error-providerfault-outbound-sip-503-service-unavailable`, `call.in-progress.error-providerfault-outbound-sip-480-temporarily-unavailable`, `call.in-progress.error-sip-outbound-call-failed-to-connect`, `sip-outbound-unallocated-number`, `sip-outbound-carrier-released-call`, `call.ringing.hook-executed-say`, `call.ringing.hook-executed-transfer`, `call.ending.hook-executed-say`, `call.ending.hook-executed-transfer`, `call.ringing.sip-inbound-caller-hungup-before-call-connect`, `call.ringing.error-sip-inbound-call-failed-to-connect`, `twilio-failed-to-connect-call`, `twilio-reported-customer-misdialed`, `vonage-rejected`, `voicemail`, `call-deleted`
- `endedMessage` (string, optional) — This is the message that adds more context to the ended reason. It can be used to provide potential error messages or warnings.
- `destination` (CallDestination, optional) — This is the destination where the call ended up being transferred to. If the call was not transferred, this will be empty.
- `assistantVersion` (string, optional, nullable) — This is the assistant version to use for this call. Supported only with direct `assistantId`. Omit to follow the latest version.
- `squadVersion` (string, optional, nullable) — This is the squad version to use for this call. Supported only with direct `squadId`. Omit to follow the latest version.
- `transport` (CallTransport, optional) — This is the transport of the call.
- `phoneNumber` (TransientTwilioPhoneNumber, optional) — This is the phone number that will be used for the call. To use an existing number, use `phoneNumberId` instead. Only relevant for `outboundPhoneCall` and `inboundPhoneCall` type.
- `startedAt` (datetime, optional) — This is the ISO 8601 date-time string of when the call was started.
- `endedAt` (datetime, optional) — This is the ISO 8601 date-time string of when the call was ended.
- `cost` (double, optional) — This is the cost of the call in USD.
- `costBreakdown` (CostBreakdown, optional) — This is the cost of the call in USD.
- `artifactPlan` (ArtifactPlan, optional) — This is a copy of assistant artifact plan. This isn't actually stored on the call but rather just returned in POST /call/web to enable artifact creation client side.
- `analysis` (Analysis, optional) — This is the analysis of the call. Configure in `assistant.analysisPlan`.
- `monitor` (Monitor, optional) — This is to real-time monitor the call. Configure in `assistant.monitorPlan`.
- `artifact` (Artifact, optional) — These are the artifacts created from the call. Configure in `assistant.artifactPlan`.
- `compliance` (Compliance, optional) — This is the compliance of the call. Configure in `assistant.compliancePlan`.
- `campaignId` (string, optional) — This is the campaign ID that the call belongs to.
- `assistantId` (string, optional) — This is the assistant ID that will be used for the call. To use a transient assistant, use `assistant` instead. To start a call with: - Assistant, use `assistantId` or `assistant` - Squad, use `squadId` or `squad` - Workflow, use `workflowId` or `workflow`
- `assistant` (TransientAssistantDTO, optional) — This is the assistant that will be used for the call. To use an existing assistant, use `assistantId` instead. To start a call with: - Assistant, use `assistant` - Squad, use `squad` - Workflow, use `workflow`
- `assistantOverrides` (AssistantOverrides, optional) — These are the overrides for the `assistant` or `assistantId`'s settings and template variables.
- `squadId` (string, optional) — This is the squad that will be used for the call. To use a transient squad, use `squad` instead. To start a call with: - Assistant, use `assistant` or `assistantId` - Squad, use `squad` or `squadId` - Workflow, use `workflow` or `workflowId`
- `squad` (CreateSquadDTO, optional) — This is a squad that will be used for the call. To use an existing squad, use `squadId` instead. To start a call with: - Assistant, use `assistant` or `assistantId` - Squad, use `squad` or `squadId` - Workflow, use `workflow` or `workflowId`
- `squadOverrides` (AssistantOverrides, optional) — These are the overrides for the `squad` or `squadId`'s member settings and template variables. This will apply to all members of the squad.
- `workflowId` (string, optional) — This is the workflow that will be used for the call. To use a transient workflow, use `workflow` instead. To start a call with: - Assistant, use `assistant` or `assistantId` - Squad, use `squad` or `squadId` - Workflow, use `workflow` or `workflowId`
- `workflow` (CreateWorkflowDTO, optional) — This is a workflow that will be used for the call. To use an existing workflow, use `workflowId` instead. To start a call with: - Assistant, use `assistant` or `assistantId` - Squad, use `squad` or `squadId` - Workflow, use `workflow` or `workflowId`
- `workflowOverrides` (WorkflowOverrides, optional) — These are the overrides for the `workflow` or `workflowId`'s settings and template variables.
- `phoneNumberId` (string, optional) — This is the phone number that will be used for the call. To use a transient number, use `phoneNumber` instead. Only relevant for `outboundPhoneCall` and `inboundPhoneCall` type.
- `customerId` (string, optional) — This is the customer that will be called. To call a transient customer , use `customer` instead. Only relevant for `outboundPhoneCall` and `inboundPhoneCall` type.
- `customer` (CreateCustomerDTO, optional) — This is the customer that will be called. To call an existing customer, use `customerId` instead. Only relevant for `outboundPhoneCall` and `inboundPhoneCall` type.
- `name` (string, optional) — This is the name of the call. This is just for your own reference.
- `schedulePlan` (SchedulePlan, optional) — This is the schedule plan of the call.
- `phoneCallProvider` (enum, optional, deprecated) — This is the provider of the call. Only relevant for `outboundPhoneCall` and `inboundPhoneCall` type.
  - Allowed values: `twilio`, `vonage`, `vapi`, `telnyx`
- `phoneCallProviderId` (string, optional, deprecated) — The ID of the call as provided by the phone number service. callSid in Twilio. conversationUuid in Vonage. callControlId in Telnyx. Only relevant for `outboundPhoneCall` and `inboundPhoneCall` type.

### Chat

- `id` (string, required) — This is the unique identifier for the chat.
- `orgId` (string, required) — This is the unique identifier for the org that this chat belongs to.
- `createdAt` (datetime, required) — This is the ISO 8601 date-time string of when the chat was created.
- `updatedAt` (datetime, required) — This is the ISO 8601 date-time string of when the chat was last updated.
- `assistantId` (string, optional) — This is the assistant that will be used for the chat. To use an existing assistant, use `assistantId` instead.
- `assistant` (TransientAssistantDTO, optional) — This is the assistant that will be used for the chat. To use an existing assistant, use `assistantId` instead.
- `assistantOverrides` (AssistantOverrides, optional) — These are the variable values that will be used to replace template variables in the assistant messages. Only variable substitution is supported in chat contexts - other assistant properties cannot be overridden.
- `squadId` (string, optional) — This is the squad that will be used for the chat. To use a transient squad, use `squad` instead.
- `squad` (CreateSquadDTO, optional) — This is the squad that will be used for the chat. To use an existing squad, use `squadId` instead.
- `name` (string, optional) — This is the name of the chat. This is just for your own reference.
- `sessionId` (string, optional) — This is the ID of the session that will be used for the chat. Mutually exclusive with previousChatId.
- `input` (ChatInput, optional) — This is the input text for the chat. Can be a string or an array of chat messages.
- `stream` (boolean, optional, default: false) — This is a flag that determines whether the response should be streamed. When true, the response will be sent as chunks of text.
- `previousChatId` (string, optional) — This is the ID of the chat that will be used as context for the new chat. The messages from the previous chat will be used as context. Mutually exclusive with sessionId.
- `messages` (list of ChatMessagesItems, optional) — This is an array of messages used as context for the chat. Used to provide message history for multi-turn conversations.
- `output` (list of ChatOutputItems, optional) — This is the output messages generated by the system in response to the input.
- `costs` (list of ChatCostsItems, optional) — These are the costs of individual components of the chat in USD.
- `cost` (double, optional) — This is the cost of the chat in USD.

### OpenAIMessage

- `content` (string, required, nullable)
- `role` (enum, required)
  - Allowed values: `assistant`, `function`, `user`, `system`, `tool`

### ServerMessageConversationUpdatePhoneNumber

This is the phone number that the message is associated with.

- ByoPhoneNumber: CreateByoPhoneNumberDTO
- TwilioPhoneNumber: CreateTwilioPhoneNumberDTO
- VonagePhoneNumber: CreateVonagePhoneNumberDTO
- VapiPhoneNumber: CreateVapiPhoneNumberDTO
- TelnyxPhoneNumber: CreateTelnyxPhoneNumberDTO

### ServerMessageConversationUpdateMessagesItems

- UserMessage: UserMessage
- SystemMessage: SystemMessage
- BotMessage: BotMessage
- ToolCallMessage: ToolCallMessage
- ToolCallResultMessage: ToolCallResultMessage

### Analysis

- `summary` (string, optional) — This is the summary of the call. Customize by setting `assistant.analysisPlan.summaryPrompt`.
- `structuredData` (AnalysisStructuredData, optional) — This is the structured data extracted from the call. Customize by setting `assistant.analysisPlan.structuredDataPrompt` and/or `assistant.analysisPlan.structuredDataSchema`.
- `structuredDataMulti` (list of AnalysisStructuredDataMultiItems, optional) — This is the structured data catalog of the call. Customize by setting `assistant.analysisPlan.structuredDataMultiPlan`.
- `successEvaluation` (string, optional) — This is the evaluation of the call. Customize by setting `assistant.analysisPlan.successEvaluationPrompt` and/or `assistant.analysisPlan.successEvaluationRubric`.

### ServerMessageEndOfCallReportPhoneNumber

This is the phone number that the message is associated with.

- ByoPhoneNumber: CreateByoPhoneNumberDTO
- TwilioPhoneNumber: CreateTwilioPhoneNumberDTO
- VonagePhoneNumber: CreateVonagePhoneNumberDTO
- VapiPhoneNumber: CreateVapiPhoneNumberDTO
- TelnyxPhoneNumber: CreateTelnyxPhoneNumberDTO

### ServerMessageEndOfCallReportCostsItems

- TransportCost: TransportCost
- TranscriberCost: TranscriberCost
- ModelCost: ModelCost
- VoiceCost: VoiceCost
- VapiCost: VapiCost
- VoicemailDetectionCost: VoicemailDetectionCost
- AnalysisCost: AnalysisCost
- KnowledgeBaseCost: KnowledgeBaseCost

### ServerMessageEndOfCallReportDestination

This is the destination the call was transferred to, if the call was forwarded. This can also be found at `call.destination` on GET /call/:id.

- NumberTransferDestination: TransferDestinationNumber
- SipTransferDestination: TransferDestinationSip

### Compliance

- `recordingConsent` (RecordingConsent, optional) — This is the recording consent of the call. Configure in `assistant.compliancePlan.recordingConsentPlan`.

### ServerMessageHandoffDestinationRequestParameters

This is the parameters of the handoff destination request.

### ServerMessageHandoffDestinationRequestPhoneNumber

This is the phone number that the message is associated with.

- ByoPhoneNumber: CreateByoPhoneNumberDTO
- TwilioPhoneNumber: CreateTwilioPhoneNumberDTO
- VonagePhoneNumber: CreateVonagePhoneNumberDTO
- VapiPhoneNumber: CreateVapiPhoneNumberDTO
- TelnyxPhoneNumber: CreateTelnyxPhoneNumberDTO

### ServerMessageHangPhoneNumber

This is the phone number that the message is associated with.

- ByoPhoneNumber: CreateByoPhoneNumberDTO
- TwilioPhoneNumber: CreateTwilioPhoneNumberDTO
- VonagePhoneNumber: CreateVonagePhoneNumberDTO
- VapiPhoneNumber: CreateVapiPhoneNumberDTO
- TelnyxPhoneNumber: CreateTelnyxPhoneNumberDTO

### ServerMessageKnowledgeBaseRequestPhoneNumber

This is the phone number that the message is associated with.

- ByoPhoneNumber: CreateByoPhoneNumberDTO
- TwilioPhoneNumber: CreateTwilioPhoneNumberDTO
- VonagePhoneNumber: CreateVonagePhoneNumberDTO
- VapiPhoneNumber: CreateVapiPhoneNumberDTO
- TelnyxPhoneNumber: CreateTelnyxPhoneNumberDTO

### ServerMessageKnowledgeBaseRequestMessagesItems

- UserMessage: UserMessage
- SystemMessage: SystemMessage
- BotMessage: BotMessage
- ToolCallMessage: ToolCallMessage
- ToolCallResultMessage: ToolCallResultMessage

### ServerMessageModelOutputOutput

This is the output of the model. It can be a token or tool call.

### ServerMessageModelOutputPhoneNumber

This is the phone number that the message is associated with.

- ByoPhoneNumber: CreateByoPhoneNumberDTO
- TwilioPhoneNumber: CreateTwilioPhoneNumberDTO
- VonagePhoneNumber: CreateVonagePhoneNumberDTO
- VapiPhoneNumber: CreateVapiPhoneNumberDTO
- TelnyxPhoneNumber: CreateTelnyxPhoneNumberDTO

### ServerMessagePhoneCallControlPhoneNumber

This is the phone number that the message is associated with.

- ByoPhoneNumber: CreateByoPhoneNumberDTO
- TwilioPhoneNumber: CreateTwilioPhoneNumberDTO
- VonagePhoneNumber: CreateVonagePhoneNumberDTO
- VapiPhoneNumber: CreateVapiPhoneNumberDTO
- TelnyxPhoneNumber: CreateTelnyxPhoneNumberDTO

### ServerMessagePhoneCallControlDestination

This is the destination to forward the call to if the request is "forward".

- NumberTransferDestination: TransferDestinationNumber
- SipTransferDestination: TransferDestinationSip

### ServerMessageSpeechUpdatePhoneNumber

This is the phone number that the message is associated with.

- ByoPhoneNumber: CreateByoPhoneNumberDTO
- TwilioPhoneNumber: CreateTwilioPhoneNumberDTO
- VonagePhoneNumber: CreateVonagePhoneNumberDTO
- VapiPhoneNumber: CreateVapiPhoneNumberDTO
- TelnyxPhoneNumber: CreateTelnyxPhoneNumberDTO

### ServerMessageStatusUpdatePhoneNumber

This is the phone number that the message is associated with.

- ByoPhoneNumber: CreateByoPhoneNumberDTO
- TwilioPhoneNumber: CreateTwilioPhoneNumberDTO
- VonagePhoneNumber: CreateVonagePhoneNumberDTO
- VapiPhoneNumber: CreateVapiPhoneNumberDTO
- TelnyxPhoneNumber: CreateTelnyxPhoneNumberDTO

### ServerMessageStatusUpdateMessagesItems

- UserMessage: UserMessage
- SystemMessage: SystemMessage
- BotMessage: BotMessage
- ToolCallMessage: ToolCallMessage
- ToolCallResultMessage: ToolCallResultMessage

### ServerMessageStatusUpdateDestination

This is the destination the call is being transferred to. This is only sent if the status is "forwarding".

- NumberTransferDestination: TransferDestinationNumber
- SipTransferDestination: TransferDestinationSip

### ServerMessageStatusUpdateInboundPhoneCallDebuggingArtifacts

This is the inbound phone call debugging artifacts. This is only sent if the status is "ended" and there was an error accepting the inbound phone call. This will include any errors related to the "assistant-request" if one was made.

### ServerMessageToolCallsToolWithToolCallListItems

- FunctionToolWithToolCall: FunctionToolWithToolCall
- GhlToolWithToolCall: GhlToolWithToolCall
- MakeToolWithToolCall: MakeToolWithToolCall
- BashToolWithToolCall: BashToolWithToolCall
- ComputerToolWithToolCall: ComputerToolWithToolCall
- TextEditorToolWithToolCall: TextEditorToolWithToolCall
- GoogleCalendarCreateEventToolWithToolCall: GoogleCalendarCreateEventToolWithToolCall

### ToolCall

- `id` (string, required) — This is the ID of the tool call
- `type` (string, required) — This is the type of tool
- `function` (ToolCallFunction, required) — This is the function that was called

### ServerMessageToolCallsPhoneNumber

This is the phone number that the message is associated with.

- ByoPhoneNumber: CreateByoPhoneNumberDTO
- TwilioPhoneNumber: CreateTwilioPhoneNumberDTO
- VonagePhoneNumber: CreateVonagePhoneNumberDTO
- VapiPhoneNumber: CreateVapiPhoneNumberDTO
- TelnyxPhoneNumber: CreateTelnyxPhoneNumberDTO

### ServerMessageTransferDestinationRequestPhoneNumber

This is the phone number that the message is associated with.

- ByoPhoneNumber: CreateByoPhoneNumberDTO
- TwilioPhoneNumber: CreateTwilioPhoneNumberDTO
- VonagePhoneNumber: CreateVonagePhoneNumberDTO
- VapiPhoneNumber: CreateVapiPhoneNumberDTO
- TelnyxPhoneNumber: CreateTelnyxPhoneNumberDTO

### ServerMessageTransferUpdatePhoneNumber

This is the phone number that the message is associated with.

- ByoPhoneNumber: CreateByoPhoneNumberDTO
- TwilioPhoneNumber: CreateTwilioPhoneNumberDTO
- VonagePhoneNumber: CreateVonagePhoneNumberDTO
- VapiPhoneNumber: CreateVapiPhoneNumberDTO
- TelnyxPhoneNumber: CreateTelnyxPhoneNumberDTO

### ServerMessageTransferUpdateDestination

This is the destination of the transfer.

- Assistant: TransferDestinationAssistant
- Number: TransferDestinationNumber
- Sip: TransferDestinationSip

### ServerMessageTransferUpdateToStepRecord

This is the step that the conversation moved to.

### ServerMessageTransferUpdateFromStepRecord

This is the step that the conversation moved from. =

### ServerMessageTranscriptPhoneNumber

This is the phone number that the message is associated with.

- ByoPhoneNumber: CreateByoPhoneNumberDTO
- TwilioPhoneNumber: CreateTwilioPhoneNumberDTO
- VonagePhoneNumber: CreateVonagePhoneNumberDTO
- VapiPhoneNumber: CreateVapiPhoneNumberDTO
- TelnyxPhoneNumber: CreateTelnyxPhoneNumberDTO

### ServerMessageUserInterruptedPhoneNumber

This is the phone number that the message is associated with.

- ByoPhoneNumber: CreateByoPhoneNumberDTO
- TwilioPhoneNumber: CreateTwilioPhoneNumberDTO
- VonagePhoneNumber: CreateVonagePhoneNumberDTO
- VapiPhoneNumber: CreateVapiPhoneNumberDTO
- TelnyxPhoneNumber: CreateTelnyxPhoneNumberDTO

### ServerMessageLanguageChangeDetectedPhoneNumber

This is the phone number that the message is associated with.

- ByoPhoneNumber: CreateByoPhoneNumberDTO
- TwilioPhoneNumber: CreateTwilioPhoneNumberDTO
- VonagePhoneNumber: CreateVonagePhoneNumberDTO
- VapiPhoneNumber: CreateVapiPhoneNumberDTO
- TelnyxPhoneNumber: CreateTelnyxPhoneNumberDTO

### ServerMessageVoiceInputPhoneNumber

This is the phone number that the message is associated with.

- ByoPhoneNumber: CreateByoPhoneNumberDTO
- TwilioPhoneNumber: CreateTwilioPhoneNumberDTO
- VonagePhoneNumber: CreateVonagePhoneNumberDTO
- VapiPhoneNumber: CreateVapiPhoneNumberDTO
- TelnyxPhoneNumber: CreateTelnyxPhoneNumberDTO

### ServerMessageAssistantSpeechPhoneNumber

This is the phone number that the message is associated with.

- ByoPhoneNumber: CreateByoPhoneNumberDTO
- TwilioPhoneNumber: CreateTwilioPhoneNumberDTO
- VonagePhoneNumber: CreateVonagePhoneNumberDTO
- VapiPhoneNumber: CreateVapiPhoneNumberDTO
- TelnyxPhoneNumber: CreateTelnyxPhoneNumberDTO

### ServerMessageAssistantSpeechTiming

Optional timing metadata. Shape depends on `timing.type`: - `word-alignment` (ElevenLabs): per-character timing at playback cadence. words[] includes space entries. Best consumed by tracking a running character count: join timing.words, add to a char cursor, and highlight text up to that position. No interpolation needed. - `word-progress` (Minimax with voice.subtitleType: 'word'): cursor- based word count per TTS segment. Use wordsSpoken as the anchor, interpolate forward using segmentDurationMs or timing.words until the next event arrives. When absent, the event is a text-only fallback for providers without word-level timing (e.g. Cartesia, Deepgram, Azure). Text emits once per TTS chunk when audio is playing. Optionally interpolate a word cursor at ~3.5 words/sec between events for approximate tracking.

- `type`: `word-alignment` (word-alignment)
  - `words` (list of string, required) — The individual words in this audio segment.
  - `wordsEndTimesMs` (list of double, required) — End time in milliseconds for each word (parallel to `words`).
  - `wordsStartTimesMs` (list of double, required) — Start time in milliseconds for each word (parallel to `words`).
- `type`: `word-progress` (word-progress)
  - `totalWords` (double, required) — Total number of words sent to the TTS provider for this turn. **Important**: this value grows across events within a single turn because Minimax synthesizes audio incrementally as the LLM streams tokens. Treat it as "best known total so far" — it will stabilize once synthesis is complete. A value of `0` is a valid sentinel meaning "not yet known". This can occur on the very first `assistant-speech` event of a turn if audio begins playing before the TTS provider has confirmed word-count data. Clients **must** guard against divide-by-zero when computing a progress fraction: ```ts const pct = totalWords > 0 ? wordsSpoken / totalWords : 0; ```
  - `wordsSpoken` (double, required) — Number of words spoken so far in this turn.
  - `segment` (string, optional) — The text of the latest spoken segment (sentence or clause). Use this for caption display — it corresponds to the chunk just confirmed by the TTS provider, unlike `text` on the parent message which carries the full turn text.
  - `segmentDurationMs` (double, optional) — Audio duration in milliseconds for the latest spoken segment. Pair with `segment` to animate karaoke-style word reveals — divide the segment text across this duration for approximate per-word timing.
  - `words` (list of AssistantSpeechWordTimestamp, optional) — Per-word timestamps for the latest spoken segment. Available when the TTS provider supports word-level timing (e.g. Minimax with subtitle_type: "word"). Syllables from the provider are aggregated into whole words with start/end times relative to the segment start. Use these for precise karaoke-style highlighting instead of interpolating from segmentDurationMs.

### ServerMessageVoiceRequestPhoneNumber

This is the phone number that the message is associated with.

- ByoPhoneNumber: CreateByoPhoneNumberDTO
- TwilioPhoneNumber: CreateTwilioPhoneNumberDTO
- VonagePhoneNumber: CreateVonagePhoneNumberDTO
- VapiPhoneNumber: CreateVapiPhoneNumberDTO
- TelnyxPhoneNumber: CreateTelnyxPhoneNumberDTO

### ServerMessageCallEndpointingRequestPhoneNumber

This is the phone number that the message is associated with.

- ByoPhoneNumber: CreateByoPhoneNumberDTO
- TwilioPhoneNumber: CreateTwilioPhoneNumberDTO
- VonagePhoneNumber: CreateVonagePhoneNumberDTO
- VapiPhoneNumber: CreateVapiPhoneNumberDTO
- TelnyxPhoneNumber: CreateTelnyxPhoneNumberDTO

### ServerMessageCallEndpointingRequestMessagesItems

- UserMessage: UserMessage
- SystemMessage: SystemMessage
- BotMessage: BotMessage
- ToolCallMessage: ToolCallMessage
- ToolCallResultMessage: ToolCallResultMessage

### ServerMessageChatCreatedPhoneNumber

This is the phone number that the message is associated with.

- ByoPhoneNumber: CreateByoPhoneNumberDTO
- TwilioPhoneNumber: CreateTwilioPhoneNumberDTO
- VonagePhoneNumber: CreateVonagePhoneNumberDTO
- VapiPhoneNumber: CreateVapiPhoneNumberDTO
- TelnyxPhoneNumber: CreateTelnyxPhoneNumberDTO

### ServerMessageChatDeletedPhoneNumber

This is the phone number that the message is associated with.

- ByoPhoneNumber: CreateByoPhoneNumberDTO
- TwilioPhoneNumber: CreateTwilioPhoneNumberDTO
- VonagePhoneNumber: CreateVonagePhoneNumberDTO
- VapiPhoneNumber: CreateVapiPhoneNumberDTO
- TelnyxPhoneNumber: CreateTelnyxPhoneNumberDTO

### Session

- `id` (string, required) — This is the unique identifier for the session.
- `orgId` (string, required) — This is the unique identifier for the organization that owns this session.
- `createdAt` (datetime, required) — This is the ISO 8601 timestamp indicating when the session was created.
- `updatedAt` (datetime, required) — This is the ISO 8601 timestamp indicating when the session was last updated.
- `cost` (double, optional) — This is the cost of the session in USD.
- `costs` (list of SessionCostsItems, optional) — These are the costs of individual components of the session in USD.
- `name` (string, optional) — This is a user-defined name for the session. Maximum length is 40 characters.
- `status` (enum, optional) — This is the current status of the session. Can be either 'active' or 'completed'.
  - Allowed values: `active`, `completed`
- `expirationSeconds` (double, optional) — Session expiration time in seconds. Defaults to 24 hours (86400 seconds) if not set.
- `assistantId` (string, optional) — This is the ID of the assistant associated with this session. Use this when referencing an existing assistant.
- `assistant` (TransientAssistantDTO, optional) — This is the assistant configuration for this session. Use this when creating a new assistant configuration. If assistantId is provided, this will be ignored.
- `assistantOverrides` (AssistantOverrides, optional) — These are the overrides for the assistant configuration. Use this to provide variable values and other overrides when using assistantId. Variable substitution will be applied to the assistant's messages and other text-based fields.
- `squadId` (string, optional) — This is the squad ID associated with this session. Use this when referencing an existing squad.
- `squad` (CreateSquadDTO, optional) — This is the squad configuration for this session. Use this when creating a new squad configuration. If squadId is provided, this will be ignored.
- `messages` (list of SessionMessagesItems, optional) — This is an array of chat messages in the session.
- `customer` (CreateCustomerDTO, optional) — This is the customer information associated with this session.
- `customerId` (string, optional) — This is the customerId of the customer associated with this session.
- `phoneNumberId` (string, optional) — This is the ID of the phone number associated with this session.
- `phoneNumber` (ImportTwilioPhoneNumberDTO, optional) — This is the phone number configuration for this session.
- `artifact` (Artifact, optional) — These are the artifacts that were extracted from the session messages. They are only available after the session has completed. The artifact plan from the assistant or active assistant of squad is used to generate the artifact. Currently the only supported fields of assistant artifact plan are: - structuredOutputIds

### ServerMessageSessionCreatedPhoneNumber

This is the phone number that the message is associated with.

- ByoPhoneNumber: CreateByoPhoneNumberDTO
- TwilioPhoneNumber: CreateTwilioPhoneNumberDTO
- VonagePhoneNumber: CreateVonagePhoneNumberDTO
- VapiPhoneNumber: CreateVapiPhoneNumberDTO
- TelnyxPhoneNumber: CreateTelnyxPhoneNumberDTO

### ServerMessageSessionUpdatedPhoneNumber

This is the phone number that the message is associated with.

- ByoPhoneNumber: CreateByoPhoneNumberDTO
- TwilioPhoneNumber: CreateTwilioPhoneNumberDTO
- VonagePhoneNumber: CreateVonagePhoneNumberDTO
- VapiPhoneNumber: CreateVapiPhoneNumberDTO
- TelnyxPhoneNumber: CreateTelnyxPhoneNumberDTO

### ServerMessageSessionDeletedPhoneNumber

This is the phone number that the message is associated with.

- ByoPhoneNumber: CreateByoPhoneNumberDTO
- TwilioPhoneNumber: CreateTwilioPhoneNumberDTO
- VonagePhoneNumber: CreateVonagePhoneNumberDTO
- VapiPhoneNumber: CreateVapiPhoneNumberDTO
- TelnyxPhoneNumber: CreateTelnyxPhoneNumberDTO

### ServerMessageCallDeletedPhoneNumber

This is the phone number that the message is associated with.

- ByoPhoneNumber: CreateByoPhoneNumberDTO
- TwilioPhoneNumber: CreateTwilioPhoneNumberDTO
- VonagePhoneNumber: CreateVonagePhoneNumberDTO
- VapiPhoneNumber: CreateVapiPhoneNumberDTO
- TelnyxPhoneNumber: CreateTelnyxPhoneNumberDTO

### ServerMessageCallDeleteFailedPhoneNumber

This is the phone number that the message is associated with.

- ByoPhoneNumber: CreateByoPhoneNumberDTO
- TwilioPhoneNumber: CreateTwilioPhoneNumberDTO
- VonagePhoneNumber: CreateVonagePhoneNumberDTO
- VapiPhoneNumber: CreateVapiPhoneNumberDTO
- TelnyxPhoneNumber: CreateTelnyxPhoneNumberDTO

### CallArtifactUploadItem

- `type` (enum, required) — The artifact this result refers to.
  - Allowed values: `end-of-call-report`, `recording-mono`, `recording-stereo`, `recording-assistant`, `recording-customer`, `log`, `pcap`
- `success` (boolean, required) — Whether this artifact was stored successfully in your own configured storage.

### ServerMessageCallArtifactUploadPhoneNumber

This is the phone number that the message is associated with.

- ByoPhoneNumber: CreateByoPhoneNumberDTO
- TwilioPhoneNumber: CreateTwilioPhoneNumberDTO
- VonagePhoneNumber: CreateVonagePhoneNumberDTO
- VapiPhoneNumber: CreateVapiPhoneNumberDTO
- TelnyxPhoneNumber: CreateTelnyxPhoneNumberDTO

### CampaignContact

- `id` (string, required)
- `campaignId` (string, required)
- `orgId` (string, required)
- `number` (string, required)
- `createdAt` (datetime, required)
- `customerId` (string, optional)
- `name` (string, optional)
- `assistantOverrides` (AssistantOverrides, optional)
- `squadOverrides` (AssistantOverrides, optional) — Use this when the campaign targets a `squadId`. Mirrors the call-level `squadOverrides` field. Merged with the campaign-level squadOverrides at dispatch time.

### ServerMessageCampaignPredialPhoneNumber

This is the phone number that the message is associated with.

- ByoPhoneNumber: CreateByoPhoneNumberDTO
- TwilioPhoneNumber: CreateTwilioPhoneNumberDTO
- VonagePhoneNumber: CreateVonagePhoneNumberDTO
- VapiPhoneNumber: CreateVapiPhoneNumberDTO
- TelnyxPhoneNumber: CreateTelnyxPhoneNumberDTO

### ServerMessageResponseAssistantRequestDestination

This is the destination to transfer the inbound call to. This will immediately transfer without using any assistants. If this is sent, `assistantId`, `assistant`, `squadId`, and `squad` are ignored.

- NumberTransferDestination: TransferDestinationNumber
- SipTransferDestination: TransferDestinationSip

### TransientAssistantDTO

- `transcriber` (TransientAssistantDtoTranscriber, optional) — These are the options for the assistant's transcriber.
- `model` (TransientAssistantDtoModel, optional) — These are the options for the assistant's LLM.
- `voice` (TransientAssistantDtoVoice, optional) — These are the options for the assistant's voice.
- `firstMessage` (string, optional) — This is the first message that the assistant will say. This can also be a URL to a containerized audio file (mp3, wav, etc.). If unspecified, assistant will wait for user to speak and use the model to respond once they speak.
- `firstMessageInterruptionsEnabled` (boolean, optional, default: false)
- `firstMessageMode` (enum, optional) — This is the mode for the first message. Default is 'assistant-speaks-first'. Use: - 'assistant-speaks-first' to have the assistant speak first. - 'assistant-waits-for-user' to have the assistant wait for the user to speak first. - 'assistant-speaks-first-with-model-generated-message' to have the assistant speak first with a message generated by the model based on the conversation state. (`assistant.model.messages` at call start, `call.messages` at squad transfer points). @default 'assistant-speaks-first'
  - Allowed values: `assistant-speaks-first`, `assistant-speaks-first-with-model-generated-message`, `assistant-waits-for-user`
- `voicemailDetection` (TransientAssistantDtoVoicemailDetection, optional) — These are the settings to configure or disable voicemail detection. Alternatively, voicemail detection can be configured using the model.tools=[VoicemailTool]. By default, voicemail detection is disabled.
- `clientMessages` (enum, optional) — These are the messages that will be sent to your Client SDKs. Default is conversation-update,function-call,hang,model-output,speech-update,status-update,transfer-update,transcript,tool-calls,user-interrupted,voice-input,workflow.node.started,assistant.started. You can check the shape of the messages in ClientMessage schema.
  - Allowed values: `conversation-update`, `assistant.speechStarted`, `function-call`, `function-call-result`, `hang`, `language-changed`, `metadata`, `model-output`, `speech-update`, `status-update`, `transcript`, `tool-calls`, `tool-calls-result`, `tool.completed`, `transfer-update`, `user-interrupted`, `voice-input`, `workflow.node.started`, `assistant.started`
- `serverMessages` (enum, optional) — These are the messages that will be sent to your Server URL. Default is conversation-update,end-of-call-report,function-call,hang,speech-update,status-update,tool-calls,transfer-destination-request,handoff-destination-request,user-interrupted,assistant.started. You can check the shape of the messages in ServerMessage schema.
  - Allowed values: `assistant.started`, `assistant.speechStarted`, `conversation-update`, `end-of-call-report`, `function-call`, `hang`, `language-changed`, `language-change-detected`, `model-output`, `phone-call-control`, `speech-update`, `status-update`, `transcript`, `transcript[transcriptType="final"]`, `tool-calls`, `transfer-destination-request`, `handoff-destination-request`, `transfer-update`, `user-interrupted`, `voice-input`, `chat.created`, `chat.deleted`, `session.created`, `session.updated`, `session.deleted`, `call.deleted`, `call.delete.failed`, `call.artifact.upload`
- `maxDurationSeconds` (double, optional) — This is the maximum number of seconds that the call will last. When the call reaches this duration, it will be ended. @default 600 (10 minutes)
- `backgroundSound` (TransientAssistantDtoBackgroundSound, optional) — This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'. Bundled sounds: 'office', 'white-noise', 'city', 'crowd' and 'farm'. GPT Live assistants don't play 'office'. You can also provide a custom sound by providing a URL to an audio file.
- `modelOutputInMessagesEnabled` (boolean, optional) — This determines whether the model's output is used in conversation history rather than the transcription of assistant's speech. @default false
- `transportConfigurations` (list of TransientAssistantDtoTransportConfigurationsItems, optional) — These are the configurations to be passed to the transport providers of assistant's calls, like Twilio. You can store multiple configurations for different transport providers. For a call, only the configuration matching the call transport provider is used.
- `observabilityPlan` (LangfuseObservabilityPlan, optional) — This is the plan for observability of assistant's calls. Currently, only Langfuse is supported.
- `credentials` (list of TransientAssistantDtoCredentialsItems, optional) — These are dynamic credentials that will be used for the assistant calls. By default, all the credentials are available for use in the call but you can supplement an additional credentials using this. Dynamic credentials override existing credentials.
- `hooks` (list of TransientAssistantDtoHooksItems, optional) — This is a set of actions that will be performed on certain events.
- `name` (string, optional) — This is the name of the assistant. This is required when you want to transfer between assistants in a call.
- `voicemailMessage` (string, optional) — This is the message that the assistant will say if the call is forwarded to voicemail. If unspecified, it will hang up.
- `endCallMessage` (string, optional) — This is the message that the assistant will say if it ends the call. If unspecified, it will hang up without saying anything.
- `endCallPhrases` (list of string, optional) — This list contains phrases that, if spoken by the assistant, will trigger the call to be hung up. Case insensitive.
- `compliancePlan` (CompliancePlan, optional)
- `metadata` (TransientAssistantDtoMetadata, optional) — This is for metadata you want to store on the assistant.
- `backgroundSpeechDenoisingPlan` (BackgroundSpeechDenoisingPlan, optional) — This enables filtering of noise and background speech while the user is talking. Features: - Smart denoising using Krisp - Fourier denoising Smart denoising can be combined with or used independently of Fourier denoising. Order of precedence: - Smart denoising - Fourier denoising
- `artifactPlan` (ArtifactPlan, optional) — This is the plan for artifacts generated during assistant's calls. Stored in `call.artifact`.
- `startSpeakingPlan` (StartSpeakingPlan, optional) — This is the plan for when the assistant should start talking. You should configure this if you're running into these issues: - The assistant is too slow to start talking after the customer is done speaking. - The assistant is too fast to start talking after the customer is done speaking. - The assistant is so fast that it's actually interrupting the customer.
- `stopSpeakingPlan` (StopSpeakingPlan, optional) — This is the plan for when assistant should stop talking on customer interruption. You should configure this if you're running into these issues: - The assistant is too slow to recognize customer's interruption. - The assistant is too fast to recognize customer's interruption. - The assistant is getting interrupted by phrases that are just acknowledgments. - The assistant is getting interrupted by background noises. - The assistant is not properly stopping -- it starts talking right after getting interrupted.
- `monitorPlan` (MonitorPlan, optional) — This is the plan for real-time monitoring of the assistant's calls. Usage: - To enable live listening of the assistant's calls, set `monitorPlan.listenEnabled` to `true`. - To enable live control of the assistant's calls, set `monitorPlan.controlEnabled` to `true`. - To attach monitors to the assistant, set `monitorPlan.monitorIds` to the set of monitor ids.
- `credentialIds` (list of string, optional) — These are the credentials that will be used for the assistant calls. By default, all the credentials are available for use in the call but you can provide a subset using this.
- `server` (Server, optional) — This is where Vapi will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema. The order of precedence is: 1. assistant.server.url 2. phoneNumber.serverUrl 3. org.serverUrl
- `keypadInputPlan` (KeypadInputPlan, optional)
- `analysisPlan` (AnalysisPlan, optional, deprecated) — This is the plan for analysis of assistant's calls. Stored in `call.analysis`.

### AssistantOverrides

- `transcriber` (AssistantOverridesTranscriber, optional) — These are the options for the assistant's transcriber.
- `model` (AssistantOverridesModel, optional) — These are the options for the assistant's LLM.
- `voice` (AssistantOverridesVoice, optional) — These are the options for the assistant's voice.
- `firstMessage` (string, optional) — This is the first message that the assistant will say. This can also be a URL to a containerized audio file (mp3, wav, etc.). If unspecified, assistant will wait for user to speak and use the model to respond once they speak.
- `firstMessageInterruptionsEnabled` (boolean, optional, default: false)
- `firstMessageMode` (enum, optional) — This is the mode for the first message. Default is 'assistant-speaks-first'. Use: - 'assistant-speaks-first' to have the assistant speak first. - 'assistant-waits-for-user' to have the assistant wait for the user to speak first. - 'assistant-speaks-first-with-model-generated-message' to have the assistant speak first with a message generated by the model based on the conversation state. (`assistant.model.messages` at call start, `call.messages` at squad transfer points). @default 'assistant-speaks-first'
  - Allowed values: `assistant-speaks-first`, `assistant-speaks-first-with-model-generated-message`, `assistant-waits-for-user`
- `voicemailDetection` (AssistantOverridesVoicemailDetection, optional) — These are the settings to configure or disable voicemail detection. Alternatively, voicemail detection can be configured using the model.tools=[VoicemailTool]. By default, voicemail detection is disabled.
- `clientMessages` (enum, optional) — These are the messages that will be sent to your Client SDKs. Default is conversation-update,function-call,hang,model-output,speech-update,status-update,transfer-update,transcript,tool-calls,user-interrupted,voice-input,workflow.node.started,assistant.started. You can check the shape of the messages in ClientMessage schema.
  - Allowed values: `conversation-update`, `assistant.speechStarted`, `function-call`, `function-call-result`, `hang`, `language-changed`, `metadata`, `model-output`, `speech-update`, `status-update`, `transcript`, `tool-calls`, `tool-calls-result`, `tool.completed`, `transfer-update`, `user-interrupted`, `voice-input`, `workflow.node.started`, `assistant.started`
- `serverMessages` (enum, optional) — These are the messages that will be sent to your Server URL. Default is conversation-update,end-of-call-report,function-call,hang,speech-update,status-update,tool-calls,transfer-destination-request,handoff-destination-request,user-interrupted,assistant.started. You can check the shape of the messages in ServerMessage schema.
  - Allowed values: `assistant.started`, `assistant.speechStarted`, `conversation-update`, `end-of-call-report`, `function-call`, `hang`, `language-changed`, `language-change-detected`, `model-output`, `phone-call-control`, `speech-update`, `status-update`, `transcript`, `transcript[transcriptType="final"]`, `tool-calls`, `transfer-destination-request`, `handoff-destination-request`, `transfer-update`, `user-interrupted`, `voice-input`, `chat.created`, `chat.deleted`, `session.created`, `session.updated`, `session.deleted`, `call.deleted`, `call.delete.failed`, `call.artifact.upload`
- `maxDurationSeconds` (double, optional) — This is the maximum number of seconds that the call will last. When the call reaches this duration, it will be ended. @default 600 (10 minutes)
- `backgroundSound` (AssistantOverridesBackgroundSound, optional) — This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'. Bundled sounds: 'office', 'white-noise', 'city', 'crowd' and 'farm'. GPT Live assistants don't play 'office'. You can also provide a custom sound by providing a URL to an audio file.
- `modelOutputInMessagesEnabled` (boolean, optional) — This determines whether the model's output is used in conversation history rather than the transcription of assistant's speech. @default false
- `transportConfigurations` (list of AssistantOverridesTransportConfigurationsItems, optional) — These are the configurations to be passed to the transport providers of assistant's calls, like Twilio. You can store multiple configurations for different transport providers. For a call, only the configuration matching the call transport provider is used.
- `observabilityPlan` (LangfuseObservabilityPlan, optional) — This is the plan for observability of assistant's calls. Currently, only Langfuse is supported.
- `credentials` (list of AssistantOverridesCredentialsItems, optional) — These are dynamic credentials that will be used for the assistant calls. By default, all the credentials are available for use in the call but you can supplement an additional credentials using this. Dynamic credentials override existing credentials.
- `hooks` (list of AssistantOverridesHooksItems, optional) — This is a set of actions that will be performed on certain events.
- `tools:append` (list of AssistantOverridesToolsAppendItems, optional)
- `variableValues` (AssistantOverridesVariableValues, optional) — These are values that will be used to replace the template variables in the assistant messages and other text-based fields. This uses LiquidJS syntax. [https://liquidjs.com/tutorials/intro-to-liquid.html](https://liquidjs.com/tutorials/intro-to-liquid.html) So for example, `{{ name }}` will be replaced with the value of `name` in `variableValues`. `{{"now" | date: "%b %d, %Y, %I:%M %p", "America/New_York"}}` will be replaced with the current date and time in New York. Some VAPI reserved defaults: * *customer* - the customer object
- `name` (string, optional) — This is the name of the assistant. This is required when you want to transfer between assistants in a call.
- `voicemailMessage` (string, optional) — This is the message that the assistant will say if the call is forwarded to voicemail. If unspecified, it will hang up.
- `endCallMessage` (string, optional) — This is the message that the assistant will say if it ends the call. If unspecified, it will hang up without saying anything.
- `endCallPhrases` (list of string, optional) — This list contains phrases that, if spoken by the assistant, will trigger the call to be hung up. Case insensitive.
- `compliancePlan` (CompliancePlan, optional)
- `metadata` (AssistantOverridesMetadata, optional) — This is for metadata you want to store on the assistant.
- `backgroundSpeechDenoisingPlan` (BackgroundSpeechDenoisingPlan, optional) — This enables filtering of noise and background speech while the user is talking. Features: - Smart denoising using Krisp - Fourier denoising Smart denoising can be combined with or used independently of Fourier denoising. Order of precedence: - Smart denoising - Fourier denoising
- `artifactPlan` (ArtifactPlan, optional) — This is the plan for artifacts generated during assistant's calls. Stored in `call.artifact`.
- `startSpeakingPlan` (StartSpeakingPlan, optional) — This is the plan for when the assistant should start talking. You should configure this if you're running into these issues: - The assistant is too slow to start talking after the customer is done speaking. - The assistant is too fast to start talking after the customer is done speaking. - The assistant is so fast that it's actually interrupting the customer.
- `stopSpeakingPlan` (StopSpeakingPlan, optional) — This is the plan for when assistant should stop talking on customer interruption. You should configure this if you're running into these issues: - The assistant is too slow to recognize customer's interruption. - The assistant is too fast to recognize customer's interruption. - The assistant is getting interrupted by phrases that are just acknowledgments. - The assistant is getting interrupted by background noises. - The assistant is not properly stopping -- it starts talking right after getting interrupted.
- `monitorPlan` (MonitorPlan, optional) — This is the plan for real-time monitoring of the assistant's calls. Usage: - To enable live listening of the assistant's calls, set `monitorPlan.listenEnabled` to `true`. - To enable live control of the assistant's calls, set `monitorPlan.controlEnabled` to `true`. - To attach monitors to the assistant, set `monitorPlan.monitorIds` to the set of monitor ids.
- `credentialIds` (list of string, optional) — These are the credentials that will be used for the assistant calls. By default, all the credentials are available for use in the call but you can provide a subset using this.
- `server` (Server, optional) — This is where Vapi will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema. The order of precedence is: 1. assistant.server.url 2. phoneNumber.serverUrl 3. org.serverUrl
- `keypadInputPlan` (KeypadInputPlan, optional)
- `analysisPlan` (AnalysisPlan, optional, deprecated) — This is the plan for analysis of assistant's calls. Stored in `call.analysis`.

### CreateSquadDTO

- `members` (list of SquadMemberDTO, required) — This is the list of assistants that make up the squad. The call will start with the first assistant in the list.
- `name` (string, optional) — This is the name of the squad.
- `membersOverrides` (AssistantOverrides, optional) — This can be used to override all the assistants' settings and provide values for their template variables. Both `membersOverrides` and `members[n].assistantOverrides` can be used together. First, `members[n].assistantOverrides` is applied. Then, `membersOverrides` is applied as a global override.

### CreateWorkflowDTO

- `nodes` (list of CreateWorkflowDtoNodesItems, required)
- `name` (string, required)
- `edges` (list of Edge, required)
- `model` (CreateWorkflowDtoModel, optional) — This is the model for the workflow. This can be overridden at node level using `nodes[n].model`.
- `transcriber` (CreateWorkflowDtoTranscriber, optional) — This is the transcriber for the workflow. This can be overridden at node level using `nodes[n].transcriber`.
- `voice` (CreateWorkflowDtoVoice, optional) — This is the voice for the workflow. This can be overridden at node level using `nodes[n].voice`.
- `observabilityPlan` (LangfuseObservabilityPlan, optional) — This is the plan for observability of workflow's calls. Currently, only Langfuse is supported.
- `backgroundSound` (CreateWorkflowDtoBackgroundSound, optional) — This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'. Bundled sounds: 'office', 'white-noise', 'city', 'crowd' and 'farm'. GPT Live assistants don't play 'office'. You can also provide a custom sound by providing a URL to an audio file.
- `hooks` (list of CreateWorkflowDtoHooksItems, optional) — This is a set of actions that will be performed on certain events.
- `credentials` (list of CreateWorkflowDtoCredentialsItems, optional) — These are dynamic credentials that will be used for the workflow calls. By default, all the credentials are available for use in the call but you can supplement an additional credentials using this. Dynamic credentials override existing credentials.
- `voicemailDetection` (CreateWorkflowDtoVoicemailDetection, optional) — This is the voicemail detection plan for the workflow.
- `maxDurationSeconds` (double, optional) — This is the maximum duration of the call in seconds. After this duration, the call will automatically end. Default is 1800 (30 minutes), max is 43200 (12 hours), and min is 10 seconds.
- `globalPrompt` (string, optional)
- `server` (Server, optional) — This is where Vapi will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema. The order of precedence is: 1. tool.server 2. workflow.server / assistant.server 3. phoneNumber.server 4. org.server
- `compliancePlan` (CompliancePlan, optional) — This is the compliance plan for the workflow. It allows you to configure HIPAA and other compliance settings.
- `analysisPlan` (AnalysisPlan, optional) — This is the plan for analysis of workflow's calls. Stored in `call.analysis`.
- `artifactPlan` (ArtifactPlan, optional) — This is the plan for artifacts generated during workflow's calls. Stored in `call.artifact`.
- `startSpeakingPlan` (StartSpeakingPlan, optional) — This is the plan for when the workflow nodes should start talking. You should configure this if you're running into these issues: - The assistant is too slow to start talking after the customer is done speaking. - The assistant is too fast to start talking after the customer is done speaking. - The assistant is so fast that it's actually interrupting the customer.
- `stopSpeakingPlan` (StopSpeakingPlan, optional) — This is the plan for when workflow nodes should stop talking on customer interruption. You should configure this if you're running into these issues: - The assistant is too slow to recognize customer's interruption. - The assistant is too fast to recognize customer's interruption. - The assistant is getting interrupted by phrases that are just acknowledgments. - The assistant is getting interrupted by background noises. - The assistant is not properly stopping -- it starts talking right after getting interrupted.
- `monitorPlan` (MonitorPlan, optional) — This is the plan for real-time monitoring of the workflow's calls. Usage: - To enable live listening of the workflow's calls, set `monitorPlan.listenEnabled` to `true`. - To enable live control of the workflow's calls, set `monitorPlan.controlEnabled` to `true`.
- `backgroundSpeechDenoisingPlan` (BackgroundSpeechDenoisingPlan, optional) — This enables filtering of noise and background speech while the user is talking. Features: - Smart denoising using Krisp - Fourier denoising Both can be used together. Order of precedence: - Smart denoising - Fourier denoising
- `credentialIds` (list of string, optional) — These are the credentials that will be used for the workflow calls. By default, all the credentials are available for use in the call but you can provide a subset using this.
- `keypadInputPlan` (KeypadInputPlan, optional) — This is the plan for keypad input handling during workflow calls.
- `voicemailMessage` (string, optional) — This is the message that the assistant will say if the call is forwarded to voicemail. If unspecified, it will hang up.

### WorkflowOverrides

- `variableValues` (WorkflowOverridesVariableValues, optional) — These are values that will be used to replace the template variables in the workflow messages and other text-based fields. This uses LiquidJS syntax. [https://liquidjs.com/tutorials/intro-to-liquid.html](https://liquidjs.com/tutorials/intro-to-liquid.html) So for example, `{{ name }}` will be replaced with the value of `name` in `variableValues`. `{{"now" | date: "%b %d, %Y, %I:%M %p", "America/New_York"}}` will be replaced with the current date and time in New York. Some VAPI reserved defaults: * *customer* - the customer object

### ServerMessageResponseHandoffDestinationRequestDestination

This is the destination you'd like the call to be transferred to.

### KnowledgeBaseResponseDocument

- `content` (string, required) — This is the content of the document.
- `similarity` (double, required) — This is the similarity score of the document.
- `uuid` (string, optional) — This is the uuid of the document.

### CustomMessage

- `type` (enum, required) — This is a custom message.
  - Allowed values: `custom-message`
- `contents` (list of CustomMessageContentsItems, optional) — This is an alternative to the `content` property. It allows to specify variants of the same content, one per language. Usage: - If your assistants are multilingual, you can provide content for each language. - If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment. This will override the `content` property.
- `content` (string, optional) — This is the content that the assistant will say when this message is triggered.

### ToolCallResult

- `name` (string, required) — This is the name of the function the model called.
- `toolCallId` (string, required) — This is the unique identifier for the tool call.
- `message` (ToolCallResultMessage, optional) — This is the message that will be spoken to the user. If this is not returned, assistant will speak: 1. a `request-complete` or `request-failed` message from `tool.messages`, if it exists 2. a response generated by the model, if not
- `result` (string, optional) — This is the result if the tool call was successful. This is added to the conversation history. Further, if this is returned, assistant will speak: 1. the `message`, if it exists and is of type `request-complete` 2. a `request-complete` message from `tool.messages`, if it exists 3. a response generated by the model, if neither exist
- `error` (string, optional) — This is the error if the tool call was not successful. This is added to the conversation history. Further, if this is returned, assistant will speak: 1. the `message`, if it exists and is of type `request-failed` 2. a `request-failed` message from `tool.messages`, if it exists 3. a response generated by the model, if neither exist
- `metadata` (ToolCallResultMetadata, optional) — This is optional metadata for the tool call result to be sent to the client.

### ServerMessageResponseTransferDestinationRequestDestination

This is the destination you'd like the call to be transferred to.

- Assistant: TransferDestinationAssistant
- Number: TransferDestinationNumber
- Sip: TransferDestinationSip

### ServerMessageResponseTransferDestinationRequestMessage

This is the message that will be spoken to the user as the tool is running.

- ToolMessageStart: ToolMessageStart
- ToolMessageComplete: ToolMessageComplete
- ToolMessageFailed: ToolMessageFailed
- ToolMessageDelayed: ToolMessageDelayed

### CreateByoPhoneNumberDTO

- `provider` (enum, required) — This is to bring your own phone numbers from your own SIP trunks or Carriers.
  - Allowed values: `byo-phone-number`
- `credentialId` (string, required) — This is the credential of your own SIP trunk or Carrier (type `byo-sip-trunk`) which can be used to make calls to this phone number. You can add the SIP trunk or Carrier credential in the Provider Credentials page on the Dashboard to get the credentialId.
- `fallbackDestination` (CreateByoPhoneNumberDtoFallbackDestination, optional) — This is the fallback destination an inbound call will be transferred to if: 1. `assistantId` is not set 2. `squadId` is not set 3. and, `assistant-request` message to the `serverUrl` fails If this is not set and above conditions are met, the inbound call is hung up with an error message.
- `hooks` (list of CreateByoPhoneNumberDtoHooksItems, optional) — This is the hooks that will be used for incoming calls to this phone number.
- `numberE164CheckEnabled` (boolean, optional, default: true) — This is the flag to toggle the E164 check for the `number` field. This is an advanced property which should be used if you know your use case requires it. Use cases: - `false`: To allow non-E164 numbers like `+001234567890`, `1234`, or `abc`. This is useful for dialing out to non-E164 numbers on your SIP trunks. - `true` (default): To allow only E164 numbers like `+14155551234`. This is standard for PSTN calls. If `false`, the `number` is still required to only contain alphanumeric characters (regex: `/^\+?[a-zA-Z0-9]+$/`). @default true (E164 check is enabled)
- `number` (string, optional) — This is the number of the customer.
- `name` (string, optional) — This is the name of the phone number. This is just for your own reference.
- `assistantId` (string, optional) — This is the assistant that will be used for incoming calls to this phone number. If neither `assistantId`, `squadId` nor `workflowId` is set, `assistant-request` will be sent to your Server URL. Check `ServerMessage` and `ServerMessageResponse` for the shape of the message and response that is expected.
- `workflowId` (string, optional) — This is the workflow that will be used for incoming calls to this phone number. If neither `assistantId`, `squadId`, nor `workflowId` is set, `assistant-request` will be sent to your Server URL. Check `ServerMessage` and `ServerMessageResponse` for the shape of the message and response that is expected.
- `squadId` (string, optional) — This is the squad that will be used for incoming calls to this phone number. If neither `assistantId`, `squadId`, nor `workflowId` is set, `assistant-request` will be sent to your Server URL. Check `ServerMessage` and `ServerMessageResponse` for the shape of the message and response that is expected.
- `server` (Server, optional) — This is where Vapi will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema. The order of precedence is: 1. assistant.server 2. phoneNumber.server 3. org.server

### CreateTwilioPhoneNumberDTO

- `provider` (enum, required) — This is to use numbers bought on Twilio.
  - Allowed values: `twilio`
- `number` (string, required) — These are the digits of the phone number you own on your Twilio.
- `twilioAccountSid` (string, required) — This is the Twilio Account SID for the phone number.
- `fallbackDestination` (CreateTwilioPhoneNumberDtoFallbackDestination, optional) — This is the fallback destination an inbound call will be transferred to if: 1. `assistantId` is not set 2. `squadId` is not set 3. and, `assistant-request` message to the `serverUrl` fails If this is not set and above conditions are met, the inbound call is hung up with an error message.
- `hooks` (list of CreateTwilioPhoneNumberDtoHooksItems, optional) — This is the hooks that will be used for incoming calls to this phone number.
- `smsEnabled` (boolean, optional, default: true) — Controls whether Vapi sets the messaging webhook URL on the Twilio number during import. If set to `false`, Vapi will not update the Twilio messaging URL, leaving it as is. If `true` or omitted (default), Vapi will configure both the voice and messaging URLs. @default true
- `twilioAuthToken` (string, optional) — This is the Twilio Auth Token for the phone number.
- `twilioApiKey` (string, optional) — This is the Twilio API Key for the phone number.
- `twilioApiSecret` (string, optional) — This is the Twilio API Secret for the phone number.
- `name` (string, optional) — This is the name of the phone number. This is just for your own reference.
- `assistantId` (string, optional) — This is the assistant that will be used for incoming calls to this phone number. If neither `assistantId`, `squadId` nor `workflowId` is set, `assistant-request` will be sent to your Server URL. Check `ServerMessage` and `ServerMessageResponse` for the shape of the message and response that is expected.
- `workflowId` (string, optional) — This is the workflow that will be used for incoming calls to this phone number. If neither `assistantId`, `squadId`, nor `workflowId` is set, `assistant-request` will be sent to your Server URL. Check `ServerMessage` and `ServerMessageResponse` for the shape of the message and response that is expected.
- `squadId` (string, optional) — This is the squad that will be used for incoming calls to this phone number. If neither `assistantId`, `squadId`, nor `workflowId` is set, `assistant-request` will be sent to your Server URL. Check `ServerMessage` and `ServerMessageResponse` for the shape of the message and response that is expected.
- `server` (Server, optional) — This is where Vapi will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema. The order of precedence is: 1. assistant.server 2. phoneNumber.server 3. org.server

### CreateVonagePhoneNumberDTO

- `provider` (enum, required) — This is to use numbers bought on Vonage.
  - Allowed values: `vonage`
- `number` (string, required) — These are the digits of the phone number you own on your Vonage.
- `credentialId` (string, required) — This is the credential you added in dashboard.vapi.ai/keys. This is used to configure the number to send inbound calls to Vapi, make outbound calls and do live call updates like transfers and hangups.
- `fallbackDestination` (CreateVonagePhoneNumberDtoFallbackDestination, optional) — This is the fallback destination an inbound call will be transferred to if: 1. `assistantId` is not set 2. `squadId` is not set 3. and, `assistant-request` message to the `serverUrl` fails If this is not set and above conditions are met, the inbound call is hung up with an error message.
- `hooks` (list of CreateVonagePhoneNumberDtoHooksItems, optional) — This is the hooks that will be used for incoming calls to this phone number.
- `name` (string, optional) — This is the name of the phone number. This is just for your own reference.
- `assistantId` (string, optional) — This is the assistant that will be used for incoming calls to this phone number. If neither `assistantId`, `squadId` nor `workflowId` is set, `assistant-request` will be sent to your Server URL. Check `ServerMessage` and `ServerMessageResponse` for the shape of the message and response that is expected.
- `workflowId` (string, optional) — This is the workflow that will be used for incoming calls to this phone number. If neither `assistantId`, `squadId`, nor `workflowId` is set, `assistant-request` will be sent to your Server URL. Check `ServerMessage` and `ServerMessageResponse` for the shape of the message and response that is expected.
- `squadId` (string, optional) — This is the squad that will be used for incoming calls to this phone number. If neither `assistantId`, `squadId`, nor `workflowId` is set, `assistant-request` will be sent to your Server URL. Check `ServerMessage` and `ServerMessageResponse` for the shape of the message and response that is expected.
- `server` (Server, optional) — This is where Vapi will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema. The order of precedence is: 1. assistant.server 2. phoneNumber.server 3. org.server

### CreateVapiPhoneNumberDTO

- `provider` (enum, required) — This is to create free SIP phone numbers on Vapi.
  - Allowed values: `vapi`
- `fallbackDestination` (CreateVapiPhoneNumberDtoFallbackDestination, optional) — This is the fallback destination an inbound call will be transferred to if: 1. `assistantId` is not set 2. `squadId` is not set 3. and, `assistant-request` message to the `serverUrl` fails If this is not set and above conditions are met, the inbound call is hung up with an error message.
- `hooks` (list of CreateVapiPhoneNumberDtoHooksItems, optional) — This is the hooks that will be used for incoming calls to this phone number.
- `numberDesiredAreaCode` (string, optional) — This is the area code of the phone number to purchase.
- `sipUri` (string, optional) — This is the SIP URI of the phone number. You can SIP INVITE this. The assistant attached to this number will answer. This is case-insensitive.
- `authentication` (SipAuthentication, optional) — This enables authentication for incoming SIP INVITE requests to the `sipUri`. If not set, any username/password to the 401 challenge of the SIP INVITE will be accepted.
- `name` (string, optional) — This is the name of the phone number. This is just for your own reference.
- `assistantId` (string, optional) — This is the assistant that will be used for incoming calls to this phone number. If neither `assistantId`, `squadId` nor `workflowId` is set, `assistant-request` will be sent to your Server URL. Check `ServerMessage` and `ServerMessageResponse` for the shape of the message and response that is expected.
- `workflowId` (string, optional) — This is the workflow that will be used for incoming calls to this phone number. If neither `assistantId`, `squadId`, nor `workflowId` is set, `assistant-request` will be sent to your Server URL. Check `ServerMessage` and `ServerMessageResponse` for the shape of the message and response that is expected.
- `squadId` (string, optional) — This is the squad that will be used for incoming calls to this phone number. If neither `assistantId`, `squadId`, nor `workflowId` is set, `assistant-request` will be sent to your Server URL. Check `ServerMessage` and `ServerMessageResponse` for the shape of the message and response that is expected.
- `server` (Server, optional) — This is where Vapi will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema. The order of precedence is: 1. assistant.server 2. phoneNumber.server 3. org.server

### CreateTelnyxPhoneNumberDTO

- `provider` (enum, required) — This is to use numbers bought on Telnyx.
  - Allowed values: `telnyx`
- `number` (string, required) — These are the digits of the phone number you own on your Telnyx.
- `credentialId` (string, required) — This is the credential you added in dashboard.vapi.ai/keys. This is used to configure the number to send inbound calls to Vapi, make outbound calls and do live call updates like transfers and hangups.
- `fallbackDestination` (CreateTelnyxPhoneNumberDtoFallbackDestination, optional) — This is the fallback destination an inbound call will be transferred to if: 1. `assistantId` is not set 2. `squadId` is not set 3. and, `assistant-request` message to the `serverUrl` fails If this is not set and above conditions are met, the inbound call is hung up with an error message.
- `hooks` (list of CreateTelnyxPhoneNumberDtoHooksItems, optional) — This is the hooks that will be used for incoming calls to this phone number.
- `name` (string, optional) — This is the name of the phone number. This is just for your own reference.
- `assistantId` (string, optional) — This is the assistant that will be used for incoming calls to this phone number. If neither `assistantId`, `squadId` nor `workflowId` is set, `assistant-request` will be sent to your Server URL. Check `ServerMessage` and `ServerMessageResponse` for the shape of the message and response that is expected.
- `workflowId` (string, optional) — This is the workflow that will be used for incoming calls to this phone number. If neither `assistantId`, `squadId`, nor `workflowId` is set, `assistant-request` will be sent to your Server URL. Check `ServerMessage` and `ServerMessageResponse` for the shape of the message and response that is expected.
- `squadId` (string, optional) — This is the squad that will be used for incoming calls to this phone number. If neither `assistantId`, `squadId`, nor `workflowId` is set, `assistant-request` will be sent to your Server URL. Check `ServerMessage` and `ServerMessageResponse` for the shape of the message and response that is expected.
- `server` (Server, optional) — This is where Vapi will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema. The order of precedence is: 1. assistant.server 2. phoneNumber.server 3. org.server

### ArtifactMessagesItems

- UserMessage: UserMessage
- SystemMessage: SystemMessage
- BotMessage: BotMessage
- ToolCallMessage: ToolCallMessage
- ToolCallResultMessage: ToolCallResultMessage

### SkippedStructuredOutput

- `name` (string, required) — This is the name of the structured output that was skipped.
- `unmetCondition` (SkippedStructuredOutputUnmetCondition, required) — This is the first condition that was not met. Conditions use AND semantics, so evaluation stops as soon as one condition does not pass.

### TransferArtifact

- `destination` (TransferArtifactDestination, required) — The transfer destination (phone number or SIP URI).
- `mode` (enum, optional) — The transfer mode (e.g. warm-transfer-experimental, blind-transfer).
  - Allowed values: `blind-transfer`, `blind-transfer-add-summary-to-sip-header`, `warm-transfer-say-message`, `warm-transfer-say-summary`, `warm-transfer-twiml`, `warm-transfer-wait-for-operator-to-speak-first-and-then-say-message`, `warm-transfer-wait-for-operator-to-speak-first-and-then-say-summary`, `warm-transfer-experimental`
- `transcript` (string, optional) — Flat-text transcript / announcement preview of the transfer.
- `status` (enum, optional) — The terminal status of the transfer, rendered as the status line.
  - Allowed values: `connected`, `no-answer`, `busy`, `voicemail`, `failed`, `completed`, `cancelled`
- `messages` (list of TransferArtifactMessagesItems, optional) — The agent↔operator conversation captured during a warm-transfer-experimental, rendered as bubbles.

### Recording

- `stereoUrl` (string, optional) — This is the stereo recording url for the call. To enable, set `assistant.artifactPlan.recordingEnabled`.
- `videoUrl` (string, optional) — This is the video recording url for the call. To enable, set `assistant.artifactPlan.videoRecordingEnabled`.
- `videoRecordingStartDelaySeconds` (double, optional) — This is video recording start delay in ms. To enable, set `assistant.artifactPlan.videoRecordingEnabled`. This can be used to align the playback of the recording with artifact.messages timestamps.
- `mono` (Mono, optional) — This is the mono recording url for the call. To enable, set `assistant.artifactPlan.recordingEnabled`.

### NodeArtifact

- `messages` (list of NodeArtifactMessagesItems, optional) — These are the messages that were spoken during the node.
- `nodeName` (string, optional) — This is the node name.
- `variableValues` (NodeArtifactVariableValues, optional) — These are the variable values that were extracted from the node.

### AssistantActivation

- `assistantName` (string, required) — This is the name of the assistant that was active during the call.
- `assistantVersion` (string, optional, nullable) — This is the version label (e.g. `v3`) of the assistant active when the activation row was recorded. Absent for inline assistants, orgs not on assistant versioning, and parent assistants that have not yet been published under it.
- `squadVersion` (string, optional, nullable) — This is the version label (e.g. `v3`) of the squad that was governing the call when this activation was recorded. Absent for activations that no squad version governs: standalone-assistant calls, flag-off orgs, squads with no published version, and hops to an assistant outside the squad.
- `assistantId` (string, optional) — This is the ID of the assistant that was active during the call.

### ArtifactVariableValues

These are the variable values at the end of the workflow execution.

### PerformanceMetrics

- `turnLatencies` (list of TurnLatency, optional) — These are the individual latencies for each turn, in milliseconds, measured on Vapi's servers without network or playback time. A turn is recorded only when the assistant replies to the user. A first message the assistant speaks first is not recorded; with `assistant-waits-for-user` it is recorded, with `endpointingLatency` 0. A component that was not measured on a turn is 0.
- `modelLatencyAverage` (double, optional) — This is the average `modelLatency` across `turnLatencies`, in milliseconds. Turns that recorded 0 because the model latency was not measured are included in the average.
- `voiceLatencyAverage` (double, optional) — This is the average `voiceLatency` across `turnLatencies`, in milliseconds. Turns that recorded 0 because the voice latency was not measured are included in the average.
- `transcriberLatencyAverage` (double, optional) — This is the average latency for the transcriber.
- `endpointingLatencyAverage` (double, optional) — This is the average latency for the endpointing.
- `turnLatencyAverage` (double, optional) — This is the average latency for complete turns.
- `fromTransportLatencyAverage` (double, optional) — This is the average latency for packets received from the transport provider in milliseconds.
- `toTransportLatencyAverage` (double, optional) — This is the average latency for packets sent to the transport provider in milliseconds.
- `numUserInterrupted` (double, optional) — This is the number of times the user was interrupted by the assistant during the call.
- `numAssistantInterrupted` (double, optional) — This is the number of times the assistant was interrupted by the user during the call.
- `turnLatencyUnmeasuredTracked` (boolean, optional) — This is `true` when the call was recorded with `TurnLatency.unmeasured`, so a turn without that list had every component measured. Absent on calls recorded before `unmeasured` existed, where a 0 latency may mean either 0ms or "not measured".

### ArtifactStructuredOutputs

These are the structured outputs that will be extracted from the call. To enable, set `assistant.artifactPlan.structuredOutputIds` with the IDs of the structured outputs you want to extract.

### ArtifactScorecards

These are the scorecards that have been evaluated based on the structured outputs extracted during the call. To enable, set `assistant.artifactPlan.scorecardIds` or `assistant.artifactPlan.scorecards` with the IDs or objects of the scorecards you want to evaluate.

### CreateAssistantDtoTranscriber

These are the options for the assistant's transcriber.

- AssemblyAITranscriber: AssemblyAITranscriber
- AzureSpeechTranscriber: AzureSpeechTranscriber
- CustomTranscriber: CustomTranscriber
- DeepgramTranscriber: DeepgramTranscriber
- ElevenLabsTranscriber: ElevenLabsTranscriber
- GladiaTranscriber: GladiaTranscriber
- GoogleTranscriber: GoogleTranscriber
- SpeechmaticsTranscriber: SpeechmaticsTranscriber
- TalkscriberTranscriber: TalkscriberTranscriber
- OpenAITranscriber: OpenAITranscriber
- CartesiaTranscriber: CartesiaTranscriber
- SonioxTranscriber: SonioxTranscriber
- XaiTranscriber: XaiTranscriber
- Reson8Transcriber: Reson8Transcriber
- VapiTranscriber: VapiTranscriber

### CreateAssistantDtoModel

These are the options for the assistant's LLM.

- Anthropic: AnthropicModel
- AnthropicBedrock: AnthropicBedrockModel
- Anyscale: AnyscaleModel
- Cerebras: CerebrasModel
- CustomLLM: CustomLLMModel
- DeepInfra: DeepInfraModel
- DeepSeek: DeepSeekModel
- Google: GoogleModel
- Groq: GroqModel
- InflectionAI: InflectionAIModel
- MiniMaxLLM: MinimaxLLMModel
- OpenAI: OpenAIModel
- OpenRouter: OpenRouterModel
- PerplexityAI: PerplexityAIModel
- Together: TogetherAIModel
- XAI: XaiModel
- Vapi: VapiModel

### CreateAssistantDtoVoice

These are the options for the assistant's voice.

- AzureVoice: AzureVoice
- CartesiaVoice: CartesiaVoice
- CustomVoice: CustomVoice
- DeepgramVoice: DeepgramVoice
- ElevenLabsVoice: ElevenLabsVoice
- HumeVoice: HumeVoice
- LMNTVoice: LMNTVoice
- NeuphonicVoice: NeuphonicVoice
- OpenAIVoice: OpenAIVoice
- PlayHTVoice: PlayHTVoice
- WellSaidVoice: WellSaidVoice
- RimeAIVoice: RimeAIVoice
- SmallestAIVoice: SmallestAIVoice
- VapiVoice: VapiVoice
- SesameVoice: SesameVoice
- InworldVoice: InworldVoice
- MinimaxVoice: MinimaxVoice
- XaiVoice: XaiVoice
- MicrosoftVoice: MicrosoftVoice

### CreateAssistantDtoVoicemailDetection

These are the settings to configure or disable voicemail detection. Alternatively, voicemail detection can be configured using the model.tools=[VoicemailTool]. By default, voicemail detection is disabled.

- enum
  - Allowed values: `off`
- Google: GoogleVoicemailDetectionPlan
- OpenAI: OpenAIVoicemailDetectionPlan
- Twilio: TwilioVoicemailDetectionPlan
- Vapi: VapiVoicemailDetectionPlan

### CreateAssistantDtoBackgroundSound

This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'. Bundled sounds: 'office', 'white-noise', 'city', 'crowd' and 'farm'. GPT Live assistants don't play 'office'. You can also provide a custom sound by providing a URL to an audio file.

- enum
  - Allowed values: `off`, `office`, `white-noise`, `city`, `crowd`, `farm`
- string

### CreateAssistantDtoTransportConfigurationsItems

- Twilio: TransportConfigurationTwilio

### LangfuseObservabilityPlan

- `provider` (enum, required)
  - Allowed values: `langfuse`
- `tags` (list of string, required) — This is an array of tags to be added to the Langfuse trace. Tags allow you to categorize and filter traces. https://langfuse.com/docs/tracing-features/tags
- `promptName` (string, optional) — The name of a Langfuse prompt to link generations to. This enables tracking which prompt version was used for each generation. https://langfuse.com/docs/prompt-management/features/link-to-traces
- `promptVersion` (double, optional) — The version number of the Langfuse prompt to link generations to. Used together with promptName to identify the exact prompt version. https://langfuse.com/docs/prompt-management/features/link-to-traces
- `traceName` (string, optional) — Custom name for the Langfuse trace. Supports Liquid templates. Available variables: * \{\{ call.id }} - Call UUID * \{\{ call.type }} - 'inboundPhoneCall', 'outboundPhoneCall', 'webCall' * \{\{ assistant.name }} - Assistant name * \{\{ assistant.id }} - Assistant ID Example: "\{\{ assistant.name }} - \{\{ call.type }}" Defaults to call ID if not provided.
- `metadata` (LangfuseObservabilityPlanMetadata, optional) — This is a JSON object that will be added to the Langfuse trace. Traces can be enriched with metadata to better understand your users, application, and experiments. https://langfuse.com/docs/tracing-features/metadata By default it includes the call metadata, assistant metadata, and assistant overrides.

### CreateAssistantDtoCredentialsItems

- `provider`: `11labs` (11labs)
  - `apiKey` (string, required) — This is not returned in the API.
  - `apiUrl` (enum, optional, nullable) — ElevenLabs-only API environment for this key: the global endpoint or the EU data residency endpoint. In EU deployments, new credentials must explicitly use the EU data residency endpoint; existing credentials may omit this field on update to retain their saved endpoint. Outside EU deployments, Vapi detects an omitted endpoint automatically and null on update clears and re-detects the endpoint.
    - Allowed values: `https://api.elevenlabs.io`, `https://api.eu.residency.elevenlabs.io`
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `anthropic` (anthropic)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `anthropic-bedrock` (anthropic-bedrock)
  - `authenticationPlan` (CreateWorkflowDtoCredentialsItemsDiscriminatorMappingAnthropicBedrockAuthenticationPlan, required) — Authentication method - either direct IAM credentials or cross-account role assumption.
  - `region` (enum, required) — AWS region where Bedrock is configured.
    - Allowed values: `us-east-1`, `us-west-2`, `eu-central-1`, `eu-west-1`, `eu-west-3`, `ap-northeast-1`, `ap-southeast-2`
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `anyscale` (anyscale)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `assembly-ai` (assembly-ai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `azure-openai` (azure-openai)
  - `models` (enum, required)
    - Allowed values: `gpt-5.6-luna-2026-07-09`, `gpt-5.6-terra-2026-07-09`, `gpt-5.6-sol-2026-07-09`, `gpt-5.4`, `gpt-5.4-mini`, `gpt-5.4-nano`, `gpt-5.2`, `gpt-5.2-chat`, `gpt-5.1`, `gpt-5.1-chat`, `gpt-5`, `gpt-5-mini`, `gpt-5-nano`, `gpt-4.1-2025-04-14`, `gpt-4.1-mini-2025-04-14`, `gpt-4.1-nano-2025-04-14`, `gpt-4o-2024-11-20`, `gpt-4o-2024-08-06`, `gpt-4o-2024-05-13`, `gpt-4o-mini-2024-07-18`, `gpt-4-turbo-2024-04-09`, `gpt-4-0125-preview`, `gpt-4-1106-preview`, `gpt-4-0613`, `gpt-35-turbo-0125`, `gpt-35-turbo-1106`, `gpt-4o`, `gpt-4.1`, `gpt-5.4-mini-2026-03-17`
  - `openAIEndpoint` (string, required)
  - `openAIKey` (string, required) — This is not returned in the API.
  - `region` (enum, required)
    - Allowed values: `australiaeast`, `canadaeast`, `canadacentral`, `centralus`, `eastus2`, `eastus`, `france`, `germanywestcentral`, `india`, `japaneast`, `japanwest`, `northcentralus`, `norway`, `polandcentral`, `southcentralus`, `spaincentral`, `swedencentral`, `switzerland`, `switzerlandnorth`, `switzerlandwest`, `uaenorth`, `uk`, `westeurope`, `westus`, `westus3`
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
  - `ocpApimSubscriptionKey` (string, optional) — This is not returned in the API.
- `provider`: `azure` (azure)
  - `service` (enum, required, default: speech) — This is the service being used in Azure.
    - Allowed values: `speech`, `blob_storage`
  - `apiKey` (string, optional) — This is not returned in the API.
  - `bucketPlan` (AzureBlobStorageBucketPlan, optional) — This is the bucket plan that can be provided to store call artifacts in Azure Blob Storage.
  - `fallbackIndex` (double, optional) — This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
  - `region` (enum, optional) — This is the region of the Azure resource.
    - Allowed values: `australiaeast`, `canadaeast`, `canadacentral`, `centralus`, `eastus2`, `eastus`, `france`, `germanywestcentral`, `india`, `japaneast`, `japanwest`, `northcentralus`, `norway`, `polandcentral`, `southcentralus`, `spaincentral`, `swedencentral`, `switzerland`, `switzerlandnorth`, `switzerlandwest`, `uaenorth`, `uk`, `westeurope`, `westus`, `westus3`
- `provider`: `byo-sip-trunk` (byo-sip-trunk)
  - `gateways` (list of SipTrunkGateway, required) — This is the list of SIP trunk's gateways.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
  - `outboundAuthenticationPlan` (SipTrunkOutboundAuthenticationPlan, optional) — This can be used to configure the outbound authentication if required by the SIP trunk.
  - `outboundLeadingPlusEnabled` (boolean, optional) — This ensures the outbound origination attempts have a leading plus. Defaults to false to match conventional telecom behavior. Usage: - Vonage/Twilio requires leading plus for all outbound calls. Set this to true. @default false
  - `sipDiversionHeader` (string, optional) — This can be used to enable the SIP diversion header for authenticating the calling number if the SIP trunk supports it. This is an advanced property.
  - `techPrefix` (string, optional) — This can be used to configure the tech prefix on outbound calls. This is an advanced property.
- `provider`: `cartesia` (cartesia)
  - `apiKey` (string, required) — This is not returned in the API.
  - `apiUrl` (string, optional) — This can be used to point to an onprem Cartesia instance. Defaults to api.cartesia.ai.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `cerebras` (cerebras)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `cloudflare` (cloudflare)
  - `accountEmail` (string, optional) — Cloudflare Account Email.
  - `accountId` (string, optional) — Cloudflare Account Id.
  - `apiKey` (string, optional) — Cloudflare API Key / Token.
  - `bucketPlan` (CloudflareR2BucketPlan, optional) — This is the bucket plan that can be provided to store call artifacts in R2
  - `fallbackIndex` (double, optional) — This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `custom-llm` (custom-llm)
  - `apiKey` (string, required) — This is not returned in the API.
  - `authenticationPlan` (OAuth2AuthenticationPlan, optional) — This is the authentication plan. Currently supports OAuth2 RFC 6749. To use Bearer authentication, use apiKey
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `deepgram` (deepgram)
  - `apiKey` (string, required) — This is not returned in the API.
  - `apiUrl` (string, optional) — This can be used to point to an onprem Deepgram instance. Defaults to api.deepgram.com.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `deepinfra` (deepinfra)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `deep-seek` (deep-seek)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `gcp` (gcp)
  - `gcpKey` (GcpKey, required) — This is the GCP key. This is the JSON that can be generated in the Google Cloud Console at [https://console.cloud.google.com/iam-admin/serviceaccounts/details/\&lt;service-account-id\&gt;/keys](https://console.cloud.google.com/iam-admin/serviceaccounts/details/\&lt;service-account-id\&gt;/keys). The schema is identical to the JSON that GCP outputs.
  - `bucketPlan` (BucketPlan, optional)
  - `fallbackIndex` (double, optional) — This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
  - `region` (string, optional) — This is the region of the GCP resource.
- `provider`: `gladia` (gladia)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `gohighlevel` (gohighlevel)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `google` (google)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `groq` (groq)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `inflection-ai` (inflection-ai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `langfuse` (langfuse)
  - `apiKey` (string, required) — The secret key for Langfuse project. Eg: sk-lf-... .This is not returned in the API.
  - `apiUrl` (string, required) — The host URL for Langfuse project. Eg: https://cloud.langfuse.com
  - `publicKey` (string, required) — The public key for Langfuse project. Eg: pk-lf-...
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
  - `serverVersion` (string, optional) — The semver version of your Langfuse server, e.g. 3.63.0, as its /api/public/health endpoint reports it. Optional.
- `provider`: `lmnt` (lmnt)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `make` (make)
  - `apiKey` (string, required) — This is not returned in the API.
  - `region` (string, required) — Region of your application. For example: eu1, eu2, us1, us2
  - `teamId` (string, required) — Team ID
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `openai` (openai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `openrouter` (openrouter)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `perplexity-ai` (perplexity-ai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `playht` (playht)
  - `apiKey` (string, required) — This is not returned in the API.
  - `userId` (string, required)
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `rime-ai` (rime-ai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `runpod` (runpod)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `s3` (s3)
  - `awsAccessKeyId` (string, required) — AWS access key ID.
  - `awsSecretAccessKey` (string, required) — AWS access key secret. This is not returned in the API.
  - `region` (string, required) — AWS region in which the S3 bucket is located.
  - `s3BucketName` (string, required) — AWS S3 bucket name.
  - `s3PathPrefix` (string, required) — The path prefix for the uploaded recording. Ex. "recordings/"
  - `fallbackIndex` (double, optional) — This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `s3-compatible` (s3-compatible)
  - `bucketPlan` (S3CompatibleBucketPlan, required)
  - `fallbackIndex` (double, optional) — This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `supabase` (supabase)
  - `bucketPlan` (SupabaseBucketPlan, optional)
  - `fallbackIndex` (double, optional) — This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `smallest-ai` (smallest-ai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `tavus` (tavus)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `together-ai` (together-ai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `twilio` (twilio)
  - `accountSid` (string, required)
  - `apiKey` (string, optional) — This is not returned in the API.
  - `apiSecret` (string, optional) — This is not returned in the API.
  - `authToken` (string, optional) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `vonage` (vonage)
  - `apiKey` (string, required)
  - `apiSecret` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `webhook` (webhook)
  - `authenticationPlan` (CreateWorkflowDtoCredentialsItemsDiscriminatorMappingWebhookAuthenticationPlan, required) — This is the authentication plan. Supports OAuth2 RFC 6749, HMAC signing, and Bearer authentication.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `custom-credential` (custom-credential)
  - `authenticationPlan` (CreateWorkflowDtoCredentialsItemsDiscriminatorMappingCustomCredentialAuthenticationPlan, required) — This is the authentication plan. Supports OAuth2 RFC 6749, HMAC signing, and Bearer authentication.
  - `encryptionPlan` (PublicKeyEncryptionPlan, optional) — This is the encryption plan for encrypting sensitive data. Currently supports public-key encryption.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `xai` (xai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `microsoft` (microsoft)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
  - `region` (string, optional) — Azure region for the Speech resource. Defaults to `eastus` when omitted. MAI-Voice-2 is preview and region-limited.
- `provider`: `neuphonic` (neuphonic)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `hume` (hume)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `mistral` (mistral)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `speechmatics` (speechmatics)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `soniox` (soniox)
  - `apiKey` (string, required) — This is not returned in the API.
  - `apiUrl` (string, optional) — Custom Soniox WebSocket endpoint (e.g. EU server wss://stt-rt.eu.soniox.com/transcribe-websocket). Defaults to the region-appropriate endpoint when omitted.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `reson8` (reson8)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `google.calendar.oauth2-client` (google.calendar.oauth2-client)
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `google.calendar.oauth2-authorization` (google.calendar.oauth2-authorization)
  - `authorizationId` (string, required) — The authorization ID for the OAuth2 authorization
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `google.sheets.oauth2-authorization` (google.sheets.oauth2-authorization)
  - `authorizationId` (string, required) — The authorization ID for the OAuth2 authorization
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `slack.oauth2-authorization` (slack.oauth2-authorization)
  - `authorizationId` (string, required) — The authorization ID for the OAuth2 authorization
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `ghl.oauth2-authorization` (ghl.oauth2-authorization)
  - `authenticationSession` (Oauth2AuthenticationSession, required) — This is the authentication session for the credential.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `inworld` (inworld)
  - `apiKey` (string, required) — This is the Inworld Basic (Base64) authentication token. This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `minimax` (minimax)
  - `apiKey` (string, required) — This is not returned in the API.
  - `groupId` (string, required) — This is the Minimax Group ID.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `wellsaid` (wellsaid)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `email` (email)
  - `email` (string, required) — The recipient email address for alerts
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `slack-webhook` (slack-webhook)
  - `webhookUrl` (string, required) — Slack incoming webhook URL. See https://api.slack.com/messaging/webhooks for setup instructions. This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.

### CreateAssistantDtoHooksItems

- CallHookCallEnding: CallHookCallEnding
- CallHookAssistantSpeechInterrupted: CallHookAssistantSpeechInterrupted
- CallHookCustomerSpeechInterrupted: CallHookCustomerSpeechInterrupted
- CallHookCustomerSpeechTimeout: CallHookCustomerSpeechTimeout
- SessionCreatedHook: SessionCreatedHook

### CompliancePlan

- `hipaaEnabled` (boolean, optional) — When this is enabled, logs, recordings, and transcriptions will be stored in HIPAA-compliant storage. Defaults to false. Only HIPAA-compliant providers will be available for LLM, Voice, and Transcriber respectively. This setting is only honored if the organization is on an Enterprise subscription or has purchased the HIPAA add-on.
- `pciEnabled` (boolean, optional) — When this is enabled, the user will be restricted to use PCI-compliant providers, and no logs or transcripts are stored. At the end of the call, you will receive an end-of-call-report message to store on your server. Defaults to false.
- `securityFilterPlan` (SecurityFilterPlan, optional) — This is the security filter plan for the assistant. It allows filtering of transcripts for security threats before sending to LLM.
- `recordingConsentPlan` (CompliancePlanRecordingConsentPlan, optional)

### CreateAssistantDtoMetadata

This is for metadata you want to store on the assistant.

### BackgroundSpeechDenoisingPlan

- `smartDenoisingPlan` (SmartDenoisingPlan, optional) — Whether smart denoising using Krisp is enabled.
- `fourierDenoisingPlan` (FourierDenoisingPlan, optional) — Whether Fourier denoising is enabled. Note that this is experimental and may not work as expected. This can be combined with smart denoising, and will be run afterwards.

### ArtifactPlan

- `recordingEnabled` (boolean, optional) — This determines whether assistant's calls are recorded. Defaults to true. Usage: - If you don't want to record the calls, set this to false. - If you want to record the calls when `assistant.hipaaEnabled` (deprecated) or `assistant.compliancePlan.hipaaEnabled` explicity set this to true and make sure to provide S3 or GCP credentials on the Provider Credentials page in the Dashboard. You can find the recording at `call.artifact.recordingUrl` and `call.artifact.stereoRecordingUrl` after the call is ended. @default true
- `recordingFormat` (enum, optional) — This determines the format of the recording. Defaults to `wav;l16`. @default 'wav;l16'
  - Allowed values: `wav;l16`, `mp3`
- `recordingUseCustomStorageEnabled` (boolean, optional) — This determines whether to use custom storage (S3 or GCP) for call recordings when storage credentials are configured. When set to false, recordings will be stored on Vapi's storage instead of your custom storage, even if you have custom storage credentials configured. Usage: - Set to false if you have custom storage configured but want to store recordings on Vapi's storage for this assistant. - Set to true (or leave unset) to use your custom storage for recordings when available. If your organization has ZDR (zero data retention) or PCI enabled, recordings are never written to Vapi storage. In that case, false means "do not use my custom storage", so nothing is stored at all. @default true
- `videoRecordingEnabled` (boolean, optional) — This determines whether the video is recorded during the call. Defaults to false. Only relevant for `webCall` type. You can find the video recording at `call.artifact.videoRecordingUrl` after the call is ended. @default false
- `fullMessageHistoryEnabled` (boolean, optional) — This determines whether the artifact contains the full message history, even after handoff context engineering. Defaults to false.
- `pcapEnabled` (boolean, optional) — This determines whether the SIP packet capture is enabled. Defaults to true. Only relevant for `phone` type calls where phone number's provider is `vapi` or `byo-phone-number`. You can find the packet capture at `call.artifact.pcapUrl` after the call is ended. @default true
- `pcapS3PathPrefix` (string, optional) — This is the path where the SIP packet capture will be uploaded. This is only used if you have provided S3 or GCP credentials on the Provider Credentials page in the Dashboard. If credential.s3PathPrefix or credential.bucketPlan.path is set, this will append to it. Usage: - If you want to upload the packet capture to a specific path, set this to the path. Example: `/my-assistant-captures`. - If you want to upload the packet capture to the root of the bucket, set this to `/`. @default '/'
- `pcapUseCustomStorageEnabled` (boolean, optional) — This determines whether to use custom storage (S3 or GCP) for SIP packet captures when storage credentials are configured. When set to false, packet captures will be stored on Vapi's storage instead of your custom storage, even if you have custom storage credentials configured. Usage: - Set to false if you have custom storage configured but want to store packet captures on Vapi's storage for this assistant. - Set to true (or leave unset) to use your custom storage for packet captures when available. If your organization has ZDR (zero data retention) or PCI enabled, packet captures are never written to Vapi storage. In that case, false means "do not use my custom storage", so nothing is stored at all. @default true
- `loggingEnabled` (boolean, optional) — This determines whether the call logs are enabled. Defaults to true. @default true
- `loggingUseCustomStorageEnabled` (boolean, optional) — This determines whether to use custom storage (S3 or GCP) for call logs when storage credentials are configured. When set to false, logs will be stored on Vapi's storage instead of your custom storage, even if you have custom storage credentials configured. Usage: - Set to false if you have custom storage configured but want to store logs on Vapi's storage for this assistant. - Set to true (or leave unset) to use your custom storage for logs when available. If your organization has ZDR (zero data retention) or PCI enabled, logs are never written to Vapi storage. In that case, false means "do not use my custom storage", so nothing is stored at all. @default true
- `transcriptPlan` (TranscriptPlan, optional) — This is the plan for `call.artifact.transcript`. To disable, set `transcriptPlan.enabled` to false.
- `recordingPath` (string, optional) — This is the path where the recording will be uploaded. This is only used if you have provided S3 or GCP credentials on the Provider Credentials page in the Dashboard. If credential.s3PathPrefix or credential.bucketPlan.path is set, this will append to it. Usage: - If you want to upload the recording to a specific path, set this to the path. Example: `/my-assistant-recordings`. - If you want to upload the recording to the root of the bucket, set this to `/`. @default '/'
- `structuredOutputIds` (list of string, optional) — This is an array of structured output IDs to be calculated during the call. The outputs will be extracted and stored in `call.artifact.structuredOutputs` after the call is ended.
- `structuredOutputs` (list of CreateStructuredOutputDTO, optional) — This is an array of transient structured outputs to be calculated during the call. The outputs will be extracted and stored in `call.artifact.structuredOutputs` after the call is ended. Use this to provide inline structured output configurations instead of referencing existing ones via structuredOutputIds.
- `scorecardIds` (list of string, optional) — This is an array of scorecard IDs that will be evaluated based on the structured outputs extracted during the call. The scorecards will be evaluated and the results will be stored in `call.artifact.scorecards` after the call has ended.
- `scorecards` (list of CreateScorecardDTO, optional) — This is the array of scorecards that will be evaluated based on the structured outputs extracted during the call. The scorecards will be evaluated and the results will be stored in `call.artifact.scorecards` after the call has ended.
- `loggingPath` (string, optional) — This is the path where the call logs will be uploaded. This is only used if you have provided S3 or GCP credentials on the Provider Credentials page in the Dashboard. If credential.s3PathPrefix or credential.bucketPlan.path is set, this will append to it. Usage: - If you want to upload the call logs to a specific path, set this to the path. Example: `/my-assistant-logs`. - If you want to upload the call logs to the root of the bucket, set this to `/`. @default '/'

### StartSpeakingPlan

- `waitSeconds` (double, optional) — This is how long assistant waits before speaking. Defaults to 0.4. This is the minimum it will wait but if there is latency is the pipeline, this minimum will be exceeded. This is intended as a stopgap in case the pipeline is moving too fast. Example: - If model generates tokens and voice generates bytes within 100ms, the pipeline still waits 300ms before outputting speech. Usage: - If the customer is taking long pauses, set this to a higher value. - If the assistant is accidentally jumping in too much, set this to a higher value. @default 0.4
- `smartEndpointingPlan` (StartSpeakingPlanSmartEndpointingPlan, optional) — This is the plan for smart endpointing. Pick between Vapi smart endpointing, LiveKit, or custom endpointing model (or nothing). We strongly recommend using livekit endpointing when working in English. LiveKit endpointing is not supported in other languages, yet. If this is set, it will override and take precedence over `transcriptionEndpointingPlan`. This plan will still be overridden by any matching `customEndpointingRules`. If this is not set, the system will automatically use the transcriber's built-in endpointing capabilities if available.
- `customEndpointingRules` (list of StartSpeakingPlanCustomEndpointingRulesItems, optional) — These are the custom endpointing rules to set an endpointing timeout based on a regex on the customer's speech or the assistant's last message. Usage: - If you have yes/no questions like "are you interested in a loan?", you can set a shorter timeout. - If you have questions where the customer may pause to look up information like "what's my account number?", you can set a longer timeout. - If you want to wait longer while customer is enumerating a list of numbers, you can set a longer timeout. These rules have the highest precedence and will override both `smartEndpointingPlan` and `transcriptionEndpointingPlan` when a rule is matched. The rules are evaluated in order and the first one that matches will be used. Order of precedence for endpointing: 1. customEndpointingRules (if any match) 2. smartEndpointingPlan (if set) 3. transcriptionEndpointingPlan @default []
- `transcriptionEndpointingPlan` (TranscriptionEndpointingPlan, optional) — This determines how a customer speech is considered done (endpointing) using the transcription of customer's speech. Once an endpoint is triggered, the request is sent to `assistant.model`. Note: This plan is only used if `smartEndpointingPlan` is not set and transcriber does not have built-in endpointing capabilities. If both are provided, `smartEndpointingPlan` takes precedence. This plan will also be overridden by any matching `customEndpointingRules`.
- `smartEndpointingEnabled` (StartSpeakingPlanSmartEndpointingEnabled, optional, deprecated)

### StopSpeakingPlan

- `numWords` (double, optional) — This is the number of words that the customer has to say before the assistant will stop talking. Words like "stop", "actually", "no", etc. will always interrupt immediately regardless of this value. Words like "okay", "yeah", "right" will never interrupt. When set to 0, `voiceSeconds` is used in addition to the transcriptions to determine the customer has started speaking. Defaults to 0. @default 0
- `voiceSeconds` (double, optional) — This is the seconds customer has to speak before the assistant stops talking. This uses the VAD (Voice Activity Detection) spike to determine if the customer has started speaking. Considerations: - A lower value might be more responsive but could potentially pick up non-speech sounds. - A higher value reduces false positives but might slightly delay the detection of speech onset. This is only used if `numWords` is set to 0. Defaults to 0.2 @default 0.2
- `backoffSeconds` (double, optional) — This is the seconds to wait before the assistant will start talking again after being interrupted. Defaults to 1. @default 1
- `acknowledgementPhrases` (list of string, optional, default: ["i understand","i see","i got it","i hear you","im listening","im with you","right","okay","ok","sure","alright","got it","understood","yeah","yes","uh-huh","mm-hmm","gotcha","mhmm","ah","yeah okay","yeah sure"]) — These are the phrases that will never interrupt the assistant, even if numWords threshold is met. These are typically acknowledgement or backchanneling phrases.
- `interruptionPhrases` (list of string, optional, default: ["stop","shut","up","enough","quiet","silence","but","dont","not","no","hold","wait","cut","pause","nope","nah","nevermind","never","bad","actually"]) — These are the phrases that will always interrupt the assistant immediately, regardless of numWords. These are typically phrases indicating disagreement or desire to stop.

### MonitorPlan

- `listenEnabled` (boolean, optional) — This determines whether the assistant's calls allow live listening. Defaults to true. Fetch `call.monitor.listenUrl` to get the live listening URL. @default true
- `listenAuthenticationEnabled` (boolean, optional) — This enables authentication on the `call.monitor.listenUrl`. If `listenAuthenticationEnabled` is `true`, the `call.monitor.listenUrl` will require an `Authorization: Bearer <vapi-public-api-key>` header. @default false
- `controlEnabled` (boolean, optional) — This determines whether the assistant's calls allow live control. Defaults to true. Fetch `call.monitor.controlUrl` to get the live control URL. To use, send any control message via a POST request to `call.monitor.controlUrl`. Here are the types of controls supported: https://docs.vapi.ai/api-reference/messages/client-inbound-message @default true
- `controlAuthenticationEnabled` (boolean, optional) — This enables authentication on the `call.monitor.controlUrl`. If `controlAuthenticationEnabled` is `true`, the `call.monitor.controlUrl` will require an `Authorization: Bearer <vapi-public-api-key>` header. @default false
- `monitorIds` (list of string, optional) — This the set of monitor ids that are attached to the assistant. The source of truth for the monitor ids is the assistant_monitor join table. This field can be used for transient assistants and to update assistants with new monitor ids. @default []

### Server

- `timeoutSeconds` (double, optional) — This is the timeout in seconds for the request. Defaults to 20 seconds. @default 20
- `credentialId` (string, optional) — The credential ID for server authentication
- `staticIpAddressesEnabled` (boolean, optional) — If enabled, requests will originate from a static set of IPs owned and managed by Vapi. @default false
- `encryptedPaths` (list of string, optional) — This is the paths to encrypt in the request body if credentialId and encryptionPlan are defined.
- `url` (string, optional) — This is where the request will be sent.
- `headers` (ServerHeaders, optional) — These are the headers to include in the request. Each key-value pair represents a header name and its value. Note: Specifying an Authorization header here will override the authorization provided by the `credentialId` (if provided). This is an anti-pattern and should be avoided outside of edge case scenarios.
- `backoffPlan` (BackoffPlan, optional) — This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried). @default undefined (the request will not be retried)

### KeypadInputPlan

- `enabled` (boolean, optional) — This keeps track of whether the user has enabled keypad input. By default, it is off. @default false
- `timeoutSeconds` (double, optional) — This is the time in seconds to wait before processing the input. If the input is not received within this time, the input will be ignored. If set to "off", the input will be processed when the user enters a delimiter or immediately if no delimiter is used. @default 2
- `delimiters` (enum, optional) — This is the delimiter(s) that will be used to process the input. Can be '#', '*', or an empty array.
  - Allowed values: `#`, `*`, ``

### AnalysisPlan

- `minMessagesThreshold` (double, optional, deprecated) — The minimum number of messages required to run the analysis plan. If the number of messages is less than this, analysis will be skipped. @default 2
- `summaryPlan` (SummaryPlan, optional, deprecated) — This is the plan for generating the summary of the call. This outputs to `call.analysis.summary`.
- `structuredDataPlan` (StructuredDataPlan, optional, deprecated) — This is the plan for generating the structured data from the call. This outputs to `call.analysis.structuredData`.
- `structuredDataMultiPlan` (list of StructuredDataMultiPlan, optional, deprecated) — This is an array of structured data plan catalogs. Each entry includes a `key` and a `plan` for generating the structured data from the call. This outputs to `call.analysis.structuredDataMulti`.
- `successEvaluationPlan` (SuccessEvaluationPlan, optional, deprecated) — This is the plan for generating the success evaluation of the call. This outputs to `call.analysis.successEvaluation`.
- `outcomeIds` (list of string, optional, deprecated) — This is an array of outcome UUIDs to be calculated during analysis. The outcomes will be calculated and stored in `call.analysis.outcomes`.

### CallCostsItems

- TransportCost: TransportCost
- TranscriberCost: TranscriberCost
- ModelCost: ModelCost
- VoiceCost: VoiceCost
- VapiCost: VapiCost
- VoicemailDetectionCost: VoicemailDetectionCost
- AnalysisCost: AnalysisCost
- KnowledgeBaseCost: KnowledgeBaseCost

### CallMessagesItems

- UserMessage: UserMessage
- SystemMessage: SystemMessage
- BotMessage: BotMessage
- ToolCallMessage: ToolCallMessage
- ToolCallResultMessage: ToolCallResultMessage

### CallDestination

This is the destination where the call ended up being transferred to. If the call was not transferred, this will be empty.

- NumberTransferDestination: TransferDestinationNumber
- SipTransferDestination: TransferDestinationSip

### CallTransport

This is the transport of the call.

- VapiWebsocketTransport: VapiWebsocketTransport
- VonageTransport: VonageTransport
- TwilioTransport: TwilioTransport
- VapiSipTransport: VapiSipTransport
- TelnyxTransport: TelnyxTransport
- VapiWebCallTransport: VapiWebCallTransport

### TransientTwilioPhoneNumber

- `twilioAccountSid` (string, required) — This is your Twilio Account SID that will be used to handle this phone number.
- `twilioPhoneNumber` (string, required, deprecated) — These are the digits of the phone number you own on your Twilio.
- `fallbackDestination` (TransientTwilioPhoneNumberFallbackDestination, optional) — This is the fallback destination an inbound call will be transferred to if: 1. `assistantId` is not set 2. `squadId` is not set 3. and, `assistant-request` message to the `serverUrl` fails If this is not set and above conditions are met, the inbound call is hung up with an error message.
- `hooks` (list of TransientTwilioPhoneNumberHooksItems, optional) — This is the hooks that will be used for incoming calls to this phone number.
- `smsEnabled` (boolean, optional, default: true) — Controls whether Vapi sets the messaging webhook URL on the Twilio number during import. If set to `false`, Vapi will not update the Twilio messaging URL, leaving it as is. If `true` or omitted (default), Vapi will configure both the voice and messaging URLs. @default true
- `name` (string, optional) — This is the name of the phone number. This is just for your own reference.
- `assistantId` (string, optional) — This is the assistant that will be used for incoming calls to this phone number. If neither `assistantId`, `squadId` nor `workflowId` is set, `assistant-request` will be sent to your Server URL. Check `ServerMessage` and `ServerMessageResponse` for the shape of the message and response that is expected.
- `workflowId` (string, optional) — This is the workflow that will be used for incoming calls to this phone number. If neither `assistantId`, `squadId`, nor `workflowId` is set, `assistant-request` will be sent to your Server URL. Check `ServerMessage` and `ServerMessageResponse` for the shape of the message and response that is expected.
- `squadId` (string, optional) — This is the squad that will be used for incoming calls to this phone number. If neither `assistantId`, `squadId`, nor `workflowId` is set, `assistant-request` will be sent to your Server URL. Check `ServerMessage` and `ServerMessageResponse` for the shape of the message and response that is expected.
- `server` (Server, optional) — This is where Vapi will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema. The order of precedence is: 1. assistant.server 2. phoneNumber.server 3. org.server

### CostBreakdown

- `transport` (double, optional) — This is the cost of the transport provider, like Twilio or Vonage.
- `stt` (double, optional) — This is the cost of the speech-to-text service.
- `llm` (double, optional) — This is the cost of the language model.
- `tts` (double, optional) — This is the cost of the text-to-speech service.
- `vapi` (double, optional) — This is the cost of Vapi.
- `chat` (double, optional) — This is the cost of chat interactions.
- `total` (double, optional) — This is the total cost of the call.
- `llmPromptTokens` (double, optional) — This is the LLM prompt tokens used for the call.
- `llmCompletionTokens` (double, optional) — This is the LLM completion tokens used for the call.
- `llmCachedPromptTokens` (double, optional) — This is the LLM cached prompt tokens used for the call.
- `ttsCharacters` (double, optional) — This is the TTS characters used for the call.
- `analysisCostBreakdown` (AnalysisCostBreakdown, optional) — This is the cost of the analysis.

### Monitor

- `monitors` (list of MonitorResult, optional)
- `listenUrl` (string, optional) — This is the URL where the assistant's calls can be listened to in real-time. To enable, set `assistant.monitorPlan.listenEnabled` to `true`.
- `controlUrl` (string, optional) — This is the URL where the assistant's calls can be controlled in real-time. To enable, set `assistant.monitorPlan.controlEnabled` to `true`.

### SchedulePlan

- `earliestAt` (datetime, required) — This is the ISO 8601 date-time string of the earliest time the call can be scheduled.
- `latestAt` (datetime, optional) — This is the ISO 8601 date-time string of the latest time the call can be scheduled.

### ChatInput

This is the input text for the chat. Can be a string or an array of chat messages.

- string
- MessageArray: list of ChatInputOneOf1Items

### ChatMessagesItems

- SystemMessage: SystemMessage
- UserMessage: UserMessage
- AssistantMessage: AssistantMessage
- ToolMessage: ToolMessage
- DeveloperMessage: DeveloperMessage

### ChatOutputItems

- SystemMessage: SystemMessage
- UserMessage: UserMessage
- AssistantMessage: AssistantMessage
- ToolMessage: ToolMessage
- DeveloperMessage: DeveloperMessage

### ChatCostsItems

- ModelCost: ModelCost
- ChatCost: ChatCost

### UserMessage

- `role` (string, required) — The role of the user in the conversation.
- `message` (string, required) — The message content from the user.
- `time` (double, required) — The timestamp when the message was sent.
- `endTime` (double, required) — The timestamp when the message ended.
- `secondsFromStart` (double, required) — The number of seconds from the start of the conversation.
- `duration` (double, optional) — The duration of the message in seconds.
- `isFiltered` (boolean, optional) — Indicates if the message was filtered for security reasons.
- `detectedThreats` (list of string, optional) — List of detected security threats if the message was filtered.
- `originalMessage` (string, optional) — The original message before filtering (only included if content was filtered).
- `confidence` (double, optional) — The transcriber's confidence score for this message, in [0, 1]. Only ever set alongside `confidenceSource` — see there for why an unmarked or out-of-range score is never stored.
- `confidenceSource` (enum, optional) — Whether `confidence` came directly from the transcriber ('provider') or was computed by Vapi ('derived'). 'derived' means Vapi computed the score from the transcriber's per-word scores; the exact aggregation is provider-specific (an average, a median or a minimum, depending on the transcriber). It is also 'derived' when consecutive transcript fragments were merged into one message, where the score is the minimum across the fragments. Absent means no trustworthy score was available for this message: either the transcriber does not report one, or the value it reported was invalid and was dropped. A merged message is unmarked whenever any fragment it contains was unmarked.
  - Allowed values: `provider`, `derived`
- `metadata` (UserMessageMetadata, optional) — The metadata associated with the message. Currently used to store the transcriber's word level confidence.
- `speakerLabel` (string, optional) — Stable speaker label for diarized user speakers (e.g., "Speaker 1").

### SystemMessage

- `role` (string, required) — The role of the system in the conversation.
- `message` (string, required) — The message content from the system.
- `time` (double, required) — The timestamp when the message was sent.
- `secondsFromStart` (double, required) — The number of seconds from the start of the conversation.

### BotMessage

- `role` (string, required) — The role of the bot in the conversation.
- `message` (string, required) — The message content from the bot.
- `time` (double, required) — The timestamp when the message was sent.
- `endTime` (double, required) — The timestamp when the message ended.
- `secondsFromStart` (double, required) — The number of seconds from the start of the conversation.
- `source` (string, optional) — The source of the message.
- `duration` (double, optional) — The duration of the message in seconds.
- `assistantName` (string, optional) — The name of the assistant that produced this message. In a squad or handoff call this is the specific sub-agent active when the message was spoken, letting the transcript label each message by speaker.
- `assistantId` (string, optional) — The ID of the assistant that produced this message. Stable reference for the assistant named in `assistantName`.

### ToolCallMessage

- `role` (string, required) — The role of the tool call in the conversation.
- `toolCalls` (list of ToolCallMessageToolCallsItems, required) — The list of tool calls made during the conversation.
- `message` (string, required) — The message content for the tool call.
- `time` (double, required) — The timestamp when the message was sent.
- `secondsFromStart` (double, required) — The number of seconds from the start of the conversation.

### ToolCallResultMessage

This is the message that will be spoken to the user. If this is not returned, assistant will speak: 1. a `request-complete` or `request-failed` message from `tool.messages`, if it exists 2. a response generated by the model, if not

- ToolMessageComplete: ToolMessageComplete
- ToolMessageFailed: ToolMessageFailed

### AnalysisStructuredData

This is the structured data extracted from the call. Customize by setting `assistant.analysisPlan.structuredDataPrompt` and/or `assistant.analysisPlan.structuredDataSchema`.

### AnalysisStructuredDataMultiItems

### TransportCost

- `type` (enum, required) — This is the type of cost, always 'transport' for this class.
  - Allowed values: `transport`
- `minutes` (double, required) — This is the minutes of `transport` usage. This should match `call.endedAt` - `call.startedAt`.
- `cost` (double, required) — This is the cost of the component in USD.
- `provider` (enum, optional)
  - Allowed values: `daily`, `vapi.websocket`, `twilio`, `vonage`, `telnyx`, `vapi.sip`

### TranscriberCost

- `type` (enum, required) — This is the type of cost, always 'transcriber' for this class.
  - Allowed values: `transcriber`
- `transcriber` (TranscriberCostTranscriber, required) — This is the transcriber that was used during the call. This matches one of the below: - `call.assistant.transcriber`, - `call.assistantId->transcriber`, - `call.squad[n].assistant.transcriber`, - `call.squad[n].assistantId->transcriber`, - `call.squadId->[n].assistant.transcriber`, - `call.squadId->[n].assistantId->transcriber`.
- `minutes` (double, required) — This is the minutes of `transcriber` usage. This should match `call.endedAt` - `call.startedAt` for single assistant calls, while squad calls will have multiple transcriber costs one for each assistant that was used.
- `cost` (double, required) — This is the cost of the component in USD.

### ModelCost

- `type` (enum, required) — This is the type of cost, always 'model' for this class.
  - Allowed values: `model`
- `model` (ModelCostModel, required) — This is the model that was used during the call. This matches one of the following: - `call.assistant.model`, - `call.assistantId->model`, - `call.squad[n].assistant.model`, - `call.squad[n].assistantId->model`, - `call.squadId->[n].assistant.model`, - `call.squadId->[n].assistantId->model`.
- `promptTokens` (double, required) — This is the number of prompt tokens used in the call. These should be total prompt tokens used in the call for single assistant calls, while squad calls will have multiple model costs one for each assistant that was used.
- `completionTokens` (double, required) — This is the number of completion tokens generated in the call. These should be total completion tokens used in the call for single assistant calls, while squad calls will have multiple model costs one for each assistant that was used.
- `cost` (double, required) — This is the cost of the component in USD.
- `seconds` (double, optional) — Provider-reported billable duration in seconds. Currently supplied for GPT-Live; omitted for token-billed models.
- `usageComplete` (boolean, optional) — Whether the reported usage is complete. False means the cost reflects missing or partial usage and may understate provider spend. Omitted when the provider integration does not report completeness.
- `cachedPromptTokens` (double, optional) — This is the number of cached prompt tokens used in the call. This is only applicable to certain providers (e.g., OpenAI, Azure OpenAI) that support prompt caching. Cached tokens are billed at a discounted rate.
- `reasoningTokens` (double, optional) — This is the number of reasoning tokens generated in the call. This is only applicable to reasoning models (e.g., OpenAI o-series, GPT-5) on providers that report them. This is a **subset of `completionTokens`**, not an addition to it: reasoning tokens are already counted in `completionTokens` and are already billed at the output-token rate. It is reported separately for visibility only and does not affect `cost`.
- `serviceTierBreakdown` (list of ModelCostServiceTierBreakdown, optional) — This is the cost split by OpenAI service tier. It is only set on call costs, and only when OpenAI reported the tier it served for a request that asked for Fast mode. There is one row per reported tier, plus one row without `serviceTier` for usage with no reported tier. The rows add up to the token counts above, and to `cost` within rounding.

### VoiceCost

- `type` (enum, required) — This is the type of cost, always 'voice' for this class.
  - Allowed values: `voice`
- `voice` (VoiceCostVoice, required) — This is the voice that was used during the call. This matches one of the following: - `call.assistant.voice`, - `call.assistantId->voice`, - `call.squad[n].assistant.voice`, - `call.squad[n].assistantId->voice`, - `call.squadId->[n].assistant.voice`, - `call.squadId->[n].assistantId->voice`.
- `characters` (double, required) — This is the number of characters that were generated during the call. These should be total characters used in the call for single assistant calls, while squad calls will have multiple voice costs one for each assistant that was used.
- `cost` (double, required) — This is the cost of the component in USD.

### VapiCost

- `type` (enum, required) — This is the type of cost, always 'vapi' for this class.
  - Allowed values: `vapi`
- `subType` (enum, required) — This is the sub type of the cost.
  - Allowed values: `normal`, `overage`
- `minutes` (double, required) — This is the minutes of Vapi usage. This should match `call.endedAt` - `call.startedAt`.
- `cost` (double, required) — This is the cost of the component in USD.

### VoicemailDetectionCost

- `type` (enum, required) — This is the type of cost, always 'voicemail-detection' for this class.
  - Allowed values: `voicemail-detection`
- `model` (VoicemailDetectionCostModel, required) — This is the model that was used to perform the analysis.
- `provider` (enum, required) — This is the provider that was used to detect the voicemail.
  - Allowed values: `twilio`, `google`, `openai`, `vapi`
- `promptTextTokens` (double, required) — This is the number of prompt text tokens used in the voicemail detection.
- `promptAudioTokens` (double, required) — This is the number of prompt audio tokens used in the voicemail detection.
- `completionTextTokens` (double, required) — This is the number of completion text tokens used in the voicemail detection.
- `completionAudioTokens` (double, required) — This is the number of completion audio tokens used in the voicemail detection.
- `cost` (double, required) — This is the cost of the component in USD.

### AnalysisCost

- `type` (enum, required) — This is the type of cost, always 'analysis' for this class.
  - Allowed values: `analysis`
- `analysisType` (enum, required) — This is the type of analysis performed.
  - Allowed values: `summary`, `structuredData`, `successEvaluation`, `structuredOutput`
- `model` (AnalysisCostModel, required) — This is the model that was used to perform the analysis.
- `promptTokens` (double, required) — This is the number of prompt tokens used in the analysis.
- `completionTokens` (double, required) — This is the number of completion tokens generated in the analysis.
- `cost` (double, required) — This is the cost of the component in USD.
- `cachedPromptTokens` (double, optional) — This is the number of cached prompt tokens used in the analysis. This is only applicable to certain providers (e.g., OpenAI, Azure OpenAI) that support prompt caching. Cached tokens are billed at a discounted rate.
- `reasoningTokens` (double, optional) — This is the number of reasoning tokens generated in the analysis, reported only by reasoning models (e.g., GPT-5) on providers that report them. This is a subset of `completionTokens`, not an addition to it: reasoning tokens are already billed at the output-token rate, so this is for visibility only and does not affect `cost`.
- `structuredOutputBreakdown` (list of StructuredOutputCostBreakdown, optional) — This is the per-structured-output breakdown of this cost. The `cost`, `promptTokens`, `completionTokens` and `cachedPromptTokens` above are the sums of these rows. This is only set when `analysisType` is `structuredOutput`, and it is omitted entirely rather than partially populated, so when it is present the rows always reconcile to the totals above. A structured output that was skipped, or that extracts via regex, makes no LLM call and so has no row here — this is not a complete list of the call's configured structured outputs. There is one row per evaluation, so a `structuredOutputId` can appear more than once if it was evaluated more than once; sum the rows rather than indexing them by id.

### KnowledgeBaseCost

- `type` (enum, required) — This is the type of cost, always 'knowledge-base' for this class.
  - Allowed values: `knowledge-base`
- `model` (KnowledgeBaseCostModel, required) — This is the model that was used for processing the knowledge base.
- `promptTokens` (double, required) — This is the number of prompt tokens used in the knowledge base query.
- `completionTokens` (double, required) — This is the number of completion tokens generated in the knowledge base query.
- `cost` (double, required) — This is the cost of the component in USD.

### TransferDestinationNumber

- `type` (enum, required)
  - Allowed values: `number`
- `number` (string, required) — This is the phone number to transfer the call to.
- `message` (TransferDestinationNumberMessage, optional) — This is spoken to the customer before connecting them to the destination. Usage: - If this is not provided and transfer tool messages is not provided, default is "Transferring the call now". - If set to "", nothing is spoken. This is useful when you want to silently transfer. This is especially useful when transferring between assistants in a squad. In this scenario, you likely also want to set `assistant.firstMessageMode=assistant-speaks-first-with-model-generated-message` for the destination assistant. This accepts a string or a ToolMessageStart class. Latter is useful if you want to specify multiple messages for different languages through the `contents` field.
- `numberE164CheckEnabled` (boolean, optional, default: true) — This is the flag to toggle the E164 check for the `number` field. This is an advanced property which should be used if you know your use case requires it. Use cases: - `false`: To allow non-E164 numbers like `+001234567890`, `1234`, or `abc`. This is useful for dialing out to non-E164 numbers on your SIP trunks. - `true` (default): To allow only E164 numbers like `+14155551234`. This is standard for PSTN calls. If `false`, the `number` is still required to only contain alphanumeric characters (regex: `/^\+?[a-zA-Z0-9]+$/`). @default true (E164 check is enabled)
- `extension` (string, optional) — This is the extension to dial after transferring the call to the `number`.
- `callerId` (string, optional) — This is the caller ID to use when transferring the call to the `number`. Usage: * If not provided, the caller ID will be the number the call is coming **from**. Example: a customer with number +14151111111 calls in to and the assistant transfers out to +16470000000. +16470000000 will see +14151111111 as the caller. For inbound calls, the caller ID is the customer's number. For outbound calls, the caller ID is the phone number of the assistant. * To change this behavior, provide a `callerId`. * Set to '\{\{customer.number}}' to always use the customer's number as the caller ID. * Set to '\{\{phoneNumber.number}}' to always use the phone number of the assistant as the caller ID. * Set to any E164 number to always use that number as the caller ID. This needs to be a number that is owned or verified by your Transport provider like Twilio. Note: on Twilio, a caller who withheld their number has no caller ID the destination carrier will accept, so the assistant's phone number is presented instead and the transfer goes through. This applies when `callerId` is not provided and when it is set to '\{\{customer.number}}'. For Twilio, you can read up more here: [https://www.twilio.com/docs/voice/twiml/dial#callerid](https://www.twilio.com/docs/voice/twiml/dial#callerid)
- `transferPlan` (TransferPlan, optional) — This configures how transfer is executed and the experience of the destination party receiving the call. Defaults to `blind-transfer`. @default `transferPlan.mode='blind-transfer'`
- `name` (string, optional) — This is the name of the transfer destination. This is just for your own reference. Usage: - Optional. Stored with the destination wherever it is supplied. For `number` and `sip` destinations it is also persisted on the transfer record in the call artifact after a transfer and displayed in the dashboard call log (on the transfer divider in the transcript view) alongside the destination. When omitted, everything behaves exactly as before. - Display-only. Unlike `description`, it is never included in prompts or tool descriptions and has no effect on model behavior or destination choice.
- `description` (string, optional) — This is the description of the destination, used by the AI to choose when and how to transfer the call.

### TransferDestinationSip

- `type` (enum, required)
  - Allowed values: `sip`
- `sipUri` (string, required) — This is the SIP URI to transfer the call to.
- `message` (TransferDestinationSipMessage, optional) — This is spoken to the customer before connecting them to the destination. Usage: - If this is not provided and transfer tool messages is not provided, default is "Transferring the call now". - If set to "", nothing is spoken. This is useful when you want to silently transfer. This is especially useful when transferring between assistants in a squad. In this scenario, you likely also want to set `assistant.firstMessageMode=assistant-speaks-first-with-model-generated-message` for the destination assistant. This accepts a string or a ToolMessageStart class. Latter is useful if you want to specify multiple messages for different languages through the `contents` field.
- `callerId` (string, optional) — This is the caller ID to use when transferring the call to the `sipUri`. Usage: * If not provided, the caller ID will be determined by the SIP infrastructure. * Set to '\{\{customer.number}}' to always use the customer's number as the caller ID. * Set to '\{\{phoneNumber.number}}' to always use the phone number of the assistant as the caller ID. * Set to any E164 number to always use that number as the caller ID. Only applicable when `transferPlan.sipVerb='dial'`. Not applicable for SIP REFER.
- `transferPlan` (TransferPlan, optional) — This configures how transfer is executed and the experience of the destination party receiving the call. Defaults to `blind-transfer`. @default `transferPlan.mode='blind-transfer'`
- `sipHeaders` (TransferDestinationSipSipHeaders, optional) — These are custom headers to be added to SIP refer during transfer call.
- `name` (string, optional) — This is the name of the transfer destination. This is just for your own reference. Usage: - Optional. Stored with the destination wherever it is supplied. For `number` and `sip` destinations it is also persisted on the transfer record in the call artifact after a transfer and displayed in the dashboard call log (on the transfer divider in the transcript view) alongside the destination. When omitted, everything behaves exactly as before. - Display-only. Unlike `description`, it is never included in prompts or tool descriptions and has no effect on model behavior or destination choice.
- `description` (string, optional) — This is the description of the destination, used by the AI to choose when and how to transfer the call.

### RecordingConsent

- `type` (enum, required) — This is the type of recording consent.
  - Allowed values: `stay-on-line`, `verbal`
- `grantedAt` (datetime, optional) — This is the date and time the recording consent was granted. If not specified, it means the recording consent was not granted.

### FunctionToolWithToolCall

- `type` (enum, required) — The type of tool. "function" for Function tool.
  - Allowed values: `function`
- `toolCall` (ToolCall, required)
- `messages` (list of FunctionToolWithToolCallMessagesItems, optional) — Messages spoken while the tool is running. Multiple request-start messages are variants. For request-response-delayed, same timing means variants and different timings mean staged updates.
- `async` (boolean, optional) — This determines if the tool is async. If async, the assistant will move forward without waiting for your server to respond. This is useful if you just want to trigger something on your server. If sync, the assistant will wait for your server to respond. This is useful if want assistant to respond with the result from your server. Defaults to synchronous (`false`).
- `server` (Server, optional) — This is the server where a `tool-calls` webhook will be sent. Notes: * Webhook is sent to this server when a tool call is made. * Webhook contains the call, assistant, and phone number objects. * Webhook contains the variables set on the assistant. * Webhook is sent to the first available URL in this order: \{\{tool.server.url}}, \{\{assistant.server.url}}, \{\{phoneNumber.server.url}}, \{\{org.server.url}}. * Webhook expects a response with tool call result.
- `variableExtractionPlan` (VariableExtractionPlan, optional) — Plan to extract variables from the tool response
- `parameters` (list of ToolParameter, optional) — Static key-value pairs merged into the request body. Values support Liquid templates.
- `function` (OpenAIFunction, optional) — This is the function definition of the tool.
- `rejectionPlan` (ToolRejectionPlan, optional) — This is the plan to reject a tool call based on the conversation state. // Example 1: Reject endCall if user didn't say goodbye ```json { conditions: [{ type: 'regex', regex: '(?i)\\b(bye|goodbye|farewell|see you later|take care)\\b', target: { position: -1, role: 'user' }, negate: true // Reject if pattern does NOT match }] } ``` // Example 2: Reject transfer if user is actually asking a question ```json { conditions: [{ type: 'regex', regex: '\\?', target: { position: -1, role: 'user' } }] } ``` // Example 3: Reject transfer if user didn't mention transfer recently ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 5 %} {% assign userMessages = recentMessages | where: 'role', 'user' %} {% assign mentioned = false %} {% for msg in userMessages %} {% if msg.content contains 'transfer' or msg.content contains 'connect' or msg.content contains 'speak to' %} {% assign mentioned = true %} {% break %} {% endif %} {% endfor %} {% if mentioned %} false {% else %} true {% endif %}` }] } ``` // Example 4: Reject endCall if the bot is looping and trying to exit ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 6 %} {% assign userMessages = recentMessages | where: 'role', 'user' | reverse %} {% if userMessages.size < 3 %} false {% else %} {% assign msg1 = userMessages[0].content | downcase %} {% assign msg2 = userMessages[1].content | downcase %} {% assign msg3 = userMessages[2].content | downcase %} {% comment %} Check for repetitive messages {% endcomment %} {% if msg1 == msg2 or msg1 == msg3 or msg2 == msg3 %} true {% comment %} Check for common loop phrases {% endcomment %} {% elsif msg1 contains 'cool thanks' or msg2 contains 'cool thanks' or msg3 contains 'cool thanks' %} true {% elsif msg1 contains 'okay thanks' or msg2 contains 'okay thanks' or msg3 contains 'okay thanks' %} true {% elsif msg1 contains 'got it' or msg2 contains 'got it' or msg3 contains 'got it' %} true {% else %} false {% endif %} {% endif %}` }] } ```

### GhlToolWithToolCall

- `type` (enum, required) — The type of tool. "ghl" for GHL tool.
  - Allowed values: `ghl`
- `toolCall` (ToolCall, required)
- `metadata` (GhlToolMetadata, required)
- `messages` (list of GhlToolWithToolCallMessagesItems, optional) — Messages spoken while the tool is running. Multiple request-start messages are variants. For request-response-delayed, same timing means variants and different timings mean staged updates.
- `rejectionPlan` (ToolRejectionPlan, optional) — This is the plan to reject a tool call based on the conversation state. // Example 1: Reject endCall if user didn't say goodbye ```json { conditions: [{ type: 'regex', regex: '(?i)\\b(bye|goodbye|farewell|see you later|take care)\\b', target: { position: -1, role: 'user' }, negate: true // Reject if pattern does NOT match }] } ``` // Example 2: Reject transfer if user is actually asking a question ```json { conditions: [{ type: 'regex', regex: '\\?', target: { position: -1, role: 'user' } }] } ``` // Example 3: Reject transfer if user didn't mention transfer recently ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 5 %} {% assign userMessages = recentMessages | where: 'role', 'user' %} {% assign mentioned = false %} {% for msg in userMessages %} {% if msg.content contains 'transfer' or msg.content contains 'connect' or msg.content contains 'speak to' %} {% assign mentioned = true %} {% break %} {% endif %} {% endfor %} {% if mentioned %} false {% else %} true {% endif %}` }] } ``` // Example 4: Reject endCall if the bot is looping and trying to exit ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 6 %} {% assign userMessages = recentMessages | where: 'role', 'user' | reverse %} {% if userMessages.size < 3 %} false {% else %} {% assign msg1 = userMessages[0].content | downcase %} {% assign msg2 = userMessages[1].content | downcase %} {% assign msg3 = userMessages[2].content | downcase %} {% comment %} Check for repetitive messages {% endcomment %} {% if msg1 == msg2 or msg1 == msg3 or msg2 == msg3 %} true {% comment %} Check for common loop phrases {% endcomment %} {% elsif msg1 contains 'cool thanks' or msg2 contains 'cool thanks' or msg3 contains 'cool thanks' %} true {% elsif msg1 contains 'okay thanks' or msg2 contains 'okay thanks' or msg3 contains 'okay thanks' %} true {% elsif msg1 contains 'got it' or msg2 contains 'got it' or msg3 contains 'got it' %} true {% else %} false {% endif %} {% endif %}` }] } ```

### MakeToolWithToolCall

- `type` (enum, required) — The type of tool. "make" for Make tool.
  - Allowed values: `make`
- `toolCall` (ToolCall, required)
- `metadata` (MakeToolMetadata, required)
- `messages` (list of MakeToolWithToolCallMessagesItems, optional) — Messages spoken while the tool is running. Multiple request-start messages are variants. For request-response-delayed, same timing means variants and different timings mean staged updates.
- `rejectionPlan` (ToolRejectionPlan, optional) — This is the plan to reject a tool call based on the conversation state. // Example 1: Reject endCall if user didn't say goodbye ```json { conditions: [{ type: 'regex', regex: '(?i)\\b(bye|goodbye|farewell|see you later|take care)\\b', target: { position: -1, role: 'user' }, negate: true // Reject if pattern does NOT match }] } ``` // Example 2: Reject transfer if user is actually asking a question ```json { conditions: [{ type: 'regex', regex: '\\?', target: { position: -1, role: 'user' } }] } ``` // Example 3: Reject transfer if user didn't mention transfer recently ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 5 %} {% assign userMessages = recentMessages | where: 'role', 'user' %} {% assign mentioned = false %} {% for msg in userMessages %} {% if msg.content contains 'transfer' or msg.content contains 'connect' or msg.content contains 'speak to' %} {% assign mentioned = true %} {% break %} {% endif %} {% endfor %} {% if mentioned %} false {% else %} true {% endif %}` }] } ``` // Example 4: Reject endCall if the bot is looping and trying to exit ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 6 %} {% assign userMessages = recentMessages | where: 'role', 'user' | reverse %} {% if userMessages.size < 3 %} false {% else %} {% assign msg1 = userMessages[0].content | downcase %} {% assign msg2 = userMessages[1].content | downcase %} {% assign msg3 = userMessages[2].content | downcase %} {% comment %} Check for repetitive messages {% endcomment %} {% if msg1 == msg2 or msg1 == msg3 or msg2 == msg3 %} true {% comment %} Check for common loop phrases {% endcomment %} {% elsif msg1 contains 'cool thanks' or msg2 contains 'cool thanks' or msg3 contains 'cool thanks' %} true {% elsif msg1 contains 'okay thanks' or msg2 contains 'okay thanks' or msg3 contains 'okay thanks' %} true {% elsif msg1 contains 'got it' or msg2 contains 'got it' or msg3 contains 'got it' %} true {% else %} false {% endif %} {% endif %}` }] } ```

### BashToolWithToolCall

- `type` (enum, required) — The type of tool. "bash" for Bash tool.
  - Allowed values: `bash`
- `subType` (enum, required) — The sub type of tool.
  - Allowed values: `bash_20241022`
- `toolCall` (ToolCall, required)
- `name` (enum, required, default: bash) — The name of the tool, fixed to 'bash'
  - Allowed values: `bash`
- `messages` (list of BashToolWithToolCallMessagesItems, optional) — Messages spoken while the tool is running. Multiple request-start messages are variants. For request-response-delayed, same timing means variants and different timings mean staged updates.
- `server` (Server, optional) — This is the server where a `tool-calls` webhook will be sent. Notes: * Webhook is sent to this server when a tool call is made. * Webhook contains the call, assistant, and phone number objects. * Webhook contains the variables set on the assistant. * Webhook is sent to the first available URL in this order: \{\{tool.server.url}}, \{\{assistant.server.url}}, \{\{phoneNumber.server.url}}, \{\{org.server.url}}. * Webhook expects a response with tool call result.
- `rejectionPlan` (ToolRejectionPlan, optional) — This is the plan to reject a tool call based on the conversation state. // Example 1: Reject endCall if user didn't say goodbye ```json { conditions: [{ type: 'regex', regex: '(?i)\\b(bye|goodbye|farewell|see you later|take care)\\b', target: { position: -1, role: 'user' }, negate: true // Reject if pattern does NOT match }] } ``` // Example 2: Reject transfer if user is actually asking a question ```json { conditions: [{ type: 'regex', regex: '\\?', target: { position: -1, role: 'user' } }] } ``` // Example 3: Reject transfer if user didn't mention transfer recently ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 5 %} {% assign userMessages = recentMessages | where: 'role', 'user' %} {% assign mentioned = false %} {% for msg in userMessages %} {% if msg.content contains 'transfer' or msg.content contains 'connect' or msg.content contains 'speak to' %} {% assign mentioned = true %} {% break %} {% endif %} {% endfor %} {% if mentioned %} false {% else %} true {% endif %}` }] } ``` // Example 4: Reject endCall if the bot is looping and trying to exit ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 6 %} {% assign userMessages = recentMessages | where: 'role', 'user' | reverse %} {% if userMessages.size < 3 %} false {% else %} {% assign msg1 = userMessages[0].content | downcase %} {% assign msg2 = userMessages[1].content | downcase %} {% assign msg3 = userMessages[2].content | downcase %} {% comment %} Check for repetitive messages {% endcomment %} {% if msg1 == msg2 or msg1 == msg3 or msg2 == msg3 %} true {% comment %} Check for common loop phrases {% endcomment %} {% elsif msg1 contains 'cool thanks' or msg2 contains 'cool thanks' or msg3 contains 'cool thanks' %} true {% elsif msg1 contains 'okay thanks' or msg2 contains 'okay thanks' or msg3 contains 'okay thanks' %} true {% elsif msg1 contains 'got it' or msg2 contains 'got it' or msg3 contains 'got it' %} true {% else %} false {% endif %} {% endif %}` }] } ```

### ComputerToolWithToolCall

- `type` (enum, required) — The type of tool. "computer" for Computer tool.
  - Allowed values: `computer`
- `subType` (enum, required) — The sub type of tool.
  - Allowed values: `computer_20241022`
- `toolCall` (ToolCall, required)
- `name` (enum, required, default: computer) — The name of the tool, fixed to 'computer'
  - Allowed values: `computer`
- `displayWidthPx` (double, required) — The display width in pixels
- `displayHeightPx` (double, required) — The display height in pixels
- `messages` (list of ComputerToolWithToolCallMessagesItems, optional) — Messages spoken while the tool is running. Multiple request-start messages are variants. For request-response-delayed, same timing means variants and different timings mean staged updates.
- `server` (Server, optional) — This is the server where a `tool-calls` webhook will be sent. Notes: * Webhook is sent to this server when a tool call is made. * Webhook contains the call, assistant, and phone number objects. * Webhook contains the variables set on the assistant. * Webhook is sent to the first available URL in this order: \{\{tool.server.url}}, \{\{assistant.server.url}}, \{\{phoneNumber.server.url}}, \{\{org.server.url}}. * Webhook expects a response with tool call result.
- `displayNumber` (double, optional) — Optional display number
- `rejectionPlan` (ToolRejectionPlan, optional) — This is the plan to reject a tool call based on the conversation state. // Example 1: Reject endCall if user didn't say goodbye ```json { conditions: [{ type: 'regex', regex: '(?i)\\b(bye|goodbye|farewell|see you later|take care)\\b', target: { position: -1, role: 'user' }, negate: true // Reject if pattern does NOT match }] } ``` // Example 2: Reject transfer if user is actually asking a question ```json { conditions: [{ type: 'regex', regex: '\\?', target: { position: -1, role: 'user' } }] } ``` // Example 3: Reject transfer if user didn't mention transfer recently ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 5 %} {% assign userMessages = recentMessages | where: 'role', 'user' %} {% assign mentioned = false %} {% for msg in userMessages %} {% if msg.content contains 'transfer' or msg.content contains 'connect' or msg.content contains 'speak to' %} {% assign mentioned = true %} {% break %} {% endif %} {% endfor %} {% if mentioned %} false {% else %} true {% endif %}` }] } ``` // Example 4: Reject endCall if the bot is looping and trying to exit ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 6 %} {% assign userMessages = recentMessages | where: 'role', 'user' | reverse %} {% if userMessages.size < 3 %} false {% else %} {% assign msg1 = userMessages[0].content | downcase %} {% assign msg2 = userMessages[1].content | downcase %} {% assign msg3 = userMessages[2].content | downcase %} {% comment %} Check for repetitive messages {% endcomment %} {% if msg1 == msg2 or msg1 == msg3 or msg2 == msg3 %} true {% comment %} Check for common loop phrases {% endcomment %} {% elsif msg1 contains 'cool thanks' or msg2 contains 'cool thanks' or msg3 contains 'cool thanks' %} true {% elsif msg1 contains 'okay thanks' or msg2 contains 'okay thanks' or msg3 contains 'okay thanks' %} true {% elsif msg1 contains 'got it' or msg2 contains 'got it' or msg3 contains 'got it' %} true {% else %} false {% endif %} {% endif %}` }] } ```

### TextEditorToolWithToolCall

- `type` (enum, required) — The type of tool. "textEditor" for Text Editor tool.
  - Allowed values: `textEditor`
- `subType` (enum, required) — The sub type of tool.
  - Allowed values: `text_editor_20241022`
- `toolCall` (ToolCall, required)
- `name` (enum, required, default: str_replace_editor) — The name of the tool, fixed to 'str_replace_editor'
  - Allowed values: `str_replace_editor`
- `messages` (list of TextEditorToolWithToolCallMessagesItems, optional) — Messages spoken while the tool is running. Multiple request-start messages are variants. For request-response-delayed, same timing means variants and different timings mean staged updates.
- `server` (Server, optional) — This is the server where a `tool-calls` webhook will be sent. Notes: * Webhook is sent to this server when a tool call is made. * Webhook contains the call, assistant, and phone number objects. * Webhook contains the variables set on the assistant. * Webhook is sent to the first available URL in this order: \{\{tool.server.url}}, \{\{assistant.server.url}}, \{\{phoneNumber.server.url}}, \{\{org.server.url}}. * Webhook expects a response with tool call result.
- `rejectionPlan` (ToolRejectionPlan, optional) — This is the plan to reject a tool call based on the conversation state. // Example 1: Reject endCall if user didn't say goodbye ```json { conditions: [{ type: 'regex', regex: '(?i)\\b(bye|goodbye|farewell|see you later|take care)\\b', target: { position: -1, role: 'user' }, negate: true // Reject if pattern does NOT match }] } ``` // Example 2: Reject transfer if user is actually asking a question ```json { conditions: [{ type: 'regex', regex: '\\?', target: { position: -1, role: 'user' } }] } ``` // Example 3: Reject transfer if user didn't mention transfer recently ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 5 %} {% assign userMessages = recentMessages | where: 'role', 'user' %} {% assign mentioned = false %} {% for msg in userMessages %} {% if msg.content contains 'transfer' or msg.content contains 'connect' or msg.content contains 'speak to' %} {% assign mentioned = true %} {% break %} {% endif %} {% endfor %} {% if mentioned %} false {% else %} true {% endif %}` }] } ``` // Example 4: Reject endCall if the bot is looping and trying to exit ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 6 %} {% assign userMessages = recentMessages | where: 'role', 'user' | reverse %} {% if userMessages.size < 3 %} false {% else %} {% assign msg1 = userMessages[0].content | downcase %} {% assign msg2 = userMessages[1].content | downcase %} {% assign msg3 = userMessages[2].content | downcase %} {% comment %} Check for repetitive messages {% endcomment %} {% if msg1 == msg2 or msg1 == msg3 or msg2 == msg3 %} true {% comment %} Check for common loop phrases {% endcomment %} {% elsif msg1 contains 'cool thanks' or msg2 contains 'cool thanks' or msg3 contains 'cool thanks' %} true {% elsif msg1 contains 'okay thanks' or msg2 contains 'okay thanks' or msg3 contains 'okay thanks' %} true {% elsif msg1 contains 'got it' or msg2 contains 'got it' or msg3 contains 'got it' %} true {% else %} false {% endif %} {% endif %}` }] } ```

### GoogleCalendarCreateEventToolWithToolCall

- `type` (enum, required) — The type of tool. "google.calendar.event.create" for Google Calendar Create Event tool.
  - Allowed values: `google.calendar.event.create`
- `toolCall` (ToolCall, required)
- `messages` (list of GoogleCalendarCreateEventToolWithToolCallMessagesItems, optional) — Messages spoken while the tool is running. Multiple request-start messages are variants. For request-response-delayed, same timing means variants and different timings mean staged updates.
- `rejectionPlan` (ToolRejectionPlan, optional) — This is the plan to reject a tool call based on the conversation state. // Example 1: Reject endCall if user didn't say goodbye ```json { conditions: [{ type: 'regex', regex: '(?i)\\b(bye|goodbye|farewell|see you later|take care)\\b', target: { position: -1, role: 'user' }, negate: true // Reject if pattern does NOT match }] } ``` // Example 2: Reject transfer if user is actually asking a question ```json { conditions: [{ type: 'regex', regex: '\\?', target: { position: -1, role: 'user' } }] } ``` // Example 3: Reject transfer if user didn't mention transfer recently ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 5 %} {% assign userMessages = recentMessages | where: 'role', 'user' %} {% assign mentioned = false %} {% for msg in userMessages %} {% if msg.content contains 'transfer' or msg.content contains 'connect' or msg.content contains 'speak to' %} {% assign mentioned = true %} {% break %} {% endif %} {% endfor %} {% if mentioned %} false {% else %} true {% endif %}` }] } ``` // Example 4: Reject endCall if the bot is looping and trying to exit ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 6 %} {% assign userMessages = recentMessages | where: 'role', 'user' | reverse %} {% if userMessages.size < 3 %} false {% else %} {% assign msg1 = userMessages[0].content | downcase %} {% assign msg2 = userMessages[1].content | downcase %} {% assign msg3 = userMessages[2].content | downcase %} {% comment %} Check for repetitive messages {% endcomment %} {% if msg1 == msg2 or msg1 == msg3 or msg2 == msg3 %} true {% comment %} Check for common loop phrases {% endcomment %} {% elsif msg1 contains 'cool thanks' or msg2 contains 'cool thanks' or msg3 contains 'cool thanks' %} true {% elsif msg1 contains 'okay thanks' or msg2 contains 'okay thanks' or msg3 contains 'okay thanks' %} true {% elsif msg1 contains 'got it' or msg2 contains 'got it' or msg3 contains 'got it' %} true {% else %} false {% endif %} {% endif %}` }] } ```

### ToolCallFunction

- `arguments` (string, required) — This is the arguments to call the function with
- `name` (string, required) — This is the name of the function to call

### TransferDestinationAssistant

- `type` (enum, required)
  - Allowed values: `assistant`
- `assistantName` (string, required) — This is the assistant to transfer the call to.
- `message` (TransferDestinationAssistantMessage, optional) — This is spoken to the customer before connecting them to the destination. Usage: - If this is not provided and transfer tool messages is not provided, default is "Transferring the call now". - If set to "", nothing is spoken. This is useful when you want to silently transfer. This is especially useful when transferring between assistants in a squad. In this scenario, you likely also want to set `assistant.firstMessageMode=assistant-speaks-first-with-model-generated-message` for the destination assistant. This accepts a string or a ToolMessageStart class. Latter is useful if you want to specify multiple messages for different languages through the `contents` field.
- `transferMode` (enum, optional) — This is the mode to use for the transfer. Defaults to `rolling-history`. - `rolling-history`: This is the default mode. It keeps the entire conversation history and appends the new assistant's system message on transfer. Example: Pre-transfer: system: assistant1 system message assistant: assistant1 first message user: hey, good morning assistant: how can i help? user: i need help with my account assistant: (destination.message) Post-transfer: system: assistant1 system message assistant: assistant1 first message user: hey, good morning assistant: how can i help? user: i need help with my account assistant: (destination.message) system: assistant2 system message assistant: assistant2 first message (or model generated if firstMessageMode is set to `assistant-speaks-first-with-model-generated-message`) - `swap-system-message-in-history`: This replaces the original system message with the new assistant's system message on transfer. Example: Pre-transfer: system: assistant1 system message assistant: assistant1 first message user: hey, good morning assistant: how can i help? user: i need help with my account assistant: (destination.message) Post-transfer: system: assistant2 system message assistant: assistant1 first message user: hey, good morning assistant: how can i help? user: i need help with my account assistant: (destination.message) assistant: assistant2 first message (or model generated if firstMessageMode is set to `assistant-speaks-first-with-model-generated-message`) - `delete-history`: This deletes the entire conversation history on transfer. Example: Pre-transfer: system: assistant1 system message assistant: assistant1 first message user: hey, good morning assistant: how can i help? user: i need help with my account assistant: (destination.message) Post-transfer: system: assistant2 system message assistant: assistant2 first message user: Yes, please assistant: how can i help? user: i need help with my account - `swap-system-message-in-history-and-remove-transfer-tool-messages`: This replaces the original system message with the new assistant's system message on transfer and removes transfer tool messages from conversation history sent to the LLM. Example: Pre-transfer: system: assistant1 system message assistant: assistant1 first message user: hey, good morning assistant: how can i help? user: i need help with my account transfer-tool transfer-tool-result assistant: (destination.message) Post-transfer: system: assistant2 system message assistant: assistant1 first message user: hey, good morning assistant: how can i help? user: i need help with my account assistant: (destination.message) assistant: assistant2 first message (or model generated if firstMessageMode is set to `assistant-speaks-first-with-model-generated-message`) @default 'rolling-history'
  - Allowed values: `rolling-history`, `swap-system-message-in-history`
- `name` (string, optional) — This is the name of the transfer destination. This is just for your own reference. Usage: - Optional. Stored with the destination wherever it is supplied. For `number` and `sip` destinations it is also persisted on the transfer record in the call artifact after a transfer and displayed in the dashboard call log (on the transfer divider in the transcript view) alongside the destination. When omitted, everything behaves exactly as before. - Display-only. Unlike `description`, it is never included in prompts or tool descriptions and has no effect on model behavior or destination choice.
- `description` (string, optional) — This is the description of the destination, used by the AI to choose when and how to transfer the call.

### AssistantSpeechWordTimestamp

- `word` (string, required) — The full word text (syllables aggregated into complete words).
- `startMs` (double, required) — Start time in milliseconds relative to the segment start.
- `endMs` (double, required) — End time in milliseconds relative to the segment start.

### SessionCostsItems

- ModelCost: ModelCost
- AnalysisCost: AnalysisCost
- SessionCost: SessionCost

### SessionMessagesItems

- SystemMessage: SystemMessage
- UserMessage: UserMessage
- AssistantMessage: AssistantMessage
- ToolMessage: ToolMessage
- DeveloperMessage: DeveloperMessage

### ImportTwilioPhoneNumberDTO

- `twilioAccountSid` (string, required) — This is your Twilio Account SID that will be used to handle this phone number.
- `twilioPhoneNumber` (string, required, deprecated) — These are the digits of the phone number you own on your Twilio.
- `fallbackDestination` (ImportTwilioPhoneNumberDtoFallbackDestination, optional) — This is the fallback destination an inbound call will be transferred to if: 1. `assistantId` is not set 2. `squadId` is not set 3. and, `assistant-request` message to the `serverUrl` fails If this is not set and above conditions are met, the inbound call is hung up with an error message.
- `hooks` (list of ImportTwilioPhoneNumberDtoHooksItems, optional) — This is the hooks that will be used for incoming calls to this phone number.
- `smsEnabled` (boolean, optional, default: true) — Controls whether Vapi sets the messaging webhook URL on the Twilio number during import. If set to `false`, Vapi will not update the Twilio messaging URL, leaving it as is. If `true` or omitted (default), Vapi will configure both the voice and messaging URLs. @default true
- `twilioAuthToken` (string, optional) — This is the Twilio Auth Token that will be used to handle this phone number.
- `twilioApiKey` (string, optional) — This is the Twilio API Key that will be used to handle this phone number. If AuthToken is provided, this will be ignored.
- `twilioApiSecret` (string, optional) — This is the Twilio API Secret that will be used to handle this phone number. If AuthToken is provided, this will be ignored.
- `name` (string, optional) — This is the name of the phone number. This is just for your own reference.
- `assistantId` (string, optional) — This is the assistant that will be used for incoming calls to this phone number. If neither `assistantId`, `squadId` nor `workflowId` is set, `assistant-request` will be sent to your Server URL. Check `ServerMessage` and `ServerMessageResponse` for the shape of the message and response that is expected.
- `workflowId` (string, optional) — This is the workflow that will be used for incoming calls to this phone number. If neither `assistantId`, `squadId`, nor `workflowId` is set, `assistant-request` will be sent to your Server URL. Check `ServerMessage` and `ServerMessageResponse` for the shape of the message and response that is expected.
- `squadId` (string, optional) — This is the squad that will be used for incoming calls to this phone number. If neither `assistantId`, `squadId`, nor `workflowId` is set, `assistant-request` will be sent to your Server URL. Check `ServerMessage` and `ServerMessageResponse` for the shape of the message and response that is expected.
- `server` (Server, optional) — This is where Vapi will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema. The order of precedence is: 1. assistant.server 2. phoneNumber.server 3. org.server

### TransientAssistantDtoTranscriber

These are the options for the assistant's transcriber.

- AssemblyAITranscriber: AssemblyAITranscriber
- AzureSpeechTranscriber: AzureSpeechTranscriber
- CustomTranscriber: CustomTranscriber
- DeepgramTranscriber: DeepgramTranscriber
- ElevenLabsTranscriber: ElevenLabsTranscriber
- GladiaTranscriber: GladiaTranscriber
- GoogleTranscriber: GoogleTranscriber
- SpeechmaticsTranscriber: SpeechmaticsTranscriber
- TalkscriberTranscriber: TalkscriberTranscriber
- OpenAITranscriber: OpenAITranscriber
- CartesiaTranscriber: CartesiaTranscriber
- SonioxTranscriber: SonioxTranscriber
- XaiTranscriber: XaiTranscriber
- Reson8Transcriber: Reson8Transcriber
- VapiTranscriber: VapiTranscriber

### TransientAssistantDtoModel

These are the options for the assistant's LLM.

- Anthropic: AnthropicModel
- AnthropicBedrock: AnthropicBedrockModel
- Anyscale: AnyscaleModel
- Cerebras: CerebrasModel
- CustomLLM: CustomLLMModel
- DeepInfra: DeepInfraModel
- DeepSeek: DeepSeekModel
- Google: GoogleModel
- Groq: GroqModel
- InflectionAI: InflectionAIModel
- MiniMaxLLM: MinimaxLLMModel
- OpenAI: OpenAIModel
- OpenRouter: OpenRouterModel
- PerplexityAI: PerplexityAIModel
- Together: TogetherAIModel
- XAI: XaiModel
- Vapi: VapiModel

### TransientAssistantDtoVoice

These are the options for the assistant's voice.

- AzureVoice: AzureVoice
- CartesiaVoice: CartesiaVoice
- CustomVoice: CustomVoice
- DeepgramVoice: DeepgramVoice
- ElevenLabsVoice: ElevenLabsVoice
- HumeVoice: HumeVoice
- LMNTVoice: LMNTVoice
- NeuphonicVoice: NeuphonicVoice
- OpenAIVoice: OpenAIVoice
- PlayHTVoice: PlayHTVoice
- WellSaidVoice: WellSaidVoice
- RimeAIVoice: RimeAIVoice
- SmallestAIVoice: SmallestAIVoice
- VapiVoice: VapiVoice
- SesameVoice: SesameVoice
- InworldVoice: InworldVoice
- MinimaxVoice: MinimaxVoice
- XaiVoice: XaiVoice
- MicrosoftVoice: MicrosoftVoice

### TransientAssistantDtoVoicemailDetection

These are the settings to configure or disable voicemail detection. Alternatively, voicemail detection can be configured using the model.tools=[VoicemailTool]. By default, voicemail detection is disabled.

- enum
  - Allowed values: `off`
- Google: GoogleVoicemailDetectionPlan
- OpenAI: OpenAIVoicemailDetectionPlan
- Twilio: TwilioVoicemailDetectionPlan
- Vapi: VapiVoicemailDetectionPlan

### TransientAssistantDtoBackgroundSound

This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'. Bundled sounds: 'office', 'white-noise', 'city', 'crowd' and 'farm'. GPT Live assistants don't play 'office'. You can also provide a custom sound by providing a URL to an audio file.

- enum
  - Allowed values: `off`, `office`, `white-noise`, `city`, `crowd`, `farm`
- string

### TransientAssistantDtoTransportConfigurationsItems

- Twilio: TransportConfigurationTwilio

### TransientAssistantDtoCredentialsItems

- `provider`: `11labs` (11labs)
  - `apiKey` (string, required) — This is not returned in the API.
  - `apiUrl` (enum, optional, nullable) — ElevenLabs-only API environment for this key: the global endpoint or the EU data residency endpoint. In EU deployments, new credentials must explicitly use the EU data residency endpoint; existing credentials may omit this field on update to retain their saved endpoint. Outside EU deployments, Vapi detects an omitted endpoint automatically and null on update clears and re-detects the endpoint.
    - Allowed values: `https://api.elevenlabs.io`, `https://api.eu.residency.elevenlabs.io`
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `anthropic` (anthropic)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `anthropic-bedrock` (anthropic-bedrock)
  - `authenticationPlan` (CreateWorkflowDtoCredentialsItemsDiscriminatorMappingAnthropicBedrockAuthenticationPlan, required) — Authentication method - either direct IAM credentials or cross-account role assumption.
  - `region` (enum, required) — AWS region where Bedrock is configured.
    - Allowed values: `us-east-1`, `us-west-2`, `eu-central-1`, `eu-west-1`, `eu-west-3`, `ap-northeast-1`, `ap-southeast-2`
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `anyscale` (anyscale)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `assembly-ai` (assembly-ai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `azure-openai` (azure-openai)
  - `models` (enum, required)
    - Allowed values: `gpt-5.6-luna-2026-07-09`, `gpt-5.6-terra-2026-07-09`, `gpt-5.6-sol-2026-07-09`, `gpt-5.4`, `gpt-5.4-mini`, `gpt-5.4-nano`, `gpt-5.2`, `gpt-5.2-chat`, `gpt-5.1`, `gpt-5.1-chat`, `gpt-5`, `gpt-5-mini`, `gpt-5-nano`, `gpt-4.1-2025-04-14`, `gpt-4.1-mini-2025-04-14`, `gpt-4.1-nano-2025-04-14`, `gpt-4o-2024-11-20`, `gpt-4o-2024-08-06`, `gpt-4o-2024-05-13`, `gpt-4o-mini-2024-07-18`, `gpt-4-turbo-2024-04-09`, `gpt-4-0125-preview`, `gpt-4-1106-preview`, `gpt-4-0613`, `gpt-35-turbo-0125`, `gpt-35-turbo-1106`, `gpt-4o`, `gpt-4.1`, `gpt-5.4-mini-2026-03-17`
  - `openAIEndpoint` (string, required)
  - `openAIKey` (string, required) — This is not returned in the API.
  - `region` (enum, required)
    - Allowed values: `australiaeast`, `canadaeast`, `canadacentral`, `centralus`, `eastus2`, `eastus`, `france`, `germanywestcentral`, `india`, `japaneast`, `japanwest`, `northcentralus`, `norway`, `polandcentral`, `southcentralus`, `spaincentral`, `swedencentral`, `switzerland`, `switzerlandnorth`, `switzerlandwest`, `uaenorth`, `uk`, `westeurope`, `westus`, `westus3`
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
  - `ocpApimSubscriptionKey` (string, optional) — This is not returned in the API.
- `provider`: `azure` (azure)
  - `service` (enum, required, default: speech) — This is the service being used in Azure.
    - Allowed values: `speech`, `blob_storage`
  - `apiKey` (string, optional) — This is not returned in the API.
  - `bucketPlan` (AzureBlobStorageBucketPlan, optional) — This is the bucket plan that can be provided to store call artifacts in Azure Blob Storage.
  - `fallbackIndex` (double, optional) — This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
  - `region` (enum, optional) — This is the region of the Azure resource.
    - Allowed values: `australiaeast`, `canadaeast`, `canadacentral`, `centralus`, `eastus2`, `eastus`, `france`, `germanywestcentral`, `india`, `japaneast`, `japanwest`, `northcentralus`, `norway`, `polandcentral`, `southcentralus`, `spaincentral`, `swedencentral`, `switzerland`, `switzerlandnorth`, `switzerlandwest`, `uaenorth`, `uk`, `westeurope`, `westus`, `westus3`
- `provider`: `byo-sip-trunk` (byo-sip-trunk)
  - `gateways` (list of SipTrunkGateway, required) — This is the list of SIP trunk's gateways.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
  - `outboundAuthenticationPlan` (SipTrunkOutboundAuthenticationPlan, optional) — This can be used to configure the outbound authentication if required by the SIP trunk.
  - `outboundLeadingPlusEnabled` (boolean, optional) — This ensures the outbound origination attempts have a leading plus. Defaults to false to match conventional telecom behavior. Usage: - Vonage/Twilio requires leading plus for all outbound calls. Set this to true. @default false
  - `sipDiversionHeader` (string, optional) — This can be used to enable the SIP diversion header for authenticating the calling number if the SIP trunk supports it. This is an advanced property.
  - `techPrefix` (string, optional) — This can be used to configure the tech prefix on outbound calls. This is an advanced property.
- `provider`: `cartesia` (cartesia)
  - `apiKey` (string, required) — This is not returned in the API.
  - `apiUrl` (string, optional) — This can be used to point to an onprem Cartesia instance. Defaults to api.cartesia.ai.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `cerebras` (cerebras)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `cloudflare` (cloudflare)
  - `accountEmail` (string, optional) — Cloudflare Account Email.
  - `accountId` (string, optional) — Cloudflare Account Id.
  - `apiKey` (string, optional) — Cloudflare API Key / Token.
  - `bucketPlan` (CloudflareR2BucketPlan, optional) — This is the bucket plan that can be provided to store call artifacts in R2
  - `fallbackIndex` (double, optional) — This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `custom-llm` (custom-llm)
  - `apiKey` (string, required) — This is not returned in the API.
  - `authenticationPlan` (OAuth2AuthenticationPlan, optional) — This is the authentication plan. Currently supports OAuth2 RFC 6749. To use Bearer authentication, use apiKey
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `deepgram` (deepgram)
  - `apiKey` (string, required) — This is not returned in the API.
  - `apiUrl` (string, optional) — This can be used to point to an onprem Deepgram instance. Defaults to api.deepgram.com.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `deepinfra` (deepinfra)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `deep-seek` (deep-seek)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `gcp` (gcp)
  - `gcpKey` (GcpKey, required) — This is the GCP key. This is the JSON that can be generated in the Google Cloud Console at [https://console.cloud.google.com/iam-admin/serviceaccounts/details/\&lt;service-account-id\&gt;/keys](https://console.cloud.google.com/iam-admin/serviceaccounts/details/\&lt;service-account-id\&gt;/keys). The schema is identical to the JSON that GCP outputs.
  - `bucketPlan` (BucketPlan, optional)
  - `fallbackIndex` (double, optional) — This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
  - `region` (string, optional) — This is the region of the GCP resource.
- `provider`: `gladia` (gladia)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `gohighlevel` (gohighlevel)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `google` (google)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `groq` (groq)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `inflection-ai` (inflection-ai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `langfuse` (langfuse)
  - `apiKey` (string, required) — The secret key for Langfuse project. Eg: sk-lf-... .This is not returned in the API.
  - `apiUrl` (string, required) — The host URL for Langfuse project. Eg: https://cloud.langfuse.com
  - `publicKey` (string, required) — The public key for Langfuse project. Eg: pk-lf-...
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
  - `serverVersion` (string, optional) — The semver version of your Langfuse server, e.g. 3.63.0, as its /api/public/health endpoint reports it. Optional.
- `provider`: `lmnt` (lmnt)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `make` (make)
  - `apiKey` (string, required) — This is not returned in the API.
  - `region` (string, required) — Region of your application. For example: eu1, eu2, us1, us2
  - `teamId` (string, required) — Team ID
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `openai` (openai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `openrouter` (openrouter)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `perplexity-ai` (perplexity-ai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `playht` (playht)
  - `apiKey` (string, required) — This is not returned in the API.
  - `userId` (string, required)
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `rime-ai` (rime-ai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `runpod` (runpod)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `s3` (s3)
  - `awsAccessKeyId` (string, required) — AWS access key ID.
  - `awsSecretAccessKey` (string, required) — AWS access key secret. This is not returned in the API.
  - `region` (string, required) — AWS region in which the S3 bucket is located.
  - `s3BucketName` (string, required) — AWS S3 bucket name.
  - `s3PathPrefix` (string, required) — The path prefix for the uploaded recording. Ex. "recordings/"
  - `fallbackIndex` (double, optional) — This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `s3-compatible` (s3-compatible)
  - `bucketPlan` (S3CompatibleBucketPlan, required)
  - `fallbackIndex` (double, optional) — This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `supabase` (supabase)
  - `bucketPlan` (SupabaseBucketPlan, optional)
  - `fallbackIndex` (double, optional) — This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `smallest-ai` (smallest-ai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `tavus` (tavus)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `together-ai` (together-ai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `twilio` (twilio)
  - `accountSid` (string, required)
  - `apiKey` (string, optional) — This is not returned in the API.
  - `apiSecret` (string, optional) — This is not returned in the API.
  - `authToken` (string, optional) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `vonage` (vonage)
  - `apiKey` (string, required)
  - `apiSecret` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `webhook` (webhook)
  - `authenticationPlan` (CreateWorkflowDtoCredentialsItemsDiscriminatorMappingWebhookAuthenticationPlan, required) — This is the authentication plan. Supports OAuth2 RFC 6749, HMAC signing, and Bearer authentication.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `custom-credential` (custom-credential)
  - `authenticationPlan` (CreateWorkflowDtoCredentialsItemsDiscriminatorMappingCustomCredentialAuthenticationPlan, required) — This is the authentication plan. Supports OAuth2 RFC 6749, HMAC signing, and Bearer authentication.
  - `encryptionPlan` (PublicKeyEncryptionPlan, optional) — This is the encryption plan for encrypting sensitive data. Currently supports public-key encryption.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `xai` (xai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `microsoft` (microsoft)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
  - `region` (string, optional) — Azure region for the Speech resource. Defaults to `eastus` when omitted. MAI-Voice-2 is preview and region-limited.
- `provider`: `neuphonic` (neuphonic)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `hume` (hume)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `mistral` (mistral)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `speechmatics` (speechmatics)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `soniox` (soniox)
  - `apiKey` (string, required) — This is not returned in the API.
  - `apiUrl` (string, optional) — Custom Soniox WebSocket endpoint (e.g. EU server wss://stt-rt.eu.soniox.com/transcribe-websocket). Defaults to the region-appropriate endpoint when omitted.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `reson8` (reson8)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `google.calendar.oauth2-client` (google.calendar.oauth2-client)
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `google.calendar.oauth2-authorization` (google.calendar.oauth2-authorization)
  - `authorizationId` (string, required) — The authorization ID for the OAuth2 authorization
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `google.sheets.oauth2-authorization` (google.sheets.oauth2-authorization)
  - `authorizationId` (string, required) — The authorization ID for the OAuth2 authorization
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `slack.oauth2-authorization` (slack.oauth2-authorization)
  - `authorizationId` (string, required) — The authorization ID for the OAuth2 authorization
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `ghl.oauth2-authorization` (ghl.oauth2-authorization)
  - `authenticationSession` (Oauth2AuthenticationSession, required) — This is the authentication session for the credential.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `inworld` (inworld)
  - `apiKey` (string, required) — This is the Inworld Basic (Base64) authentication token. This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `minimax` (minimax)
  - `apiKey` (string, required) — This is not returned in the API.
  - `groupId` (string, required) — This is the Minimax Group ID.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `wellsaid` (wellsaid)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `email` (email)
  - `email` (string, required) — The recipient email address for alerts
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `slack-webhook` (slack-webhook)
  - `webhookUrl` (string, required) — Slack incoming webhook URL. See https://api.slack.com/messaging/webhooks for setup instructions. This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.

### TransientAssistantDtoHooksItems

- CallHookCallEnding: CallHookCallEnding
- CallHookAssistantSpeechInterrupted: CallHookAssistantSpeechInterrupted
- CallHookCustomerSpeechInterrupted: CallHookCustomerSpeechInterrupted
- CallHookCustomerSpeechTimeout: CallHookCustomerSpeechTimeout
- SessionCreatedHook: SessionCreatedHook

### TransientAssistantDtoMetadata

This is for metadata you want to store on the assistant.

### AssistantOverridesTranscriber

These are the options for the assistant's transcriber.

- AssemblyAITranscriber: AssemblyAITranscriber
- AzureSpeechTranscriber: AzureSpeechTranscriber
- CustomTranscriber: CustomTranscriber
- DeepgramTranscriber: DeepgramTranscriber
- ElevenLabsTranscriber: ElevenLabsTranscriber
- GladiaTranscriber: GladiaTranscriber
- GoogleTranscriber: GoogleTranscriber
- SpeechmaticsTranscriber: SpeechmaticsTranscriber
- TalkscriberTranscriber: TalkscriberTranscriber
- OpenAITranscriber: OpenAITranscriber
- CartesiaTranscriber: CartesiaTranscriber
- SonioxTranscriber: SonioxTranscriber
- XaiTranscriber: XaiTranscriber
- Reson8Transcriber: Reson8Transcriber
- VapiTranscriber: VapiTranscriber

### AssistantOverridesModel

These are the options for the assistant's LLM.

- Anthropic: AnthropicModel
- AnthropicBedrock: AnthropicBedrockModel
- Anyscale: AnyscaleModel
- Cerebras: CerebrasModel
- CustomLLM: CustomLLMModel
- DeepInfra: DeepInfraModel
- DeepSeek: DeepSeekModel
- Google: GoogleModel
- Groq: GroqModel
- InflectionAI: InflectionAIModel
- MiniMaxLLM: MinimaxLLMModel
- OpenAI: OpenAIModel
- OpenRouter: OpenRouterModel
- PerplexityAI: PerplexityAIModel
- Together: TogetherAIModel
- XAI: XaiModel
- Vapi: VapiModel

### AssistantOverridesVoice

These are the options for the assistant's voice.

- AzureVoice: AzureVoice
- CartesiaVoice: CartesiaVoice
- CustomVoice: CustomVoice
- DeepgramVoice: DeepgramVoice
- ElevenLabsVoice: ElevenLabsVoice
- HumeVoice: HumeVoice
- LMNTVoice: LMNTVoice
- NeuphonicVoice: NeuphonicVoice
- OpenAIVoice: OpenAIVoice
- PlayHTVoice: PlayHTVoice
- WellSaidVoice: WellSaidVoice
- RimeAIVoice: RimeAIVoice
- SmallestAIVoice: SmallestAIVoice
- VapiVoice: VapiVoice
- SesameVoice: SesameVoice
- InworldVoice: InworldVoice
- MinimaxVoice: MinimaxVoice
- XaiVoice: XaiVoice
- MicrosoftVoice: MicrosoftVoice

### AssistantOverridesVoicemailDetection

These are the settings to configure or disable voicemail detection. Alternatively, voicemail detection can be configured using the model.tools=[VoicemailTool]. By default, voicemail detection is disabled.

- enum
  - Allowed values: `off`
- Google: GoogleVoicemailDetectionPlan
- OpenAI: OpenAIVoicemailDetectionPlan
- Twilio: TwilioVoicemailDetectionPlan
- Vapi: VapiVoicemailDetectionPlan

### AssistantOverridesBackgroundSound

This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'. Bundled sounds: 'office', 'white-noise', 'city', 'crowd' and 'farm'. GPT Live assistants don't play 'office'. You can also provide a custom sound by providing a URL to an audio file.

- enum
  - Allowed values: `off`, `office`, `white-noise`, `city`, `crowd`, `farm`
- string

### AssistantOverridesTransportConfigurationsItems

- Twilio: TransportConfigurationTwilio

### AssistantOverridesCredentialsItems

- `provider`: `11labs` (11labs)
  - `apiKey` (string, required) — This is not returned in the API.
  - `apiUrl` (enum, optional, nullable) — ElevenLabs-only API environment for this key: the global endpoint or the EU data residency endpoint. In EU deployments, new credentials must explicitly use the EU data residency endpoint; existing credentials may omit this field on update to retain their saved endpoint. Outside EU deployments, Vapi detects an omitted endpoint automatically and null on update clears and re-detects the endpoint.
    - Allowed values: `https://api.elevenlabs.io`, `https://api.eu.residency.elevenlabs.io`
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `anthropic` (anthropic)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `anthropic-bedrock` (anthropic-bedrock)
  - `authenticationPlan` (CreateWorkflowDtoCredentialsItemsDiscriminatorMappingAnthropicBedrockAuthenticationPlan, required) — Authentication method - either direct IAM credentials or cross-account role assumption.
  - `region` (enum, required) — AWS region where Bedrock is configured.
    - Allowed values: `us-east-1`, `us-west-2`, `eu-central-1`, `eu-west-1`, `eu-west-3`, `ap-northeast-1`, `ap-southeast-2`
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `anyscale` (anyscale)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `assembly-ai` (assembly-ai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `azure-openai` (azure-openai)
  - `models` (enum, required)
    - Allowed values: `gpt-5.6-luna-2026-07-09`, `gpt-5.6-terra-2026-07-09`, `gpt-5.6-sol-2026-07-09`, `gpt-5.4`, `gpt-5.4-mini`, `gpt-5.4-nano`, `gpt-5.2`, `gpt-5.2-chat`, `gpt-5.1`, `gpt-5.1-chat`, `gpt-5`, `gpt-5-mini`, `gpt-5-nano`, `gpt-4.1-2025-04-14`, `gpt-4.1-mini-2025-04-14`, `gpt-4.1-nano-2025-04-14`, `gpt-4o-2024-11-20`, `gpt-4o-2024-08-06`, `gpt-4o-2024-05-13`, `gpt-4o-mini-2024-07-18`, `gpt-4-turbo-2024-04-09`, `gpt-4-0125-preview`, `gpt-4-1106-preview`, `gpt-4-0613`, `gpt-35-turbo-0125`, `gpt-35-turbo-1106`, `gpt-4o`, `gpt-4.1`, `gpt-5.4-mini-2026-03-17`
  - `openAIEndpoint` (string, required)
  - `openAIKey` (string, required) — This is not returned in the API.
  - `region` (enum, required)
    - Allowed values: `australiaeast`, `canadaeast`, `canadacentral`, `centralus`, `eastus2`, `eastus`, `france`, `germanywestcentral`, `india`, `japaneast`, `japanwest`, `northcentralus`, `norway`, `polandcentral`, `southcentralus`, `spaincentral`, `swedencentral`, `switzerland`, `switzerlandnorth`, `switzerlandwest`, `uaenorth`, `uk`, `westeurope`, `westus`, `westus3`
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
  - `ocpApimSubscriptionKey` (string, optional) — This is not returned in the API.
- `provider`: `azure` (azure)
  - `service` (enum, required, default: speech) — This is the service being used in Azure.
    - Allowed values: `speech`, `blob_storage`
  - `apiKey` (string, optional) — This is not returned in the API.
  - `bucketPlan` (AzureBlobStorageBucketPlan, optional) — This is the bucket plan that can be provided to store call artifacts in Azure Blob Storage.
  - `fallbackIndex` (double, optional) — This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
  - `region` (enum, optional) — This is the region of the Azure resource.
    - Allowed values: `australiaeast`, `canadaeast`, `canadacentral`, `centralus`, `eastus2`, `eastus`, `france`, `germanywestcentral`, `india`, `japaneast`, `japanwest`, `northcentralus`, `norway`, `polandcentral`, `southcentralus`, `spaincentral`, `swedencentral`, `switzerland`, `switzerlandnorth`, `switzerlandwest`, `uaenorth`, `uk`, `westeurope`, `westus`, `westus3`
- `provider`: `byo-sip-trunk` (byo-sip-trunk)
  - `gateways` (list of SipTrunkGateway, required) — This is the list of SIP trunk's gateways.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
  - `outboundAuthenticationPlan` (SipTrunkOutboundAuthenticationPlan, optional) — This can be used to configure the outbound authentication if required by the SIP trunk.
  - `outboundLeadingPlusEnabled` (boolean, optional) — This ensures the outbound origination attempts have a leading plus. Defaults to false to match conventional telecom behavior. Usage: - Vonage/Twilio requires leading plus for all outbound calls. Set this to true. @default false
  - `sipDiversionHeader` (string, optional) — This can be used to enable the SIP diversion header for authenticating the calling number if the SIP trunk supports it. This is an advanced property.
  - `techPrefix` (string, optional) — This can be used to configure the tech prefix on outbound calls. This is an advanced property.
- `provider`: `cartesia` (cartesia)
  - `apiKey` (string, required) — This is not returned in the API.
  - `apiUrl` (string, optional) — This can be used to point to an onprem Cartesia instance. Defaults to api.cartesia.ai.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `cerebras` (cerebras)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `cloudflare` (cloudflare)
  - `accountEmail` (string, optional) — Cloudflare Account Email.
  - `accountId` (string, optional) — Cloudflare Account Id.
  - `apiKey` (string, optional) — Cloudflare API Key / Token.
  - `bucketPlan` (CloudflareR2BucketPlan, optional) — This is the bucket plan that can be provided to store call artifacts in R2
  - `fallbackIndex` (double, optional) — This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `custom-llm` (custom-llm)
  - `apiKey` (string, required) — This is not returned in the API.
  - `authenticationPlan` (OAuth2AuthenticationPlan, optional) — This is the authentication plan. Currently supports OAuth2 RFC 6749. To use Bearer authentication, use apiKey
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `deepgram` (deepgram)
  - `apiKey` (string, required) — This is not returned in the API.
  - `apiUrl` (string, optional) — This can be used to point to an onprem Deepgram instance. Defaults to api.deepgram.com.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `deepinfra` (deepinfra)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `deep-seek` (deep-seek)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `gcp` (gcp)
  - `gcpKey` (GcpKey, required) — This is the GCP key. This is the JSON that can be generated in the Google Cloud Console at [https://console.cloud.google.com/iam-admin/serviceaccounts/details/\&lt;service-account-id\&gt;/keys](https://console.cloud.google.com/iam-admin/serviceaccounts/details/\&lt;service-account-id\&gt;/keys). The schema is identical to the JSON that GCP outputs.
  - `bucketPlan` (BucketPlan, optional)
  - `fallbackIndex` (double, optional) — This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
  - `region` (string, optional) — This is the region of the GCP resource.
- `provider`: `gladia` (gladia)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `gohighlevel` (gohighlevel)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `google` (google)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `groq` (groq)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `inflection-ai` (inflection-ai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `langfuse` (langfuse)
  - `apiKey` (string, required) — The secret key for Langfuse project. Eg: sk-lf-... .This is not returned in the API.
  - `apiUrl` (string, required) — The host URL for Langfuse project. Eg: https://cloud.langfuse.com
  - `publicKey` (string, required) — The public key for Langfuse project. Eg: pk-lf-...
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
  - `serverVersion` (string, optional) — The semver version of your Langfuse server, e.g. 3.63.0, as its /api/public/health endpoint reports it. Optional.
- `provider`: `lmnt` (lmnt)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `make` (make)
  - `apiKey` (string, required) — This is not returned in the API.
  - `region` (string, required) — Region of your application. For example: eu1, eu2, us1, us2
  - `teamId` (string, required) — Team ID
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `openai` (openai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `openrouter` (openrouter)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `perplexity-ai` (perplexity-ai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `playht` (playht)
  - `apiKey` (string, required) — This is not returned in the API.
  - `userId` (string, required)
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `rime-ai` (rime-ai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `runpod` (runpod)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `s3` (s3)
  - `awsAccessKeyId` (string, required) — AWS access key ID.
  - `awsSecretAccessKey` (string, required) — AWS access key secret. This is not returned in the API.
  - `region` (string, required) — AWS region in which the S3 bucket is located.
  - `s3BucketName` (string, required) — AWS S3 bucket name.
  - `s3PathPrefix` (string, required) — The path prefix for the uploaded recording. Ex. "recordings/"
  - `fallbackIndex` (double, optional) — This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `s3-compatible` (s3-compatible)
  - `bucketPlan` (S3CompatibleBucketPlan, required)
  - `fallbackIndex` (double, optional) — This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `supabase` (supabase)
  - `bucketPlan` (SupabaseBucketPlan, optional)
  - `fallbackIndex` (double, optional) — This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `smallest-ai` (smallest-ai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `tavus` (tavus)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `together-ai` (together-ai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `twilio` (twilio)
  - `accountSid` (string, required)
  - `apiKey` (string, optional) — This is not returned in the API.
  - `apiSecret` (string, optional) — This is not returned in the API.
  - `authToken` (string, optional) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `vonage` (vonage)
  - `apiKey` (string, required)
  - `apiSecret` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `webhook` (webhook)
  - `authenticationPlan` (CreateWorkflowDtoCredentialsItemsDiscriminatorMappingWebhookAuthenticationPlan, required) — This is the authentication plan. Supports OAuth2 RFC 6749, HMAC signing, and Bearer authentication.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `custom-credential` (custom-credential)
  - `authenticationPlan` (CreateWorkflowDtoCredentialsItemsDiscriminatorMappingCustomCredentialAuthenticationPlan, required) — This is the authentication plan. Supports OAuth2 RFC 6749, HMAC signing, and Bearer authentication.
  - `encryptionPlan` (PublicKeyEncryptionPlan, optional) — This is the encryption plan for encrypting sensitive data. Currently supports public-key encryption.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `xai` (xai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `microsoft` (microsoft)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
  - `region` (string, optional) — Azure region for the Speech resource. Defaults to `eastus` when omitted. MAI-Voice-2 is preview and region-limited.
- `provider`: `neuphonic` (neuphonic)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `hume` (hume)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `mistral` (mistral)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `speechmatics` (speechmatics)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `soniox` (soniox)
  - `apiKey` (string, required) — This is not returned in the API.
  - `apiUrl` (string, optional) — Custom Soniox WebSocket endpoint (e.g. EU server wss://stt-rt.eu.soniox.com/transcribe-websocket). Defaults to the region-appropriate endpoint when omitted.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `reson8` (reson8)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `google.calendar.oauth2-client` (google.calendar.oauth2-client)
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `google.calendar.oauth2-authorization` (google.calendar.oauth2-authorization)
  - `authorizationId` (string, required) — The authorization ID for the OAuth2 authorization
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `google.sheets.oauth2-authorization` (google.sheets.oauth2-authorization)
  - `authorizationId` (string, required) — The authorization ID for the OAuth2 authorization
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `slack.oauth2-authorization` (slack.oauth2-authorization)
  - `authorizationId` (string, required) — The authorization ID for the OAuth2 authorization
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `ghl.oauth2-authorization` (ghl.oauth2-authorization)
  - `authenticationSession` (Oauth2AuthenticationSession, required) — This is the authentication session for the credential.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `inworld` (inworld)
  - `apiKey` (string, required) — This is the Inworld Basic (Base64) authentication token. This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `minimax` (minimax)
  - `apiKey` (string, required) — This is not returned in the API.
  - `groupId` (string, required) — This is the Minimax Group ID.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `wellsaid` (wellsaid)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `email` (email)
  - `email` (string, required) — The recipient email address for alerts
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `slack-webhook` (slack-webhook)
  - `webhookUrl` (string, required) — Slack incoming webhook URL. See https://api.slack.com/messaging/webhooks for setup instructions. This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.

### AssistantOverridesHooksItems

- CallHookCallEnding: CallHookCallEnding
- CallHookAssistantSpeechInterrupted: CallHookAssistantSpeechInterrupted
- CallHookCustomerSpeechInterrupted: CallHookCustomerSpeechInterrupted
- CallHookCustomerSpeechTimeout: CallHookCustomerSpeechTimeout
- SessionCreatedHook: SessionCreatedHook

### AssistantOverridesToolsAppendItems

- ApiRequestTool: CreateApiRequestToolDTO
- BashTool: CreateBashToolDTO
- CodeTool: CreateCodeToolDTO
- ComputerTool: CreateComputerToolDTO
- DtmfTool: CreateDtmfToolDTO
- EndCallTool: CreateEndCallToolDTO
- FunctionTool: CreateFunctionToolDTO
- GoHighLevelCalendarAvailabilityTool: CreateGoHighLevelCalendarAvailabilityToolDTO
- GoHighLevelCalendarEventCreateTool: CreateGoHighLevelCalendarEventCreateToolDTO
- GoHighLevelContactCreateTool: CreateGoHighLevelContactCreateToolDTO
- GoHighLevelContactGetTool: CreateGoHighLevelContactGetToolDTO
- GoogleCalendarCheckAvailabilityTool: CreateGoogleCalendarCheckAvailabilityToolDTO
- GoogleCalendarCreateEventTool: CreateGoogleCalendarCreateEventToolDTO
- GoogleSheetsRowAppendTool: CreateGoogleSheetsRowAppendToolDTO
- HandoffTool: CreateHandoffToolDTO
- McpTool: CreateMcpToolDTO
- QueryTool: CreateQueryToolDTO
- SlackSendMessageTool: CreateSlackSendMessageToolDTO
- SmsTool: CreateSmsToolDTO
- TextEditorTool: CreateTextEditorToolDTO
- TransferCallTool: CreateTransferCallToolDTO
- SipRequestTool: CreateSipRequestToolDTO
- VoicemailTool: CreateVoicemailToolDTO

### AssistantOverridesVariableValues

These are values that will be used to replace the template variables in the assistant messages and other text-based fields. This uses LiquidJS syntax. [https://liquidjs.com/tutorials/intro-to-liquid.html](https://liquidjs.com/tutorials/intro-to-liquid.html) So for example, `{{ name }}` will be replaced with the value of `name` in `variableValues`. `{{"now" | date: "%b %d, %Y, %I:%M %p", "America/New_York"}}` will be replaced with the current date and time in New York. Some VAPI reserved defaults: * *customer* - the customer object

### AssistantOverridesMetadata

This is for metadata you want to store on the assistant.

### SquadMemberDTO

- `assistantVersion` (string, optional, nullable) — This is the assistant version (e.g. `v3`) to pin for this squad member. When set, the call uses the snapshot from `assistant_version` (by `(assistantId, version)`) instead of the latest. Valid only with `assistantId`; rejected with inline `assistant`. Omit to follow the latest version.
- `assistantDestinations` (list of SquadMemberDtoAssistantDestinationsItems, optional)
- `assistantId` (string, optional, nullable) — This is the assistant that will be used for the call. To use a transient assistant, use `assistant` instead.
- `assistant` (TransientAssistantDTO, optional) — This is the assistant that will be used for the call. To use an existing assistant, use `assistantId` instead.
- `assistantOverrides` (AssistantOverrides, optional) — This can be used to override the assistant's settings and provide values for it's template variables.

### CreateWorkflowDtoNodesItems

- ConversationNode: ConversationNode
- ToolNode: ToolNode

### Edge

- `from` (string, required)
- `to` (string, required)
- `condition` (EdgeCondition, optional)
- `metadata` (EdgeMetadata, optional) — This is for metadata you want to store on the edge.

### CreateWorkflowDtoModel

This is the model for the workflow. This can be overridden at node level using `nodes[n].model`.

- WorkflowOpenAIModel: WorkflowOpenAIModel
- WorkflowAnthropicModel: WorkflowAnthropicModel
- WorkflowAnthropicBedrockModel: WorkflowAnthropicBedrockModel
- WorkflowGoogleModel: WorkflowGoogleModel
- WorkflowCustomModel: WorkflowCustomModel

### CreateWorkflowDtoTranscriber

This is the transcriber for the workflow. This can be overridden at node level using `nodes[n].transcriber`.

- AssemblyAITranscriber: AssemblyAITranscriber
- AzureSpeechTranscriber: AzureSpeechTranscriber
- CustomTranscriber: CustomTranscriber
- DeepgramTranscriber: DeepgramTranscriber
- ElevenLabsTranscriber: ElevenLabsTranscriber
- GladiaTranscriber: GladiaTranscriber
- GoogleTranscriber: GoogleTranscriber
- SpeechmaticsTranscriber: SpeechmaticsTranscriber
- TalkscriberTranscriber: TalkscriberTranscriber
- OpenAITranscriber: OpenAITranscriber
- CartesiaTranscriber: CartesiaTranscriber
- SonioxTranscriber: SonioxTranscriber
- XaiTranscriber: XaiTranscriber
- Reson8Transcriber: Reson8Transcriber
- VapiTranscriber: VapiTranscriber

### CreateWorkflowDtoVoice

This is the voice for the workflow. This can be overridden at node level using `nodes[n].voice`.

- AzureVoice: AzureVoice
- CartesiaVoice: CartesiaVoice
- CustomVoice: CustomVoice
- DeepgramVoice: DeepgramVoice
- ElevenLabsVoice: ElevenLabsVoice
- HumeVoice: HumeVoice
- LMNTVoice: LMNTVoice
- NeuphonicVoice: NeuphonicVoice
- OpenAIVoice: OpenAIVoice
- PlayHTVoice: PlayHTVoice
- WellSaidVoice: WellSaidVoice
- RimeAIVoice: RimeAIVoice
- SmallestAIVoice: SmallestAIVoice
- VapiVoice: VapiVoice
- SesameVoice: SesameVoice
- InworldVoice: InworldVoice
- MinimaxVoice: MinimaxVoice
- XaiVoice: XaiVoice
- MicrosoftVoice: MicrosoftVoice

### CreateWorkflowDtoBackgroundSound

This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'. Bundled sounds: 'office', 'white-noise', 'city', 'crowd' and 'farm'. GPT Live assistants don't play 'office'. You can also provide a custom sound by providing a URL to an audio file.

- enum
  - Allowed values: `off`, `office`, `white-noise`, `city`, `crowd`, `farm`
- string

### CreateWorkflowDtoHooksItems

- CallHookCallEnding: CallHookCallEnding
- CallHookAssistantSpeechInterrupted: CallHookAssistantSpeechInterrupted
- CallHookCustomerSpeechInterrupted: CallHookCustomerSpeechInterrupted
- CallHookCustomerSpeechTimeout: CallHookCustomerSpeechTimeout
- CallHookModelResponseTimeout: CallHookModelResponseTimeout

### CreateWorkflowDtoCredentialsItems

- `provider`: `11labs` (11labs)
  - `apiKey` (string, required) — This is not returned in the API.
  - `apiUrl` (enum, optional, nullable) — ElevenLabs-only API environment for this key: the global endpoint or the EU data residency endpoint. In EU deployments, new credentials must explicitly use the EU data residency endpoint; existing credentials may omit this field on update to retain their saved endpoint. Outside EU deployments, Vapi detects an omitted endpoint automatically and null on update clears and re-detects the endpoint.
    - Allowed values: `https://api.elevenlabs.io`, `https://api.eu.residency.elevenlabs.io`
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `anthropic` (anthropic)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `anthropic-bedrock` (anthropic-bedrock)
  - `authenticationPlan` (CreateWorkflowDtoCredentialsItemsDiscriminatorMappingAnthropicBedrockAuthenticationPlan, required) — Authentication method - either direct IAM credentials or cross-account role assumption.
  - `region` (enum, required) — AWS region where Bedrock is configured.
    - Allowed values: `us-east-1`, `us-west-2`, `eu-central-1`, `eu-west-1`, `eu-west-3`, `ap-northeast-1`, `ap-southeast-2`
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `anyscale` (anyscale)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `assembly-ai` (assembly-ai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `azure-openai` (azure-openai)
  - `models` (enum, required)
    - Allowed values: `gpt-5.6-luna-2026-07-09`, `gpt-5.6-terra-2026-07-09`, `gpt-5.6-sol-2026-07-09`, `gpt-5.4`, `gpt-5.4-mini`, `gpt-5.4-nano`, `gpt-5.2`, `gpt-5.2-chat`, `gpt-5.1`, `gpt-5.1-chat`, `gpt-5`, `gpt-5-mini`, `gpt-5-nano`, `gpt-4.1-2025-04-14`, `gpt-4.1-mini-2025-04-14`, `gpt-4.1-nano-2025-04-14`, `gpt-4o-2024-11-20`, `gpt-4o-2024-08-06`, `gpt-4o-2024-05-13`, `gpt-4o-mini-2024-07-18`, `gpt-4-turbo-2024-04-09`, `gpt-4-0125-preview`, `gpt-4-1106-preview`, `gpt-4-0613`, `gpt-35-turbo-0125`, `gpt-35-turbo-1106`, `gpt-4o`, `gpt-4.1`, `gpt-5.4-mini-2026-03-17`
  - `openAIEndpoint` (string, required)
  - `openAIKey` (string, required) — This is not returned in the API.
  - `region` (enum, required)
    - Allowed values: `australiaeast`, `canadaeast`, `canadacentral`, `centralus`, `eastus2`, `eastus`, `france`, `germanywestcentral`, `india`, `japaneast`, `japanwest`, `northcentralus`, `norway`, `polandcentral`, `southcentralus`, `spaincentral`, `swedencentral`, `switzerland`, `switzerlandnorth`, `switzerlandwest`, `uaenorth`, `uk`, `westeurope`, `westus`, `westus3`
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
  - `ocpApimSubscriptionKey` (string, optional) — This is not returned in the API.
- `provider`: `azure` (azure)
  - `service` (enum, required, default: speech) — This is the service being used in Azure.
    - Allowed values: `speech`, `blob_storage`
  - `apiKey` (string, optional) — This is not returned in the API.
  - `bucketPlan` (AzureBlobStorageBucketPlan, optional) — This is the bucket plan that can be provided to store call artifacts in Azure Blob Storage.
  - `fallbackIndex` (double, optional) — This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
  - `region` (enum, optional) — This is the region of the Azure resource.
    - Allowed values: `australiaeast`, `canadaeast`, `canadacentral`, `centralus`, `eastus2`, `eastus`, `france`, `germanywestcentral`, `india`, `japaneast`, `japanwest`, `northcentralus`, `norway`, `polandcentral`, `southcentralus`, `spaincentral`, `swedencentral`, `switzerland`, `switzerlandnorth`, `switzerlandwest`, `uaenorth`, `uk`, `westeurope`, `westus`, `westus3`
- `provider`: `byo-sip-trunk` (byo-sip-trunk)
  - `gateways` (list of SipTrunkGateway, required) — This is the list of SIP trunk's gateways.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
  - `outboundAuthenticationPlan` (SipTrunkOutboundAuthenticationPlan, optional) — This can be used to configure the outbound authentication if required by the SIP trunk.
  - `outboundLeadingPlusEnabled` (boolean, optional) — This ensures the outbound origination attempts have a leading plus. Defaults to false to match conventional telecom behavior. Usage: - Vonage/Twilio requires leading plus for all outbound calls. Set this to true. @default false
  - `sipDiversionHeader` (string, optional) — This can be used to enable the SIP diversion header for authenticating the calling number if the SIP trunk supports it. This is an advanced property.
  - `techPrefix` (string, optional) — This can be used to configure the tech prefix on outbound calls. This is an advanced property.
- `provider`: `cartesia` (cartesia)
  - `apiKey` (string, required) — This is not returned in the API.
  - `apiUrl` (string, optional) — This can be used to point to an onprem Cartesia instance. Defaults to api.cartesia.ai.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `cerebras` (cerebras)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `cloudflare` (cloudflare)
  - `accountEmail` (string, optional) — Cloudflare Account Email.
  - `accountId` (string, optional) — Cloudflare Account Id.
  - `apiKey` (string, optional) — Cloudflare API Key / Token.
  - `bucketPlan` (CloudflareR2BucketPlan, optional) — This is the bucket plan that can be provided to store call artifacts in R2
  - `fallbackIndex` (double, optional) — This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `custom-llm` (custom-llm)
  - `apiKey` (string, required) — This is not returned in the API.
  - `authenticationPlan` (OAuth2AuthenticationPlan, optional) — This is the authentication plan. Currently supports OAuth2 RFC 6749. To use Bearer authentication, use apiKey
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `deepgram` (deepgram)
  - `apiKey` (string, required) — This is not returned in the API.
  - `apiUrl` (string, optional) — This can be used to point to an onprem Deepgram instance. Defaults to api.deepgram.com.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `deepinfra` (deepinfra)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `deep-seek` (deep-seek)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `gcp` (gcp)
  - `gcpKey` (GcpKey, required) — This is the GCP key. This is the JSON that can be generated in the Google Cloud Console at [https://console.cloud.google.com/iam-admin/serviceaccounts/details/\&lt;service-account-id\&gt;/keys](https://console.cloud.google.com/iam-admin/serviceaccounts/details/\&lt;service-account-id\&gt;/keys). The schema is identical to the JSON that GCP outputs.
  - `bucketPlan` (BucketPlan, optional)
  - `fallbackIndex` (double, optional) — This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
  - `region` (string, optional) — This is the region of the GCP resource.
- `provider`: `gladia` (gladia)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `gohighlevel` (gohighlevel)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `google` (google)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `groq` (groq)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `inflection-ai` (inflection-ai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `langfuse` (langfuse)
  - `apiKey` (string, required) — The secret key for Langfuse project. Eg: sk-lf-... .This is not returned in the API.
  - `apiUrl` (string, required) — The host URL for Langfuse project. Eg: https://cloud.langfuse.com
  - `publicKey` (string, required) — The public key for Langfuse project. Eg: pk-lf-...
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
  - `serverVersion` (string, optional) — The semver version of your Langfuse server, e.g. 3.63.0, as its /api/public/health endpoint reports it. Optional.
- `provider`: `lmnt` (lmnt)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `make` (make)
  - `apiKey` (string, required) — This is not returned in the API.
  - `region` (string, required) — Region of your application. For example: eu1, eu2, us1, us2
  - `teamId` (string, required) — Team ID
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `openai` (openai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `openrouter` (openrouter)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `perplexity-ai` (perplexity-ai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `playht` (playht)
  - `apiKey` (string, required) — This is not returned in the API.
  - `userId` (string, required)
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `rime-ai` (rime-ai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `runpod` (runpod)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `s3` (s3)
  - `awsAccessKeyId` (string, required) — AWS access key ID.
  - `awsSecretAccessKey` (string, required) — AWS access key secret. This is not returned in the API.
  - `region` (string, required) — AWS region in which the S3 bucket is located.
  - `s3BucketName` (string, required) — AWS S3 bucket name.
  - `s3PathPrefix` (string, required) — The path prefix for the uploaded recording. Ex. "recordings/"
  - `fallbackIndex` (double, optional) — This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `s3-compatible` (s3-compatible)
  - `bucketPlan` (S3CompatibleBucketPlan, required)
  - `fallbackIndex` (double, optional) — This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `supabase` (supabase)
  - `bucketPlan` (SupabaseBucketPlan, optional)
  - `fallbackIndex` (double, optional) — This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `smallest-ai` (smallest-ai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `tavus` (tavus)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `together-ai` (together-ai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `twilio` (twilio)
  - `accountSid` (string, required)
  - `apiKey` (string, optional) — This is not returned in the API.
  - `apiSecret` (string, optional) — This is not returned in the API.
  - `authToken` (string, optional) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `vonage` (vonage)
  - `apiKey` (string, required)
  - `apiSecret` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `webhook` (webhook)
  - `authenticationPlan` (CreateWorkflowDtoCredentialsItemsDiscriminatorMappingWebhookAuthenticationPlan, required) — This is the authentication plan. Supports OAuth2 RFC 6749, HMAC signing, and Bearer authentication.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `custom-credential` (custom-credential)
  - `authenticationPlan` (CreateWorkflowDtoCredentialsItemsDiscriminatorMappingCustomCredentialAuthenticationPlan, required) — This is the authentication plan. Supports OAuth2 RFC 6749, HMAC signing, and Bearer authentication.
  - `encryptionPlan` (PublicKeyEncryptionPlan, optional) — This is the encryption plan for encrypting sensitive data. Currently supports public-key encryption.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `xai` (xai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `microsoft` (microsoft)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
  - `region` (string, optional) — Azure region for the Speech resource. Defaults to `eastus` when omitted. MAI-Voice-2 is preview and region-limited.
- `provider`: `neuphonic` (neuphonic)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `hume` (hume)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `mistral` (mistral)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `speechmatics` (speechmatics)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `soniox` (soniox)
  - `apiKey` (string, required) — This is not returned in the API.
  - `apiUrl` (string, optional) — Custom Soniox WebSocket endpoint (e.g. EU server wss://stt-rt.eu.soniox.com/transcribe-websocket). Defaults to the region-appropriate endpoint when omitted.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `reson8` (reson8)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `google.calendar.oauth2-client` (google.calendar.oauth2-client)
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `google.calendar.oauth2-authorization` (google.calendar.oauth2-authorization)
  - `authorizationId` (string, required) — The authorization ID for the OAuth2 authorization
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `google.sheets.oauth2-authorization` (google.sheets.oauth2-authorization)
  - `authorizationId` (string, required) — The authorization ID for the OAuth2 authorization
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `slack.oauth2-authorization` (slack.oauth2-authorization)
  - `authorizationId` (string, required) — The authorization ID for the OAuth2 authorization
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `ghl.oauth2-authorization` (ghl.oauth2-authorization)
  - `authenticationSession` (Oauth2AuthenticationSession, required) — This is the authentication session for the credential.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `inworld` (inworld)
  - `apiKey` (string, required) — This is the Inworld Basic (Base64) authentication token. This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `minimax` (minimax)
  - `apiKey` (string, required) — This is not returned in the API.
  - `groupId` (string, required) — This is the Minimax Group ID.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `wellsaid` (wellsaid)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `email` (email)
  - `email` (string, required) — The recipient email address for alerts
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `slack-webhook` (slack-webhook)
  - `webhookUrl` (string, required) — Slack incoming webhook URL. See https://api.slack.com/messaging/webhooks for setup instructions. This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.

### CreateWorkflowDtoVoicemailDetection

This is the voicemail detection plan for the workflow.

- enum
  - Allowed values: `off`
- Google: GoogleVoicemailDetectionPlan
- OpenAI: OpenAIVoicemailDetectionPlan
- Twilio: TwilioVoicemailDetectionPlan
- Vapi: VapiVoicemailDetectionPlan

### WorkflowOverridesVariableValues

These are values that will be used to replace the template variables in the workflow messages and other text-based fields. This uses LiquidJS syntax. [https://liquidjs.com/tutorials/intro-to-liquid.html](https://liquidjs.com/tutorials/intro-to-liquid.html) So for example, `{{ name }}` will be replaced with the value of `name` in `variableValues`. `{{"now" | date: "%b %d, %Y, %I:%M %p", "America/New_York"}}` will be replaced with the current date and time in New York. Some VAPI reserved defaults: * *customer* - the customer object

### CustomMessageContentsItems

- Text: TextContent

### ToolCallResultMetadata

This is optional metadata for the tool call result to be sent to the client.

### ToolMessageStart

- `type` (enum, required) — This message is triggered when the tool call starts. This message is never triggered for async tools. Multiple request-start messages are variants. One eligible variant is selected each time the tool starts. If this message is not provided, one of the default filler messages "Hold on a sec", "One moment", "Just a sec", "Give me a moment" or "This'll just take a sec" will be used.
  - Allowed values: `request-start`
- `contents` (list of ToolMessageStartContentsItems, optional) — This is an alternative to the `content` property. It allows to specify variants of the same content, one per language. Usage: - If your assistants are multilingual, you can provide content for each language. - If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment. This will override the `content` property.
- `blocking` (boolean, optional, default: false) — This is an optional boolean that if true, the tool call will only trigger after the message is spoken. Default is false. @default false
- `content` (string, optional) — This is the content that the assistant says when this message is triggered.
- `conditions` (list of Condition, optional) — This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.

### ToolMessageComplete

- `type` (enum, required) — This message is triggered when the tool call is complete. This message is triggered immediately without waiting for your server to respond for async tool calls. If this message is not provided, the model will be requested to respond. If this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.
  - Allowed values: `request-complete`
- `contents` (list of ToolMessageCompleteContentsItems, optional) — This is an alternative to the `content` property. It allows to specify variants of the same content, one per language. Usage: - If your assistants are multilingual, you can provide content for each language. - If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment. This will override the `content` property.
- `role` (enum, optional) — This is optional and defaults to "assistant". When role=assistant, `content` is said out loud. When role=system, `content` is passed to the model in a system message. Example: system: default one assistant: user: assistant: user: assistant: user: assistant: tool called tool: your server response \<--- system prompt as hint \---> model generates response which is spoken This is useful when you want to provide a hint to the model about what to say next.
  - Allowed values: `assistant`, `system`
- `endCallAfterSpokenEnabled` (boolean, optional) — This is an optional boolean that if true, the call will end after the message is spoken. Default is false. This is ignored if `role` is set to `system`. @default false
- `content` (string, optional) — This is the content that the assistant says when this message is triggered.
- `conditions` (list of Condition, optional) — This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.

### ToolMessageFailed

- `type` (enum, required) — This message is triggered when the tool call fails. This message is never triggered for async tool calls. If this message is not provided, the model will be requested to respond. If this message is provided, only this message will be spoken and the model will not be requested to come up with a response. It's an exclusive OR.
  - Allowed values: `request-failed`
- `contents` (list of ToolMessageFailedContentsItems, optional) — This is an alternative to the `content` property. It allows to specify variants of the same content, one per language. Usage: - If your assistants are multilingual, you can provide content for each language. - If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment. This will override the `content` property.
- `role` (enum, optional) — This is optional and defaults to "assistant". When role=assistant, `content` is said out loud when the tool call fails. When role=system, `content` is passed to the model as a system message along with the failure result, and the model's generated response is spoken. Example: assistant: tool called tool: error from your server \<--- system prompt as hint \---> model generates response which is spoken This is useful when you want the model to generate an error-aware response instead of speaking a fixed failure message.
  - Allowed values: `assistant`, `system`
- `endCallAfterSpokenEnabled` (boolean, optional) — This is an optional boolean that if true, the call will end after the message is spoken. Default is false. This is ignored if `role` is set to `system`. @default false
- `content` (string, optional) — This is the content that the assistant says when this message is triggered.
- `conditions` (list of Condition, optional) — This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.

### ToolMessageDelayed

- `type` (enum, required) — This message is triggered when the tool call is delayed. Same timing means variants; different timings mean staged updates.
  - Allowed values: `request-response-delayed`
- `contents` (list of ToolMessageDelayedContentsItems, optional) — This is an alternative to the `content` property. It allows to specify variants of the same content, one per language. Usage: - If your assistants are multilingual, you can provide content for each language. - If you don't provide content for a language, the first item in the array will be automatically translated to the active language at that moment. This will override the `content` property.
- `timingMilliseconds` (double, optional) — The number of milliseconds to wait for the server response before saying this delayed message.
- `content` (string, optional) — This is the content that the assistant says when this message is triggered.
- `conditions` (list of Condition, optional) — This is an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.

### CreateByoPhoneNumberDtoFallbackDestination

This is the fallback destination an inbound call will be transferred to if: 1. `assistantId` is not set 2. `squadId` is not set 3. and, `assistant-request` message to the `serverUrl` fails If this is not set and above conditions are met, the inbound call is hung up with an error message.

- NumberTransferDestination: TransferDestinationNumber
- SipTransferDestination: TransferDestinationSip

### CreateByoPhoneNumberDtoHooksItems

- PhoneNumberHookCallRinging: PhoneNumberHookCallRinging
- PhoneNumberHookCallEnding: PhoneNumberHookCallEnding

### CreateTwilioPhoneNumberDtoFallbackDestination

This is the fallback destination an inbound call will be transferred to if: 1. `assistantId` is not set 2. `squadId` is not set 3. and, `assistant-request` message to the `serverUrl` fails If this is not set and above conditions are met, the inbound call is hung up with an error message.

- NumberTransferDestination: TransferDestinationNumber
- SipTransferDestination: TransferDestinationSip

### CreateTwilioPhoneNumberDtoHooksItems

- PhoneNumberHookCallRinging: PhoneNumberHookCallRinging
- PhoneNumberHookCallEnding: PhoneNumberHookCallEnding

### CreateVonagePhoneNumberDtoFallbackDestination

This is the fallback destination an inbound call will be transferred to if: 1. `assistantId` is not set 2. `squadId` is not set 3. and, `assistant-request` message to the `serverUrl` fails If this is not set and above conditions are met, the inbound call is hung up with an error message.

- NumberTransferDestination: TransferDestinationNumber
- SipTransferDestination: TransferDestinationSip

### CreateVonagePhoneNumberDtoHooksItems

- PhoneNumberHookCallRinging: PhoneNumberHookCallRinging
- PhoneNumberHookCallEnding: PhoneNumberHookCallEnding

### CreateVapiPhoneNumberDtoFallbackDestination

This is the fallback destination an inbound call will be transferred to if: 1. `assistantId` is not set 2. `squadId` is not set 3. and, `assistant-request` message to the `serverUrl` fails If this is not set and above conditions are met, the inbound call is hung up with an error message.

- NumberTransferDestination: TransferDestinationNumber
- SipTransferDestination: TransferDestinationSip

### CreateVapiPhoneNumberDtoHooksItems

- PhoneNumberHookCallRinging: PhoneNumberHookCallRinging
- PhoneNumberHookCallEnding: PhoneNumberHookCallEnding

### SipAuthentication

- `username` (string, required) — This will be expected in the `username` field of the `authorization` header of the SIP INVITE.
- `password` (string, required) — This will be expected to generate the `response` field of the `authorization` header of the SIP INVITE, through digest authentication.
- `realm` (string, optional) — This will be expected in the `realm` field of the `authorization` header of the SIP INVITE. Defaults to the SIP realm of the Vapi region serving the request (e.g. `sip.vapi.ai` for US, `sip.eu.vapi.ai` for EU).

### CreateTelnyxPhoneNumberDtoFallbackDestination

This is the fallback destination an inbound call will be transferred to if: 1. `assistantId` is not set 2. `squadId` is not set 3. and, `assistant-request` message to the `serverUrl` fails If this is not set and above conditions are met, the inbound call is hung up with an error message.

- NumberTransferDestination: TransferDestinationNumber
- SipTransferDestination: TransferDestinationSip

### CreateTelnyxPhoneNumberDtoHooksItems

- PhoneNumberHookCallRinging: PhoneNumberHookCallRinging
- PhoneNumberHookCallEnding: PhoneNumberHookCallEnding

### SkippedStructuredOutputUnmetCondition

This is the first condition that was not met. Conditions use AND semantics, so evaluation stops as soon as one condition does not pass.

- MinMessagesCondition: MinMessagesCondition
- MinCallDurationCondition: MinCallDurationCondition
- EndedReasonCondition: EndedReasonCondition

### TransferArtifactDestination

The transfer destination (phone number or SIP URI).

- Number: TransferDestinationNumber
- Sip: TransferDestinationSip

### TransferArtifactMessagesItems

- UserMessage: UserMessage
- SystemMessage: SystemMessage
- BotMessage: BotMessage
- ToolCallMessage: ToolCallMessage
- ToolCallResultMessage: ToolCallResultMessage

### Mono

- `combinedUrl` (string, optional) — This is the combined recording url for the call. To enable, set `assistant.artifactPlan.recordingEnabled`.
- `assistantUrl` (string, optional) — This is the mono recording url for the assistant. To enable, set `assistant.artifactPlan.recordingEnabled`.
- `customerUrl` (string, optional) — This is the mono recording url for the customer. To enable, set `assistant.artifactPlan.recordingEnabled`.

### NodeArtifactMessagesItems

- UserMessage: UserMessage
- SystemMessage: SystemMessage
- BotMessage: BotMessage
- ToolCallMessage: ToolCallMessage
- ToolCallResultMessage: ToolCallResultMessage

### NodeArtifactVariableValues

These are the variable values that were extracted from the node.

### TurnLatency

- `unmeasured` (enum, optional) — These are the latency components that were not measured on this turn. A listed component's latency field is not a real measurement: it usually reads 0, which here means "not measured", not 0ms, but a `transcriber` value measured from a speech start keeps its nonzero value. Drop listed components when aggregating. Omitted when every component was measured. - `transcriber`: no VAD speech marker for the turn, the sample was dropped as stale, the VAD missed this utterance (its newest marker was already used by an earlier turn), the transcript's time predates this utterance, or the VAD had still not flagged the end of speech when the reply started, including when the user kept talking after a tentative stop (the value is then measured from a speech start, or from the stop the user talked through). - `endpointing`: no user transcript was committed this turn (for example the first message, or a tool-result turn), or the transcript's time predates this utterance (carried over from an earlier one). - `model`: the model sent no output token this turn (for example a static message). - `voice`: no voice timing from model output this turn.
  - Allowed values: `transcriber`, `endpointing`, `model`, `voice`
- `modelLatency` (double, optional) — This is the time in milliseconds from the start of the turn's model stage to the model's first output token. It includes knowledge-base retrieval and request routing before the provider request. 0 when it was not measured on this turn.
- `voiceLatency` (double, optional) — This is the time in milliseconds from the model's first output token to the first reply audio reaching Vapi's turn-taking buffer. It includes the wait to collect enough text for the first voice request (set by `voice.chunkPlan`), the voice provider's time to first audio, and any sample-rate conversion. 0 when it was not measured on this turn.
- `transcriberLatency` (double, optional) — This is the time in milliseconds from the user's last voice activity signal, normally the end of speech, to the transcriber returning the words of that speech. 0 both when it was not measured (listed in `unmeasured`) and when the words arrived before that signal.
- `endpointingLatency` (double, optional) — This is the time in milliseconds from the transcriber returning the words to Vapi deciding the turn is over and sending it to the model. 0 when the reply was not triggered by sending a user transcript to the model.
- `turnLatency` (double, optional) — This is the time in milliseconds from the user's last voice activity signal to Vapi starting to send the assistant's reply audio. It is computed as `transcriberLatency` + `endpointingLatency` + the time from that decision to the reply starting, so it is not a real measurement either when `unmeasured` lists `transcriber`: the total then leaves that interval out (0) or counts it from a speech start. `modelLatency` and `voiceLatency` fall inside the last part, so the fields do not add up to this value.

### AssemblyAITranscriber

- `provider` (enum, required) — This is the transcription provider that will be used.
  - Allowed values: `assembly-ai`
- `language` (enum, optional) — This is the language that will be set for the transcription.
  - Allowed values: `multi`, `en`
- `confidenceThreshold` (double, optional) — Transcripts below this confidence threshold will be discarded. Defaults to 0.4 for legacy streaming models. Universal Pro models do not filter by confidence unless this field is explicitly set.
- `formatTurns` (boolean, optional) — This enables formatting of transcripts. @default true
- `endOfTurnConfidenceThreshold` (double, optional) — This is the end of turn confidence threshold. The minimum confidence that the end of turn is detected. Note: Only used if startSpeakingPlan.smartEndpointingPlan is not set. @min 0 @max 1 @default 0.7
- `minEndOfTurnSilenceWhenConfident` (double, optional) — This is the minimum end of turn silence when confident in milliseconds. Note: Only used if startSpeakingPlan.smartEndpointingPlan is not set. @default 160
- `maxTurnSilence` (double, optional) — This is the maximum turn silence time in milliseconds. Note: Only used if startSpeakingPlan.smartEndpointingPlan is not set. @default 400
- `vadAssistedEndpointingEnabled` (boolean, optional) — Use VAD to assist with endpointing decisions from the transcriber. When enabled, transcriber endpointing will be buffered if VAD detects the user is still speaking, preventing premature turn-taking. When disabled, transcriber endpointing will be used immediately regardless of VAD state, allowing for quicker but more aggressive turn-taking. Note: Only used if startSpeakingPlan.smartEndpointingPlan is not set. @default true
- `mode` (enum, optional) — This is the transcription mode used by the Universal Pro speech models. Only applies to `universal-3-5-pro` and `universal-3-6-pro`. @default 'balanced'
  - Allowed values: `max_accuracy`, `min_latency`, `balanced`
- `prompt` (string, optional) — This is a prompt that provides additional context to the transcription model. Only applies to `universal-3-5-pro` and `universal-3-6-pro`.
- `agentContext` (string, optional) — This is context about the voice agent that guides the transcription model. Only applies to `universal-3-5-pro` and `universal-3-6-pro`.
- `agentContextAutoUpdateEnabled` (boolean, optional, default: false) — When true, the text the assistant just spoke is sent to AssemblyAI as `agent_context` after every assistant turn, replacing the previous value, so the user's reply is transcribed in the context of the question it answers. `agentContext` still seeds the first turn. Text longer than 1750 characters keeps its last 1750 characters. Turns the user interrupted are not sent when the interruption is detected by voice activity (the default, `stopSpeakingPlan.numWords: 0`). Only applies to `universal-3-5-pro` and `universal-3-6-pro`. @default false
- `languageCodes` (list of enum, optional) — These are language codes used to steer automatic language detection. Only applies to `universal-3-5-pro` and `universal-3-6-pro`. `ur`, `ru`, `ko`, `ca`, `gl`, `ro`, `et`, `fa`, `yue`, `af`, `mr`, `zu`, `xh` and `nn` were added with `universal-3-6-pro`.
  - Allowed values: `en`, `es`, `fr`, `de`, `it`, `pt`, `tr`, `nl`, `sv`, `no`, `da`, `fi`, `hi`, `vi`, `ar`, `he`, `ja`, `zh`, `ur`, `ru`, `ko`, `ca`, `gl`, `ro`, `et`, `fa`, `yue`, `af`, `mr`, `zu`, `xh`, `nn`
- `speechModel` (enum, optional) — This is the speech model used for the streaming session. Keyterms prompting is supported on universal-streaming-english, universal-3-5-pro and universal-3-6-pro. universal-3-6-pro is AssemblyAI's newest and most accurate voice-agent model. @default 'universal-streaming-english'
  - Allowed values: `universal-streaming-english`, `universal-streaming-multilingual`, `universal-3-5-pro`, `universal-3-6-pro`
- `realtimeUrl` (string, optional) — The WebSocket URL that the transcriber connects to.
- `wordBoost` (list of string, optional) — Add up to 2500 characters of custom vocabulary.
- `keytermsPrompt` (list of string, optional) — Keyterms prompting improves recognition accuracy for specific words and phrases. Can include up to 100 keyterms, each up to 50 characters. Costs an additional $0.04/hour on universal-streaming-english and is included at no extra cost on the Universal Pro models (universal-3-5-pro, universal-3-6-pro).
- `endUtteranceSilenceThreshold` (double, optional) — The duration of the end utterance silence threshold in milliseconds.
- `disablePartialTranscripts` (boolean, optional) — Disable partial transcripts. Set to `true` to not receive partial transcripts. Defaults to `false`.
- `fallbackPlan` (FallbackTranscriberPlan, optional) — This is the plan for transcriber provider fallbacks in the event that the primary transcriber provider fails.
- `wordFinalizationMaxWaitTime` (double, optional, deprecated)

### AzureSpeechTranscriber

- `provider` (enum, required) — This is the transcription provider that will be used.
  - Allowed values: `azure`
- `language` (enum, optional) — This is the language that will be set for the transcription. The list of languages Azure supports can be found here: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt
  - Allowed values: `af-ZA`, `am-ET`, `ar-AE`, `ar-BH`, `ar-DZ`, `ar-EG`, `ar-IL`, `ar-IQ`, `ar-JO`, `ar-KW`, `ar-LB`, `ar-LY`, `ar-MA`, `ar-OM`, `ar-PS`, `ar-QA`, `ar-SA`, `ar-SY`, `ar-TN`, `ar-YE`, `az-AZ`, `bg-BG`, `bn-IN`, `bs-BA`, `ca-ES`, `cs-CZ`, `cy-GB`, `da-DK`, `de-AT`, `de-CH`, `de-DE`, `el-GR`, `en-AU`, `en-CA`, `en-GB`, `en-GH`, `en-HK`, `en-IE`, `en-IN`, `en-KE`, `en-NG`, `en-NZ`, `en-PH`, `en-SG`, `en-TZ`, `en-US`, `en-ZA`, `es-AR`, `es-BO`, `es-CL`, `es-CO`, `es-CR`, `es-CU`, `es-DO`, `es-EC`, `es-ES`, `es-GQ`, `es-GT`, `es-HN`, `es-MX`, `es-NI`, `es-PA`, `es-PE`, `es-PR`, `es-PY`, `es-SV`, `es-US`, `es-UY`, `es-VE`, `et-EE`, `eu-ES`, `fa-IR`, `fi-FI`, `fil-PH`, `fr-BE`, `fr-CA`, `fr-CH`, `fr-FR`, `ga-IE`, `gl-ES`, `gu-IN`, `he-IL`, `hi-IN`, `hr-HR`, `hu-HU`, `hy-AM`, `id-ID`, `is-IS`, `it-CH`, `it-IT`, `ja-JP`, `jv-ID`, `ka-GE`, `kk-KZ`, `km-KH`, `kn-IN`, `ko-KR`, `lo-LA`, `lt-LT`, `lv-LV`, `mk-MK`, `ml-IN`, `mn-MN`, `mr-IN`, `ms-MY`, `mt-MT`, `my-MM`, `nb-NO`, `ne-NP`, `nl-BE`, `nl-NL`, `pa-IN`, `pl-PL`, `ps-AF`, `pt-BR`, `pt-PT`, `ro-RO`, `ru-RU`, `si-LK`, `sk-SK`, `sl-SI`, `so-SO`, `sq-AL`, `sr-RS`, `sv-SE`, `sw-KE`, `sw-TZ`, `ta-IN`, `te-IN`, `th-TH`, `tr-TR`, `uk-UA`, `ur-IN`, `uz-UZ`, `vi-VN`, `wuu-CN`, `yue-CN`, `zh-CN`, `zh-CN-shandong`, `zh-CN-sichuan`, `zh-HK`, `zh-TW`, `zu-ZA`
- `segmentationStrategy` (enum, optional) — Controls how phrase boundaries are detected, enabling either simple time/silence heuristics or more advanced semantic segmentation.
  - Allowed values: `Default`, `Time`, `Semantic`
- `segmentationSilenceTimeoutMs` (double, optional) — Duration of detected silence after which the service finalizes a phrase. Configure to adjust sensitivity to pauses in speech.
- `segmentationMaximumTimeMs` (double, optional) — Maximum duration a segment can reach before being cut off when using time-based segmentation.
- `fallbackPlan` (FallbackTranscriberPlan, optional) — This is the plan for transcriber provider fallbacks in the event that the primary transcriber provider fails.

### CustomTranscriber

- `provider` (enum, required) — This is the transcription provider that will be used. Use `custom-transcriber` for providers that are not natively supported.
  - Allowed values: `custom-transcriber`
- `server` (Server, required) — This is where the transcription request will be sent. Usage: 1. Vapi will initiate a websocket connection with `server.url`. 2. Vapi will send an initial text frame with the sample rate. Format: ``` { "type": "start", "encoding": "linear16", // 16-bit raw PCM format "container": "raw", "sampleRate": {{sampleRate}}, "channels": 2 // customer is channel 0, assistant is channel 1 } ``` 3. Vapi will send the audio data in 16-bit raw PCM format as binary frames. 4. You can read the messages something like this: ``` ws.on('message', (data, isBinary) => { if (isBinary) { pcmBuffer = Buffer.concat([pcmBuffer, data]); console.log(`Received PCM data, buffer size: ${pcmBuffer.length}`); } else { console.log('Received message:', JSON.parse(data.toString())); } }); ``` 5. You will respond with transcriptions as you have them. Format: ``` { "type": "transcriber-response", "transcription": "Hello, world!", "channel": "customer" | "assistant" } ```
- `fallbackPlan` (FallbackTranscriberPlan, optional) — This is the plan for transcriber provider fallbacks in the event that the primary transcriber provider fails.

### DeepgramTranscriber

- `provider` (enum, required) — This is the transcription provider that will be used.
  - Allowed values: `deepgram`
- `model` (enum, optional) — This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview
  - Allowed values: `nova-2`, `nova-2-general`, `nova-2-meeting`, `nova-2-phonecall`, `nova-2-finance`, `nova-2-conversationalai`, `nova-2-voicemail`, `nova-2-video`, `nova-2-medical`, `nova-2-drivethru`, `nova-2-automotive`, `nova`, `nova-general`, `nova-phonecall`, `nova-medical`, `enhanced`, `enhanced-general`, `enhanced-meeting`, `enhanced-phonecall`, `enhanced-finance`, `base`, `base-general`, `base-meeting`, `base-phonecall`, `base-finance`, `base-conversationalai`, `base-voicemail`, `base-video`
- `language` (enum, optional) — This is the language that will be set for the transcription. The list of languages Deepgram supports can be found here: https://developers.deepgram.com/docs/models-languages-overview
  - Allowed values: `bg`, `ca`, `cs`, `da`, `da-DK`, `de`, `de-CH`, `el`, `en`, `en-AU`, `en-GB`, `en-IN`, `en-NZ`, `en-US`, `es`, `es-419`, `es-LATAM`, `et`, `fi`, `fr`, `fr-CA`, `hi`, `hi-Latn`, `hu`, `id`, `it`, `ja`, `ko`, `ko-KR`, `lt`, `lv`, `ms`, `multi`, `nl`, `nl-BE`, `no`, `pl`, `pt`, `pt-BR`, `ro`, `ru`, `sk`, `sv`, `sv-SE`, `ta`, `taq`, `th`, `th-TH`, `tr`, `uk`, `vi`, `zh`, `zh-CN`, `zh-Hans`, `zh-Hant`, `zh-TW`
- `smartFormat` (boolean, optional) — This will be use smart format option provided by Deepgram. It's default disabled because it can sometimes format numbers as times but it's getting better.
- `mipOptOut` (boolean, optional, default: false) — If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out This only applies to your own Deepgram API key. Requests on Vapi's key always opt out, whatever this is set to. @default false
- `numerals` (boolean, optional) — If set to true, this will cause deepgram to convert spoken numbers to literal numerals. For example, "my phone number is nine-seven-two..." would become "my phone number is 972..." @default false
- `profanityFilter` (boolean, optional) — If set to true, Deepgram will replace profanity in transcripts with surrounding asterisks, e.g. "f***". @default false
- `redaction` (enum, optional) — Enables redaction of sensitive information from transcripts. Options include: - "pci": Redacts credit card numbers, expiration dates, and CVV. - "pii": Redacts personally identifiable information (names, locations, identifying numbers, etc.). - "phi": Redacts protected health information (medical conditions, drugs, injuries, etc.). - "numbers": Redacts numerical and identifying entities (dates, account numbers, SSNs, etc.). Multiple values can be provided to redact different categories simultaneously. Redacted content is replaced with entity labels like [CREDIT_CARD_1], [SSN_1], etc. See https://developers.deepgram.com/docs/redaction for details.
  - Allowed values: `pci`, `pii`, `phi`, `numbers`
- `confidenceThreshold` (double, optional) — Transcripts below this confidence threshold will be discarded. @default 0.4
- `feedbackFilterEnabled` (boolean, optional, default: true) — Controls whether Vapi filters user transcripts that repeat text from the assistant's recent transcript. Disable this only when legitimate caller responses are being mistaken for assistant audio feedback. @default true
- `eotThreshold` (double, optional) — End-of-turn confidence required to finish a turn. Only used with Flux models. @default 0.7
- `eotTimeoutMs` (double, optional) — A turn will be finished when this much time has passed after speech, regardless of EOT confidence. Only used with Flux models. @default 5000
- `languages` (list of string, optional) — Language hints to bias Flux Multilingual (`flux-general-multi`) toward specific languages. Provide BCP-47 language codes (e.g. "en", "es", "fr"). Multiple hints can be given for multilingual or code-switching scenarios. Omit for auto-detection. Only used with `flux-general-multi`.
- `keywords` (list of string, optional) — These keywords are passed to the transcription model to help it pick up use-case specific words. Anything that may not be a common word, like your company name, should be added here.
- `keyterm` (list of string, optional) — Keyterm Prompting allows you improve Keyword Recall Rate (KRR) for important keyterms or phrases up to 90%.
- `endpointing` (double, optional) — This is the timeout after which Deepgram will send transcription on user silence. You can read in-depth documentation here: https://developers.deepgram.com/docs/endpointing. Here are the most important bits: - Defaults to 10. This is recommended for most use cases to optimize for latency. - 10 can cause some missing transcriptions since because of the shorter context. This mostly happens for one-word utterances. For those uses cases, it's recommended to try 300. It will add a bit of latency but the quality and reliability of the experience will be better. - If neither 10 nor 300 work, contact support@vapi.ai and we'll find another solution. @default 10
- `fallbackPlan` (FallbackTranscriberPlan, optional) — This is the plan for transcriber provider fallbacks in the event that the primary transcriber provider fails.

### ElevenLabsTranscriber

- `provider` (enum, required) — This is the transcription provider that will be used.
  - Allowed values: `11labs`
- `model` (ElevenLabsTranscriberModel, optional) — This is the model that will be used for the transcription.
- `language` (enum, optional) — This is the language that will be used for the transcription.
  - Allowed values: `aa`, `ab`, `ae`, `af`, `ak`, `am`, `an`, `ar`, `as`, `av`, `ay`, `az`, `ba`, `be`, `bg`, `bh`, `bi`, `bm`, `bn`, `bo`, `br`, `bs`, `ca`, `ce`, `ch`, `co`, `cr`, `cs`, `cu`, `cv`, `cy`, `da`, `de`, `dv`, `dz`, `ee`, `el`, `en`, `eo`, `es`, `et`, `eu`, `fa`, `ff`, `fi`, `fj`, `fo`, `fr`, `fy`, `ga`, `gd`, `gl`, `gn`, `gu`, `gv`, `ha`, `he`, `hi`, `ho`, `hr`, `ht`, `hu`, `hy`, `hz`, `ia`, `id`, `ie`, `ig`, `ii`, `ik`, `io`, `is`, `it`, `iu`, `ja`, `jv`, `ka`, `kg`, `ki`, `kj`, `kk`, `kl`, `km`, `kn`, `ko`, `kr`, `ks`, `ku`, `kv`, `kw`, `ky`, `la`, `lb`, `lg`, `li`, `ln`, `lo`, `lt`, `lu`, `lv`, `mg`, `mh`, `mi`, `mk`, `ml`, `mn`, `mr`, `ms`, `mt`, `my`, `na`, `nb`, `nd`, `ne`, `ng`, `nl`, `nn`, `no`, `nr`, `nv`, `ny`, `oc`, `oj`, `om`, `or`, `os`, `pa`, `pi`, `pl`, `ps`, `pt`, `qu`, `rm`, `rn`, `ro`, `ru`, `rw`, `sa`, `sc`, `sd`, `se`, `sg`, `si`, `sk`, `sl`, `sm`, `sn`, `so`, `sq`, `sr`, `ss`, `st`, `su`, `sv`, `sw`, `ta`, `te`, `tg`, `th`, `ti`, `tk`, `tl`, `tn`, `to`, `tr`, `ts`, `tt`, `tw`, `ty`, `ug`, `uk`, `ur`, `uz`, `ve`, `vi`, `vo`, `wa`, `wo`, `xh`, `yi`, `yue`, `yo`, `za`, `zh`, `zu`
- `keyterms` (list of string, optional) — Words or phrases to bias the transcription towards, such as product names. Supported on scribe\_v2 (up to 100 terms of 50 characters each) and scribe\_v2\_realtime (up to 50 terms of 20 characters each). Each term has at most 5 words and none of `< > { } [ ] \`. Adds ElevenLabs' keyterm prompting rate to the transcriber cost.
- `silenceThresholdSeconds` (double, optional) — This is the number of seconds of silence before VAD commits (0.3-3.0).
- `confidenceThreshold` (double, optional) — This is the VAD sensitivity (0.1-0.9, lower indicates more sensitive).
- `minSpeechDurationMs` (double, optional) — This is the minimum speech duration for VAD (50-2000ms).
- `minSilenceDurationMs` (double, optional) — This is the minimum silence duration for VAD (50-2000ms).
- `fallbackPlan` (FallbackTranscriberPlan, optional) — This is the plan for transcriber provider fallbacks in the event that the primary transcriber provider fails.

### GladiaTranscriber

- `provider` (enum, required) — This is the transcription provider that will be used.
  - Allowed values: `gladia`
- `model` (GladiaTranscriberModel, optional) — This is the Gladia model that will be used. Default is 'fast'
- `languageBehaviour` (GladiaTranscriberLanguageBehaviour, optional) — Defines how the transcription model detects the audio language. Default value is 'automatic single language'.
- `language` (enum, optional) — Defines the language to use for the transcription. Required when languageBehaviour is 'manual'.
  - Allowed values: `af`, `sq`, `am`, `ar`, `hy`, `as`, `az`, `ba`, `eu`, `be`, `bn`, `bs`, `br`, `bg`, `ca`, `zh`, `hr`, `cs`, `da`, `nl`, `en`, `et`, `fo`, `fi`, `fr`, `gl`, `ka`, `de`, `el`, `gu`, `ht`, `ha`, `haw`, `he`, `hi`, `hu`, `is`, `id`, `it`, `ja`, `jv`, `kn`, `kk`, `km`, `ko`, `lo`, `la`, `lv`, `ln`, `lt`, `lb`, `mk`, `mg`, `ms`, `ml`, `mt`, `mi`, `mr`, `mn`, `my`, `ne`, `no`, `nn`, `oc`, `ps`, `fa`, `pl`, `pt`, `pa`, `ro`, `ru`, `sa`, `sr`, `sn`, `sd`, `si`, `sk`, `sl`, `so`, `es`, `su`, `sw`, `sv`, `tl`, `tg`, `ta`, `tt`, `te`, `th`, `bo`, `tr`, `tk`, `uk`, `ur`, `uz`, `vi`, `cy`, `yi`, `yo`
- `languages` (list of enum, optional) — Defines the languages to use for the transcription. Required when languageBehaviour is 'manual'.
  - Allowed values: `af`, `sq`, `am`, `ar`, `hy`, `as`, `az`, `ba`, `eu`, `be`, `bn`, `bs`, `br`, `bg`, `ca`, `zh`, `hr`, `cs`, `da`, `nl`, `en`, `et`, `fo`, `fi`, `fr`, `gl`, `ka`, `de`, `el`, `gu`, `ht`, `ha`, `haw`, `he`, `hi`, `hu`, `is`, `id`, `it`, `ja`, `jv`, `kn`, `kk`, `km`, `ko`, `lo`, `la`, `lv`, `ln`, `lt`, `lb`, `mk`, `mg`, `ms`, `ml`, `mt`, `mi`, `mr`, `mn`, `my`, `ne`, `no`, `nn`, `oc`, `ps`, `fa`, `pl`, `pt`, `pa`, `ro`, `ru`, `sa`, `sr`, `sn`, `sd`, `si`, `sk`, `sl`, `so`, `es`, `su`, `sw`, `sv`, `tl`, `tg`, `ta`, `tt`, `te`, `th`, `bo`, `tr`, `tk`, `uk`, `ur`, `uz`, `vi`, `cy`, `yi`, `yo`
- `transcriptionHint` (string, optional) — Provides a custom vocabulary to the model to improve accuracy of transcribing context specific words, technical terms, names, etc. If empty, this argument is ignored. ⚠️ Warning ⚠️: Please be aware that the transcription_hint field has a character limit of 600. If you provide a transcription_hint longer than 600 characters, it will be automatically truncated to meet this limit.
- `prosody` (boolean, optional) — If prosody is true, you will get a transcription that can contain prosodies i.e. (laugh) (giggles) (malefic laugh) (toss) (music)… Default value is false.
- `audioEnhancer` (boolean, optional) — If true, audio will be pre-processed to improve accuracy but latency will increase. Default value is false.
- `confidenceThreshold` (double, optional) — Transcripts below this confidence threshold will be discarded. @default 0.4
- `endpointing` (double, optional) — Endpointing time in seconds - time to wait before considering speech ended
- `speechThreshold` (double, optional) — Speech threshold - sensitivity configuration for speech detection (0.0 to 1.0)
- `customVocabularyEnabled` (boolean, optional) — Enable custom vocabulary for improved accuracy
- `customVocabularyConfig` (GladiaCustomVocabularyConfigDTO, optional) — Custom vocabulary configuration
- `region` (enum, optional) — Region for processing audio (us-west or eu-west)
  - Allowed values: `us-west`, `eu-west`
- `receivePartialTranscripts` (boolean, optional) — Enable partial transcripts for low-latency streaming transcription
- `fallbackPlan` (FallbackTranscriberPlan, optional) — This is the plan for transcriber provider fallbacks in the event that the primary transcriber provider fails.

### GoogleTranscriber

- `provider` (enum, required) — This is the transcription provider that will be used.
  - Allowed values: `google`
- `model` (enum, optional) — This is the model that will be used for the transcription.
  - Allowed values: `gemini-3.8-flash`, `gemini-3.5-flash`, `gemini-3.1-flash-lite`, `gemini-3-flash-preview`, `gemini-2.5-pro`, `gemini-2.5-flash`, `gemini-2.5-flash-lite`, `gemini-2.0-flash-thinking-exp`, `gemini-2.0-pro-exp-02-05`, `gemini-2.0-flash`, `gemini-2.0-flash-lite`, `gemini-2.0-flash-exp`, `gemini-2.0-flash-realtime-exp`, `gemini-1.5-flash`, `gemini-1.5-flash-002`, `gemini-1.5-pro`, `gemini-1.5-pro-002`, `gemini-1.0-pro`
- `language` (enum, optional) — This is the language that will be set for the transcription.
  - Allowed values: `Multilingual`, `Arabic`, `Bengali`, `Bulgarian`, `Chinese`, `Croatian`, `Czech`, `Danish`, `Dutch`, `English`, `Estonian`, `Finnish`, `French`, `German`, `Greek`, `Hebrew`, `Hindi`, `Hungarian`, `Indonesian`, `Italian`, `Japanese`, `Korean`, `Latvian`, `Lithuanian`, `Norwegian`, `Polish`, `Portuguese`, `Romanian`, `Russian`, `Serbian`, `Slovak`, `Slovenian`, `Spanish`, `Swahili`, `Swedish`, `Thai`, `Turkish`, `Ukrainian`, `Vietnamese`
- `fallbackPlan` (FallbackTranscriberPlan, optional) — This is the plan for transcriber provider fallbacks in the event that the primary transcriber provider fails.

### SpeechmaticsTranscriber

- `provider` (enum, required) — This is the transcription provider that will be used.
  - Allowed values: `speechmatics`
- `customVocabulary` (list of SpeechmaticsCustomVocabularyItem, required)
- `model` (enum, optional) — This is the model that will be used for the transcription.
  - Allowed values: `default`
- `language` (enum, optional)
  - Allowed values: `auto`, `ar`, `ar_en`, `ba`, `eu`, `be`, `bn`, `bg`, `yue`, `ca`, `hr`, `cs`, `da`, `nl`, `en`, `eo`, `et`, `fi`, `fr`, `gl`, `de`, `el`, `he`, `hi`, `hu`, `id`, `ia`, `ga`, `it`, `ja`, `ko`, `lv`, `lt`, `ms`, `en_ms`, `mt`, `cmn`, `cmn_en`, `mr`, `mn`, `no`, `fa`, `pl`, `pt`, `ro`, `ru`, `sk`, `sl`, `es`, `en_es`, `sw`, `sv`, `tl`, `ta`, `en_ta`, `th`, `tr`, `uk`, `ur`, `ug`, `vi`, `cy`
- `operatingPoint` (enum, optional, default: enhanced) — This is the operating point for the transcription. Choose between `standard` for faster turnaround with strong accuracy or `enhanced` for highest accuracy when precision is critical. @default 'enhanced'
  - Allowed values: `standard`, `enhanced`
- `region` (enum, optional, default: eu) — This is the region for the Speechmatics API. Choose between EU (Europe) and US (United States) regions for lower latency and data sovereignty compliance. @default 'eu'
  - Allowed values: `eu`, `us`
- `enableDiarization` (boolean, optional, default: false) — This enables speaker diarization, which identifies and separates speakers in the transcription. Essential for multi-speaker conversations and conference calls. @default false
- `maxDelay` (double, optional, default: 3000) — This sets the maximum delay in milliseconds for partial transcripts. Balances latency and accuracy. @default 3000
- `numeralStyle` (enum, optional, default: written) — This controls how numbers, dates, currencies, and other entities are formatted in the transcription output. @default 'written'
  - Allowed values: `written`, `spoken`
- `endOfTurnSensitivity` (double, optional, default: 0.5) — This is the sensitivity level for end-of-turn detection, which determines when a speaker has finished talking. Higher values are more sensitive. @default 0.5
- `removeDisfluencies` (boolean, optional, default: false) — This enables removal of disfluencies (um, uh) from the transcript to create cleaner, more professional output. This is only supported for the English language transcriber. @default false
- `minimumSpeechDuration` (double, optional, default: 0) — This is the minimum duration in seconds for speech segments. Shorter segments will be filtered out. Helps remove noise and improve accuracy. @default 0.0
- `fallbackPlan` (FallbackTranscriberPlan, optional) — This is the plan for transcriber provider fallbacks in the event that the primary transcriber provider fails.

### TalkscriberTranscriber

- `provider` (enum, required) — This is the transcription provider that will be used.
  - Allowed values: `talkscriber`
- `model` (enum, optional) — This is the model that will be used for the transcription.
  - Allowed values: `whisper`
- `language` (enum, optional) — This is the language that will be set for the transcription. The list of languages Whisper supports can be found here: https://github.com/openai/whisper/blob/main/whisper/tokenizer.py
  - Allowed values: `en`, `zh`, `de`, `es`, `ru`, `ko`, `fr`, `ja`, `pt`, `tr`, `pl`, `ca`, `nl`, `ar`, `sv`, `it`, `id`, `hi`, `fi`, `vi`, `he`, `uk`, `el`, `ms`, `cs`, `ro`, `da`, `hu`, `ta`, `no`, `th`, `ur`, `hr`, `bg`, `lt`, `la`, `mi`, `ml`, `cy`, `sk`, `te`, `fa`, `lv`, `bn`, `sr`, `az`, `sl`, `kn`, `et`, `mk`, `br`, `eu`, `is`, `hy`, `ne`, `mn`, `bs`, `kk`, `sq`, `sw`, `gl`, `mr`, `pa`, `si`, `km`, `sn`, `yo`, `so`, `af`, `oc`, `ka`, `be`, `tg`, `sd`, `gu`, `am`, `yi`, `lo`, `uz`, `fo`, `ht`, `ps`, `tk`, `nn`, `mt`, `sa`, `lb`, `my`, `bo`, `tl`, `mg`, `as`, `tt`, `haw`, `ln`, `ha`, `ba`, `jw`, `su`, `yue`
- `fallbackPlan` (FallbackTranscriberPlan, optional) — This is the plan for transcriber provider fallbacks in the event that the primary transcriber provider fails.

### OpenAITranscriber

- `provider` (enum, required) — This is the transcription provider that will be used.
  - Allowed values: `openai`
- `model` (enum, required) — This is the model that will be used for the transcription. Digit formatting can differ by model: `gpt-transcribe` may write spoken digit strings as words (for example, "four seven two"), where `gpt-4o-transcribe` and `gpt-4o-mini-transcribe` may write them as digits ("472"). Do not rely on either format.
  - Allowed values: `gpt-4o-transcribe`, `gpt-4o-mini-transcribe`, `gpt-transcribe`
- `language` (enum, optional) — This is the language that will be set for the transcription.
  - Allowed values: `af`, `ar`, `hy`, `az`, `be`, `bs`, `bg`, `ca`, `zh`, `hr`, `cs`, `da`, `nl`, `en`, `et`, `fi`, `fr`, `gl`, `de`, `el`, `he`, `hi`, `hu`, `is`, `id`, `it`, `ja`, `kn`, `kk`, `ko`, `lv`, `lt`, `mk`, `ms`, `mr`, `mi`, `ne`, `no`, `fa`, `pl`, `pt`, `ro`, `ru`, `sr`, `sk`, `sl`, `es`, `sw`, `sv`, `tl`, `ta`, `th`, `tr`, `uk`, `ur`, `vi`, `cy`
- `keywords` (list of string, optional) — These are words and phrases the model should recognize, such as names, brands, and product terms. Supported only by `gpt-transcribe`. Each keyword is one line and must not contain `<` or `>`. Maximum 16,384 keywords.
- `prompt` (string, optional) — This is free-text context for the transcription, such as the topic of the call or the expected vocabulary. Maximum length: 8,192 characters for `gpt-transcribe`, and 1,024 characters for `gpt-4o-transcribe` and `gpt-4o-mini-transcribe`.
- `fallbackPlan` (FallbackTranscriberPlan, optional) — This is the plan for transcriber provider fallbacks in the event that the primary transcriber provider fails.

### CartesiaTranscriber

- `provider` (enum, required)
  - Allowed values: `cartesia`
- `model` (enum, optional)
  - Allowed values: `ink-whisper`, `ink-2`
- `language` (enum, optional)
  - Allowed values: `aa`, `ab`, `ae`, `af`, `ak`, `am`, `an`, `ar`, `as`, `av`, `ay`, `az`, `ba`, `be`, `bg`, `bh`, `bi`, `bm`, `bn`, `bo`, `br`, `bs`, `ca`, `ce`, `ch`, `co`, `cr`, `cs`, `cu`, `cv`, `cy`, `da`, `de`, `dv`, `dz`, `ee`, `el`, `en`, `eo`, `es`, `et`, `eu`, `fa`, `ff`, `fi`, `fj`, `fo`, `fr`, `fy`, `ga`, `gd`, `gl`, `gn`, `gu`, `gv`, `ha`, `he`, `hi`, `ho`, `hr`, `ht`, `hu`, `hy`, `hz`, `ia`, `id`, `ie`, `ig`, `ii`, `ik`, `io`, `is`, `it`, `iu`, `ja`, `jv`, `ka`, `kg`, `ki`, `kj`, `kk`, `kl`, `km`, `kn`, `ko`, `kr`, `ks`, `ku`, `kv`, `kw`, `ky`, `la`, `lb`, `lg`, `li`, `ln`, `lo`, `lt`, `lu`, `lv`, `mg`, `mh`, `mi`, `mk`, `ml`, `mn`, `mr`, `ms`, `mt`, `my`, `na`, `nb`, `nd`, `ne`, `ng`, `nl`, `nn`, `no`, `nr`, `nv`, `ny`, `oc`, `oj`, `om`, `or`, `os`, `pa`, `pi`, `pl`, `ps`, `pt`, `qu`, `rm`, `rn`, `ro`, `ru`, `rw`, `sa`, `sc`, `sd`, `se`, `sg`, `si`, `sk`, `sl`, `sm`, `sn`, `so`, `sq`, `sr`, `ss`, `st`, `su`, `sv`, `sw`, `ta`, `te`, `tg`, `th`, `ti`, `tk`, `tl`, `tn`, `to`, `tr`, `ts`, `tt`, `tw`, `ty`, `ug`, `uk`, `ur`, `uz`, `ve`, `vi`, `vo`, `wa`, `wo`, `xh`, `yi`, `yue`, `yo`, `za`, `zh`, `zu`
- `fallbackPlan` (FallbackTranscriberPlan, optional) — This is the plan for transcriber provider fallbacks in the event that the primary transcriber provider fails.

### SonioxTranscriber

- `provider` (enum, required)
  - Allowed values: `soniox`
- `model` (enum, optional) — The Soniox model to use for transcription.
  - Allowed values: `stt-rt-v4`, `stt-rt-v5`, `stt-rt-v6`
- `agentTextInputEnabled` (boolean, optional) — Sends the assistant's speech to Soniox as context, which improves caller transcription and filters out echo. Only supported on stt-rt-v6. Defaults to on; set to false to disable.
- `language` (enum, optional) — Single language for transcription as an ISO 639-1 code (e.g., `en`, `es`). For multi-language hints or to enable Soniox auto-detect, use `languages` instead — when `languages` is set (including to an empty array), this field is ignored when building the Soniox request. Defaults to `en` if neither this nor `languages` is set.
  - Allowed values: `aa`, `ab`, `ae`, `af`, `ak`, `am`, `an`, `ar`, `as`, `av`, `ay`, `az`, `ba`, `be`, `bg`, `bh`, `bi`, `bm`, `bn`, `bo`, `br`, `bs`, `ca`, `ce`, `ch`, `co`, `cr`, `cs`, `cu`, `cv`, `cy`, `da`, `de`, `dv`, `dz`, `ee`, `el`, `en`, `eo`, `es`, `et`, `eu`, `fa`, `ff`, `fi`, `fj`, `fo`, `fr`, `fy`, `ga`, `gd`, `gl`, `gn`, `gu`, `gv`, `ha`, `he`, `hi`, `ho`, `hr`, `ht`, `hu`, `hy`, `hz`, `ia`, `id`, `ie`, `ig`, `ii`, `ik`, `io`, `is`, `it`, `iu`, `ja`, `jv`, `ka`, `kg`, `ki`, `kj`, `kk`, `kl`, `km`, `kn`, `ko`, `kr`, `ks`, `ku`, `kv`, `kw`, `ky`, `la`, `lb`, `lg`, `li`, `ln`, `lo`, `lt`, `lu`, `lv`, `mg`, `mh`, `mi`, `mk`, `ml`, `mn`, `mr`, `ms`, `mt`, `my`, `na`, `nb`, `nd`, `ne`, `ng`, `nl`, `nn`, `no`, `nr`, `nv`, `ny`, `oc`, `oj`, `om`, `or`, `os`, `pa`, `pi`, `pl`, `ps`, `pt`, `qu`, `rm`, `rn`, `ro`, `ru`, `rw`, `sa`, `sc`, `sd`, `se`, `sg`, `si`, `sk`, `sl`, `sm`, `sn`, `so`, `sq`, `sr`, `ss`, `st`, `su`, `sv`, `sw`, `ta`, `te`, `tg`, `th`, `ti`, `tk`, `tl`, `tn`, `to`, `tr`, `ts`, `tt`, `tw`, `ty`, `ug`, `uk`, `ur`, `uz`, `ve`, `vi`, `vo`, `wa`, `wo`, `xh`, `yi`, `yue`, `yo`, `za`, `zh`, `zu`
- `languages` (list of enum, optional) — Language hints sent to Soniox as `language_hints`. Provide `[lang1, lang2, ...]` (ISO 639-1 codes) to bias recognition toward specific languages, or provide an explicit empty array `[]` to enable Soniox auto-detect across all 60+ supported languages. When set (including the empty array), this field takes precedence over the singular `language` field. When omitted, falls back to the singular `language` (which defaults to `en` if also unset). Best accuracy is achieved with a single language.
  - Allowed values: `aa`, `ab`, `ae`, `af`, `ak`, `am`, `an`, `ar`, `as`, `av`, `ay`, `az`, `ba`, `be`, `bg`, `bh`, `bi`, `bm`, `bn`, `bo`, `br`, `bs`, `ca`, `ce`, `ch`, `co`, `cr`, `cs`, `cu`, `cv`, `cy`, `da`, `de`, `dv`, `dz`, `ee`, `el`, `en`, `eo`, `es`, `et`, `eu`, `fa`, `ff`, `fi`, `fj`, `fo`, `fr`, `fy`, `ga`, `gd`, `gl`, `gn`, `gu`, `gv`, `ha`, `he`, `hi`, `ho`, `hr`, `ht`, `hu`, `hy`, `hz`, `ia`, `id`, `ie`, `ig`, `ii`, `ik`, `io`, `is`, `it`, `iu`, `ja`, `jv`, `ka`, `kg`, `ki`, `kj`, `kk`, `kl`, `km`, `kn`, `ko`, `kr`, `ks`, `ku`, `kv`, `kw`, `ky`, `la`, `lb`, `lg`, `li`, `ln`, `lo`, `lt`, `lu`, `lv`, `mg`, `mh`, `mi`, `mk`, `ml`, `mn`, `mr`, `ms`, `mt`, `my`, `na`, `nb`, `nd`, `ne`, `ng`, `nl`, `nn`, `no`, `nr`, `nv`, `ny`, `oc`, `oj`, `om`, `or`, `os`, `pa`, `pi`, `pl`, `ps`, `pt`, `qu`, `rm`, `rn`, `ro`, `ru`, `rw`, `sa`, `sc`, `sd`, `se`, `sg`, `si`, `sk`, `sl`, `sm`, `sn`, `so`, `sq`, `sr`, `ss`, `st`, `su`, `sv`, `sw`, `ta`, `te`, `tg`, `th`, `ti`, `tk`, `tl`, `tn`, `to`, `tr`, `ts`, `tt`, `tw`, `ty`, `ug`, `uk`, `ur`, `uz`, `ve`, `vi`, `vo`, `wa`, `wo`, `xh`, `yi`, `yue`, `yo`, `za`, `zh`, `zu`
- `languageHintsStrict` (boolean, optional) — When `true`, Soniox strictly restricts transcription to the languages in `languages` (or the singular `language` if `languages` is unset). When `false`, Soniox biases toward those languages but still allows transcription in other languages. Has no effect when no language hints are sent (e.g., `languages: []` for auto-detect). Defaults to `true` (strict mode).
- `maxEndpointDelayMs` (double, optional) — Maximum delay in milliseconds between when the speaker stops and when the endpoint is detected. Lower values mean faster turn-taking but more false endpoints. Range: 500-3000. Default: 500.
- `endpointSensitivity` (double, optional) — How likely Soniox is to emit an endpoint (end the caller turn). Higher values make endpoints more likely for faster turn-taking; negative values make them less likely, which helps when callers pause mid-sentence (e.g. reading numbers group by group). Range: -1.0 to 1.0. Default: 0.3 (the platform low-latency voice profile; Soniox's own default is 0.0). Supported by stt-rt-v5 and stt-rt-v6; omitted from the Soniox request on explicit stt-rt-v4. Soniox recommends tuning endpointLatencyAdjustmentLevel first, and advises against negative sensitivity while the level is above 0 (the settings work against each other).
- `endpointLatencyAdjustmentLevel` (double, optional) — How aggressively Soniox reduces endpoint latency. 0 is Soniox's default semantic endpointing; 3 is the most aggressive. Higher levels return endpoints sooner but may split speech into more segments and slightly reduce accuracy. Integer. Range: 0-3. Default: 2 (the platform low-latency voice profile; Soniox's own default is 0). Supported by stt-rt-v5 and stt-rt-v6; omitted from the Soniox request on explicit stt-rt-v4.
- `customVocabulary` (list of string, optional) — Custom vocabulary terms to boost recognition accuracy. Useful for brand names, product names, and domain-specific terminology. Maps to Soniox context.terms.
- `contextGeneral` (list of SonioxContextGeneralItem, optional) — General context key-value pairs that guide the AI model during transcription. Helps adapt vocabulary to the correct domain, improving accuracy. Recommended: 10 or fewer pairs. Maps to Soniox context.general.
- `confidenceThreshold` (double, optional) — Transcripts below this confidence are discarded. For a discarded final, an `assistant.transcriber.endpointedSpeechLowConfidence` hook whose range covers the confidence runs (by default `[threshold - 0.2, threshold)`); if none does, the assistant does not respond to that utterance. Confidence is the mean of the per-token scores, and a transcript with an unscored token counts as 1. When unset, nothing is discarded by this setting.
- `fallbackPlan` (FallbackTranscriberPlan, optional) — This is the plan for transcriber provider fallbacks in the event that the primary transcriber provider fails.

### XaiTranscriber

- `provider` (enum, required)
  - Allowed values: `xai`
- `model` (enum, optional) — The xAI speech-to-text model to use. xAI currently exposes a single STT model — placeholder for future model selection.
  - Allowed values: `default`
- `language` (enum, optional) — Single language for transcription as an ISO 639-1 code (e.g., `en`, `es`). Defaults to `en` if not set. xAI auto-detects when omitted via the API but Vapi defaults to English for deterministic behavior.
  - Allowed values: `ar`, `cs`, `da`, `nl`, `en`, `fil`, `fr`, `de`, `hi`, `id`, `it`, `ja`, `ko`, `mk`, `ms`, `fa`, `pl`, `pt`, `ro`, `ru`, `es`, `sv`, `th`, `tr`, `vi`
- `fallbackPlan` (FallbackTranscriberPlan, optional) — This is the plan for transcriber provider fallbacks in the event that the primary transcriber provider fails.

### Reson8Transcriber

- `provider` (enum, required)
  - Allowed values: `reson8`
- `model` (enum, optional) — The Reson8 speech-to-text endpoint to use. `turns` is Reson8's turn-detection endpoint.
  - Allowed values: `turns`
- `language` (string, optional) — Language for transcription (e.g. `nl`), or a comma-separated candidate list such as `nl,en` which constrains auto-detection. When omitted, Reson8 auto-detects the language per utterance. Supported: de, en, es, fr, fy, it, nl, pl, pt, sv.
- `keyterms` (list of string, optional) — Domain-specific terms to boost recognition (brand names, product codes, jargon). Sent to Reson8 as the `phrases` parameter. Max 250 phrases.
- `customModelId` (string, optional) — A stored Reson8 phrase collection (custom model) id, managed via the Reson8 API or console.
- `eagerTurnProbability` (double, optional) — Threshold (0-1) at which Reson8 emits an eager turn-end candidate. Provider default 0.5.
- `finalTurnProbability` (double, optional) — Threshold (0-1) at which Reson8 confirms the end of a turn. Provider default 0.92.
- `fillerMode` (enum, optional) — How Reson8 renders filler words in transcripts. Provider default `natural`.
  - Allowed values: `clean`, `natural`, `verbatim`
- `fallbackPlan` (FallbackTranscriberPlan, optional) — This is the plan for transcriber provider fallbacks in the event that the primary transcriber provider fails.

### VapiTranscriber

- `provider` (enum, required)
  - Allowed values: `vapi`
- `version` (enum, optional) — This is the version of the Vapi transcriber. Vapi manages the underlying model and routing. When omitted, the latest version is used. Managed version params are additive-only and `'latest'` is an auto-update channel — see the param-evolution INVARIANT in `vapiManaged/types.ts`.
  - Allowed values: `latest`, `1`
- `language` (enum, optional) — This is the language for transcription as an ISO 639-1 code (e.g. `en`). Selecting a language locks transcription to it. For multiple languages, use `languages` instead. When neither `language` nor `languages` is set, the transcriber auto-detects the spoken language.
  - Allowed values: `aa`, `ab`, `ae`, `af`, `ak`, `am`, `an`, `ar`, `as`, `av`, `ay`, `az`, `ba`, `be`, `bg`, `bh`, `bi`, `bm`, `bn`, `bo`, `br`, `bs`, `ca`, `ce`, `ch`, `co`, `cr`, `cs`, `cu`, `cv`, `cy`, `da`, `de`, `dv`, `dz`, `ee`, `el`, `en`, `eo`, `es`, `et`, `eu`, `fa`, `ff`, `fi`, `fj`, `fo`, `fr`, `fy`, `ga`, `gd`, `gl`, `gn`, `gu`, `gv`, `ha`, `he`, `hi`, `ho`, `hr`, `ht`, `hu`, `hy`, `hz`, `ia`, `id`, `ie`, `ig`, `ii`, `ik`, `io`, `is`, `it`, `iu`, `ja`, `jv`, `ka`, `kg`, `ki`, `kj`, `kk`, `kl`, `km`, `kn`, `ko`, `kr`, `ks`, `ku`, `kv`, `kw`, `ky`, `la`, `lb`, `lg`, `li`, `ln`, `lo`, `lt`, `lu`, `lv`, `mg`, `mh`, `mi`, `mk`, `ml`, `mn`, `mr`, `ms`, `mt`, `my`, `na`, `nb`, `nd`, `ne`, `ng`, `nl`, `nn`, `no`, `nr`, `nv`, `ny`, `oc`, `oj`, `om`, `or`, `os`, `pa`, `pi`, `pl`, `ps`, `pt`, `qu`, `rm`, `rn`, `ro`, `ru`, `rw`, `sa`, `sc`, `sd`, `se`, `sg`, `si`, `sk`, `sl`, `sm`, `sn`, `so`, `sq`, `sr`, `ss`, `st`, `su`, `sv`, `sw`, `ta`, `te`, `tg`, `th`, `ti`, `tk`, `tl`, `tn`, `to`, `tr`, `ts`, `tt`, `tw`, `ty`, `ug`, `uk`, `ur`, `uz`, `ve`, `vi`, `vo`, `wa`, `wo`, `xh`, `yi`, `yue`, `yo`, `za`, `zh`, `zu`
- `languages` (enum, optional) — These are the languages for transcription as ISO 639-1 codes. Set one or more codes to restrict and bias recognition to those languages. An empty array `[]` (or omitting both this and `language`) enables auto-detection of the spoken language.
  - Allowed values: `aa`, `ab`, `ae`, `af`, `ak`, `am`, `an`, `ar`, `as`, `av`, `ay`, `az`, `ba`, `be`, `bg`, `bh`, `bi`, `bm`, `bn`, `bo`, `br`, `bs`, `ca`, `ce`, `ch`, `co`, `cr`, `cs`, `cu`, `cv`, `cy`, `da`, `de`, `dv`, `dz`, `ee`, `el`, `en`, `eo`, `es`, `et`, `eu`, `fa`, `ff`, `fi`, `fj`, `fo`, `fr`, `fy`, `ga`, `gd`, `gl`, `gn`, `gu`, `gv`, `ha`, `he`, `hi`, `ho`, `hr`, `ht`, `hu`, `hy`, `hz`, `ia`, `id`, `ie`, `ig`, `ii`, `ik`, `io`, `is`, `it`, `iu`, `ja`, `jv`, `ka`, `kg`, `ki`, `kj`, `kk`, `kl`, `km`, `kn`, `ko`, `kr`, `ks`, `ku`, `kv`, `kw`, `ky`, `la`, `lb`, `lg`, `li`, `ln`, `lo`, `lt`, `lu`, `lv`, `mg`, `mh`, `mi`, `mk`, `ml`, `mn`, `mr`, `ms`, `mt`, `my`, `na`, `nb`, `nd`, `ne`, `ng`, `nl`, `nn`, `no`, `nr`, `nv`, `ny`, `oc`, `oj`, `om`, `or`, `os`, `pa`, `pi`, `pl`, `ps`, `pt`, `qu`, `rm`, `rn`, `ro`, `ru`, `rw`, `sa`, `sc`, `sd`, `se`, `sg`, `si`, `sk`, `sl`, `sm`, `sn`, `so`, `sq`, `sr`, `ss`, `st`, `su`, `sv`, `sw`, `ta`, `te`, `tg`, `th`, `ti`, `tk`, `tl`, `tn`, `to`, `tr`, `ts`, `tt`, `tw`, `ty`, `ug`, `uk`, `ur`, `uz`, `ve`, `vi`, `vo`, `wa`, `wo`, `xh`, `yi`, `yue`, `yo`, `za`, `zh`, `zu`
- `keywords` (list of string, optional) — These are custom keywords/vocabulary to boost recognition of use-case specific words (company names, product names, jargon).
- `turnTaking` (enum, optional) — This is the turn-taking mode. `intelligent` uses the underlying model's native end-of-turn detection; `manual` ignores it and waits a fixed end-of-turn delay. Defaults to `intelligent`.
  - Allowed values: `intelligent`, `manual`

### AnthropicModel

- `model` (enum, required) — The specific Anthropic/Claude model that will be used.
  - Allowed values: `claude-3-opus-20240229`, `claude-3-sonnet-20240229`, `claude-3-haiku-20240307`, `claude-3-5-sonnet-20240620`, `claude-3-5-sonnet-20241022`, `claude-3-5-haiku-20241022`, `claude-3-7-sonnet-20250219`, `claude-opus-4-20250514`, `claude-opus-4-5-20251101`, `claude-opus-4-6`, `claude-sonnet-4-20250514`, `claude-sonnet-4-5-20250929`, `claude-sonnet-4-6`, `claude-sonnet-5`, `claude-haiku-4-5-20251001`, `claude-haiku-5-5`
- `provider` (enum, required) — The provider identifier for Anthropic.
  - Allowed values: `anthropic`
- `messages` (list of OpenAIMessage, optional) — This is the starting state for the conversation.
- `tools` (list of AnthropicModelToolsItems, optional) — These are the tools that the assistant can use during the call. To use existing tools, use `toolIds`. Both `tools` and `toolIds` can be used together.
- `toolIds` (list of string, optional) — These are the tools that the assistant can use during the call. To use transient tools, use `tools`. Both `tools` and `toolIds` can be used together.
- `toolRefs` (list of ToolRef, optional) — These are version-pinned references to tools. Each entry pins a specific version of a tool by `(toolId, version)`. When the same `toolId` appears in both `toolIds` and `toolRefs[]`, the `toolRefs` pin wins (the `toolIds` entry is dropped at write time).
- `knowledgeBase` (AnthropicModelKnowledgeBase, optional) — These are the options for the knowledge base.
- `reasoningEffort` (enum, optional) — Reasoning effort for claude-haiku-5-5. `none` turns thinking off. `low` to `max` use adaptive thinking at that effort; higher effort can add latency before the model speaks. Unset means `none`. Rejected for every other model.
  - Allowed values: `none`, `low`, `medium`, `high`, `xhigh`, `max`
- `thinking` (AnthropicThinkingConfig, optional) — Optional configuration for Anthropic's thinking feature. Only applicable for models that support a thinking budget. Set maxTokens greater than thinking.budgetTokens; the default cap is too small.
- `temperature` (double, optional) — This is the temperature that will be used for calls. Default is 0.5.
- `maxTokens` (double, optional) — This is the max number of tokens that the assistant will be allowed to generate in each turn of the conversation. Default is 250. On gpt-6-luna and claude-haiku-5-5 no cap is applied unless you set one (claude-haiku-5-5 sends its 128,000-token maximum), because reasoning uses output tokens and a small cap can leave the reply empty.
- `emotionRecognitionEnabled` (boolean, optional) — This determines whether we detect user's emotion while they speak and send it as an additional info to model. Default `false` because the model is usually are good at understanding the user's emotion from text. @default false
- `numFastTurns` (double, optional) — This sets how many turns at the start of the conversation to use a smaller, faster model from the same provider before switching to the primary model. Example, gpt-3.5-turbo if provider is openai. Default is 0. @default 0

### AnthropicBedrockModel

- `provider` (enum, required) — The provider identifier for Anthropic via AWS Bedrock.
  - Allowed values: `anthropic-bedrock`
- `model` (enum, required) — The specific Anthropic/Claude model that will be used via Bedrock.
  - Allowed values: `claude-3-opus-20240229`, `claude-3-sonnet-20240229`, `claude-3-haiku-20240307`, `claude-3-5-sonnet-20240620`, `claude-3-5-sonnet-20241022`, `claude-3-5-haiku-20241022`, `claude-3-7-sonnet-20250219`, `claude-opus-4-20250514`, `claude-opus-4-5-20251101`, `claude-opus-4-6`, `claude-sonnet-4-20250514`, `claude-sonnet-4-5-20250929`, `claude-sonnet-4-6`, `claude-haiku-4-5-20251001`, `claude-haiku-5-5`, `global.anthropic.claude-sonnet-4-6`, `global.anthropic.claude-haiku-4-5-20251001-v1:0`
- `messages` (list of OpenAIMessage, optional) — This is the starting state for the conversation.
- `tools` (list of AnthropicBedrockModelToolsItems, optional) — These are the tools that the assistant can use during the call. To use existing tools, use `toolIds`. Both `tools` and `toolIds` can be used together.
- `toolIds` (list of string, optional) — These are the tools that the assistant can use during the call. To use transient tools, use `tools`. Both `tools` and `toolIds` can be used together.
- `toolRefs` (list of ToolRef, optional) — These are version-pinned references to tools. Each entry pins a specific version of a tool by `(toolId, version)`. When the same `toolId` appears in both `toolIds` and `toolRefs[]`, the `toolRefs` pin wins (the `toolIds` entry is dropped at write time).
- `knowledgeBase` (AnthropicBedrockModelKnowledgeBase, optional) — These are the options for the knowledge base.
- `fallbackModels` (enum, optional) — At most one same-provider Bedrock fallback model, tried if the primary fails. Cannot be combined with thinking in this release. Resolution uses the call's Bedrock credential region (or ANTHROPIC_BEDROCK_AWS_REGION). Names with no inference profile in that region are skipped and warned, never remapped to US or global. On Vapi EU, fallback names without an EU inference profile are rejected at write time.
  - Allowed values: `claude-3-opus-20240229`, `claude-3-sonnet-20240229`, `claude-3-haiku-20240307`, `claude-3-5-sonnet-20240620`, `claude-3-5-sonnet-20241022`, `claude-3-5-haiku-20241022`, `claude-3-7-sonnet-20250219`, `claude-opus-4-20250514`, `claude-opus-4-5-20251101`, `claude-opus-4-6`, `claude-sonnet-4-20250514`, `claude-sonnet-4-5-20250929`, `claude-sonnet-4-6`, `claude-haiku-4-5-20251001`, `claude-haiku-5-5`, `global.anthropic.claude-sonnet-4-6`, `global.anthropic.claude-haiku-4-5-20251001-v1:0`
- `reasoningEffort` (enum, optional) — Reasoning effort for claude-haiku-5-5. `none` turns thinking off. `low` to `max` use adaptive thinking at that effort; higher effort can add latency before the model speaks. Unset means `none`. Rejected for every other model.
  - Allowed values: `none`, `low`, `medium`, `high`, `xhigh`, `max`
- `thinking` (AnthropicThinkingConfig, optional) — Optional configuration for Anthropic's thinking feature. Only applicable for models that support a thinking budget. Set maxTokens greater than thinking.budgetTokens; the default cap is too small.
- `temperature` (double, optional) — This is the temperature that will be used for calls. Default is 0.5.
- `maxTokens` (double, optional) — This is the max number of tokens that the assistant will be allowed to generate in each turn of the conversation. Default is 250. On gpt-6-luna and claude-haiku-5-5 no cap is applied unless you set one (claude-haiku-5-5 sends its 128,000-token maximum), because reasoning uses output tokens and a small cap can leave the reply empty.
- `emotionRecognitionEnabled` (boolean, optional) — This determines whether we detect user's emotion while they speak and send it as an additional info to model. Default `false` because the model is usually are good at understanding the user's emotion from text. @default false
- `numFastTurns` (double, optional) — This sets how many turns at the start of the conversation to use a smaller, faster model from the same provider before switching to the primary model. Example, gpt-3.5-turbo if provider is openai. Default is 0. @default 0

### AnyscaleModel

- `provider` (enum, required)
  - Allowed values: `anyscale`
- `model` (string, required) — This is the name of the model. Ex. cognitivecomputations/dolphin-mixtral-8x7b
- `messages` (list of OpenAIMessage, optional) — This is the starting state for the conversation.
- `tools` (list of AnyscaleModelToolsItems, optional) — These are the tools that the assistant can use during the call. To use existing tools, use `toolIds`. Both `tools` and `toolIds` can be used together.
- `toolIds` (list of string, optional) — These are the tools that the assistant can use during the call. To use transient tools, use `tools`. Both `tools` and `toolIds` can be used together.
- `toolRefs` (list of ToolRef, optional) — These are version-pinned references to tools. Each entry pins a specific version of a tool by `(toolId, version)`. When the same `toolId` appears in both `toolIds` and `toolRefs[]`, the `toolRefs` pin wins (the `toolIds` entry is dropped at write time).
- `knowledgeBase` (AnyscaleModelKnowledgeBase, optional) — These are the options for the knowledge base.
- `temperature` (double, optional) — This is the temperature that will be used for calls. Default is 0.5.
- `maxTokens` (double, optional) — This is the max number of tokens that the assistant will be allowed to generate in each turn of the conversation. Default is 250. On gpt-6-luna and claude-haiku-5-5 no cap is applied unless you set one (claude-haiku-5-5 sends its 128,000-token maximum), because reasoning uses output tokens and a small cap can leave the reply empty.
- `emotionRecognitionEnabled` (boolean, optional) — This determines whether we detect user's emotion while they speak and send it as an additional info to model. Default `false` because the model is usually are good at understanding the user's emotion from text. @default false
- `numFastTurns` (double, optional) — This sets how many turns at the start of the conversation to use a smaller, faster model from the same provider before switching to the primary model. Example, gpt-3.5-turbo if provider is openai. Default is 0. @default 0

### CerebrasModel

- `model` (enum, required) — This is the name of the model. Ex. cognitivecomputations/dolphin-mixtral-8x7b
  - Allowed values: `llama3.1-8b`, `llama-3.3-70b`
- `provider` (enum, required)
  - Allowed values: `cerebras`
- `messages` (list of OpenAIMessage, optional) — This is the starting state for the conversation.
- `tools` (list of CerebrasModelToolsItems, optional) — These are the tools that the assistant can use during the call. To use existing tools, use `toolIds`. Both `tools` and `toolIds` can be used together.
- `toolIds` (list of string, optional) — These are the tools that the assistant can use during the call. To use transient tools, use `tools`. Both `tools` and `toolIds` can be used together.
- `toolRefs` (list of ToolRef, optional) — These are version-pinned references to tools. Each entry pins a specific version of a tool by `(toolId, version)`. When the same `toolId` appears in both `toolIds` and `toolRefs[]`, the `toolRefs` pin wins (the `toolIds` entry is dropped at write time).
- `knowledgeBase` (CerebrasModelKnowledgeBase, optional) — These are the options for the knowledge base.
- `temperature` (double, optional) — This is the temperature that will be used for calls. Default is 0.5.
- `maxTokens` (double, optional) — This is the max number of tokens that the assistant will be allowed to generate in each turn of the conversation. Default is 250. On gpt-6-luna and claude-haiku-5-5 no cap is applied unless you set one (claude-haiku-5-5 sends its 128,000-token maximum), because reasoning uses output tokens and a small cap can leave the reply empty.
- `emotionRecognitionEnabled` (boolean, optional) — This determines whether we detect user's emotion while they speak and send it as an additional info to model. Default `false` because the model is usually are good at understanding the user's emotion from text. @default false
- `numFastTurns` (double, optional) — This sets how many turns at the start of the conversation to use a smaller, faster model from the same provider before switching to the primary model. Example, gpt-3.5-turbo if provider is openai. Default is 0. @default 0

### CustomLLMModel

- `provider` (enum, required) — This is the provider that will be used for the model. Any service, including your own server, that is compatible with the OpenAI API can be used.
  - Allowed values: `custom-llm`
- `url` (string, required) — These is the URL we'll use for the OpenAI client's `baseURL`. Ex. https://openrouter.ai/api/v1
- `model` (string, required) — This is the name of the model. Ex. cognitivecomputations/dolphin-mixtral-8x7b
- `messages` (list of OpenAIMessage, optional) — This is the starting state for the conversation.
- `tools` (list of CustomLlmModelToolsItems, optional) — These are the tools that the assistant can use during the call. To use existing tools, use `toolIds`. Both `tools` and `toolIds` can be used together.
- `toolIds` (list of string, optional) — These are the tools that the assistant can use during the call. To use transient tools, use `tools`. Both `tools` and `toolIds` can be used together.
- `toolRefs` (list of ToolRef, optional) — These are version-pinned references to tools. Each entry pins a specific version of a tool by `(toolId, version)`. When the same `toolId` appears in both `toolIds` and `toolRefs[]`, the `toolRefs` pin wins (the `toolIds` entry is dropped at write time).
- `knowledgeBase` (CustomLlmModelKnowledgeBase, optional) — These are the options for the knowledge base.
- `metadataSendMode` (enum, optional) — This determines whether metadata is sent in requests to the custom provider. * `off` will not send any metadata. payload will look like `{ messages }` * `variable` will send `assistant.metadata` as a variable on the payload. payload will look like `{ messages, metadata }` * `destructured` will send `assistant.metadata` fields directly on the payload. payload will look like `{ messages, ...metadata }` Further, `variable` and `destructured` will send `call`, `phoneNumber`, and `customer` objects in the payload. Default is `variable`.
  - Allowed values: `off`, `variable`, `destructured`
- `headers` (map from string to string, optional) — Custom headers to send with requests. These headers can override default OpenAI headers except for Authorization (which should be specified using a custom-llm credential).
- `wordLevelConfidenceEnabled` (boolean, optional) — This determines whether the transcriber's word level confidence is sent in requests to the custom provider. Default is false. This only works for Deepgram transcribers.
- `timeoutSeconds` (double, optional) — This sets the timeout for the connection to the custom provider without needing to stream any tokens back. Default is 20 seconds.
- `temperature` (double, optional) — This is the temperature that will be used for calls. Default is 0.5.
- `maxTokens` (double, optional) — This is the max number of tokens that the assistant will be allowed to generate in each turn of the conversation. Default is 250. On gpt-6-luna and claude-haiku-5-5 no cap is applied unless you set one (claude-haiku-5-5 sends its 128,000-token maximum), because reasoning uses output tokens and a small cap can leave the reply empty.
- `emotionRecognitionEnabled` (boolean, optional) — This determines whether we detect user's emotion while they speak and send it as an additional info to model. Default `false` because the model is usually are good at understanding the user's emotion from text. @default false
- `numFastTurns` (double, optional) — This sets how many turns at the start of the conversation to use a smaller, faster model from the same provider before switching to the primary model. Example, gpt-3.5-turbo if provider is openai. Default is 0. @default 0

### DeepInfraModel

- `provider` (enum, required)
  - Allowed values: `deepinfra`
- `model` (string, required) — This is the name of the model. Ex. cognitivecomputations/dolphin-mixtral-8x7b
- `messages` (list of OpenAIMessage, optional) — This is the starting state for the conversation.
- `tools` (list of DeepInfraModelToolsItems, optional) — These are the tools that the assistant can use during the call. To use existing tools, use `toolIds`. Both `tools` and `toolIds` can be used together.
- `toolIds` (list of string, optional) — These are the tools that the assistant can use during the call. To use transient tools, use `tools`. Both `tools` and `toolIds` can be used together.
- `toolRefs` (list of ToolRef, optional) — These are version-pinned references to tools. Each entry pins a specific version of a tool by `(toolId, version)`. When the same `toolId` appears in both `toolIds` and `toolRefs[]`, the `toolRefs` pin wins (the `toolIds` entry is dropped at write time).
- `knowledgeBase` (DeepInfraModelKnowledgeBase, optional) — These are the options for the knowledge base.
- `temperature` (double, optional) — This is the temperature that will be used for calls. Default is 0.5.
- `maxTokens` (double, optional) — This is the max number of tokens that the assistant will be allowed to generate in each turn of the conversation. Default is 250. On gpt-6-luna and claude-haiku-5-5 no cap is applied unless you set one (claude-haiku-5-5 sends its 128,000-token maximum), because reasoning uses output tokens and a small cap can leave the reply empty.
- `emotionRecognitionEnabled` (boolean, optional) — This determines whether we detect user's emotion while they speak and send it as an additional info to model. Default `false` because the model is usually are good at understanding the user's emotion from text. @default false
- `numFastTurns` (double, optional) — This sets how many turns at the start of the conversation to use a smaller, faster model from the same provider before switching to the primary model. Example, gpt-3.5-turbo if provider is openai. Default is 0. @default 0

### DeepSeekModel

- `model` (enum, required) — This is the name of the model. Ex. cognitivecomputations/dolphin-mixtral-8x7b
  - Allowed values: `deepseek-chat`, `deepseek-reasoner`, `deepseek-flash`, `deepseek-flash-thinking`
- `provider` (enum, required)
  - Allowed values: `deep-seek`
- `messages` (list of OpenAIMessage, optional) — This is the starting state for the conversation.
- `tools` (list of DeepSeekModelToolsItems, optional) — These are the tools that the assistant can use during the call. To use existing tools, use `toolIds`. Both `tools` and `toolIds` can be used together.
- `toolIds` (list of string, optional) — These are the tools that the assistant can use during the call. To use transient tools, use `tools`. Both `tools` and `toolIds` can be used together.
- `toolRefs` (list of ToolRef, optional) — These are version-pinned references to tools. Each entry pins a specific version of a tool by `(toolId, version)`. When the same `toolId` appears in both `toolIds` and `toolRefs[]`, the `toolRefs` pin wins (the `toolIds` entry is dropped at write time).
- `knowledgeBase` (DeepSeekModelKnowledgeBase, optional) — These are the options for the knowledge base.
- `temperature` (double, optional) — This is the temperature that will be used for calls. Default is 0.5.
- `maxTokens` (double, optional) — This is the max number of tokens that the assistant will be allowed to generate in each turn of the conversation. Default is 250. On gpt-6-luna and claude-haiku-5-5 no cap is applied unless you set one (claude-haiku-5-5 sends its 128,000-token maximum), because reasoning uses output tokens and a small cap can leave the reply empty.
- `emotionRecognitionEnabled` (boolean, optional) — This determines whether we detect user's emotion while they speak and send it as an additional info to model. Default `false` because the model is usually are good at understanding the user's emotion from text. @default false
- `numFastTurns` (double, optional) — This sets how many turns at the start of the conversation to use a smaller, faster model from the same provider before switching to the primary model. Example, gpt-3.5-turbo if provider is openai. Default is 0. @default 0

### GoogleModel

- `model` (enum, required) — This is the Google model that will be used.
  - Allowed values: `gemini-3.8-flash`, `gemini-3.5-flash`, `gemini-3.1-flash-lite`, `gemini-3-flash-preview`, `gemini-2.5-pro`, `gemini-2.5-flash`, `gemini-2.5-flash-lite`, `gemini-2.0-flash-thinking-exp`, `gemini-2.0-pro-exp-02-05`, `gemini-2.0-flash`, `gemini-2.0-flash-lite`, `gemini-2.0-flash-exp`, `gemini-2.0-flash-realtime-exp`, `gemini-1.5-flash`, `gemini-1.5-flash-002`, `gemini-1.5-pro`, `gemini-1.5-pro-002`, `gemini-1.0-pro`
- `provider` (enum, required)
  - Allowed values: `google`
- `messages` (list of OpenAIMessage, optional) — This is the starting state for the conversation.
- `tools` (list of GoogleModelToolsItems, optional) — These are the tools that the assistant can use during the call. To use existing tools, use `toolIds`. Both `tools` and `toolIds` can be used together.
- `toolIds` (list of string, optional) — These are the tools that the assistant can use during the call. To use transient tools, use `tools`. Both `tools` and `toolIds` can be used together.
- `toolRefs` (list of ToolRef, optional) — These are version-pinned references to tools. Each entry pins a specific version of a tool by `(toolId, version)`. When the same `toolId` appears in both `toolIds` and `toolRefs[]`, the `toolRefs` pin wins (the `toolIds` entry is dropped at write time).
- `knowledgeBase` (GoogleModelKnowledgeBase, optional) — These are the options for the knowledge base.
- `realtimeConfig` (GoogleRealtimeConfig, optional) — This is the session configuration for the Gemini Flash 2.0 Multimodal Live API. Only applicable if the model `gemini-2.0-flash-realtime-exp` is selected.
- `temperature` (double, optional) — This is the temperature that will be used for calls. Default is 0.5.
- `maxTokens` (double, optional) — This is the max number of tokens that the assistant will be allowed to generate in each turn of the conversation. Default is 250. On gpt-6-luna and claude-haiku-5-5 no cap is applied unless you set one (claude-haiku-5-5 sends its 128,000-token maximum), because reasoning uses output tokens and a small cap can leave the reply empty.
- `emotionRecognitionEnabled` (boolean, optional) — This determines whether we detect user's emotion while they speak and send it as an additional info to model. Default `false` because the model is usually are good at understanding the user's emotion from text. @default false
- `numFastTurns` (double, optional) — This sets how many turns at the start of the conversation to use a smaller, faster model from the same provider before switching to the primary model. Example, gpt-3.5-turbo if provider is openai. Default is 0. @default 0

### GroqModel

- `model` (enum, required) — This is the name of the model. Ex. cognitivecomputations/dolphin-mixtral-8x7b
  - Allowed values: `openai/gpt-oss-20b`, `openai/gpt-oss-120b`, `deepseek-r1-distill-llama-70b`, `llama-3.3-70b-versatile`, `llama-3.1-405b-reasoning`, `llama-3.1-8b-instant`, `llama3-8b-8192`, `llama3-70b-8192`, `gemma2-9b-it`, `moonshotai/kimi-k2-instruct-0905`, `meta-llama/llama-4-scout-17b-16e-instruct`, `mistral-saba-24b`, `compound-beta`, `compound-beta-mini`
- `provider` (enum, required)
  - Allowed values: `groq`
- `messages` (list of OpenAIMessage, optional) — This is the starting state for the conversation.
- `tools` (list of GroqModelToolsItems, optional) — These are the tools that the assistant can use during the call. To use existing tools, use `toolIds`. Both `tools` and `toolIds` can be used together.
- `toolIds` (list of string, optional) — These are the tools that the assistant can use during the call. To use transient tools, use `tools`. Both `tools` and `toolIds` can be used together.
- `toolRefs` (list of ToolRef, optional) — These are version-pinned references to tools. Each entry pins a specific version of a tool by `(toolId, version)`. When the same `toolId` appears in both `toolIds` and `toolRefs[]`, the `toolRefs` pin wins (the `toolIds` entry is dropped at write time).
- `knowledgeBase` (GroqModelKnowledgeBase, optional) — These are the options for the knowledge base.
- `temperature` (double, optional) — This is the temperature that will be used for calls. Default is 0.5.
- `maxTokens` (double, optional) — This is the max number of tokens that the assistant will be allowed to generate in each turn of the conversation. Default is 250. On gpt-6-luna and claude-haiku-5-5 no cap is applied unless you set one (claude-haiku-5-5 sends its 128,000-token maximum), because reasoning uses output tokens and a small cap can leave the reply empty.
- `emotionRecognitionEnabled` (boolean, optional) — This determines whether we detect user's emotion while they speak and send it as an additional info to model. Default `false` because the model is usually are good at understanding the user's emotion from text. @default false
- `numFastTurns` (double, optional) — This sets how many turns at the start of the conversation to use a smaller, faster model from the same provider before switching to the primary model. Example, gpt-3.5-turbo if provider is openai. Default is 0. @default 0

### InflectionAIModel

- `model` (enum, required) — This is the name of the model. Ex. cognitivecomputations/dolphin-mixtral-8x7b
  - Allowed values: `inflection_3_pi`
- `provider` (enum, required)
  - Allowed values: `inflection-ai`
- `messages` (list of OpenAIMessage, optional) — This is the starting state for the conversation.
- `tools` (list of InflectionAiModelToolsItems, optional) — These are the tools that the assistant can use during the call. To use existing tools, use `toolIds`. Both `tools` and `toolIds` can be used together.
- `toolIds` (list of string, optional) — These are the tools that the assistant can use during the call. To use transient tools, use `tools`. Both `tools` and `toolIds` can be used together.
- `toolRefs` (list of ToolRef, optional) — These are version-pinned references to tools. Each entry pins a specific version of a tool by `(toolId, version)`. When the same `toolId` appears in both `toolIds` and `toolRefs[]`, the `toolRefs` pin wins (the `toolIds` entry is dropped at write time).
- `knowledgeBase` (InflectionAiModelKnowledgeBase, optional) — These are the options for the knowledge base.
- `temperature` (double, optional) — This is the temperature that will be used for calls. Default is 0.5.
- `maxTokens` (double, optional) — This is the max number of tokens that the assistant will be allowed to generate in each turn of the conversation. Default is 250. On gpt-6-luna and claude-haiku-5-5 no cap is applied unless you set one (claude-haiku-5-5 sends its 128,000-token maximum), because reasoning uses output tokens and a small cap can leave the reply empty.
- `emotionRecognitionEnabled` (boolean, optional) — This determines whether we detect user's emotion while they speak and send it as an additional info to model. Default `false` because the model is usually are good at understanding the user's emotion from text. @default false
- `numFastTurns` (double, optional) — This sets how many turns at the start of the conversation to use a smaller, faster model from the same provider before switching to the primary model. Example, gpt-3.5-turbo if provider is openai. Default is 0. @default 0

### MinimaxLLMModel

- `provider` (enum, required)
  - Allowed values: `minimax`
- `model` (enum, required) — This is the name of the model. Ex. cognitivecomputations/dolphin-mixtral-8x7b
  - Allowed values: `MiniMax-M2.7`
- `messages` (list of OpenAIMessage, optional) — This is the starting state for the conversation.
- `tools` (list of MinimaxLlmModelToolsItems, optional) — These are the tools that the assistant can use during the call. To use existing tools, use `toolIds`. Both `tools` and `toolIds` can be used together.
- `toolIds` (list of string, optional) — These are the tools that the assistant can use during the call. To use transient tools, use `tools`. Both `tools` and `toolIds` can be used together.
- `toolRefs` (list of ToolRef, optional) — These are version-pinned references to tools. Each entry pins a specific version of a tool by `(toolId, version)`. When the same `toolId` appears in both `toolIds` and `toolRefs[]`, the `toolRefs` pin wins (the `toolIds` entry is dropped at write time).
- `knowledgeBase` (MinimaxLlmModelKnowledgeBase, optional) — These are the options for the knowledge base.
- `temperature` (double, optional) — This is the temperature that will be used for calls. Default is 0.5.
- `maxTokens` (double, optional) — This is the max number of tokens that the assistant will be allowed to generate in each turn of the conversation. Default is 250. On gpt-6-luna and claude-haiku-5-5 no cap is applied unless you set one (claude-haiku-5-5 sends its 128,000-token maximum), because reasoning uses output tokens and a small cap can leave the reply empty.
- `emotionRecognitionEnabled` (boolean, optional) — This determines whether we detect user's emotion while they speak and send it as an additional info to model. Default `false` because the model is usually are good at understanding the user's emotion from text. @default false
- `numFastTurns` (double, optional) — This sets how many turns at the start of the conversation to use a smaller, faster model from the same provider before switching to the primary model. Example, gpt-3.5-turbo if provider is openai. Default is 0. @default 0

### OpenAIModel

- `provider` (enum, required) — This is the provider that will be used for the model.
  - Allowed values: `openai`
- `model` (enum, required) — This is the OpenAI model that will be used. For GPT-Live configuration and supported settings, see https://docs.vapi.ai/gpt-live/overview. When using Vapi OpenAI or your own Azure Credentials, you have the option to specify the region for the selected model. This shouldn't be specified unless you have a specific reason to do so. Vapi will automatically find the fastest region that make sense. This is helpful when you are required to comply with Data Residency rules. Learn more about Azure regions here https://azure.microsoft.com/en-us/explore/global-infrastructure/data-residency/. @default undefined
  - Allowed values: `gpt-6-luna`, `gpt-5.6-sol`, `gpt-5.6-terra`, `gpt-5.6-luna`, `gpt-5.5`, `chat-latest`, `gpt-5.4`, `gpt-5.4-mini`, `gpt-5.4-nano`, `gpt-5.2`, `gpt-5.2-chat-latest`, `gpt-5.1`, `gpt-5.1-chat-latest`, `gpt-5`, `gpt-5-chat-latest`, `gpt-5-mini`, `gpt-5-nano`, `gpt-4.1-2025-04-14`, `gpt-4.1-mini-2025-04-14`, `gpt-4.1-nano-2025-04-14`, `gpt-4.1`, `gpt-4.1-mini`, `gpt-4.1-nano`, `chatgpt-4o-latest`, `o3`, `o3-mini`, `o4-mini`, `o1-mini`, `o1-mini-2024-09-12`, `gpt-4o-realtime-preview-2024-10-01`, `gpt-4o-realtime-preview-2024-12-17`, `gpt-4o-mini-realtime-preview-2024-12-17`, `gpt-realtime-2025-08-28`, `gpt-realtime-mini-2025-12-15`, `gpt-realtime-2`, `gpt-4o-mini-2024-07-18`, `gpt-4o-mini`, `gpt-4o`, `gpt-4o-2024-05-13`, `gpt-4o-2024-08-06`, `gpt-4o-2024-11-20`, `gpt-4-turbo`, `gpt-4-turbo-2024-04-09`, `gpt-4-turbo-preview`, `gpt-4-0125-preview`, `gpt-4-1106-preview`, `gpt-4`, `gpt-4-0613`, `gpt-3.5-turbo`, `gpt-3.5-turbo-0125`, `gpt-3.5-turbo-1106`, `gpt-3.5-turbo-16k`, `gpt-3.5-turbo-0613`, `gpt-5.6-luna:westus3`, `gpt-5.6-terra:westus3`, `gpt-5.6-sol:westus3`, `gpt-5.4:eastus2`, `gpt-5.4:swedencentral`, `gpt-5.4-mini:eastus2`, `gpt-5.4-mini:swedencentral`, `gpt-5.4-nano:eastus2`, `gpt-5.4-nano:swedencentral`, `gpt-5.2:eastus2`, `gpt-5.2:swedencentral`, `gpt-5.1:eastus2`, `gpt-5.1:swedencentral`, `gpt-5:eastus2`, `gpt-5:swedencentral`, `gpt-5:canadaeast`, `gpt-5:eastus`, `gpt-5:westeurope`, `gpt-5:germanywestcentral`, `gpt-5:polandcentral`, `gpt-5:spaincentral`, `gpt-5-mini:eastus2`, `gpt-5-mini:swedencentral`, `gpt-5-mini:westeurope`, `gpt-5-mini:germanywestcentral`, `gpt-5-mini:polandcentral`, `gpt-5-mini:spaincentral`, `gpt-5-nano:eastus2`, `gpt-5-nano:swedencentral`, `gpt-4.1-2025-04-14:westus`, `gpt-4.1-2025-04-14:eastus2`, `gpt-4.1-2025-04-14:eastus`, `gpt-4.1-2025-04-14:westus3`, `gpt-4.1-2025-04-14:northcentralus`, `gpt-4.1-2025-04-14:southcentralus`, `gpt-4.1-2025-04-14:westeurope`, `gpt-4.1-2025-04-14:germanywestcentral`, `gpt-4.1-2025-04-14:polandcentral`, `gpt-4.1-2025-04-14:spaincentral`, `gpt-4.1-mini-2025-04-14:westus`, `gpt-4.1-mini-2025-04-14:eastus2`, `gpt-4.1-mini-2025-04-14:eastus`, `gpt-4.1-mini-2025-04-14:westus3`, `gpt-4.1-mini-2025-04-14:northcentralus`, `gpt-4.1-mini-2025-04-14:southcentralus`, `gpt-4.1-mini-2025-04-14:westeurope`, `gpt-4.1-mini-2025-04-14:germanywestcentral`, `gpt-4.1-mini-2025-04-14:polandcentral`, `gpt-4.1-mini-2025-04-14:spaincentral`, `gpt-4.1-nano-2025-04-14:westus`, `gpt-4.1-nano-2025-04-14:eastus2`, `gpt-4.1-nano-2025-04-14:westus3`, `gpt-4.1-nano-2025-04-14:northcentralus`, `gpt-4.1-nano-2025-04-14:southcentralus`, `gpt-4o-2024-11-20:swedencentral`, `gpt-4o-2024-11-20:westus`, `gpt-4o-2024-11-20:eastus2`, `gpt-4o-2024-11-20:eastus`, `gpt-4o-2024-11-20:westus3`, `gpt-4o-2024-11-20:southcentralus`, `gpt-4o-2024-11-20:westeurope`, `gpt-4o-2024-11-20:germanywestcentral`, `gpt-4o-2024-11-20:polandcentral`, `gpt-4o-2024-11-20:spaincentral`, `gpt-4o-2024-08-06:westus`, `gpt-4o-2024-08-06:westus3`, `gpt-4o-2024-08-06:eastus`, `gpt-4o-2024-08-06:eastus2`, `gpt-4o-2024-08-06:northcentralus`, `gpt-4o-2024-08-06:southcentralus`, `gpt-4o-mini-2024-07-18:westus`, `gpt-4o-mini-2024-07-18:westus3`, `gpt-4o-mini-2024-07-18:eastus`, `gpt-4o-mini-2024-07-18:eastus2`, `gpt-4o-mini-2024-07-18:northcentralus`, `gpt-4o-mini-2024-07-18:southcentralus`, `gpt-4o-2024-05-13:eastus2`, `gpt-4o-2024-05-13:eastus`, `gpt-4o-2024-05-13:northcentralus`, `gpt-4o-2024-05-13:southcentralus`, `gpt-4o-2024-05-13:westus3`, `gpt-4o-2024-05-13:westus`, `gpt-4-turbo-2024-04-09:eastus2`, `gpt-4-0125-preview:eastus`, `gpt-4-0125-preview:northcentralus`, `gpt-4-0125-preview:southcentralus`, `gpt-4-1106-preview:australiaeast`, `gpt-4-1106-preview:canadaeast`, `gpt-4-1106-preview:france`, `gpt-4-1106-preview:india`, `gpt-4-1106-preview:norway`, `gpt-4-1106-preview:swedencentral`, `gpt-4-1106-preview:uk`, `gpt-4-1106-preview:westus`, `gpt-4-1106-preview:westus3`, `gpt-4-0613:canadaeast`, `gpt-3.5-turbo-0125:canadaeast`, `gpt-3.5-turbo-0125:northcentralus`, `gpt-3.5-turbo-0125:southcentralus`, `gpt-3.5-turbo-1106:canadaeast`, `gpt-3.5-turbo-1106:westus`, `gpt-4.1:australiaeast`, `gpt-4o:australiaeast`, `gpt-5.4-mini:australiaeast`, `gpt-live-1`
- `messages` (list of OpenAIMessage, optional) — This is the starting state for the conversation.
- `tools` (list of OpenAiModelToolsItems, optional) — These are the tools that the assistant can use during the call. To use existing tools, use `toolIds`. Both `tools` and `toolIds` can be used together.
- `toolIds` (list of string, optional) — These are the tools that the assistant can use during the call. To use transient tools, use `tools`. Both `tools` and `toolIds` can be used together.
- `toolRefs` (list of ToolRef, optional) — These are version-pinned references to tools. Each entry pins a specific version of a tool by `(toolId, version)`. When the same `toolId` appears in both `toolIds` and `toolRefs[]`, the `toolRefs` pin wins (the `toolIds` entry is dropped at write time).
- `knowledgeBase` (OpenAiModelKnowledgeBase, optional) — These are the options for the knowledge base.
- `speaker` (OpenAISpeaker, optional) — Configuration for the GPT-Live speaker.
- `reasoner` (OpenAIReasoner, optional) — Configuration for the reasoner supporting the GPT-Live speaker.
- `fallbackModels` (list of enum, optional) — These are the fallback models that will be used if the primary model fails. This shouldn't be specified unless you have a specific reason to do so. Vapi will automatically find the fastest fallbacks that make sense.
  - Allowed values: `gpt-6-luna`, `gpt-5.6-sol`, `gpt-5.6-terra`, `gpt-5.6-luna`, `gpt-5.5`, `chat-latest`, `gpt-5.4`, `gpt-5.4-mini`, `gpt-5.4-nano`, `gpt-5.2`, `gpt-5.2-chat-latest`, `gpt-5.1`, `gpt-5.1-chat-latest`, `gpt-5`, `gpt-5-chat-latest`, `gpt-5-mini`, `gpt-5-nano`, `gpt-4.1-2025-04-14`, `gpt-4.1-mini-2025-04-14`, `gpt-4.1-nano-2025-04-14`, `gpt-4.1`, `gpt-4.1-mini`, `gpt-4.1-nano`, `chatgpt-4o-latest`, `o3`, `o3-mini`, `o4-mini`, `o1-mini`, `o1-mini-2024-09-12`, `gpt-4o-realtime-preview-2024-10-01`, `gpt-4o-realtime-preview-2024-12-17`, `gpt-4o-mini-realtime-preview-2024-12-17`, `gpt-realtime-2025-08-28`, `gpt-realtime-mini-2025-12-15`, `gpt-realtime-2`, `gpt-4o-mini-2024-07-18`, `gpt-4o-mini`, `gpt-4o`, `gpt-4o-2024-05-13`, `gpt-4o-2024-08-06`, `gpt-4o-2024-11-20`, `gpt-4-turbo`, `gpt-4-turbo-2024-04-09`, `gpt-4-turbo-preview`, `gpt-4-0125-preview`, `gpt-4-1106-preview`, `gpt-4`, `gpt-4-0613`, `gpt-3.5-turbo`, `gpt-3.5-turbo-0125`, `gpt-3.5-turbo-1106`, `gpt-3.5-turbo-16k`, `gpt-3.5-turbo-0613`, `gpt-5.6-luna:westus3`, `gpt-5.6-terra:westus3`, `gpt-5.6-sol:westus3`, `gpt-5.4:eastus2`, `gpt-5.4:swedencentral`, `gpt-5.4-mini:eastus2`, `gpt-5.4-mini:swedencentral`, `gpt-5.4-nano:eastus2`, `gpt-5.4-nano:swedencentral`, `gpt-5.2:eastus2`, `gpt-5.2:swedencentral`, `gpt-5.1:eastus2`, `gpt-5.1:swedencentral`, `gpt-5:eastus2`, `gpt-5:swedencentral`, `gpt-5:canadaeast`, `gpt-5:eastus`, `gpt-5:westeurope`, `gpt-5:germanywestcentral`, `gpt-5:polandcentral`, `gpt-5:spaincentral`, `gpt-5-mini:eastus2`, `gpt-5-mini:swedencentral`, `gpt-5-mini:westeurope`, `gpt-5-mini:germanywestcentral`, `gpt-5-mini:polandcentral`, `gpt-5-mini:spaincentral`, `gpt-5-nano:eastus2`, `gpt-5-nano:swedencentral`, `gpt-4.1-2025-04-14:westus`, `gpt-4.1-2025-04-14:eastus2`, `gpt-4.1-2025-04-14:eastus`, `gpt-4.1-2025-04-14:westus3`, `gpt-4.1-2025-04-14:northcentralus`, `gpt-4.1-2025-04-14:southcentralus`, `gpt-4.1-2025-04-14:westeurope`, `gpt-4.1-2025-04-14:germanywestcentral`, `gpt-4.1-2025-04-14:polandcentral`, `gpt-4.1-2025-04-14:spaincentral`, `gpt-4.1-mini-2025-04-14:westus`, `gpt-4.1-mini-2025-04-14:eastus2`, `gpt-4.1-mini-2025-04-14:eastus`, `gpt-4.1-mini-2025-04-14:westus3`, `gpt-4.1-mini-2025-04-14:northcentralus`, `gpt-4.1-mini-2025-04-14:southcentralus`, `gpt-4.1-mini-2025-04-14:westeurope`, `gpt-4.1-mini-2025-04-14:germanywestcentral`, `gpt-4.1-mini-2025-04-14:polandcentral`, `gpt-4.1-mini-2025-04-14:spaincentral`, `gpt-4.1-nano-2025-04-14:westus`, `gpt-4.1-nano-2025-04-14:eastus2`, `gpt-4.1-nano-2025-04-14:westus3`, `gpt-4.1-nano-2025-04-14:northcentralus`, `gpt-4.1-nano-2025-04-14:southcentralus`, `gpt-4o-2024-11-20:swedencentral`, `gpt-4o-2024-11-20:westus`, `gpt-4o-2024-11-20:eastus2`, `gpt-4o-2024-11-20:eastus`, `gpt-4o-2024-11-20:westus3`, `gpt-4o-2024-11-20:southcentralus`, `gpt-4o-2024-11-20:westeurope`, `gpt-4o-2024-11-20:germanywestcentral`, `gpt-4o-2024-11-20:polandcentral`, `gpt-4o-2024-11-20:spaincentral`, `gpt-4o-2024-08-06:westus`, `gpt-4o-2024-08-06:westus3`, `gpt-4o-2024-08-06:eastus`, `gpt-4o-2024-08-06:eastus2`, `gpt-4o-2024-08-06:northcentralus`, `gpt-4o-2024-08-06:southcentralus`, `gpt-4o-mini-2024-07-18:westus`, `gpt-4o-mini-2024-07-18:westus3`, `gpt-4o-mini-2024-07-18:eastus`, `gpt-4o-mini-2024-07-18:eastus2`, `gpt-4o-mini-2024-07-18:northcentralus`, `gpt-4o-mini-2024-07-18:southcentralus`, `gpt-4o-2024-05-13:eastus2`, `gpt-4o-2024-05-13:eastus`, `gpt-4o-2024-05-13:northcentralus`, `gpt-4o-2024-05-13:southcentralus`, `gpt-4o-2024-05-13:westus3`, `gpt-4o-2024-05-13:westus`, `gpt-4-turbo-2024-04-09:eastus2`, `gpt-4-0125-preview:eastus`, `gpt-4-0125-preview:northcentralus`, `gpt-4-0125-preview:southcentralus`, `gpt-4-1106-preview:australiaeast`, `gpt-4-1106-preview:canadaeast`, `gpt-4-1106-preview:france`, `gpt-4-1106-preview:india`, `gpt-4-1106-preview:norway`, `gpt-4-1106-preview:swedencentral`, `gpt-4-1106-preview:uk`, `gpt-4-1106-preview:westus`, `gpt-4-1106-preview:westus3`, `gpt-4-0613:canadaeast`, `gpt-3.5-turbo-0125:canadaeast`, `gpt-3.5-turbo-0125:northcentralus`, `gpt-3.5-turbo-0125:southcentralus`, `gpt-3.5-turbo-1106:canadaeast`, `gpt-3.5-turbo-1106:westus`, `gpt-4.1:australiaeast`, `gpt-4o:australiaeast`, `gpt-5.4-mini:australiaeast`
- `toolStrictCompatibilityMode` (enum, optional) — Azure OpenAI doesn't support `maxLength` right now https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/structured-outputs?tabs=python-secure%2Cdotnet-entra-id&pivots=programming-language-csharp#unsupported-type-specific-keywords. Need to strip. - `strip-parameters-with-unsupported-validation` will strip parameters with unsupported validation. - `strip-unsupported-validation` will keep the parameters but strip unsupported validation. @default `strip-unsupported-validation`
  - Allowed values: `strip-parameters-with-unsupported-validation`, `strip-unsupported-validation`
- `promptCacheRetention` (enum, optional) — This controls the prompt cache retention policy for models that support extended caching (GPT-4.1, GPT-5 series). - `in_memory`: Default behavior, cache retained in GPU memory only - `24h`: Extended caching, keeps cached prefixes active for up to 24 hours by offloading to GPU-local storage Only applies to models: gpt-5.6-sol, gpt-5.6-terra, gpt-5.6-luna, gpt-5.5, chat-latest, gpt-5.4, gpt-5.4-mini, gpt-5.4-nano, gpt-5.2, gpt-5.1, gpt-5.1-codex, gpt-5.1-codex-mini, gpt-5.1-chat-latest, gpt-5, gpt-5-codex, gpt-4.1 @default undefined (uses API default which is 'in_memory')
  - Allowed values: `in_memory`, `24h`
- `promptCacheKey` (string, optional) — This is the prompt cache key for models that support extended caching (GPT-4.1, GPT-5 series). Providing a cache key allows you to share cached prefixes across requests. @default undefined
- `serviceTier` (enum, optional) — This is the OpenAI service tier to request. - `fast`: requests Fast mode, which gives faster responses at a higher per-token rate. How much faster depends on the model. - `priority`: the old name for `fast`, accepted and billed the same. - `default`: standard processing. - `auto`: the default when unset. On Vapi's OpenAI keys this is standard processing; on your own OpenAI key, OpenAI applies your project's default tier. OpenAI sets Fast mode rates per model, and they are not a fixed multiple of the standard rates. Vapi bills them only when OpenAI reports that it served the request in Fast mode. Otherwise the request is billed at standard rates, for example when Fast mode isn't available for the model on Vapi, OpenAI downgrades the request, or the request runs on Azure OpenAI. Supported models and their Fast mode rates: https://docs.vapi.ai/providers/model/openai
  - Allowed values: `auto`, `default`, `fast`, `priority`
- `reasoningEffort` (enum, optional) — Reasoning effort for reasoning-capable OpenAI models. For `gpt-realtime-2`: forwarded to V2 stream's session.update as `reasoning.effort`. For non-realtime OpenAI models, model-aware validation limits newly public values while preserving the existing four-value storage contract.
  - Allowed values: `minimal`, `none`, `low`, `medium`, `high`, `xhigh`
- `temperature` (double, optional) — This is the temperature that will be used for calls. Default is 0.5.
- `maxTokens` (double, optional) — This is the max number of tokens that the assistant will be allowed to generate in each turn of the conversation. Default is 250. On gpt-6-luna and claude-haiku-5-5 no cap is applied unless you set one (claude-haiku-5-5 sends its 128,000-token maximum), because reasoning uses output tokens and a small cap can leave the reply empty.
- `emotionRecognitionEnabled` (boolean, optional) — This determines whether we detect user's emotion while they speak and send it as an additional info to model. Default `false` because the model is usually are good at understanding the user's emotion from text. @default false
- `numFastTurns` (double, optional) — This sets how many turns at the start of the conversation to use a smaller, faster model from the same provider before switching to the primary model. Example, gpt-3.5-turbo if provider is openai. Default is 0. @default 0

### OpenRouterModel

- `provider` (enum, required)
  - Allowed values: `openrouter`
- `model` (string, required) — This is the name of the model. Ex. cognitivecomputations/dolphin-mixtral-8x7b
- `messages` (list of OpenAIMessage, optional) — This is the starting state for the conversation.
- `tools` (list of OpenRouterModelToolsItems, optional) — These are the tools that the assistant can use during the call. To use existing tools, use `toolIds`. Both `tools` and `toolIds` can be used together.
- `toolIds` (list of string, optional) — These are the tools that the assistant can use during the call. To use transient tools, use `tools`. Both `tools` and `toolIds` can be used together.
- `toolRefs` (list of ToolRef, optional) — These are version-pinned references to tools. Each entry pins a specific version of a tool by `(toolId, version)`. When the same `toolId` appears in both `toolIds` and `toolRefs[]`, the `toolRefs` pin wins (the `toolIds` entry is dropped at write time).
- `knowledgeBase` (OpenRouterModelKnowledgeBase, optional) — These are the options for the knowledge base.
- `temperature` (double, optional) — This is the temperature that will be used for calls. Default is 0.5.
- `maxTokens` (double, optional) — This is the max number of tokens that the assistant will be allowed to generate in each turn of the conversation. Default is 250. On gpt-6-luna and claude-haiku-5-5 no cap is applied unless you set one (claude-haiku-5-5 sends its 128,000-token maximum), because reasoning uses output tokens and a small cap can leave the reply empty.
- `emotionRecognitionEnabled` (boolean, optional) — This determines whether we detect user's emotion while they speak and send it as an additional info to model. Default `false` because the model is usually are good at understanding the user's emotion from text. @default false
- `numFastTurns` (double, optional) — This sets how many turns at the start of the conversation to use a smaller, faster model from the same provider before switching to the primary model. Example, gpt-3.5-turbo if provider is openai. Default is 0. @default 0

### PerplexityAIModel

- `provider` (enum, required)
  - Allowed values: `perplexity-ai`
- `model` (string, required) — This is the name of the model. Ex. cognitivecomputations/dolphin-mixtral-8x7b
- `messages` (list of OpenAIMessage, optional) — This is the starting state for the conversation.
- `tools` (list of PerplexityAiModelToolsItems, optional) — These are the tools that the assistant can use during the call. To use existing tools, use `toolIds`. Both `tools` and `toolIds` can be used together.
- `toolIds` (list of string, optional) — These are the tools that the assistant can use during the call. To use transient tools, use `tools`. Both `tools` and `toolIds` can be used together.
- `toolRefs` (list of ToolRef, optional) — These are version-pinned references to tools. Each entry pins a specific version of a tool by `(toolId, version)`. When the same `toolId` appears in both `toolIds` and `toolRefs[]`, the `toolRefs` pin wins (the `toolIds` entry is dropped at write time).
- `knowledgeBase` (PerplexityAiModelKnowledgeBase, optional) — These are the options for the knowledge base.
- `temperature` (double, optional) — This is the temperature that will be used for calls. Default is 0.5.
- `maxTokens` (double, optional) — This is the max number of tokens that the assistant will be allowed to generate in each turn of the conversation. Default is 250. On gpt-6-luna and claude-haiku-5-5 no cap is applied unless you set one (claude-haiku-5-5 sends its 128,000-token maximum), because reasoning uses output tokens and a small cap can leave the reply empty.
- `emotionRecognitionEnabled` (boolean, optional) — This determines whether we detect user's emotion while they speak and send it as an additional info to model. Default `false` because the model is usually are good at understanding the user's emotion from text. @default false
- `numFastTurns` (double, optional) — This sets how many turns at the start of the conversation to use a smaller, faster model from the same provider before switching to the primary model. Example, gpt-3.5-turbo if provider is openai. Default is 0. @default 0

### TogetherAIModel

- `provider` (enum, required)
  - Allowed values: `together-ai`
- `model` (string, required) — This is the name of the model. Ex. cognitivecomputations/dolphin-mixtral-8x7b
- `messages` (list of OpenAIMessage, optional) — This is the starting state for the conversation.
- `tools` (list of TogetherAiModelToolsItems, optional) — These are the tools that the assistant can use during the call. To use existing tools, use `toolIds`. Both `tools` and `toolIds` can be used together.
- `toolIds` (list of string, optional) — These are the tools that the assistant can use during the call. To use transient tools, use `tools`. Both `tools` and `toolIds` can be used together.
- `toolRefs` (list of ToolRef, optional) — These are version-pinned references to tools. Each entry pins a specific version of a tool by `(toolId, version)`. When the same `toolId` appears in both `toolIds` and `toolRefs[]`, the `toolRefs` pin wins (the `toolIds` entry is dropped at write time).
- `knowledgeBase` (TogetherAiModelKnowledgeBase, optional) — These are the options for the knowledge base.
- `temperature` (double, optional) — This is the temperature that will be used for calls. Default is 0.5.
- `maxTokens` (double, optional) — This is the max number of tokens that the assistant will be allowed to generate in each turn of the conversation. Default is 250. On gpt-6-luna and claude-haiku-5-5 no cap is applied unless you set one (claude-haiku-5-5 sends its 128,000-token maximum), because reasoning uses output tokens and a small cap can leave the reply empty.
- `emotionRecognitionEnabled` (boolean, optional) — This determines whether we detect user's emotion while they speak and send it as an additional info to model. Default `false` because the model is usually are good at understanding the user's emotion from text. @default false
- `numFastTurns` (double, optional) — This sets how many turns at the start of the conversation to use a smaller, faster model from the same provider before switching to the primary model. Example, gpt-3.5-turbo if provider is openai. Default is 0. @default 0

### XaiModel

- `model` (enum, required) — This is the name of the model. Ex. cognitivecomputations/dolphin-mixtral-8x7b
  - Allowed values: `grok-beta`, `grok-2`, `grok-3`, `grok-4-fast-reasoning`, `grok-4-fast-non-reasoning`, `grok-4.20-0309-reasoning`, `grok-4.20-0309-non-reasoning`, `grok-4.3`
- `provider` (enum, required)
  - Allowed values: `xai`
- `messages` (list of OpenAIMessage, optional) — This is the starting state for the conversation.
- `tools` (list of XaiModelToolsItems, optional) — These are the tools that the assistant can use during the call. To use existing tools, use `toolIds`. Both `tools` and `toolIds` can be used together.
- `toolIds` (list of string, optional) — These are the tools that the assistant can use during the call. To use transient tools, use `tools`. Both `tools` and `toolIds` can be used together.
- `toolRefs` (list of ToolRef, optional) — These are version-pinned references to tools. Each entry pins a specific version of a tool by `(toolId, version)`. When the same `toolId` appears in both `toolIds` and `toolRefs[]`, the `toolRefs` pin wins (the `toolIds` entry is dropped at write time).
- `knowledgeBase` (XaiModelKnowledgeBase, optional) — These are the options for the knowledge base.
- `temperature` (double, optional) — This is the temperature that will be used for calls. Default is 0.5.
- `maxTokens` (double, optional) — This is the max number of tokens that the assistant will be allowed to generate in each turn of the conversation. Default is 250. On gpt-6-luna and claude-haiku-5-5 no cap is applied unless you set one (claude-haiku-5-5 sends its 128,000-token maximum), because reasoning uses output tokens and a small cap can leave the reply empty.
- `emotionRecognitionEnabled` (boolean, optional) — This determines whether we detect user's emotion while they speak and send it as an additional info to model. Default `false` because the model is usually are good at understanding the user's emotion from text. @default false
- `numFastTurns` (double, optional) — This sets how many turns at the start of the conversation to use a smaller, faster model from the same provider before switching to the primary model. Example, gpt-3.5-turbo if provider is openai. Default is 0. @default 0

### VapiModel

- `provider` (enum, required)
  - Allowed values: `vapi`
- `messages` (list of OpenAIMessage, optional) — This is the starting state for the conversation.
- `tools` (list of VapiModelToolsItems, optional) — These are the tools that the assistant can use during the call. To use existing tools, use `toolIds`. Both `tools` and `toolIds` can be used together.
- `toolIds` (list of string, optional) — These are the tools that the assistant can use during the call. To use transient tools, use `tools`. Both `tools` and `toolIds` can be used together.
- `toolRefs` (list of ToolRef, optional) — These are version-pinned references to tools. Each entry pins a specific version of a tool by `(toolId, version)`. When the same `toolId` appears in both `toolIds` and `toolRefs[]`, the `toolRefs` pin wins (the `toolIds` entry is dropped at write time).
- `knowledgeBase` (VapiModelKnowledgeBase, optional) — These are the options for the knowledge base.
- `model` (string, optional) — White-label Vapi models are selected by `version`, not a model name, so `model` is optional here (the runtime already accepts a version-only Vapi payload). Overriding the required `ModelBase.model`: the declared type stays `string` to match the base (avoids TS2416) and the `= undefined!` initializer satisfies TS2612 for the field override, while `@IsOptional` + `@ApiPropertyOptional` make validation and the generated OpenAPI schema treat it as optional (so `VapiModel.required` is `['provider']`).
- `version` (enum, optional) — Vapi-managed model version (update channel). When set, this is a Vapi-managed LLM routed by the registry; when absent, this is the legacy workflow form below (`steps` / `workflow`).
  - Allowed values: `latest`, `1`
- `workflowId` (string, optional) — This is the workflow that will be used for the call. To use a transient workflow, use `workflow` instead.
- `workflow` (WorkflowUserEditable, optional) — This is the workflow that will be used for the call. To use an existing workflow, use `workflowId` instead.
- `temperature` (double, optional) — This is the temperature that will be used for calls. Default is 0.5.
- `emotionRecognitionEnabled` (boolean, optional) — This determines whether we detect user's emotion while they speak and send it as an additional info to model. Default `false` because the model is usually are good at understanding the user's emotion from text. @default false
- `numFastTurns` (double, optional) — This sets how many turns at the start of the conversation to use a smaller, faster model from the same provider before switching to the primary model. Example, gpt-3.5-turbo if provider is openai. Default is 0. @default 0

### AzureVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `azure`
- `voiceId` (AzureVoiceId, required) — This is the provider-specific ID that will be used.
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.
- `speed` (double, optional) — This is the speed multiplier that will be used.
- `fallbackPlan` (FallbackPlan, optional) — This is the plan for voice provider fallbacks in the event that the primary voice provider fails.

### CartesiaVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `cartesia`
- `voiceId` (string, required) — The ID of the particular voice you want to use.
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `model` (enum, optional) — This is the model that will be used. This is optional and will default to the correct model for the voiceId.
  - Allowed values: `sonic-3.5`, `sonic-3.5-2026-05-04`, `sonic-3.6`, `sonic-3.6-2026-08-27`, `sonic-3`, `sonic-3-2026-01-12`, `sonic-3-2025-10-27`, `sonic-2`, `sonic-2-2025-06-11`, `sonic-english`, `sonic-multilingual`, `sonic-preview`, `sonic`
- `language` (enum, optional) — This is the language that will be used. This is optional and will default to the correct language for the voiceId.
  - Allowed values: `ar`, `bg`, `bn`, `cs`, `da`, `de`, `el`, `en`, `es`, `fi`, `fr`, `gu`, `he`, `hi`, `hr`, `hu`, `id`, `it`, `ja`, `ka`, `kn`, `ko`, `ml`, `mr`, `ms`, `nl`, `no`, `or`, `pa`, `pl`, `pt`, `ro`, `ru`, `sk`, `sv`, `ta`, `te`, `th`, `tl`, `tr`, `uk`, `ur`, `vi`, `zh`
- `experimentalControls` (CartesiaExperimentalControls, optional) — Experimental controls for Cartesia voice generation
- `generationConfig` (CartesiaGenerationConfig, optional) — Generation config for fine-grained control of sonic-3 voice output (speed, volume, and experimental controls). Only available for sonic-3 model.
- `pronunciationDictId` (string, optional) — Pronunciation dictionary ID for sonic-3. Allows custom pronunciations for specific words. Only available for sonic-3 model.
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.
- `fallbackPlan` (FallbackPlan, optional) — This is the plan for voice provider fallbacks in the event that the primary voice provider fails.

### CustomVoice

- `provider` (enum, required) — This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.
  - Allowed values: `custom-voice`
- `server` (Server, required) — This is where the voice request will be sent. Request Example: POST https\://\{server.url} Content-Type: application/json \{ "message": \{ "type": "voice-request", "text": "Hello, world!", "sampleRate": 24000, ...other metadata about the call... } } Response Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport: ``` response.on('data', (chunk: Buffer) => \{ outputStream.write(chunk); }); ```
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `voiceId` (string, optional) — This is the provider-specific ID that will be used. This is passed in the voice request payload to identify the voice to use.
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.
- `fallbackPlan` (FallbackPlan, optional) — This is the plan for voice provider fallbacks in the event that the primary voice provider fails.

### DeepgramVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `deepgram`
- `voiceId` (enum, required) — This is the provider-specific ID that will be used.
  - Allowed values: `asteria`, `luna`, `stella`, `athena`, `hera`, `orion`, `arcas`, `perseus`, `angus`, `orpheus`, `helios`, `zeus`, `thalia`, `andromeda`, `helena`, `apollo`, `arcas`, `aries`, `amalthea`, `asteria`, `athena`, `atlas`, `aurora`, `callista`, `cora`, `cordelia`, `delia`, `draco`, `electra`, `harmonia`, `hera`, `hermes`, `hyperion`, `iris`, `janus`, `juno`, `jupiter`, `luna`, `mars`, `minerva`, `neptune`, `odysseus`, `ophelia`, `orion`, `orpheus`, `pandora`, `phoebe`, `pluto`, `saturn`, `selene`, `theia`, `vesta`, `zeus`, `celeste`, `estrella`, `nestor`, `sirio`, `carina`, `alvaro`, `diana`, `aquila`, `selena`, `javier`, `viktoria`, `kara`, `fabian`, `julius`, `lara`, `elara`, `aurelia`, `hannah`, `kit`, `alexis`, `cliff`, `sienna`, `cole`, `brooke`, `colin`, `gemma`, `haley`, `heather`, `miles`, `sean`, `bree`, `brittany`, `bruce`, `conor`, `donovan`, `drew`, `elise`, `jack`, `kai`, `kelsey`, `maeve`, `marcelo`, `marcus`, `meena`, `meghan`, `naveen`, `paige`, `priya`, `rufus`, `sharon`, `tanner`, `wade`, `wes`
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `model` (enum, optional) — This is the model that will be used. Defaults to 'aura' when not specified.
  - Allowed values: `aura`, `aura-2`, `flux`
- `mipOptOut` (boolean, optional, default: false) — If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out This only applies to your own Deepgram API key. Requests on Vapi's key always opt out, whatever this is set to. @default false
- `speed` (double, optional, default: 1) — This is the speed multiplier that will be used. Aura-2 accepts 0.7 to 1.5; Flux accepts 0.5 to 1.5 in steps of 0.05. Aura does not support speed. @default 1
- `expressivity` (double, optional, default: 0) — This is the expressivity level for Flux voices, from -2 (flat) to 2 (lively). Deepgram marks this control as beta and may retune the scale. Aura and Aura-2 do not support it. @default 0
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.
- `fallbackPlan` (FallbackPlan, optional) — This is the plan for voice provider fallbacks in the event that the primary voice provider fails.

### ElevenLabsVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `11labs`
- `voiceId` (ElevenLabsVoiceId, required) — This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `stability` (double, optional) — Defines the stability for voice settings.
- `similarityBoost` (double, optional) — Defines the similarity boost for voice settings. Ignored by `eleven_v4_turbo` and `eleven_v3_conversational`.
- `style` (double, optional) — Defines the style for voice settings. Ignored by `eleven_v4_turbo` and `eleven_v3_conversational`.
- `useSpeakerBoost` (boolean, optional) — Defines the use speaker boost for voice settings. Ignored by `eleven_v4_turbo` and `eleven_v3_conversational`.
- `speed` (double, optional) — Defines the speed for voice settings. Ignored by `eleven_v4_turbo` and `eleven_v3_conversational`.
- `optimizeStreamingLatency` (double, optional) — Defines the optimize streaming latency for voice settings. Defaults to 3. Ignored by `eleven_v4_turbo` and `eleven_v3_conversational`.
- `enableSsmlParsing` (boolean, optional) — This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency. Ignored by `eleven_v4_turbo` and `eleven_v3_conversational`. @default false
- `autoMode` (boolean, optional) — Defines the auto mode for voice settings. Defaults to false. Ignored by `eleven_v4_turbo` and `eleven_v3_conversational`.
- `model` (enum, optional) — This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.
  - Allowed values: `eleven_multilingual_v2`, `eleven_turbo_v2`, `eleven_turbo_v2_5`, `eleven_flash_v2`, `eleven_flash_v2_5`, `eleven_monolingual_v1`, `eleven_v3`, `eleven_v4_turbo`, `eleven_v3_conversational`
- `language` (string, optional) — This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5, Flash v2.5 and the Text to Dialogue models support language enforcement; other models ignore it.
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.
- `pronunciationDictionaryLocators` (list of ElevenLabsPronunciationDictionaryLocator, optional) — This is the pronunciation dictionary locators to use.
- `fallbackPlan` (FallbackPlan, optional) — This is the plan for voice provider fallbacks in the event that the primary voice provider fails.

### HumeVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `hume`
- `voiceId` (string, required) — The ID of the particular voice you want to use.
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `model` (enum, optional) — This is the model that will be used.
  - Allowed values: `octave`, `octave2`
- `isCustomHumeVoice` (boolean, optional) — Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.
- `description` (string, optional) — Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent'). If a Voice is specified in the request, this description serves as acting instructions. If no Voice is specified, a new voice is generated based on this description.
- `fallbackPlan` (FallbackPlan, optional) — This is the plan for voice provider fallbacks in the event that the primary voice provider fails.

### LMNTVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `lmnt`
- `voiceId` (LMNTVoiceId, required) — This is the provider-specific ID that will be used.
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `speed` (double, optional) — This is the speed multiplier that will be used.
- `language` (enum, optional) — Two letter ISO 639-1 language code. Use "auto" for auto-detection.
  - Allowed values: `aa`, `ab`, `ae`, `af`, `ak`, `am`, `an`, `ar`, `as`, `av`, `ay`, `az`, `ba`, `be`, `bg`, `bh`, `bi`, `bm`, `bn`, `bo`, `br`, `bs`, `ca`, `ce`, `ch`, `co`, `cr`, `cs`, `cu`, `cv`, `cy`, `da`, `de`, `dv`, `dz`, `ee`, `el`, `en`, `eo`, `es`, `et`, `eu`, `fa`, `ff`, `fi`, `fj`, `fo`, `fr`, `fy`, `ga`, `gd`, `gl`, `gn`, `gu`, `gv`, `ha`, `he`, `hi`, `ho`, `hr`, `ht`, `hu`, `hy`, `hz`, `ia`, `id`, `ie`, `ig`, `ii`, `ik`, `io`, `is`, `it`, `iu`, `ja`, `jv`, `ka`, `kg`, `ki`, `kj`, `kk`, `kl`, `km`, `kn`, `ko`, `kr`, `ks`, `ku`, `kv`, `kw`, `ky`, `la`, `lb`, `lg`, `li`, `ln`, `lo`, `lt`, `lu`, `lv`, `mg`, `mh`, `mi`, `mk`, `ml`, `mn`, `mr`, `ms`, `mt`, `my`, `na`, `nb`, `nd`, `ne`, `ng`, `nl`, `nn`, `no`, `nr`, `nv`, `ny`, `oc`, `oj`, `om`, `or`, `os`, `pa`, `pi`, `pl`, `ps`, `pt`, `qu`, `rm`, `rn`, `ro`, `ru`, `rw`, `sa`, `sc`, `sd`, `se`, `sg`, `si`, `sk`, `sl`, `sm`, `sn`, `so`, `sq`, `sr`, `ss`, `st`, `su`, `sv`, `sw`, `ta`, `te`, `tg`, `th`, `ti`, `tk`, `tl`, `tn`, `to`, `tr`, `ts`, `tt`, `tw`, `ty`, `ug`, `uk`, `ur`, `uz`, `ve`, `vi`, `vo`, `wa`, `wo`, `xh`, `yi`, `yue`, `yo`, `za`, `zh`, `zu`, `auto`
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.
- `fallbackPlan` (FallbackPlan, optional) — This is the plan for voice provider fallbacks in the event that the primary voice provider fails.

### NeuphonicVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `neuphonic`
- `voiceId` (NeuphonicVoiceVoiceId, required) — This is the provider-specific ID that will be used.
- `language` (NeuphonicVoiceLanguage, required) — This is the language (ISO 639-1) that is enforced for the model.
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `model` (enum, optional) — This is the model that will be used. Defaults to 'neu_fast' if not specified.
  - Allowed values: `neu_hq`, `neu_fast`
- `speed` (double, optional) — This is the speed multiplier that will be used.
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.
- `fallbackPlan` (FallbackPlan, optional) — This is the plan for voice provider fallbacks in the event that the primary voice provider fails.

### OpenAIVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `openai`
- `voiceId` (OpenAIVoiceId, required) — This is the provider-specific ID that will be used. Voice availability depends on the selected model: voices offered only by GPT-Live are rejected for other models.
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `model` (enum, optional) — This is the model that will be used for text-to-speech.
  - Allowed values: `tts-1`, `tts-1-hd`, `gpt-4o-mini-tts`
- `instructions` (string, optional) — This is a prompt that allows you to control the voice of your generated audio. Does not work with 'tts-1' or 'tts-1-hd' models.
- `speed` (double, optional) — This is the speed multiplier that will be used.
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.
- `fallbackPlan` (FallbackPlan, optional) — This is the plan for voice provider fallbacks in the event that the primary voice provider fails.

### PlayHTVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `playht`
- `voiceId` (PlayHtVoiceVoiceId, required) — This is the provider-specific ID that will be used.
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `speed` (double, optional) — This is the speed multiplier that will be used.
- `temperature` (double, optional) — A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.
- `emotion` (enum, optional) — An emotion to be applied to the speech.
  - Allowed values: `female_happy`, `female_sad`, `female_angry`, `female_fearful`, `female_disgust`, `female_surprised`, `male_happy`, `male_sad`, `male_angry`, `male_fearful`, `male_disgust`, `male_surprised`
- `voiceGuidance` (double, optional) — A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.
- `styleGuidance` (double, optional) — A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.
- `textGuidance` (double, optional) — A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.
- `model` (enum, optional) — Playht voice model/engine to use.
  - Allowed values: `PlayHT2.0`, `PlayHT2.0-turbo`, `Play3.0-mini`, `PlayDialog`
- `language` (enum, optional) — The language to use for the speech.
  - Allowed values: `afrikaans`, `albanian`, `amharic`, `arabic`, `bengali`, `bulgarian`, `catalan`, `croatian`, `czech`, `danish`, `dutch`, `english`, `french`, `galician`, `german`, `greek`, `hebrew`, `hindi`, `hungarian`, `indonesian`, `italian`, `japanese`, `korean`, `malay`, `mandarin`, `polish`, `portuguese`, `russian`, `serbian`, `spanish`, `swedish`, `tagalog`, `thai`, `turkish`, `ukrainian`, `urdu`, `xhosa`
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.
- `fallbackPlan` (FallbackPlan, optional) — This is the plan for voice provider fallbacks in the event that the primary voice provider fails.

### WellSaidVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `wellsaid`
- `voiceId` (string, required) — The WellSaid speaker ID to synthesize.
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `model` (enum, optional) — This is the model that will be used.
  - Allowed values: `caruso`, `legacy`
- `enableSsml` (boolean, optional) — Enables limited SSML translation for input text.
- `libraryIds` (list of string, optional) — Array of library IDs to use for voice synthesis.
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.
- `fallbackPlan` (FallbackPlan, optional) — This is the plan for voice provider fallbacks in the event that the primary voice provider fails.

### RimeAIVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `rime-ai`
- `voiceId` (RimeAIVoiceId, required) — This is the provider-specific ID that will be used.
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `model` (enum, optional) — This is the model that will be used. Defaults to 'arcana' when not specified.
  - Allowed values: `arcana`, `coda`, `mistv2`, `mistv3`, `mist`
- `speed` (double, optional) — This is the speed multiplier that will be used.
- `pauseBetweenBrackets` (boolean, optional) — This is a flag that controls whether to add slight pauses using angle brackets. Example: "Hi. \<200> I'd love to have a conversation with you." adds a 200ms pause between the first and second sentences.
- `phonemizeBetweenBrackets` (boolean, optional) — This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: "\{h'El.o} World" will pronounce "Hello" as expected.
- `reduceLatency` (boolean, optional) — This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency
- `inlineSpeedAlpha` (string, optional) — This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha
- `language` (enum, optional) — Language for speech synthesis. Uses ISO 639 codes. Supported: en, es, de, fr, ar, hi, ja, he, pt, ta, si.
  - Allowed values: `en`, `es`, `de`, `fr`, `ar`, `hi`, `ja`, `he`, `pt`, `ta`, `si`
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.
- `fallbackPlan` (FallbackPlan, optional) — This is the plan for voice provider fallbacks in the event that the primary voice provider fails.

### SmallestAIVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `smallest-ai`
- `voiceId` (SmallestAiVoiceVoiceId, required) — This is the provider-specific ID that will be used.
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `model` (enum, optional) — Smallest AI voice model to use. Defaults to 'lightning' when not specified.
  - Allowed values: `lightning`
- `speed` (double, optional) — This is the speed multiplier that will be used.
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.
- `fallbackPlan` (FallbackPlan, optional) — This is the plan for voice provider fallbacks in the event that the primary voice provider fails.

### VapiVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `vapi`
- `voiceId` (string, required) — The voice to use: a built-in Vapi voice name, or a cloned voice id (used with version 2).
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `version` (enum, optional) — The Vapi voice routing generation. `latest` auto-updates to the newest generation; version 1 uses legacy mappings; version 2 can use xAI-backed voices when available. When omitted, Version 1 is used. Accepts the string channel ('latest', '1', '2'); legacy numeric values (1, 2) are also accepted and coerced to their string form.
  - Allowed values: `1`, `2`, `latest`
- `speed` (double, optional, default: 1) — This is the speed multiplier that will be used. @default 1
- `language` (enum, optional) — Language for Vapi voice synthesis. For Version 2, omit this field or set `auto` for automatic language detection. Version 1 supports legacy Vapi language values.
  - Allowed values: `en-US`, `en-GB`, `en-AU`, `en-CA`, `ja`, `zh`, `de`, `hi`, `fr-FR`, `fr-CA`, `ko`, `pt-BR`, `pt-PT`, `it`, `es-ES`, `es-MX`, `id`, `nl`, `tr`, `fil`, `pl`, `sv`, `bg`, `ro`, `ar-SA`, `ar-AE`, `cs`, `el`, `fi`, `hr`, `ms`, `sk`, `da`, `ta`, `uk`, `ru`, `hu`, `no`, `vi`, `auto`, `en`, `ar`, `ar-EG`, `bn`, `es`, `fr`, `gu`, `he`, `ka`, `kn`, `ml`, `mr`, `pa`, `pt`, `te`, `th`, `tl`
- `pronunciationDictionary` (list of VapiPronunciationDictionaryLocator, optional) — List of pronunciation dictionary locators for custom word pronunciations.
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.

### SesameVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `sesame`
- `voiceId` (string, required) — This is the provider-specific ID that will be used.
- `model` (enum, required) — This is the model that will be used.
  - Allowed values: `csm-1b`
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.
- `fallbackPlan` (FallbackPlan, optional) — This is the plan for voice provider fallbacks in the event that the primary voice provider fails.

### InworldVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `inworld`
- `voiceId` (enum, required) — Available voices by language: • en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus, Hana, Clive, Carter, Blake, Luna • zh: Yichen, Xiaoyin, Xinyi, Jing • nl: Erik, Katrien, Lennart, Lore • fr: Alain, Hélène, Mathieu, Étienne • de: Johanna, Josef • it: Gianni, Orietta • ja: Asuka, Satoshi • ko: Hyunwoo, Minji, Seojun, Yoona • pl: Szymon, Wojciech • pt: Heitor, Maitê • es: Diego, Lupita, Miguel, Rafael • ru: Svetlana, Elena, Dmitry, Nikolai • hi: Riya, Manoj • he: Yael, Oren • ar: Nour, Omar
  - Allowed values: `Alex`, `Ashley`, `Craig`, `Deborah`, `Dennis`, `Edward`, `Elizabeth`, `Hades`, `Julia`, `Pixie`, `Mark`, `Olivia`, `Priya`, `Ronald`, `Sarah`, `Shaun`, `Theodore`, `Timothy`, `Wendy`, `Dominus`, `Hana`, `Clive`, `Carter`, `Blake`, `Luna`, `Yichen`, `Xiaoyin`, `Xinyi`, `Jing`, `Erik`, `Katrien`, `Lennart`, `Lore`, `Alain`, `Hélène`, `Mathieu`, `Étienne`, `Johanna`, `Josef`, `Gianni`, `Orietta`, `Asuka`, `Satoshi`, `Hyunwoo`, `Minji`, `Seojun`, `Yoona`, `Szymon`, `Wojciech`, `Heitor`, `Maitê`, `Diego`, `Lupita`, `Miguel`, `Rafael`, `Svetlana`, `Elena`, `Dmitry`, `Nikolai`, `Riya`, `Manoj`, `Yael`, `Oren`, `Nour`, `Omar`
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `model` (enum, optional, default: inworld-tts-1) — This is the model that will be used.
  - Allowed values: `inworld-tts-1`
- `languageCode` (enum, optional, default: en) — Language code for Inworld TTS synthesis
  - Allowed values: `en`, `zh`, `ko`, `nl`, `fr`, `es`, `ja`, `de`, `it`, `pl`, `pt`, `ru`, `hi`, `he`, `ar`
- `temperature` (double, optional, default: 1.1) — A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature of 1.1 will be used. The temperature parameter controls variance. Higher values will make the output more random and can lead to more expressive results. Lower values will make it more deterministic. See https://docs.inworld.ai/docs/tts/capabilities/generating-audio#additional-configurations for more details.
- `speakingRate` (double, optional, default: 1) — A floating point number between 0.5, inclusive, and 1.5, inclusive. If equal to null or not provided, the model's default speaking speed of 1.0 will be used. Values above 0.8 are recommended for higher quality. See https://docs.inworld.ai/docs/tts/capabilities/generating-audio#additional-configurations for more details.
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.
- `fallbackPlan` (FallbackPlan, optional) — This is the plan for voice provider fallbacks in the event that the primary voice provider fails.

### MinimaxVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `minimax`
- `voiceId` (string, required) — This is the provider-specific ID that will be used. Use a voice from MINIMAX_PREDEFINED_VOICES or a custom cloned voice ID.
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `model` (enum, optional, default: speech-02-turbo) — This is the model that will be used. Options are 'speech-02-hd' and 'speech-02-turbo'. speech-02-hd is optimized for high-fidelity applications like voiceovers and audiobooks. speech-02-turbo is designed for real-time applications with low latency. @default "speech-02-turbo"
  - Allowed values: `speech-02-hd`, `speech-02-turbo`, `speech-2.5-turbo-preview`
- `emotion` (string, optional) — The emotion to use for the voice. If not provided, will use auto-detect mode. Options include: 'happy', 'sad', 'angry', 'fearful', 'surprised', 'disgusted', 'neutral'
- `subtitleType` (enum, optional, default: sentence) — Controls the granularity of subtitle/timing data returned by Minimax during synthesis. Set to 'word' to receive per-word timestamps in assistant.speechStarted events for karaoke-style caption rendering. @default "sentence"
  - Allowed values: `word`, `sentence`
- `pitch` (double, optional, default: 0) — Voice pitch adjustment. Range from -12 to 12 semitones. @default 0
- `speed` (double, optional, default: 1) — Voice speed adjustment. Range from 0.5 to 2.0. @default 1.0
- `volume` (double, optional, default: 1) — Voice volume adjustment. Range from 0.5 to 2.0. @default 1.0
- `region` (enum, optional, default: worldwide) — The region for Minimax API. Defaults to "worldwide".
  - Allowed values: `worldwide`, `china`
- `languageBoost` (enum, optional) — Language hint for MiniMax T2A. Example: yue (Cantonese), zh (Chinese), en (English).
  - Allowed values: `Chinese`, `Chinese,Yue`, `English`, `Arabic`, `Russian`, `Spanish`, `French`, `Portuguese`, `German`, `Turkish`, `Dutch`, `Ukrainian`, `Vietnamese`, `Indonesian`, `Japanese`, `Italian`, `Korean`, `Thai`, `Polish`, `Romanian`, `Greek`, `Czech`, `Finnish`, `Hindi`, `Bulgarian`, `Danish`, `Hebrew`, `Malay`, `Persian`, `Slovak`, `Swedish`, `Croatian`, `Filipino`, `Hungarian`, `Norwegian`, `Slovenian`, `Catalan`, `Nynorsk`, `Tamil`, `Afrikaans`, `auto`
- `textNormalizationEnabled` (boolean, optional, default: true) — Enable MiniMax text normalization to improve number reading and formatting.
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.
- `fallbackPlan` (FallbackPlan, optional) — This is the plan for voice provider fallbacks in the event that the primary voice provider fails.

### XaiVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `xai`
- `voiceId` (enum, required) — Built-in voices: eve, ara, rex, sal, leo. Cloned voice IDs are also accepted.
  - Allowed values: `eve`, `ara`, `rex`, `sal`, `leo`
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `language` (enum, optional, default: en) — BCP-47 language code for xAI TTS synthesis.
  - Allowed values: `auto`, `en`, `ar-EG`, `ar-SA`, `ar-AE`, `bn`, `zh`, `fr`, `de`, `hi`, `id`, `it`, `ja`, `ko`, `pt-BR`, `pt-PT`, `ru`, `es-MX`, `es-ES`, `tr`, `vi`
- `speed` (double, optional, default: 1.1) — Speed multiplier for xAI TTS synthesis.
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.
- `fallbackPlan` (FallbackPlan, optional) — This is the plan for voice provider fallbacks in the event that the primary voice provider fails.

### MicrosoftVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `microsoft`
- `voiceId` (enum, required) — MAI-Voice-2 voice ID. Built-in voices listed in enum.
  - Allowed values: `de-DE-Klaus:MAI-Voice-2`, `de-DE-Mia:MAI-Voice-2`, `en-AU-Lisa:MAI-Voice-2`, `en-US-Ethan:MAI-Voice-2`, `en-US-Grant:MAI-Voice-2`, `en-US-Harper:MAI-Voice-2`, `en-US-Iris:MAI-Voice-2`, `en-US-Jasper:MAI-Voice-2`, `en-US-Olivia:MAI-Voice-2`, `es-ES-Marta:MAI-Voice-2`, `es-MX-Alejo:MAI-Voice-2`, `es-MX-Valeria:MAI-Voice-2`, `fr-FR-Marc:MAI-Voice-2`, `fr-FR-Soleil:MAI-Voice-2`, `hi-IN-Arjun:MAI-Voice-2`, `hi-IN-Dhruv:MAI-Voice-2`, `hi-IN-Kavya:MAI-Voice-2`, `hi-IN-Priya:MAI-Voice-2`, `hu-HU-Bence:MAI-Voice-2`, `hu-HU-Levente:MAI-Voice-2`, `hu-HU-Lilla:MAI-Voice-2`, `hu-HU-Réka:MAI-Voice-2`, `it-IT-Luca:MAI-Voice-2`, `it-IT-Rosa:MAI-Voice-2`, `ko-KR-Hana:MAI-Voice-2`, `ko-KR-Junho:MAI-Voice-2`, `nl-NL-Fleur:MAI-Voice-2`, `nl-NL-Sander:MAI-Voice-2`, `pt-BR-Caio:MAI-Voice-2`, `pt-BR-Luana:MAI-Voice-2`, `pt-BR-Pedro:MAI-Voice-2`, `pt-BR-Rafael:MAI-Voice-2`, `pt-PT-Rui:MAI-Voice-2`, `ro-RO-Andrei:MAI-Voice-2`, `ro-RO-Elena:MAI-Voice-2`, `ro-RO-Ioana:MAI-Voice-2`, `ro-RO-Radu:MAI-Voice-2`, `ru-RU-Lev:MAI-Voice-2`, `ru-RU-Masha:MAI-Voice-2`, `th-TH-Krit:MAI-Voice-2`, `th-TH-Nattapong:MAI-Voice-2`, `tr-TR-Aydin:MAI-Voice-2`, `tr-TR-Elif:MAI-Voice-2`, `zh-CN-Bo:MAI-Voice-2`, `zh-CN-Lan:MAI-Voice-2`, `zh-CN-Mei:MAI-Voice-2`
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `style` (enum, optional) — Speaking style applied via mstts:express-as on every request. Unknown styles are ignored by Azure and fall back to neutral.
  - Allowed values: `adventurous`, `angry`, `caring`, `cheerful`, `confused`, `curious`, `determined`, `disappointed`, `disgusted`, `embarrassed`, `empathy`, `encouraging`, `excited`, `fearful`, `friendly`, `happy`, `hopeful`, `jealous`, `joyful`, `nostalgic`, `reflective`, `regretful`, `relieved`, `sad`, `serious`, `shouting`, `softvoice`, `surprised`, `whispering`
- `styleDegree` (double, optional, default: 1) — Style intensity (0.01–2). Default 1 = the predefined style strength. Only applies when `style` is set.
- `role` (enum, optional) — Role-play (age/gender imitation). Requires `style` to be set; ignored otherwise.
  - Allowed values: `Girl`, `Boy`, `YoungAdultFemale`, `YoungAdultMale`, `OlderAdultFemale`, `OlderAdultMale`, `SeniorFemale`, `SeniorMale`
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.
- `speed` (double, optional) — This is the speed multiplier that will be used.
- `fallbackPlan` (FallbackPlan, optional) — This is the plan for voice provider fallbacks in the event that the primary voice provider fails.

### GoogleVoicemailDetectionPlan

- `provider` (enum, required) — This is the provider to use for voicemail detection.
  - Allowed values: `google`
- `beepMaxAwaitSeconds` (double, optional, default: 30) — This is the maximum duration from the start of the call that we will wait for a voicemail beep, before speaking our message - If we detect a voicemail beep before this, we will speak the message at that point. - Setting too low a value means that the bot will start speaking its voicemail message too early. If it does so before the actual beep, it will get cut off. You should definitely tune this to your use case. @default 30 @min 0 @max 60
- `backoffPlan` (VoicemailDetectionBackoffPlan, optional) — This is the backoff plan for the voicemail detection.
- `type` (enum, optional) — This is the detection type to use for voicemail detection. - 'audio': Uses native audio models (default) - 'transcript': Uses ASR/transcript-based detection @default 'audio' (audio detection)
  - Allowed values: `audio`, `transcript`

### OpenAIVoicemailDetectionPlan

- `provider` (enum, required) — This is the provider to use for voicemail detection.
  - Allowed values: `openai`
- `beepMaxAwaitSeconds` (double, optional, default: 30) — This is the maximum duration from the start of the call that we will wait for a voicemail beep, before speaking our message - If we detect a voicemail beep before this, we will speak the message at that point. - Setting too low a value means that the bot will start speaking its voicemail message too early. If it does so before the actual beep, it will get cut off. You should definitely tune this to your use case. @default 30 @min 0 @max 60
- `backoffPlan` (VoicemailDetectionBackoffPlan, optional) — This is the backoff plan for the voicemail detection.
- `type` (enum, optional) — This is the detection type to use for voicemail detection. - 'audio': Uses native audio models (default) - 'transcript': Uses ASR/transcript-based detection @default 'audio' (audio detection)
  - Allowed values: `audio`, `transcript`

### TwilioVoicemailDetectionPlan

- `provider` (enum, required) — This is the provider to use for voicemail detection.
  - Allowed values: `twilio`
- `voicemailDetectionTypes` (enum, optional) — These are the AMD messages from Twilio that are considered as voicemail. Default is \['machine\_end\_beep', 'machine\_end\_silence']. @default \{Array} \['machine\_end\_beep', 'machine\_end\_silence']
  - Allowed values: `machine_start`, `human`, `fax`, `unknown`, `machine_end_beep`, `machine_end_silence`, `machine_end_other`
- `enabled` (boolean, optional) — This sets whether the assistant should detect voicemail. Defaults to true. @default true
- `machineDetectionTimeout` (double, optional) — The number of seconds that Twilio should attempt to perform answering machine detection before timing out and returning AnsweredBy as unknown. Default is 30 seconds. Increasing this value will provide the engine more time to make a determination. This can be useful when DetectMessageEnd is provided in the MachineDetection parameter and there is an expectation of long answering machine greetings that can exceed 30 seconds. Decreasing this value will reduce the amount of time the engine has to make a determination. This can be particularly useful when the Enable option is provided in the MachineDetection parameter and you want to limit the time for initial detection. Check the [Twilio docs](https://www.twilio.com/docs/voice/answering-machine-detection#optional-api-tuning-parameters) for more info. @default 30
- `machineDetectionSpeechThreshold` (double, optional) — The number of milliseconds that is used as the measuring stick for the length of the speech activity. Durations lower than this value will be interpreted as a human, longer as a machine. Default is 2400 milliseconds. Increasing this value will reduce the chance of a False Machine (detected machine, actually human) for a long human greeting (e.g., a business greeting) but increase the time it takes to detect a machine. Decreasing this value will reduce the chances of a False Human (detected human, actually machine) for short voicemail greetings. The value of this parameter may need to be reduced by more than 1000ms to detect very short voicemail greetings. A reduction of that significance can result in increased False Machine detections. Adjusting the MachineDetectionSpeechEndThreshold is likely the better approach for short voicemails. Decreasing MachineDetectionSpeechThreshold will also reduce the time it takes to detect a machine. Check the [Twilio docs](https://www.twilio.com/docs/voice/answering-machine-detection#optional-api-tuning-parameters) for more info. @default 2400
- `machineDetectionSpeechEndThreshold` (double, optional) — The number of milliseconds of silence after speech activity at which point the speech activity is considered complete. Default is 1200 milliseconds. Increasing this value will typically be used to better address the short voicemail greeting scenarios. For short voicemails, there is typically 1000-2000ms of audio followed by 1200-2400ms of silence and then additional audio before the beep. Increasing the MachineDetectionSpeechEndThreshold to ~2500ms will treat the 1200-2400ms of silence as a gap in the greeting but not the end of the greeting and will result in a machine detection. The downsides of such a change include: - Increasing the delay for human detection by the amount you increase this parameter, e.g., a change of 1200ms to 2500ms increases human detection delay by 1300ms. - Cases where a human has two utterances separated by a period of silence (e.g. a "Hello", then 2000ms of silence, and another "Hello") may be interpreted as a machine. Decreasing this value will result in faster human detection. The consequence is that it can lead to increased False Human (detected human, actually machine) detections because a silence gap in a voicemail greeting (not necessarily just in short voicemail scenarios) can be incorrectly interpreted as the end of speech. Check the [Twilio docs](https://www.twilio.com/docs/voice/answering-machine-detection#optional-api-tuning-parameters) for more info. @default 1200
- `machineDetectionSilenceTimeout` (double, optional) — The number of milliseconds of initial silence after which an unknown AnsweredBy result will be returned. Default is 5000 milliseconds. Increasing this value will result in waiting for a longer period of initial silence before returning an 'unknown' AMD result. Decreasing this value will result in waiting for a shorter period of initial silence before returning an 'unknown' AMD result. Check the [Twilio docs](https://www.twilio.com/docs/voice/answering-machine-detection#optional-api-tuning-parameters) for more info. @default 5000

### VapiVoicemailDetectionPlan

- `provider` (enum, required) — This is the provider to use for voicemail detection.
  - Allowed values: `vapi`
- `beepMaxAwaitSeconds` (double, optional, default: 30) — This is the maximum duration from the start of the call that we will wait for a voicemail beep, before speaking our message - If we detect a voicemail beep before this, we will speak the message at that point. - Setting too low a value means that the bot will start speaking its voicemail message too early. If it does so before the actual beep, it will get cut off. You should definitely tune this to your use case. @default 30 @min 0 @max 60
- `backoffPlan` (VoicemailDetectionBackoffPlan, optional) — This is the backoff plan for the voicemail detection.
- `type` (enum, optional) — This is the detection type to use for voicemail detection. - 'audio': Uses native audio models (default) - 'transcript': Uses ASR/transcript-based detection @default 'audio' (audio detection)
  - Allowed values: `audio`, `transcript`

### TransportConfigurationTwilio

- `provider` (enum, required)
  - Allowed values: `twilio`
- `timeout` (double, optional) — The integer number of seconds that we should allow the phone to ring before assuming there is no answer. The default is `60` seconds and the maximum is `600` seconds. For some call flows, we will add a 5-second buffer to the timeout value you provide. For this reason, a timeout value of 10 seconds could result in an actual timeout closer to 15 seconds. You can set this to a short time, such as `15` seconds, to hang up before reaching an answering machine or voicemail. @default 60
- `record` (boolean, optional) — Whether to record the call. Can be `true` to record the phone call, or `false` to not. The default is `false`. @default false
- `recordingChannels` (enum, optional) — The number of channels in the final recording. Can be: `mono` or `dual`. The default is `mono`. `mono` records both legs of the call in a single channel of the recording file. `dual` records each leg to a separate channel of the recording file. The first channel of a dual-channel recording contains the parent call and the second channel contains the child call. @default 'mono'
  - Allowed values: `mono`, `dual`

### LangfuseObservabilityPlanMetadata

This is a JSON object that will be added to the Langfuse trace. Traces can be enriched with metadata to better understand your users, application, and experiments. https://langfuse.com/docs/tracing-features/metadata By default it includes the call metadata, assistant metadata, and assistant overrides.

### CreateWorkflowDtoCredentialsItemsDiscriminatorMappingAnthropicBedrockAuthenticationPlan

Authentication method - either direct IAM credentials or cross-account role assumption.

- AWSIAMCredentialsAuthenticationPlan: AWSIAMCredentialsAuthenticationPlan
- AWSStsAuthenticationPlan: AWSStsAuthenticationPlan

### AzureBlobStorageBucketPlan

- `connectionString` (string, required) — This is the blob storage connection string for the Azure resource.
- `containerName` (string, required) — This is the container name for the Azure blob storage.
- `path` (string, optional) — This is the path where call artifacts will be stored. Usage: - To store call artifacts in a specific folder, set this to the full path. Eg. "/folder-name1/folder-name2". - To store call artifacts in the root of the bucket, leave this blank. @default "/"

### SipTrunkGateway

- `ip` (string, required) — This is the address of the gateway. Inbound gateways require an IPv4 address like 1.1.1.1. Outbound-only gateways can also use a fully qualified domain name like my-sip-trunk.pstn.twilio.com.
- `port` (double, optional) — This is the port number of the gateway. Default is 5060. @default 5060
- `netmask` (double, optional) — This is the netmask of the gateway. Defaults to 32. @default 32
- `inboundEnabled` (boolean, optional) — This is whether inbound calls are allowed from this gateway. Default is true. @default true
- `outboundEnabled` (boolean, optional) — This is whether outbound calls should be sent to this gateway. Default is true. Note, if netmask is less than 32, it doesn't affect the outbound IPs that are tried. 1 attempt is made to `ip:port`. @default true
- `outboundProtocol` (enum, optional) — This is the protocol to use for SIP signaling outbound calls. Default is udp. @default udp
  - Allowed values: `tls/srtp`, `tcp`, `tls`, `udp`
- `optionsPingEnabled` (boolean, optional) — This is whether to send options ping to the gateway. This can be used to check if the gateway is reachable. Default is false. This is useful for high availability setups where you want to check if the gateway is reachable before routing calls to it. Note, if no gateway for a trunk is reachable, outbound calls will be rejected. @default false

### SipTrunkOutboundAuthenticationPlan

- `authPassword` (string, optional) — This is not returned in the API.
- `authUsername` (string, optional)
- `sipRegisterPlan` (SipTrunkOutboundSipRegisterPlan, optional) — This can be used to configure if SIP register is required by the SIP trunk. If not provided, no SIP registration will be attempted.

### CloudflareR2BucketPlan

- `name` (string, required) — This is the name of the bucket.
- `accessKeyId` (string, optional) — Cloudflare R2 Access key ID.
- `secretAccessKey` (string, optional) — Cloudflare R2 access key secret. This is not returned in the API.
- `url` (string, optional) — Cloudflare R2 base url.
- `path` (string, optional) — This is the path where call artifacts will be stored. Usage: - To store call artifacts in a specific folder, set this to the full path. Eg. "/folder-name1/folder-name2". - To store call artifacts in the root of the bucket, leave this blank. @default "/"

### OAuth2AuthenticationPlan

- `url` (string, required) — This is the OAuth2 URL.
- `clientId` (string, required) — This is the OAuth2 client ID.
- `clientSecret` (string, required) — This is the OAuth2 client secret.
- `scope` (string, optional) — This is the scope of the OAuth2 token.

### GcpKey

- `type` (string, required) — This is the type of the key. Most likely, this is "service_account".
- `projectId` (string, required) — This is the ID of the Google Cloud project associated with this key.
- `privateKeyId` (string, required) — This is the unique identifier for the private key.
- `privateKey` (string, required) — This is the private key in PEM format. Note: This is not returned in the API.
- `clientEmail` (string, required) — This is the email address associated with the service account.
- `clientId` (string, required) — This is the unique identifier for the client.
- `authUri` (string, required) — This is the URI for the auth provider's authorization endpoint.
- `tokenUri` (string, required) — This is the URI for the auth provider's token endpoint.
- `authProviderX509CertUrl` (string, required) — This is the URL of the public x509 certificate for the auth provider.
- `clientX509CertUrl` (string, required) — This is the URL of the public x509 certificate for the client.
- `universeDomain` (string, required) — This is the domain associated with the universe this service account belongs to.

### BucketPlan

- `name` (string, required) — This is the name of the bucket.
- `region` (string, optional) — This is the region of the bucket. Usage: - If `credential.type` is `aws`, then this is required. - If `credential.type` is `gcp`, then this is optional since GCP allows buckets to be accessed without a region but region is required for data residency requirements. Read here: https://cloud.google.com/storage/docs/request-endpoints This overrides the `credential.region` field if it is provided.
- `path` (string, optional) — This is the path where call artifacts will be stored. Usage: - To store call artifacts in a specific folder, set this to the full path. Eg. "/folder-name1/folder-name2". - To store call artifacts in the root of the bucket, leave this blank. @default "/"
- `hmacAccessKey` (string, optional) — This is the HMAC access key offered by GCP for interoperability with S3 clients. Here is the guide on how to create: https://cloud.google.com/storage/docs/authentication/managing-hmackeys#console Usage: - If `credential.type` is `gcp`, then this is required. - If `credential.type` is `aws`, then this is not required since credential.awsAccessKeyId is used instead.
- `hmacSecret` (string, optional) — This is the secret for the HMAC access key. Here is the guide on how to create: https://cloud.google.com/storage/docs/authentication/managing-hmackeys#console Usage: - If `credential.type` is `gcp`, then this is required. - If `credential.type` is `aws`, then this is not required since credential.awsSecretAccessKey is used instead. Note: This is not returned in the API.

### S3CompatibleBucketPlan

- `url` (string, required) — S3-compatible endpoint URL, such as https://s3.us-west-004.backblazeb2.com. Must be public HTTPS.
- `region` (string, required) — SigV4 signing region expected by the object store. Most stores accept us-east-1.
- `accessKeyId` (string, required) — S3 access key ID.
- `secretAccessKey` (string, required) — S3 secret access key. This is not returned in the API.
- `name` (string, required) — Bucket name.
- `path` (string, optional) — Optional key prefix inside the bucket, such as recordings/.

### SupabaseBucketPlan

- `region` (enum, required) — This is the S3 Region. It should look like us-east-1 It should be one of the supabase regions defined in the SUPABASE_REGION enum Check https://supabase.com/docs/guides/platform/regions for up to date regions
  - Allowed values: `us-west-1`, `us-east-1`, `us-east-2`, `ca-central-1`, `eu-west-1`, `eu-west-2`, `eu-west-3`, `eu-central-1`, `eu-central-2`, `eu-north-1`, `ap-south-1`, `ap-southeast-1`, `ap-northeast-1`, `ap-northeast-2`, `ap-southeast-2`, `sa-east-1`
- `url` (string, required) — This is the S3 compatible URL for Supabase S3 This should look like https\://\<project-ID>.supabase.co/storage/v1/s3
- `accessKeyId` (string, required) — This is the Supabase S3 Access Key ID. The user creates this in the Supabase project Storage settings
- `secretAccessKey` (string, required) — This is the Supabase S3 Secret Access Key. The user creates this in the Supabase project Storage settings along with the access key id
- `name` (string, required) — This is the Supabase S3 Bucket Name. The user must create this in Supabase under Storage > Buckets A bucket that does not exist will not be checked now, but file uploads will fail
- `path` (string, optional) — This is the Supabase S3 Bucket Folder Path. The user can create this in Supabase under Storage > Buckets A path that does not exist will not be checked now, but file uploads will fail A Path is like a folder in the bucket Eg. If the bucket is called "my-bucket" and the path is "my-folder", the full path is "my-bucket/my-folder"

### CreateWorkflowDtoCredentialsItemsDiscriminatorMappingWebhookAuthenticationPlan

This is the authentication plan. Supports OAuth2 RFC 6749, HMAC signing, and Bearer authentication.

- `type`: `oauth2` (oauth2)
  - `clientId` (string, required) — This is the OAuth2 client ID.
  - `clientSecret` (string, required) — This is the OAuth2 client secret.
  - `url` (string, required) — This is the OAuth2 URL.
  - `scope` (string, optional) — This is the scope of the OAuth2 token.
- `type`: `hmac` (hmac)
  - `algorithm` (enum, required) — This is the HMAC algorithm to use for signing.
    - Allowed values: `sha256`, `sha512`, `sha1`
  - `secretKey` (string, required) — This is the HMAC secret key used to sign requests.
  - `includeTimestamp` (boolean, optional) — Whether to include a timestamp in the signature payload. Defaults to true.
  - `messageIdHeader` (string, optional) — This is the header name where the unique message ID will be sent. Used for Svix-style webhooks.
  - `payloadFormat` (string, optional) — Custom payload format. Use \{body} for request body, \{timestamp} for timestamp, \{method} for HTTP method, \{url} for URL, \{svix-id} for unique message ID. Defaults to '\{timestamp}.\{body}'.
  - `secretIsBase64` (boolean, optional) — Whether the secret key is base64-encoded and should be decoded before use. Defaults to false.
  - `signatureEncoding` (enum, optional) — The encoding format for the signature. Defaults to 'hex'.
    - Allowed values: `hex`, `base64`
  - `signatureHeader` (string, optional) — This is the header name where the signature will be sent. Defaults to 'x-signature'.
  - `signaturePrefix` (string, optional) — This is the prefix for the signature. For example, 'sha256=' for GitHub-style signatures.
  - `timestampHeader` (string, optional) — This is the header name where the timestamp will be sent. Defaults to 'x-timestamp'.
- `type`: `bearer` (bearer)
  - `token` (string, required) — This is the bearer token value.
  - `bearerPrefixEnabled` (boolean, optional) — Whether to include the 'Bearer ' prefix in the header value. Defaults to true.
  - `headerName` (string, optional) — This is the header name where the bearer token will be sent. Defaults to 'Authorization'.

### CreateWorkflowDtoCredentialsItemsDiscriminatorMappingCustomCredentialAuthenticationPlan

This is the authentication plan. Supports OAuth2 RFC 6749, HMAC signing, and Bearer authentication.

- `type`: `oauth2` (oauth2)
  - `clientId` (string, required) — This is the OAuth2 client ID.
  - `clientSecret` (string, required) — This is the OAuth2 client secret.
  - `url` (string, required) — This is the OAuth2 URL.
  - `scope` (string, optional) — This is the scope of the OAuth2 token.
- `type`: `hmac` (hmac)
  - `algorithm` (enum, required) — This is the HMAC algorithm to use for signing.
    - Allowed values: `sha256`, `sha512`, `sha1`
  - `secretKey` (string, required) — This is the HMAC secret key used to sign requests.
  - `includeTimestamp` (boolean, optional) — Whether to include a timestamp in the signature payload. Defaults to true.
  - `messageIdHeader` (string, optional) — This is the header name where the unique message ID will be sent. Used for Svix-style webhooks.
  - `payloadFormat` (string, optional) — Custom payload format. Use \{body} for request body, \{timestamp} for timestamp, \{method} for HTTP method, \{url} for URL, \{svix-id} for unique message ID. Defaults to '\{timestamp}.\{body}'.
  - `secretIsBase64` (boolean, optional) — Whether the secret key is base64-encoded and should be decoded before use. Defaults to false.
  - `signatureEncoding` (enum, optional) — The encoding format for the signature. Defaults to 'hex'.
    - Allowed values: `hex`, `base64`
  - `signatureHeader` (string, optional) — This is the header name where the signature will be sent. Defaults to 'x-signature'.
  - `signaturePrefix` (string, optional) — This is the prefix for the signature. For example, 'sha256=' for GitHub-style signatures.
  - `timestampHeader` (string, optional) — This is the header name where the timestamp will be sent. Defaults to 'x-timestamp'.
- `type`: `bearer` (bearer)
  - `token` (string, required) — This is the bearer token value.
  - `bearerPrefixEnabled` (boolean, optional) — Whether to include the 'Bearer ' prefix in the header value. Defaults to true.
  - `headerName` (string, optional) — This is the header name where the bearer token will be sent. Defaults to 'Authorization'.

### PublicKeyEncryptionPlan

- `type` (enum, required) — The type of encryption plan.
  - Allowed values: `public-key`
- `algorithm` (enum, required) — The encryption algorithm to use.
  - Allowed values: `RSA-OAEP-256`
- `publicKey` (SpkiPemPublicKeyConfig, required) — The public key configuration.

### Oauth2AuthenticationSession

- `accessToken` (string, optional) — This is the OAuth2 access token.
- `expiresAt` (datetime, optional) — This is the OAuth2 access token expiration.
- `refreshToken` (string, optional) — This is the OAuth2 refresh token.

### CallHookCallEnding

- `on` (enum, required) — This is the event that triggers this hook
  - Allowed values: `call.ending`
- `do` (list of CallHookCallEndingDoItems, required) — This is the set of actions to perform when the hook triggers
- `filters` (list of CallHookFilter, optional) — This is the set of filters that must match for the hook to trigger

### CallHookAssistantSpeechInterrupted

- `on` (enum, required) — This is the event that triggers this hook
  - Allowed values: `assistant.speech.interrupted`
- `do` (list of CallHookAssistantSpeechInterruptedDoItems, required) — This is the set of actions to perform when the hook triggers

### CallHookCustomerSpeechInterrupted

- `on` (enum, required) — This is the event that triggers this hook
  - Allowed values: `customer.speech.interrupted`
- `do` (list of CallHookCustomerSpeechInterruptedDoItems, required) — This is the set of actions to perform when the hook triggers

### CallHookCustomerSpeechTimeout

- `on` (string, required) — Must be either "customer.speech.timeout" or match the pattern "customer.speech.timeout[property=value]"
- `do` (list of CallHookCustomerSpeechTimeoutDoItems, required) — This is the set of actions to perform when the hook triggers
- `options` (CustomerSpeechTimeoutOptions, optional) — This is the set of filters that must match for the hook to trigger
- `name` (string, optional) — This is the name of the hook, it can be set by the user to identify the hook. If no name is provided, the hook will be auto generated as UUID. @default UUID

### SessionCreatedHook

- `on` (enum, required) — This is the event that triggers this hook
  - Allowed values: `session.created`
- `do` (list of SessionCreatedHookDoItems, required) — This is the set of actions to perform when the hook triggers.
- `name` (string, optional) — Optional name for this hook instance. If no name is provided, the hook will be auto generated as UUID. @default UUID

### SecurityFilterPlan

- `enabled` (boolean, optional, default: false) — Whether the security filter is enabled. @default false
- `filters` (list of SecurityFilterBase, optional) — Array of security filter types to apply. If array is not empty, only those security filters are run.
- `mode` (enum, optional, default: sanitize) — Mode of operation when a security threat is detected. - 'sanitize': Remove or replace the threatening content - 'reject': Replace the entire transcript with replacement text - 'replace': Replace threatening patterns with replacement text @default 'sanitize'
  - Allowed values: `sanitize`, `reject`, `replace`
- `replacementText` (string, optional, default: [FILTERED]) — Text to use when replacing filtered content. @default '[FILTERED]'

### CompliancePlanRecordingConsentPlan

- `type`: `stay-on-line` (stay-on-line)
  - `message` (string, required) — This is the message asking for consent to record the call. If the type is `stay-on-line`, the message should ask the user to hang up if they do not consent. If the type is `verbal`, the message should ask the user to verbally consent or decline.
  - `firstMessageMode` (enum, optional, default: assistant-speaks-first) — This controls whether the consent assistant speaks first or waits for the caller to speak first. Use: - `assistant-speaks-first` (default) to have the consent assistant play the consent message as soon as the call is answered. - `assistant-waits-for-user` to have the consent assistant wait for the caller to speak before playing the consent message. We strongly recommend `assistant-waits-for-user` for outbound calls. Some telephony providers signal "answered" while the line is still ringing, which can cause the consent message to play into a ringing line and be missed by the caller. Waiting for the caller to speak first guarantees they hear the full consent message. Note: when combined with `type: 'stay-on-line'`, silence only counts toward consent after the caller has spoken at least once. @default 'assistant-speaks-first'
    - Allowed values: `assistant-speaks-first`, `assistant-waits-for-user`
  - `voice` (CompliancePlanRecordingConsentPlanDiscriminatorMappingStayOnLineVoice, optional) — This is the voice to use for the consent message. If not specified, inherits from the assistant's voice. Use a different voice for the consent message for a better user experience.
  - `waitSeconds` (double, optional, default: 3) — Number of seconds to wait before transferring to the assistant if user stays on the call
- `type`: `verbal` (verbal)
  - `message` (string, required) — This is the message asking for consent to record the call. If the type is `stay-on-line`, the message should ask the user to hang up if they do not consent. If the type is `verbal`, the message should ask the user to verbally consent or decline.
  - `declineTool` (CompliancePlanRecordingConsentPlanDiscriminatorMappingVerbalDeclineTool, optional) — Tool to execute if user verbally declines recording consent
  - `declineToolId` (string, optional) — ID of existing tool to execute if user verbally declines recording consent
  - `firstMessageMode` (enum, optional, default: assistant-speaks-first) — This controls whether the consent assistant speaks first or waits for the caller to speak first. Use: - `assistant-speaks-first` (default) to have the consent assistant play the consent message as soon as the call is answered. - `assistant-waits-for-user` to have the consent assistant wait for the caller to speak before playing the consent message. We strongly recommend `assistant-waits-for-user` for outbound calls. Some telephony providers signal "answered" while the line is still ringing, which can cause the consent message to play into a ringing line and be missed by the caller. Waiting for the caller to speak first guarantees they hear the full consent message. Note: when combined with `type: 'stay-on-line'`, silence only counts toward consent after the caller has spoken at least once. @default 'assistant-speaks-first'
    - Allowed values: `assistant-speaks-first`, `assistant-waits-for-user`
  - `voice` (CompliancePlanRecordingConsentPlanDiscriminatorMappingVerbalVoice, optional) — This is the voice to use for the consent message. If not specified, inherits from the assistant's voice. Use a different voice for the consent message for a better user experience.

### SmartDenoisingPlan

- `enabled` (boolean, optional, default: true) — Whether smart denoising using Krisp is enabled.

### FourierDenoisingPlan

- `enabled` (boolean, optional, default: false) — Whether Fourier denoising is enabled. Note that this is experimental and may not work as expected.
- `mediaDetectionEnabled` (boolean, optional, default: true) — Whether automatic media detection is enabled. When enabled, the filter will automatically detect consistent background TV/music/radio and switch to more aggressive filtering settings. Only applies when enabled is true.
- `staticThreshold` (double, optional, default: -35) — Static threshold in dB used as fallback when no baseline is established.
- `baselineOffsetDb` (double, optional, default: -15) — How far below the rolling baseline to filter audio, in dB. Lower values (e.g., -10) are more aggressive, higher values (e.g., -20) are more conservative.
- `windowSizeMs` (double, optional, default: 3000) — Rolling window size in milliseconds for calculating the audio baseline. Larger windows adapt more slowly but are more stable.
- `baselinePercentile` (double, optional, default: 85) — Percentile to use for baseline calculation (1-99). Higher percentiles (e.g., 85) focus on louder speech, lower percentiles (e.g., 50) include quieter speech.

### TranscriptPlan

- `enabled` (boolean, optional) — This determines whether the transcript is stored in `call.artifact.transcript`. Defaults to true. @default true
- `assistantName` (string, optional) — This is the name of the assistant in the transcript. Defaults to 'AI'. Usage: - If you want to change the name of the assistant in the transcript, set this. Example, here is what the transcript would look like with `assistantName` set to 'Buyer': ``` User: Hello, how are you? Buyer: I'm fine. User: Do you want to buy a car? Buyer: No. ``` @default 'AI'
- `userName` (string, optional) — This is the name of the user in the transcript. Defaults to 'User'. Usage: - If you want to change the name of the user in the transcript, set this. Example, here is what the transcript would look like with `userName` set to 'Seller': ``` Seller: Hello, how are you? AI: I'm fine. Seller: Do you want to buy a car? AI: No. ``` @default 'User'

### CreateStructuredOutputDTO

- `name` (string, required) — This is the name of the structured output.
- `schema` (JsonSchema, required) — This is the JSON Schema definition for the structured output. This is required when creating a structured output. Defines the structure and validation rules for the data that will be extracted. Supports all JSON Schema features including: - Objects and nested properties - Arrays and array validation - String, number, boolean, and null types - Enums and const values - Validation constraints (min/max, patterns, etc.) - Composition with allOf, anyOf, oneOf
- `type` (enum, optional, default: ai) — This is the type of structured output. - 'ai': Uses an LLM to extract structured data from the conversation (default). - 'regex': Uses a regex pattern to extract data from the transcript without an LLM. Defaults to 'ai' if not specified.
  - Allowed values: `ai`, `regex`
- `regex` (string, optional) — This is the regex pattern to match against the transcript. Simulation evaluations use a canonical transcript built from recorded messages: User: and AI: dialogue, AI: tool_calls: JSON name/arguments records, and AI: tool_call_results: JSON results. System messages are excluded. These fixed labels apply even when custom artifact transcript labels are configured. Tool payloads participate in first-match and all-match extraction in event order. An empty message array falls back to the supplied transcript verbatim. Production-call extraction and call preview use their existing transcripts, so previewing the same output on a simulation's call can return a different result. Only used when type is 'regex'. Supports both raw patterns (e.g. '\d+') and regex literal format (e.g. '/\d+/gi'). Uses RE2 syntax for safety. The result depends on the schema type: - boolean: true if the pattern matches, false otherwise - string: the first match or first capture group - number/integer: the first match parsed as a number - array: all matches
- `model` (CreateStructuredOutputDtoModel, optional) — This is the model that will be used to extract the structured output. To provide your own custom system and user prompts for structured output extraction, populate the messages array with your system and user messages. You can specify liquid templating in your system and user messages. For text extraction, you must reference 'transcript', 'messages', or 'messagesWithConfidence' with the `{{}}` syntax to access the conversation history. In structured outputs, `{{messages}}` includes conversation text and tool calls/results but omits caller transcription-confidence fields. Text extraction can use `{{messagesWithConfidence}}` when the output needs the original message history with transcription confidence. These variables also apply in structured-output schema descriptions. Audio-targeted (`messages-with-audio`) extraction ignores custom messages. Stored call artifacts and API messages retain their confidence data. Between the system or user messages, you must reference a variation of the structured output with the `{{}}` syntax to access the structured output definition. i.e.: `{{structuredOutput}}` `{{structuredOutput.name}}` `{{structuredOutput.description}}` `{{structuredOutput.schema}}` If model is not specified, GPT-4.1 will be used by default for extraction, utilizing default system and user prompts. If messages or required fields are not specified, the default system and user prompts will be used.
- `compliancePlan` (ComplianceOverride, optional) — Compliance configuration for this output. Only enable overrides if no sensitive data will be stored.
- `conditions` (list of CreateStructuredOutputDtoConditionsItems, optional, nullable) — These are the conditions that gate the execution of this structured output. Every condition must pass for the structured output to run (AND semantics). When omitted or empty, no user-defined conditions gate this output. Send null to clear a previously saved gate.
- `description` (string, optional) — This is the description of what the structured output extracts. Use this to provide context about what data will be extracted and how it will be used.
- `assistantIds` (list of string, optional) — These are the assistant IDs that this structured output is linked to. When linked to assistants, this structured output will be available for extraction during those assistant's calls.
- `workflowIds` (list of string, optional) — These are the workflow IDs that this structured output is linked to. When linked to workflows, this structured output will be available for extraction during those workflow's execution.

### CreateScorecardDTO

- `metrics` (list of ScorecardMetric, required) — These are the metrics that will be used to evaluate the scorecard. Each metric will have a set of conditions and points that will be used to generate the score.
- `name` (string, optional) — This is the name of the scorecard. It is only for user reference and will not be used for any evaluation.
- `description` (string, optional) — This is the description of the scorecard. It is only for user reference and will not be used for any evaluation.
- `assistantIds` (list of string, optional) — These are the assistant IDs that this scorecard is linked to. When linked to assistants, this scorecard will be available for evaluation during those assistants' calls.

### StartSpeakingPlanSmartEndpointingPlan

This is the plan for smart endpointing. Pick between Vapi smart endpointing, LiveKit, or custom endpointing model (or nothing). We strongly recommend using livekit endpointing when working in English. LiveKit endpointing is not supported in other languages, yet. If this is set, it will override and take precedence over `transcriptionEndpointingPlan`. This plan will still be overridden by any matching `customEndpointingRules`. If this is not set, the system will automatically use the transcriber's built-in endpointing capabilities if available.

- Vapi: VapiSmartEndpointingPlan
- Livekit: LivekitSmartEndpointingPlan
- Custom Endpointing Model: CustomEndpointingModelSmartEndpointingPlan

### StartSpeakingPlanCustomEndpointingRulesItems

- Assistant: AssistantCustomEndpointingRule
- Customer: CustomerCustomEndpointingRule
- Both: BothCustomEndpointingRule

### TranscriptionEndpointingPlan

- `onPunctuationSeconds` (double, optional) — The minimum number of seconds to wait after transcription ending with punctuation before sending a request to the model. Defaults to 0.1. This setting exists because the transcriber punctuates the transcription when it's more confident that customer has completed a thought. @default 0.1
- `onNoPunctuationSeconds` (double, optional) — The minimum number of seconds to wait after transcription ending without punctuation before sending a request to the model. Defaults to 1.5. This setting exists to catch the cases where the transcriber was not confident enough to punctuate the transcription, but the customer is done and has been silent for a long time. @default 1.5
- `onNumberSeconds` (double, optional) — The minimum number of seconds to wait after transcription ending with a number before sending a request to the model. Defaults to 0.4. This setting exists because the transcriber will sometimes punctuate the transcription ending with a number, even though the customer hasn't uttered the full number. This happens commonly for long numbers when the customer reads the number in chunks. @default 0.5

### StartSpeakingPlanSmartEndpointingEnabled

- boolean
- enum
  - Allowed values: `livekit`

### ServerHeaders

These are the headers to include in the request. Each key-value pair represents a header name and its value. Note: Specifying an Authorization header here will override the authorization provided by the `credentialId` (if provided). This is an anti-pattern and should be avoided outside of edge case scenarios.

### BackoffPlan

- `type` (enum, required) — This is the type of backoff plan to use. Defaults to fixed. @default fixed
  - Allowed values: `fixed`, `exponential`
- `maxRetries` (double, required) — This is the maximum number of retries to attempt if the request fails. Defaults to 0 (no retries). @default 0
- `baseDelaySeconds` (double, required) — This is the base delay in seconds. For linear backoff, this is the delay between each retry. For exponential backoff, this is the initial delay.
- `excludedStatusCodes` (list of BackoffPlanExcludedStatusCodesItems, optional) — This is the excluded status codes. If the response status code is in this list, the request will not be retried. By default, the request will be retried for any non-2xx status code.

### SummaryPlan

- `messages` (list of SummaryPlanMessagesItems, optional) — These are the messages used to generate the summary. @default: ` [ \{ "role": "system", "content": "You are an expert note-taker. You will be given a transcript of a call. Summarize the call in 2-3 sentences. DO NOT return anything except the summary." }, \{ "role": "user", "content": "Here is the transcript:\n\n\{\{transcript}}\n\n. Here is the ended reason of the call:\n\n\{\{endedReason}}\n\n" } ]` You can customize by providing any messages you want. Here are the template variables available: * \{\{transcript}}: The transcript of the call from `call.artifact.transcript` * \{\{systemPrompt}}: The system prompt of the call from `assistant.model.messages[type=system].content` * \{\{messages}}: The messages of the call from `assistant.model.messages` * \{\{endedReason}}: The ended reason of the call from `call.endedReason`
- `enabled` (boolean, optional) — This determines whether a summary is generated and stored in `call.analysis.summary`. Defaults to true. Usage: - If you want to disable the summary, set this to false. @default true
- `timeoutSeconds` (double, optional) — This is how long the request is tried before giving up. When request times out, `call.analysis.summary` will be empty. Usage: - To guarantee the summary is generated, set this value high. Note, this will delay the end of call report in cases where model is slow to respond. @default 5 seconds

### StructuredDataPlan

- `messages` (list of StructuredDataPlanMessagesItems, optional) — These are the messages used to generate the structured data. @default: ` [ \{ "role": "system", "content": "You are an expert data extractor. You will be given a transcript of a call. Extract structured data per the JSON Schema. DO NOT return anything except the structured data.\n\nJson Schema:\\n\{\{schema}}\n\nOnly respond with the JSON." }, \{ "role": "user", "content": "Here is the transcript:\n\n\{\{transcript}}\n\n. Here is the ended reason of the call:\n\n\{\{endedReason}}\n\n" } ]` You can customize by providing any messages you want. Here are the template variables available: * \{\{transcript}}: the transcript of the call from `call.artifact.transcript`- \{\{systemPrompt}}: the system prompt of the call from `assistant.model.messages[type=system].content`- \{\{messages}}: the messages of the call from `assistant.model.messages`- \{\{schema}}: the schema of the structured data from `structuredDataPlan.schema`- \{\{endedReason}}: the ended reason of the call from `call.endedReason`
- `enabled` (boolean, optional) — This determines whether structured data is generated and stored in `call.analysis.structuredData`. Defaults to false. Usage: - If you want to extract structured data, set this to true and provide a `schema`. @default false
- `schema` (JsonSchema, optional) — This is the schema of the structured data. The output is stored in `call.analysis.structuredData`. Complete guide on JSON Schema can be found [here](https://ajv.js.org/json-schema.html#json-data-type).
- `timeoutSeconds` (double, optional) — This is how long the request is tried before giving up. When request times out, `call.analysis.structuredData` will be empty. Usage: - To guarantee the structured data is generated, set this value high. Note, this will delay the end of call report in cases where model is slow to respond. @default 5 seconds

### StructuredDataMultiPlan

- `key` (string, required) — This is the key of the structured data plan in the catalog.
- `plan` (StructuredDataPlan, required) — This is an individual structured data plan in the catalog.

### SuccessEvaluationPlan

- `rubric` (enum, optional) — This enforces the rubric of the evaluation. The output is stored in `call.analysis.successEvaluation`. Options include: - 'NumericScale': A scale of 1 to 10. - 'DescriptiveScale': A scale of Excellent, Good, Fair, Poor. - 'Checklist': A checklist of criteria and their status. - 'Matrix': A grid that evaluates multiple criteria across different performance levels. - 'PercentageScale': A scale of 0% to 100%. - 'LikertScale': A scale of Strongly Agree, Agree, Neutral, Disagree, Strongly Disagree. - 'AutomaticRubric': Automatically break down evaluation into several criteria, each with its own score. - 'PassFail': A simple 'true' if call passed, 'false' if not. Default is 'PassFail'.
  - Allowed values: `NumericScale`, `DescriptiveScale`, `Checklist`, `Matrix`, `PercentageScale`, `LikertScale`, `AutomaticRubric`, `PassFail`
- `messages` (list of SuccessEvaluationPlanMessagesItems, optional) — These are the messages used to generate the success evaluation. @default: ` [ \{ "role": "system", "content": "You are an expert call evaluator. You will be given a transcript of a call and the system prompt of the AI participant. Determine if the call was successful based on the objectives inferred from the system prompt. DO NOT return anything except the result.\n\nRubric:\\n\{\{rubric}}\n\nOnly respond with the result." }, \{ "role": "user", "content": "Here is the transcript:\n\n\{\{transcript}}\n\n" }, \{ "role": "user", "content": "Here was the system prompt of the call:\n\n\{\{systemPrompt}}\n\n. Here is the ended reason of the call:\n\n\{\{endedReason}}\n\n" } ]` You can customize by providing any messages you want. Here are the template variables available: * \{\{transcript}}: the transcript of the call from `call.artifact.transcript`- \{\{systemPrompt}}: the system prompt of the call from `assistant.model.messages[type=system].content`- \{\{messages}}: the messages of the call from `assistant.model.messages`- \{\{rubric}}: the rubric of the success evaluation from `successEvaluationPlan.rubric`- \{\{endedReason}}: the ended reason of the call from `call.endedReason`
- `enabled` (boolean, optional) — This determines whether a success evaluation is generated and stored in `call.analysis.successEvaluation`. Defaults to true. Usage: - If you want to disable the success evaluation, set this to false. @default true
- `timeoutSeconds` (double, optional) — This is how long the request is tried before giving up. When request times out, `call.analysis.successEvaluation` will be empty. Usage: - To guarantee the success evaluation is generated, set this value high. Note, this will delay the end of call report in cases where model is slow to respond. @default 5 seconds

### VapiWebsocketTransport

- `provider` (enum, required) — Vapi websocket transport provider
  - Allowed values: `vapi.websocket`
- `conversationType` (enum, optional, default: voice) — This is the conversation type of the call (ie, voice or chat).
  - Allowed values: `voice`
- `audioFormat` (AudioFormat, optional) — This is the audio format of the call. Defaults to 16KHz raw pcm\_s16le. For GPT-Live calls using Vapi's custom WebSocket transport, explicitly set `{ format: pcm_s16le, sampleRate: 24000 }`. This requirement is specific to Vapi's WebSocket transport and does not apply to phone or web calls.

### VonageTransport

- `provider` (enum, required) — Vonage transport provider
  - Allowed values: `vonage`
- `conversationType` (enum, optional, default: voice) — This is the conversation type of the call (ie, voice or chat).
  - Allowed values: `voice`
- `conversationUUID` (string, optional) — This is the conversation UUID of the Vonage call.
- `callUUID` (string, optional) — This is the call ID of the Vonage call.

### TwilioTransport

- `provider` (enum, required) — Twilio transport provider
  - Allowed values: `twilio`
- `conversationType` (enum, optional, default: voice) — This is the conversation type of the call (ie, voice or chat).
  - Allowed values: `voice`
- `accountSid` (string, optional) — This is the account SID of the Twilio account.
- `callSid` (string, optional) — This is the call SID of the Twilio call.
- `callToken` (string, optional) — This is the call token of the Twilio call.
- `forwardedFrom` (string, optional) — This is the phone number from which the call was forwarded. Undefined if the call was not forwarded.

### VapiSipTransport

- `provider` (enum, required) — Vapi SIP transport provider
  - Allowed values: `vapi.sip`
- `conversationType` (enum, optional, default: voice) — This is the conversation type of the call (ie, voice or chat).
  - Allowed values: `voice`
- `dialTimeout` (double, optional, default: 60) — This sets the timeout for outbound dial operations in seconds. This is the duration the call will ring before timing out. @default 60
- `sbcCallSid` (string, optional) — This is the call SID of the Vapi SIP call.
- `callSid` (string, optional) — This is the call ID of the Vapi SIP call.

### TelnyxTransport

- `provider` (enum, required) — Telnyx transport provider
  - Allowed values: `telnyx`
- `conversationType` (enum, optional, default: voice) — This is the conversation type of the call (ie, voice or chat).
  - Allowed values: `voice`
- `callControlId` (string, optional) — This is the call control ID of the Telnyx call.
- `callLegId` (string, optional) — This is the call leg ID of the Telnyx call.
- `callSessionId` (string, optional) — This is the call session ID of the Telnyx call.

### VapiWebCallTransport

- `provider` (enum, required) — Vapi web call transport provider
  - Allowed values: `daily`
- `conversationType` (enum, optional, default: voice) — This is the conversation type of the call (ie, voice or chat).
  - Allowed values: `voice`
- `roomDeleteOnUserLeaveEnabled` (boolean, optional, default: true) — This determines whether the daily room will be deleted and all participants will be kicked once the user leaves the room. If set to `false`, the room will be kept alive even after the user leaves, allowing clients to reconnect to the same room. If set to `true`, the room will be deleted and reconnection will not be allowed. Defaults to `true`.
- `callToken` (string, optional) — This is the meeting token the web client should join the call with. When video recording is enabled, joining with this token starts the cloud recording automatically server-side, which is more reliable than the client starting it after joining. Set by the server; only present when video recording is enabled. With `videoRecordingStartMode: 'server'`, joining with the token doesn't start the recording: Vapi starts it once the user joins, and the client must not start it either.
- `callUrl` (string, optional) — This is the URL of the web call.
- `callSipUri` (string, optional) — This is the SIP URI of the web call.

### TransientTwilioPhoneNumberFallbackDestination

This is the fallback destination an inbound call will be transferred to if: 1. `assistantId` is not set 2. `squadId` is not set 3. and, `assistant-request` message to the `serverUrl` fails If this is not set and above conditions are met, the inbound call is hung up with an error message.

- NumberTransferDestination: TransferDestinationNumber
- SipTransferDestination: TransferDestinationSip

### TransientTwilioPhoneNumberHooksItems

- PhoneNumberHookCallRinging: PhoneNumberHookCallRinging
- PhoneNumberHookCallEnding: PhoneNumberHookCallEnding

### AnalysisCostBreakdown

- `summary` (double, optional) — This is the cost to summarize the call.
- `summaryPromptTokens` (double, optional) — This is the number of prompt tokens used to summarize the call.
- `summaryCompletionTokens` (double, optional) — This is the number of completion tokens used to summarize the call.
- `summaryCachedPromptTokens` (double, optional) — This is the number of cached prompt tokens used to summarize the call.
- `structuredData` (double, optional) — This is the cost to extract structured data from the call.
- `structuredDataPromptTokens` (double, optional) — This is the number of prompt tokens used to extract structured data from the call.
- `structuredDataCompletionTokens` (double, optional) — This is the number of completion tokens used to extract structured data from the call.
- `structuredDataCachedPromptTokens` (double, optional) — This is the number of cached prompt tokens used to extract structured data from the call.
- `successEvaluation` (double, optional) — This is the cost to evaluate if the call was successful.
- `successEvaluationPromptTokens` (double, optional) — This is the number of prompt tokens used to evaluate if the call was successful.
- `successEvaluationCompletionTokens` (double, optional) — This is the number of completion tokens used to evaluate if the call was successful.
- `successEvaluationCachedPromptTokens` (double, optional) — This is the number of cached prompt tokens used to evaluate if the call was successful.
- `structuredOutput` (double, optional) — This is the cost to evaluate structuredOutputs from the call.
- `structuredOutputPromptTokens` (double, optional) — This is the number of prompt tokens used to evaluate structuredOutputs from the call.
- `structuredOutputCompletionTokens` (double, optional) — This is the number of completion tokens used to evaluate structuredOutputs from the call.
- `structuredOutputCachedPromptTokens` (double, optional) — This is the number of cached prompt tokens used to evaluate structuredOutputs from the call.

### MonitorResult

- `monitorId` (string, required)
- `filterPassed` (boolean, required)

### ChatInputOneOf1Items

- SystemMessage: SystemMessage
- UserMessage: UserMessage
- AssistantMessage: AssistantMessage
- ToolMessage: ToolMessage
- DeveloperMessage: DeveloperMessage

### AssistantMessage

- `role` (enum, required, default: assistant) — This is the role of the message author
  - Allowed values: `assistant`
- `content` (string, optional) — This is the content of the assistant message
- `refusal` (string, optional) — This is the refusal message generated by the model
- `tool_calls` (list of ToolCall, optional) — This is the tool calls generated by the model
- `name` (string, optional) — This is an optional name for the participant
- `metadata` (AssistantMessageMetadata, optional) — This is an optional metadata for the message

### ToolMessage

- `role` (enum, required, default: tool) — This is the role of the message author
  - Allowed values: `tool`
- `content` (string, required) — This is the content of the tool message
- `tool_call_id` (string, required) — This is the ID of the tool call this message is responding to
- `name` (string, optional) — This is an optional name for the participant
- `metadata` (ToolMessageMetadata, optional) — This is an optional metadata for the message

### DeveloperMessage

- `role` (enum, required, default: developer) — This is the role of the message author
  - Allowed values: `developer`
- `content` (string, required) — This is the content of the developer message
- `name` (string, optional) — This is an optional name for the participant
- `metadata` (DeveloperMessageMetadata, optional) — This is an optional metadata for the message

### ChatCost

- `type` (enum, required) — This is the type of cost, always 'chat' for this class.
  - Allowed values: `chat`
- `cost` (double, required) — This is the cost of the component in USD.

### UserMessageMetadata

- `wordLevelConfidence` (list of TranscriptWordConfidence, optional) — Per-word confidence scores from the transcriber. After consecutive transcript fragments are merged into one message the list covers the whole merged message, or is absent when any fragment lacked word scores.
- `type` (string, optional) — Marks a message injected out-of-band rather than produced by the transcriber (e.g. an inbound SMS relayed into the conversation).
- `source` (string, optional) — The channel or address the out-of-band message arrived from (e.g. the sender's phone number for an SMS).

### ToolCallMessageToolCallsItems

### TranscriberCostTranscriber

This is the transcriber that was used during the call. This matches one of the below: - `call.assistant.transcriber`, - `call.assistantId->transcriber`, - `call.squad[n].assistant.transcriber`, - `call.squad[n].assistantId->transcriber`, - `call.squadId->[n].assistant.transcriber`, - `call.squadId->[n].assistantId->transcriber`.

### ModelCostModel

This is the model that was used during the call. This matches one of the following: - `call.assistant.model`, - `call.assistantId->model`, - `call.squad[n].assistant.model`, - `call.squad[n].assistantId->model`, - `call.squadId->[n].assistant.model`, - `call.squadId->[n].assistantId->model`.

### ModelCostServiceTierBreakdown

- `cost` (double, required) — This is the cost in USD of the usage at this tier, rounded to 8 decimal places.
- `promptTokens` (double, required) — This is the number of prompt tokens used at this tier.
- `completionTokens` (double, required) — This is the number of completion tokens generated at this tier.
- `serviceTier` (string, optional) — This is the service tier OpenAI reported serving a request that asked for Fast mode, in Vapi's names: `fast` when Fast mode was served, otherwise the tier served, such as `default`. It is absent on the row for usage with no reported tier: requests that did not ask for Fast mode, requests that ended before OpenAI reported a tier, and other providers.
- `cachedPromptTokens` (double, optional) — This is the number of cached prompt tokens used at this tier. This is a subset of `promptTokens`, not an addition to it.
- `reasoningTokens` (double, optional) — This is the number of reasoning tokens generated at this tier. This is a subset of `completionTokens`, not an addition to it.

### VoiceCostVoice

This is the voice that was used during the call. This matches one of the following: - `call.assistant.voice`, - `call.assistantId->voice`, - `call.squad[n].assistant.voice`, - `call.squad[n].assistantId->voice`, - `call.squadId->[n].assistant.voice`, - `call.squadId->[n].assistantId->voice`.

### VoicemailDetectionCostModel

This is the model that was used to perform the analysis.

### AnalysisCostModel

This is the model that was used to perform the analysis.

### StructuredOutputCostBreakdown

- `structuredOutputId` (string, required) — This is the unique identifier of the structured output that produced this cost.
- `name` (string, required) — This is the name of the structured output, so this breakdown is readable without looking the id up.
- `cost` (double, required) — This is the cost in USD of evaluating this structured output.
- `promptTokens` (double, required) — This is the number of prompt tokens used to evaluate this structured output.
- `completionTokens` (double, required) — This is the number of completion tokens generated for this structured output.
- `cachedPromptTokens` (double, optional) — This is the number of cached prompt tokens used to evaluate this structured output. This is a subset of `promptTokens`, not an addition to it.
- `reasoningTokens` (double, optional) — This is the number of reasoning tokens the model generated for this structured output. This is a subset of `completionTokens`, not an addition to it: reasoning tokens are already billed at the output-token rate, so this is for visibility only and does not affect `cost`.

### KnowledgeBaseCostModel

This is the model that was used for processing the knowledge base.

### TransferDestinationNumberMessage

This is spoken to the customer before connecting them to the destination. Usage: - If this is not provided and transfer tool messages is not provided, default is "Transferring the call now". - If set to "", nothing is spoken. This is useful when you want to silently transfer. This is especially useful when transferring between assistants in a squad. In this scenario, you likely also want to set `assistant.firstMessageMode=assistant-speaks-first-with-model-generated-message` for the destination assistant. This accepts a string or a ToolMessageStart class. Latter is useful if you want to specify multiple messages for different languages through the `contents` field.

- string
- CustomMessage: CustomMessage

### TransferPlan

- `mode` (enum, required) — This configures how transfer is executed and the experience of the destination party receiving the call. Usage: - `blind-transfer`: The assistant forwards the call to the destination without any message or summary. - `blind-transfer-add-summary-to-sip-header`: The assistant forwards the call to the destination and adds a SIP header X-Transfer-Summary to the call to include the summary. - `warm-transfer-say-message`: The assistant dials the destination, delivers the `message` to the destination party, connects the customer, and leaves the call. - `warm-transfer-say-summary`: The assistant dials the destination, provides a summary of the call to the destination party, connects the customer, and leaves the call. - `warm-transfer-wait-for-operator-to-speak-first-and-then-say-message`: The assistant dials the destination, waits for the operator to speak, delivers the `message` to the destination party, and then connects the customer. - `warm-transfer-wait-for-operator-to-speak-first-and-then-say-summary`: The assistant dials the destination, waits for the operator to speak, provides a summary of the call to the destination party, and then connects the customer. - `warm-transfer-twiml`: The assistant dials the destination, executes the twiml instructions on the destination call leg, connects the customer, and leaves the call. - `warm-transfer-experimental`: The assistant puts the customer on hold, dials the destination, and if the destination answers (and is human), delivers a message or summary before connecting the customer. If the destination is unreachable or not human (e.g., with voicemail detection), the assistant delivers the `fallbackMessage` to the customer and optionally ends the call. @default 'blind-transfer'
  - Allowed values: `blind-transfer`, `blind-transfer-add-summary-to-sip-header`, `warm-transfer-say-message`, `warm-transfer-say-summary`, `warm-transfer-twiml`, `warm-transfer-wait-for-operator-to-speak-first-and-then-say-message`, `warm-transfer-wait-for-operator-to-speak-first-and-then-say-summary`, `warm-transfer-experimental`
- `message` (TransferPlanMessage, optional) — This is the message the assistant will deliver to the destination party before connecting the customer. Usage: - Used only when `mode` is `blind-transfer-add-summary-to-sip-header`, `warm-transfer-say-message`, `warm-transfer-wait-for-operator-to-speak-first-and-then-say-message`, or `warm-transfer-experimental`.
- `timeout` (double, optional, default: 60) — This is the timeout in seconds for the warm-transfer-wait-for-operator-to-speak-first-and-then-say-message/summary @default 60
- `sipVerb` (enum, optional, default: refer) — This specifies the SIP verb to use while transferring the call. - 'refer': Uses SIP REFER to transfer the call (default) - 'bye': Ends current call with SIP BYE - 'dial': Uses SIP DIAL to transfer the call
  - Allowed values: `refer`, `bye`, `dial`
- `dialTimeout` (double, optional, default: 60) — This sets the timeout for the dial operation in seconds. This is the duration the call will ring before timing out. Only applicable when `sipVerb='dial'`. Not applicable for SIP REFER or BYE. @default 60
- `holdAudioUrl` (string, optional) — This is the URL to an audio file played while the customer is on hold during transfer. Usage: - Used only when `mode` is `warm-transfer-experimental`. - Used when transferring calls to play hold audio for the customer. - Must be a publicly accessible URL to an audio file. - Supported formats: MP3 and WAV. - If not provided, the default hold audio will be used.
- `transferCompleteAudioUrl` (string, optional) — This is the URL to an audio file played after the warm transfer message or summary is delivered to the destination party. It can be used to play a custom sound like 'beep' to notify that the transfer is complete. Usage: - Used only when `mode` is `warm-transfer-experimental`. - Used when transferring calls to play hold audio for the destination party. - Must be a publicly accessible URL to an audio file. - Supported formats: MP3 and WAV.
- `contextEngineeringPlan` (TransferPlanContextEngineeringPlan, optional) — This is the plan for manipulating the message context before initiating the warm transfer. Usage: * Used only when `mode` is `warm-transfer-experimental`. * These messages will automatically be added to the transferAssistant's system message. * If 'none', we will not add any transcript to the transferAssistant's system message. * If you want to provide your own messages, use transferAssistant.model.messages instead. @default \{ type: 'all' }
- `twiml` (string, optional) — This is the TwiML instructions to execute on the destination call leg before connecting the customer. Usage: * Used only when `mode` is `warm-transfer-twiml`. * Supports only `Play`, `Say`, `Gather`, `Hangup` and `Pause` verbs. * Maximum length is 4096 characters. Example: ``` <Say voice="alice" language="en-US">Hello, transferring a customer to you.</Say> <Pause length="2"/> <Say>They called about billing questions.</Say> ```
- `summaryPlan` (SummaryPlan, optional) — This is the plan for generating a summary of the call to present to the destination party. Usage: - Used only when `mode` is `blind-transfer-add-summary-to-sip-header` or `warm-transfer-say-summary` or `warm-transfer-wait-for-operator-to-speak-first-and-then-say-summary` or `warm-transfer-experimental`.
- `sipHeadersInReferToEnabled` (boolean, optional) — This flag includes the sipHeaders from above in the refer to sip uri as url encoded query params. @default false
- `fallbackPlan` (TransferFallbackPlan, optional) — This configures the fallback plan when the transfer fails (destination unreachable, busy, or not human). Usage: - Used when `mode` is `warm-transfer-experimental`. If not provided, a default message will be used. - Used for SIP cold transfers (`blind-transfer` modes) when transfer outcome detection and fallback are enabled for the organization: on a failed transfer, the assistant speaks `message`, then ends the call or continues with the customer per `endCallEnabled`.

### TransferDestinationSipMessage

This is spoken to the customer before connecting them to the destination. Usage: - If this is not provided and transfer tool messages is not provided, default is "Transferring the call now". - If set to "", nothing is spoken. This is useful when you want to silently transfer. This is especially useful when transferring between assistants in a squad. In this scenario, you likely also want to set `assistant.firstMessageMode=assistant-speaks-first-with-model-generated-message` for the destination assistant. This accepts a string or a ToolMessageStart class. Latter is useful if you want to specify multiple messages for different languages through the `contents` field.

- string
- CustomMessage: CustomMessage

### TransferDestinationSipSipHeaders

These are custom headers to be added to SIP refer during transfer call.

### FunctionToolWithToolCallMessagesItems

- ToolMessageStart: ToolMessageStart
- ToolMessageComplete: ToolMessageComplete
- ToolMessageFailed: ToolMessageFailed
- ToolMessageDelayed: ToolMessageDelayed

### VariableExtractionPlan

- `schema` (JsonSchema, optional) — This is the schema to extract. Examples: 1. To extract object properties, you can use the following schema: ```json { "type": "object", "properties": { "name": { "type": "string" }, "age": { "type": "number" } } } ``` These will be extracted as `{{ name }}` and `{{ age }}` respectively. To emphasize, object properties are extracted as direct global variables. 2. To extract nested properties, you can use the following schema: ```json { "type": "object", "properties": { "name": { "type": "object", "properties": { "first": { "type": "string" }, "last": { "type": "string" } } } } } ``` These will be extracted as `{{ name }}`. And, `{{ name.first }}` and `{{ name.last }}` will be accessible. 3. To extract array items, you can use the following schema: ```json { "type": "array", "title": "zipCodes", "items": { "type": "string" } } ``` This will be extracted as `{{ zipCodes }}`. To access the array items, you can use `{{ zipCodes[0] }}` and `{{ zipCodes[1] }}`. 4. To extract array of objects, you can use the following schema: ```json { "type": "array", "name": "people", "items": { "type": "object", "properties": { "name": { "type": "string" }, "age": { "type": "number" }, "zipCodes": { "type": "array", "items": { "type": "string" } } } } } ``` This will be extracted as `{{ people }}`. To access the array items, you can use `{{ people[n].name }}`, `{{ people[n].age }}`, `{{ people[n].zipCodes }}`, `{{ people[n].zipCodes[0] }}` and `{{ people[n].zipCodes[1] }}`.
- `aliases` (list of VariableExtractionAlias, optional) — These are additional variables to create. These will be accessible during the call as `{{key}}` and stored in `call.artifact.variableValues` after the call. Example: ```json { "aliases": [ { "key": "customerName", "value": "{{name}}" }, { "key": "fullName", "value": "{{firstName}} {{lastName}}" }, { "key": "greeting", "value": "Hello {{name}}, welcome to {{company}}!" }, { "key": "customerCity", "value": "{{addresses[0].city}}" }, { "key": "something", "value": "{{any liquid}}" } ] } ``` This will create variables `customerName`, `fullName`, `greeting`, `customerCity`, and `something`. To access these variables, you can reference them as `{{customerName}}`, `{{fullName}}`, `{{greeting}}`, `{{customerCity}}`, and `{{something}}`.

### ToolParameter

- `key` (string, required) — This is the key of the parameter.
- `value` (ToolParameterValue, required) — The value of the parameter. Any JSON type. String values support Liquid templates.

### OpenAIFunction

- `name` (string, required) — This is the the name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
- `strict` (boolean, optional, default: false) — This is a boolean that controls whether to enable strict schema adherence when generating the function call. If set to true, the model will follow the exact schema defined in the parameters field. Only a subset of JSON Schema is supported when strict is true. Learn more about Structured Outputs in the [OpenAI guide](https://openai.com/index/introducing-structured-outputs-in-the-api/). @default false
- `description` (string, optional) — This is the description of what the function does, used by the AI to choose when and how to call the function.
- `parameters` (OpenAIFunctionParameters, optional) — These are the parameters the functions accepts, described as a JSON Schema object. See the [OpenAI guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema) for documentation about the format. Omitting parameters defines a function with an empty parameter list.

### ToolRejectionPlan

- `conditions` (list of ToolRejectionPlanConditionsItems, optional) — This is the list of conditions that must be evaluated. Usage: - If all conditions match (AND logic), the tool call is rejected. - For OR logic at the top level, use a single 'group' condition with operator: 'OR'. @default [] - Empty array means tool always executes

### GhlToolMetadata

- `workflowId` (string, optional)
- `locationId` (string, optional)

### GhlToolWithToolCallMessagesItems

- ToolMessageStart: ToolMessageStart
- ToolMessageComplete: ToolMessageComplete
- ToolMessageFailed: ToolMessageFailed
- ToolMessageDelayed: ToolMessageDelayed

### MakeToolMetadata

- `scenarioId` (double, optional)
- `triggerHookId` (double, optional)

### MakeToolWithToolCallMessagesItems

- ToolMessageStart: ToolMessageStart
- ToolMessageComplete: ToolMessageComplete
- ToolMessageFailed: ToolMessageFailed
- ToolMessageDelayed: ToolMessageDelayed

### BashToolWithToolCallMessagesItems

- ToolMessageStart: ToolMessageStart
- ToolMessageComplete: ToolMessageComplete
- ToolMessageFailed: ToolMessageFailed
- ToolMessageDelayed: ToolMessageDelayed

### ComputerToolWithToolCallMessagesItems

- ToolMessageStart: ToolMessageStart
- ToolMessageComplete: ToolMessageComplete
- ToolMessageFailed: ToolMessageFailed
- ToolMessageDelayed: ToolMessageDelayed

### TextEditorToolWithToolCallMessagesItems

- ToolMessageStart: ToolMessageStart
- ToolMessageComplete: ToolMessageComplete
- ToolMessageFailed: ToolMessageFailed
- ToolMessageDelayed: ToolMessageDelayed

### GoogleCalendarCreateEventToolWithToolCallMessagesItems

- ToolMessageStart: ToolMessageStart
- ToolMessageComplete: ToolMessageComplete
- ToolMessageFailed: ToolMessageFailed
- ToolMessageDelayed: ToolMessageDelayed

### TransferDestinationAssistantMessage

This is spoken to the customer before connecting them to the destination. Usage: - If this is not provided and transfer tool messages is not provided, default is "Transferring the call now". - If set to "", nothing is spoken. This is useful when you want to silently transfer. This is especially useful when transferring between assistants in a squad. In this scenario, you likely also want to set `assistant.firstMessageMode=assistant-speaks-first-with-model-generated-message` for the destination assistant. This accepts a string or a ToolMessageStart class. Latter is useful if you want to specify multiple messages for different languages through the `contents` field.

- string
- CustomMessage: CustomMessage

### SessionCost

- `type` (enum, required) — This is the type of cost, always 'session' for this class.
  - Allowed values: `session`
- `cost` (double, required) — This is the cost of the component in USD.

### ImportTwilioPhoneNumberDtoFallbackDestination

This is the fallback destination an inbound call will be transferred to if: 1. `assistantId` is not set 2. `squadId` is not set 3. and, `assistant-request` message to the `serverUrl` fails If this is not set and above conditions are met, the inbound call is hung up with an error message.

- NumberTransferDestination: TransferDestinationNumber
- SipTransferDestination: TransferDestinationSip

### ImportTwilioPhoneNumberDtoHooksItems

- PhoneNumberHookCallRinging: PhoneNumberHookCallRinging
- PhoneNumberHookCallEnding: PhoneNumberHookCallEnding

### CreateApiRequestToolDTO

- `type` (enum, required) — The type of tool. "apiRequest" for API request tool.
  - Allowed values: `apiRequest`
- `method` (enum, required)
  - Allowed values: `POST`, `GET`, `PUT`, `PATCH`, `DELETE`
- `url` (string, required) — This is where the request will be sent.
- `messages` (list of CreateApiRequestToolDtoMessagesItems, optional) — Messages spoken while the tool is running. Multiple request-start messages are variants. For request-response-delayed, same timing means variants and different timings mean staged updates.
- `name` (string, optional) — This is the name of the tool. This will be passed to the model. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 40.
- `timeoutSeconds` (double, optional) — This is the timeout in seconds for the request. Defaults to 20 seconds. @default 20
- `credentialId` (string, optional) — The credential ID for API request authentication
- `encryptedPaths` (list of string, optional) — This is the paths to encrypt in the request body if credentialId and encryptionPlan are defined.
- `parameters` (list of ToolParameter, optional) — Static key-value pairs merged into the request body. Values support Liquid templates.
- `description` (string, optional) — This is the description of the tool. This will be passed to the model.
- `body` (JsonSchema, optional) — This is the body of the request.
- `headers` (JsonSchema, optional) — These are the headers to send with the request.
- `backoffPlan` (BackoffPlan, optional) — This is the backoff plan if the request fails. Defaults to undefined (the request will not be retried). @default undefined (the request will not be retried)
- `variableExtractionPlan` (VariableExtractionPlan, optional) — This is the plan to extract variables from the tool's response. These will be accessible during the call and stored in `call.artifact.variableValues` after the call. Usage: 1. Use `aliases` to extract variables from the tool's response body. (Most common case) ```json { "aliases": [ { "key": "customerName", "value": "{{customer.name}}" }, { "key": "customerAge", "value": "{{customer.age}}" } ] } ``` The tool response body is made available to the liquid template. 2. Use `aliases` to extract variables from the tool's response body if the response is an array. ```json { "aliases": [ { "key": "customerName", "value": "{{$[0].name}}" }, { "key": "customerAge", "value": "{{$[0].age}}" } ] } ``` $ is a shorthand for the tool's response body. `$\[0]`is the first item in the array.`$[n]` is the nth item in the array. Note, $ is available regardless of the response body type (both object and array). 3. Use `aliases` to extract variables from the tool's response headers. ```json { "aliases": [ { "key": "customerName", "value": "{{tool.response.headers.customer-name}}" }, { "key": "customerAge", "value": "{{tool.response.headers.customer-age}}" } ] } ``` `tool.response` is made available to the liquid template. Particularly, both `tool.response.headers` and `tool.response.body` are available. Note, `tool.response` is available regardless of the response body type (both object and array). 4. Use `schema` to extract a large portion of the tool's response body. 4.1. If you hit example.com and it returns `{"name": "John", "age": 30}`, then you can specify the schema as: ```json { "schema": { "type": "object", "properties": { "name": { "type": "string" }, "age": { "type": "number" } } } } ``` These will be extracted as `{{ name }}` and `{{ age }}` respectively. To emphasize, object properties are extracted as direct global variables. 4.2. If you hit example.com and it returns `{"name": {"first": "John", "last": "Doe"}}`, then you can specify the schema as: ```json { "schema": { "type": "object", "properties": { "name": { "type": "object", "properties": { "first": { "type": "string" }, "last": { "type": "string" } } } } } } ``` These will be extracted as `{{ name }}`. And, `{{ name.first }}` and `{{ name.last }}` will be accessible. 4.3. If you hit example.com and it returns `["94123", "94124"]`, then you can specify the schema as: ```json { "schema": { "type": "array", "title": "zipCodes", "items": { "type": "string" } } } ``` This will be extracted as `{{ zipCodes }}`. To access the array items, you can use `{{ zipCodes[0] }}` and `{{ zipCodes[1] }}`. 4.4. If you hit example.com and it returns `[{"name": "John", "age": 30, "zipCodes": ["94123", "94124"]}, {"name": "Jane", "age": 25, "zipCodes": ["94125", "94126"]}]`, then you can specify the schema as: ```json { "schema": { "type": "array", "title": "people", "items": { "type": "object", "properties": { "name": { "type": "string" }, "age": { "type": "number" }, "zipCodes": { "type": "array", "items": { "type": "string" } } } } } } ``` This will be extracted as `{{ people }}`. To access the array items, you can use `{{ people[n].name }}`, `{{ people[n].age }}`, `{{ people[n].zipCodes }}`, `{{ people[n].zipCodes[0] }}` and `{{ people[n].zipCodes[1] }}`. Note: Both `aliases` and `schema` can be used together.
- `rejectionPlan` (ToolRejectionPlan, optional) — This is the plan to reject a tool call based on the conversation state. // Example 1: Reject endCall if user didn't say goodbye ```json { conditions: [{ type: 'regex', regex: '(?i)\\b(bye|goodbye|farewell|see you later|take care)\\b', target: { position: -1, role: 'user' }, negate: true // Reject if pattern does NOT match }] } ``` // Example 2: Reject transfer if user is actually asking a question ```json { conditions: [{ type: 'regex', regex: '\\?', target: { position: -1, role: 'user' } }] } ``` // Example 3: Reject transfer if user didn't mention transfer recently ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 5 %} {% assign userMessages = recentMessages | where: 'role', 'user' %} {% assign mentioned = false %} {% for msg in userMessages %} {% if msg.content contains 'transfer' or msg.content contains 'connect' or msg.content contains 'speak to' %} {% assign mentioned = true %} {% break %} {% endif %} {% endfor %} {% if mentioned %} false {% else %} true {% endif %}` }] } ``` // Example 4: Reject endCall if the bot is looping and trying to exit ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 6 %} {% assign userMessages = recentMessages | where: 'role', 'user' | reverse %} {% if userMessages.size < 3 %} false {% else %} {% assign msg1 = userMessages[0].content | downcase %} {% assign msg2 = userMessages[1].content | downcase %} {% assign msg3 = userMessages[2].content | downcase %} {% comment %} Check for repetitive messages {% endcomment %} {% if msg1 == msg2 or msg1 == msg3 or msg2 == msg3 %} true {% comment %} Check for common loop phrases {% endcomment %} {% elsif msg1 contains 'cool thanks' or msg2 contains 'cool thanks' or msg3 contains 'cool thanks' %} true {% elsif msg1 contains 'okay thanks' or msg2 contains 'okay thanks' or msg3 contains 'okay thanks' %} true {% elsif msg1 contains 'got it' or msg2 contains 'got it' or msg3 contains 'got it' %} true {% else %} false {% endif %} {% endif %}` }] } ```

### CreateBashToolDTO

- `type` (enum, required) — The type of tool. "bash" for Bash tool.
  - Allowed values: `bash`
- `subType` (enum, required) — The sub type of tool.
  - Allowed values: `bash_20241022`
- `name` (enum, required, default: bash) — The name of the tool, fixed to 'bash'
  - Allowed values: `bash`
- `messages` (list of CreateBashToolDtoMessagesItems, optional) — Messages spoken while the tool is running. Multiple request-start messages are variants. For request-response-delayed, same timing means variants and different timings mean staged updates.
- `server` (Server, optional) — This is the server where a `tool-calls` webhook will be sent. Notes: * Webhook is sent to this server when a tool call is made. * Webhook contains the call, assistant, and phone number objects. * Webhook contains the variables set on the assistant. * Webhook is sent to the first available URL in this order: \{\{tool.server.url}}, \{\{assistant.server.url}}, \{\{phoneNumber.server.url}}, \{\{org.server.url}}. * Webhook expects a response with tool call result.
- `rejectionPlan` (ToolRejectionPlan, optional) — This is the plan to reject a tool call based on the conversation state. // Example 1: Reject endCall if user didn't say goodbye ```json { conditions: [{ type: 'regex', regex: '(?i)\\b(bye|goodbye|farewell|see you later|take care)\\b', target: { position: -1, role: 'user' }, negate: true // Reject if pattern does NOT match }] } ``` // Example 2: Reject transfer if user is actually asking a question ```json { conditions: [{ type: 'regex', regex: '\\?', target: { position: -1, role: 'user' } }] } ``` // Example 3: Reject transfer if user didn't mention transfer recently ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 5 %} {% assign userMessages = recentMessages | where: 'role', 'user' %} {% assign mentioned = false %} {% for msg in userMessages %} {% if msg.content contains 'transfer' or msg.content contains 'connect' or msg.content contains 'speak to' %} {% assign mentioned = true %} {% break %} {% endif %} {% endfor %} {% if mentioned %} false {% else %} true {% endif %}` }] } ``` // Example 4: Reject endCall if the bot is looping and trying to exit ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 6 %} {% assign userMessages = recentMessages | where: 'role', 'user' | reverse %} {% if userMessages.size < 3 %} false {% else %} {% assign msg1 = userMessages[0].content | downcase %} {% assign msg2 = userMessages[1].content | downcase %} {% assign msg3 = userMessages[2].content | downcase %} {% comment %} Check for repetitive messages {% endcomment %} {% if msg1 == msg2 or msg1 == msg3 or msg2 == msg3 %} true {% comment %} Check for common loop phrases {% endcomment %} {% elsif msg1 contains 'cool thanks' or msg2 contains 'cool thanks' or msg3 contains 'cool thanks' %} true {% elsif msg1 contains 'okay thanks' or msg2 contains 'okay thanks' or msg3 contains 'okay thanks' %} true {% elsif msg1 contains 'got it' or msg2 contains 'got it' or msg3 contains 'got it' %} true {% else %} false {% endif %} {% endif %}` }] } ```

### CreateCodeToolDTO

- `type` (enum, required) — The type of tool. "code" for Code tool.
  - Allowed values: `code`
- `code` (string, required) — TypeScript code to execute when the tool is called
- `messages` (list of CreateCodeToolDtoMessagesItems, optional) — Messages spoken while the tool is running. Multiple request-start messages are variants. For request-response-delayed, same timing means variants and different timings mean staged updates.
- `async` (boolean, optional) — This determines if the tool is async. If async, the assistant will move forward without waiting for your server to respond. This is useful if you just want to trigger something on your server. If sync, the assistant will wait for your server to respond. This is useful if want assistant to respond with the result from your server. Defaults to synchronous (`false`).
- `server` (Server, optional) — This is the server where a `tool-calls` webhook will be sent. Notes: * Webhook is sent to this server when a tool call is made. * Webhook contains the call, assistant, and phone number objects. * Webhook contains the variables set on the assistant. * Webhook is sent to the first available URL in this order: \{\{tool.server.url}}, \{\{assistant.server.url}}, \{\{phoneNumber.server.url}}, \{\{org.server.url}}. * Webhook expects a response with tool call result.
- `environmentVariables` (list of CodeToolEnvironmentVariable, optional) — Environment variables available in code via `env` object
- `timeoutSeconds` (double, optional) — This is the timeout in seconds for the code execution. Defaults to 10 seconds. Maximum is 30 seconds to prevent abuse. @default 10
- `credentialId` (string, optional) — Credential ID containing the Val Town API key
- `variableExtractionPlan` (VariableExtractionPlan, optional) — Plan to extract variables from the tool response
- `function` (OpenAIFunction, optional) — This is the function definition of the tool. For the Code tool, this defines the name, description, and parameters that the model will use to understand when and how to call this tool.
- `rejectionPlan` (ToolRejectionPlan, optional) — This is the plan to reject a tool call based on the conversation state. // Example 1: Reject endCall if user didn't say goodbye ```json { conditions: [{ type: 'regex', regex: '(?i)\\b(bye|goodbye|farewell|see you later|take care)\\b', target: { position: -1, role: 'user' }, negate: true // Reject if pattern does NOT match }] } ``` // Example 2: Reject transfer if user is actually asking a question ```json { conditions: [{ type: 'regex', regex: '\\?', target: { position: -1, role: 'user' } }] } ``` // Example 3: Reject transfer if user didn't mention transfer recently ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 5 %} {% assign userMessages = recentMessages | where: 'role', 'user' %} {% assign mentioned = false %} {% for msg in userMessages %} {% if msg.content contains 'transfer' or msg.content contains 'connect' or msg.content contains 'speak to' %} {% assign mentioned = true %} {% break %} {% endif %} {% endfor %} {% if mentioned %} false {% else %} true {% endif %}` }] } ``` // Example 4: Reject endCall if the bot is looping and trying to exit ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 6 %} {% assign userMessages = recentMessages | where: 'role', 'user' | reverse %} {% if userMessages.size < 3 %} false {% else %} {% assign msg1 = userMessages[0].content | downcase %} {% assign msg2 = userMessages[1].content | downcase %} {% assign msg3 = userMessages[2].content | downcase %} {% comment %} Check for repetitive messages {% endcomment %} {% if msg1 == msg2 or msg1 == msg3 or msg2 == msg3 %} true {% comment %} Check for common loop phrases {% endcomment %} {% elsif msg1 contains 'cool thanks' or msg2 contains 'cool thanks' or msg3 contains 'cool thanks' %} true {% elsif msg1 contains 'okay thanks' or msg2 contains 'okay thanks' or msg3 contains 'okay thanks' %} true {% elsif msg1 contains 'got it' or msg2 contains 'got it' or msg3 contains 'got it' %} true {% else %} false {% endif %} {% endif %}` }] } ```

### CreateComputerToolDTO

- `type` (enum, required) — The type of tool. "computer" for Computer tool.
  - Allowed values: `computer`
- `subType` (enum, required) — The sub type of tool.
  - Allowed values: `computer_20241022`
- `name` (enum, required, default: computer) — The name of the tool, fixed to 'computer'
  - Allowed values: `computer`
- `displayWidthPx` (double, required) — The display width in pixels
- `displayHeightPx` (double, required) — The display height in pixels
- `messages` (list of CreateComputerToolDtoMessagesItems, optional) — Messages spoken while the tool is running. Multiple request-start messages are variants. For request-response-delayed, same timing means variants and different timings mean staged updates.
- `server` (Server, optional) — This is the server where a `tool-calls` webhook will be sent. Notes: * Webhook is sent to this server when a tool call is made. * Webhook contains the call, assistant, and phone number objects. * Webhook contains the variables set on the assistant. * Webhook is sent to the first available URL in this order: \{\{tool.server.url}}, \{\{assistant.server.url}}, \{\{phoneNumber.server.url}}, \{\{org.server.url}}. * Webhook expects a response with tool call result.
- `displayNumber` (double, optional) — Optional display number
- `rejectionPlan` (ToolRejectionPlan, optional) — This is the plan to reject a tool call based on the conversation state. // Example 1: Reject endCall if user didn't say goodbye ```json { conditions: [{ type: 'regex', regex: '(?i)\\b(bye|goodbye|farewell|see you later|take care)\\b', target: { position: -1, role: 'user' }, negate: true // Reject if pattern does NOT match }] } ``` // Example 2: Reject transfer if user is actually asking a question ```json { conditions: [{ type: 'regex', regex: '\\?', target: { position: -1, role: 'user' } }] } ``` // Example 3: Reject transfer if user didn't mention transfer recently ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 5 %} {% assign userMessages = recentMessages | where: 'role', 'user' %} {% assign mentioned = false %} {% for msg in userMessages %} {% if msg.content contains 'transfer' or msg.content contains 'connect' or msg.content contains 'speak to' %} {% assign mentioned = true %} {% break %} {% endif %} {% endfor %} {% if mentioned %} false {% else %} true {% endif %}` }] } ``` // Example 4: Reject endCall if the bot is looping and trying to exit ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 6 %} {% assign userMessages = recentMessages | where: 'role', 'user' | reverse %} {% if userMessages.size < 3 %} false {% else %} {% assign msg1 = userMessages[0].content | downcase %} {% assign msg2 = userMessages[1].content | downcase %} {% assign msg3 = userMessages[2].content | downcase %} {% comment %} Check for repetitive messages {% endcomment %} {% if msg1 == msg2 or msg1 == msg3 or msg2 == msg3 %} true {% comment %} Check for common loop phrases {% endcomment %} {% elsif msg1 contains 'cool thanks' or msg2 contains 'cool thanks' or msg3 contains 'cool thanks' %} true {% elsif msg1 contains 'okay thanks' or msg2 contains 'okay thanks' or msg3 contains 'okay thanks' %} true {% elsif msg1 contains 'got it' or msg2 contains 'got it' or msg3 contains 'got it' %} true {% else %} false {% endif %} {% endif %}` }] } ```

### CreateDtmfToolDTO

- `type` (enum, required) — The type of tool. "dtmf" for DTMF tool.
  - Allowed values: `dtmf`
- `messages` (list of CreateDtmfToolDtoMessagesItems, optional) — Messages spoken while the tool is running. Multiple request-start messages are variants. For request-response-delayed, same timing means variants and different timings mean staged updates.
- `sipInfoDtmfEnabled` (boolean, optional, default: false) — This enables sending DTMF tones via SIP INFO messages instead of RFC 2833 (RTP events). When enabled, DTMF digits will be sent using the SIP INFO method, which can be more reliable in some network configurations. Only relevant when using the `vapi.sip` transport.
- `rejectionPlan` (ToolRejectionPlan, optional) — This is the plan to reject a tool call based on the conversation state. // Example 1: Reject endCall if user didn't say goodbye ```json { conditions: [{ type: 'regex', regex: '(?i)\\b(bye|goodbye|farewell|see you later|take care)\\b', target: { position: -1, role: 'user' }, negate: true // Reject if pattern does NOT match }] } ``` // Example 2: Reject transfer if user is actually asking a question ```json { conditions: [{ type: 'regex', regex: '\\?', target: { position: -1, role: 'user' } }] } ``` // Example 3: Reject transfer if user didn't mention transfer recently ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 5 %} {% assign userMessages = recentMessages | where: 'role', 'user' %} {% assign mentioned = false %} {% for msg in userMessages %} {% if msg.content contains 'transfer' or msg.content contains 'connect' or msg.content contains 'speak to' %} {% assign mentioned = true %} {% break %} {% endif %} {% endfor %} {% if mentioned %} false {% else %} true {% endif %}` }] } ``` // Example 4: Reject endCall if the bot is looping and trying to exit ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 6 %} {% assign userMessages = recentMessages | where: 'role', 'user' | reverse %} {% if userMessages.size < 3 %} false {% else %} {% assign msg1 = userMessages[0].content | downcase %} {% assign msg2 = userMessages[1].content | downcase %} {% assign msg3 = userMessages[2].content | downcase %} {% comment %} Check for repetitive messages {% endcomment %} {% if msg1 == msg2 or msg1 == msg3 or msg2 == msg3 %} true {% comment %} Check for common loop phrases {% endcomment %} {% elsif msg1 contains 'cool thanks' or msg2 contains 'cool thanks' or msg3 contains 'cool thanks' %} true {% elsif msg1 contains 'okay thanks' or msg2 contains 'okay thanks' or msg3 contains 'okay thanks' %} true {% elsif msg1 contains 'got it' or msg2 contains 'got it' or msg3 contains 'got it' %} true {% else %} false {% endif %} {% endif %}` }] } ```

### CreateEndCallToolDTO

- `type` (enum, required) — The type of tool. "endCall" for End Call tool.
  - Allowed values: `endCall`
- `messages` (list of CreateEndCallToolDtoMessagesItems, optional) — Messages spoken while the tool is running. Multiple request-start messages are variants. For request-response-delayed, same timing means variants and different timings mean staged updates.
- `rejectionPlan` (ToolRejectionPlan, optional) — This is the plan to reject a tool call based on the conversation state. // Example 1: Reject endCall if user didn't say goodbye ```json { conditions: [{ type: 'regex', regex: '(?i)\\b(bye|goodbye|farewell|see you later|take care)\\b', target: { position: -1, role: 'user' }, negate: true // Reject if pattern does NOT match }] } ``` // Example 2: Reject transfer if user is actually asking a question ```json { conditions: [{ type: 'regex', regex: '\\?', target: { position: -1, role: 'user' } }] } ``` // Example 3: Reject transfer if user didn't mention transfer recently ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 5 %} {% assign userMessages = recentMessages | where: 'role', 'user' %} {% assign mentioned = false %} {% for msg in userMessages %} {% if msg.content contains 'transfer' or msg.content contains 'connect' or msg.content contains 'speak to' %} {% assign mentioned = true %} {% break %} {% endif %} {% endfor %} {% if mentioned %} false {% else %} true {% endif %}` }] } ``` // Example 4: Reject endCall if the bot is looping and trying to exit ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 6 %} {% assign userMessages = recentMessages | where: 'role', 'user' | reverse %} {% if userMessages.size < 3 %} false {% else %} {% assign msg1 = userMessages[0].content | downcase %} {% assign msg2 = userMessages[1].content | downcase %} {% assign msg3 = userMessages[2].content | downcase %} {% comment %} Check for repetitive messages {% endcomment %} {% if msg1 == msg2 or msg1 == msg3 or msg2 == msg3 %} true {% comment %} Check for common loop phrases {% endcomment %} {% elsif msg1 contains 'cool thanks' or msg2 contains 'cool thanks' or msg3 contains 'cool thanks' %} true {% elsif msg1 contains 'okay thanks' or msg2 contains 'okay thanks' or msg3 contains 'okay thanks' %} true {% elsif msg1 contains 'got it' or msg2 contains 'got it' or msg3 contains 'got it' %} true {% else %} false {% endif %} {% endif %}` }] } ```

### CreateFunctionToolDTO

- `type` (enum, required) — The type of tool. "function" for Function tool.
  - Allowed values: `function`
- `messages` (list of CreateFunctionToolDtoMessagesItems, optional) — Messages spoken while the tool is running. Multiple request-start messages are variants. For request-response-delayed, same timing means variants and different timings mean staged updates.
- `async` (boolean, optional) — This determines if the tool is async. If async, the assistant will move forward without waiting for your server to respond. This is useful if you just want to trigger something on your server. If sync, the assistant will wait for your server to respond. This is useful if want assistant to respond with the result from your server. Defaults to synchronous (`false`).
- `server` (Server, optional) — This is the server where a `tool-calls` webhook will be sent. Notes: * Webhook is sent to this server when a tool call is made. * Webhook contains the call, assistant, and phone number objects. * Webhook contains the variables set on the assistant. * Webhook is sent to the first available URL in this order: \{\{tool.server.url}}, \{\{assistant.server.url}}, \{\{phoneNumber.server.url}}, \{\{org.server.url}}. * Webhook expects a response with tool call result.
- `variableExtractionPlan` (VariableExtractionPlan, optional) — Plan to extract variables from the tool response
- `parameters` (list of ToolParameter, optional) — Static key-value pairs merged into the request body. Values support Liquid templates.
- `function` (OpenAIFunction, optional) — This is the function definition of the tool.
- `rejectionPlan` (ToolRejectionPlan, optional) — This is the plan to reject a tool call based on the conversation state. // Example 1: Reject endCall if user didn't say goodbye ```json { conditions: [{ type: 'regex', regex: '(?i)\\b(bye|goodbye|farewell|see you later|take care)\\b', target: { position: -1, role: 'user' }, negate: true // Reject if pattern does NOT match }] } ``` // Example 2: Reject transfer if user is actually asking a question ```json { conditions: [{ type: 'regex', regex: '\\?', target: { position: -1, role: 'user' } }] } ``` // Example 3: Reject transfer if user didn't mention transfer recently ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 5 %} {% assign userMessages = recentMessages | where: 'role', 'user' %} {% assign mentioned = false %} {% for msg in userMessages %} {% if msg.content contains 'transfer' or msg.content contains 'connect' or msg.content contains 'speak to' %} {% assign mentioned = true %} {% break %} {% endif %} {% endfor %} {% if mentioned %} false {% else %} true {% endif %}` }] } ``` // Example 4: Reject endCall if the bot is looping and trying to exit ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 6 %} {% assign userMessages = recentMessages | where: 'role', 'user' | reverse %} {% if userMessages.size < 3 %} false {% else %} {% assign msg1 = userMessages[0].content | downcase %} {% assign msg2 = userMessages[1].content | downcase %} {% assign msg3 = userMessages[2].content | downcase %} {% comment %} Check for repetitive messages {% endcomment %} {% if msg1 == msg2 or msg1 == msg3 or msg2 == msg3 %} true {% comment %} Check for common loop phrases {% endcomment %} {% elsif msg1 contains 'cool thanks' or msg2 contains 'cool thanks' or msg3 contains 'cool thanks' %} true {% elsif msg1 contains 'okay thanks' or msg2 contains 'okay thanks' or msg3 contains 'okay thanks' %} true {% elsif msg1 contains 'got it' or msg2 contains 'got it' or msg3 contains 'got it' %} true {% else %} false {% endif %} {% endif %}` }] } ```

### CreateGoHighLevelCalendarAvailabilityToolDTO

- `type` (enum, required) — The type of tool. "gohighlevel.calendar.availability.check" for GoHighLevel Calendar Availability Check tool.
  - Allowed values: `gohighlevel.calendar.availability.check`
- `messages` (list of CreateGoHighLevelCalendarAvailabilityToolDtoMessagesItems, optional) — Messages spoken while the tool is running. Multiple request-start messages are variants. For request-response-delayed, same timing means variants and different timings mean staged updates.
- `rejectionPlan` (ToolRejectionPlan, optional) — This is the plan to reject a tool call based on the conversation state. // Example 1: Reject endCall if user didn't say goodbye ```json { conditions: [{ type: 'regex', regex: '(?i)\\b(bye|goodbye|farewell|see you later|take care)\\b', target: { position: -1, role: 'user' }, negate: true // Reject if pattern does NOT match }] } ``` // Example 2: Reject transfer if user is actually asking a question ```json { conditions: [{ type: 'regex', regex: '\\?', target: { position: -1, role: 'user' } }] } ``` // Example 3: Reject transfer if user didn't mention transfer recently ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 5 %} {% assign userMessages = recentMessages | where: 'role', 'user' %} {% assign mentioned = false %} {% for msg in userMessages %} {% if msg.content contains 'transfer' or msg.content contains 'connect' or msg.content contains 'speak to' %} {% assign mentioned = true %} {% break %} {% endif %} {% endfor %} {% if mentioned %} false {% else %} true {% endif %}` }] } ``` // Example 4: Reject endCall if the bot is looping and trying to exit ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 6 %} {% assign userMessages = recentMessages | where: 'role', 'user' | reverse %} {% if userMessages.size < 3 %} false {% else %} {% assign msg1 = userMessages[0].content | downcase %} {% assign msg2 = userMessages[1].content | downcase %} {% assign msg3 = userMessages[2].content | downcase %} {% comment %} Check for repetitive messages {% endcomment %} {% if msg1 == msg2 or msg1 == msg3 or msg2 == msg3 %} true {% comment %} Check for common loop phrases {% endcomment %} {% elsif msg1 contains 'cool thanks' or msg2 contains 'cool thanks' or msg3 contains 'cool thanks' %} true {% elsif msg1 contains 'okay thanks' or msg2 contains 'okay thanks' or msg3 contains 'okay thanks' %} true {% elsif msg1 contains 'got it' or msg2 contains 'got it' or msg3 contains 'got it' %} true {% else %} false {% endif %} {% endif %}` }] } ```

### CreateGoHighLevelCalendarEventCreateToolDTO

- `type` (enum, required) — The type of tool. "gohighlevel.calendar.event.create" for GoHighLevel Calendar Event Create tool.
  - Allowed values: `gohighlevel.calendar.event.create`
- `messages` (list of CreateGoHighLevelCalendarEventCreateToolDtoMessagesItems, optional) — Messages spoken while the tool is running. Multiple request-start messages are variants. For request-response-delayed, same timing means variants and different timings mean staged updates.
- `rejectionPlan` (ToolRejectionPlan, optional) — This is the plan to reject a tool call based on the conversation state. // Example 1: Reject endCall if user didn't say goodbye ```json { conditions: [{ type: 'regex', regex: '(?i)\\b(bye|goodbye|farewell|see you later|take care)\\b', target: { position: -1, role: 'user' }, negate: true // Reject if pattern does NOT match }] } ``` // Example 2: Reject transfer if user is actually asking a question ```json { conditions: [{ type: 'regex', regex: '\\?', target: { position: -1, role: 'user' } }] } ``` // Example 3: Reject transfer if user didn't mention transfer recently ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 5 %} {% assign userMessages = recentMessages | where: 'role', 'user' %} {% assign mentioned = false %} {% for msg in userMessages %} {% if msg.content contains 'transfer' or msg.content contains 'connect' or msg.content contains 'speak to' %} {% assign mentioned = true %} {% break %} {% endif %} {% endfor %} {% if mentioned %} false {% else %} true {% endif %}` }] } ``` // Example 4: Reject endCall if the bot is looping and trying to exit ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 6 %} {% assign userMessages = recentMessages | where: 'role', 'user' | reverse %} {% if userMessages.size < 3 %} false {% else %} {% assign msg1 = userMessages[0].content | downcase %} {% assign msg2 = userMessages[1].content | downcase %} {% assign msg3 = userMessages[2].content | downcase %} {% comment %} Check for repetitive messages {% endcomment %} {% if msg1 == msg2 or msg1 == msg3 or msg2 == msg3 %} true {% comment %} Check for common loop phrases {% endcomment %} {% elsif msg1 contains 'cool thanks' or msg2 contains 'cool thanks' or msg3 contains 'cool thanks' %} true {% elsif msg1 contains 'okay thanks' or msg2 contains 'okay thanks' or msg3 contains 'okay thanks' %} true {% elsif msg1 contains 'got it' or msg2 contains 'got it' or msg3 contains 'got it' %} true {% else %} false {% endif %} {% endif %}` }] } ```

### CreateGoHighLevelContactCreateToolDTO

- `type` (enum, required) — The type of tool. "gohighlevel.contact.create" for GoHighLevel Contact Create tool.
  - Allowed values: `gohighlevel.contact.create`
- `messages` (list of CreateGoHighLevelContactCreateToolDtoMessagesItems, optional) — Messages spoken while the tool is running. Multiple request-start messages are variants. For request-response-delayed, same timing means variants and different timings mean staged updates.
- `rejectionPlan` (ToolRejectionPlan, optional) — This is the plan to reject a tool call based on the conversation state. // Example 1: Reject endCall if user didn't say goodbye ```json { conditions: [{ type: 'regex', regex: '(?i)\\b(bye|goodbye|farewell|see you later|take care)\\b', target: { position: -1, role: 'user' }, negate: true // Reject if pattern does NOT match }] } ``` // Example 2: Reject transfer if user is actually asking a question ```json { conditions: [{ type: 'regex', regex: '\\?', target: { position: -1, role: 'user' } }] } ``` // Example 3: Reject transfer if user didn't mention transfer recently ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 5 %} {% assign userMessages = recentMessages | where: 'role', 'user' %} {% assign mentioned = false %} {% for msg in userMessages %} {% if msg.content contains 'transfer' or msg.content contains 'connect' or msg.content contains 'speak to' %} {% assign mentioned = true %} {% break %} {% endif %} {% endfor %} {% if mentioned %} false {% else %} true {% endif %}` }] } ``` // Example 4: Reject endCall if the bot is looping and trying to exit ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 6 %} {% assign userMessages = recentMessages | where: 'role', 'user' | reverse %} {% if userMessages.size < 3 %} false {% else %} {% assign msg1 = userMessages[0].content | downcase %} {% assign msg2 = userMessages[1].content | downcase %} {% assign msg3 = userMessages[2].content | downcase %} {% comment %} Check for repetitive messages {% endcomment %} {% if msg1 == msg2 or msg1 == msg3 or msg2 == msg3 %} true {% comment %} Check for common loop phrases {% endcomment %} {% elsif msg1 contains 'cool thanks' or msg2 contains 'cool thanks' or msg3 contains 'cool thanks' %} true {% elsif msg1 contains 'okay thanks' or msg2 contains 'okay thanks' or msg3 contains 'okay thanks' %} true {% elsif msg1 contains 'got it' or msg2 contains 'got it' or msg3 contains 'got it' %} true {% else %} false {% endif %} {% endif %}` }] } ```

### CreateGoHighLevelContactGetToolDTO

- `type` (enum, required) — The type of tool. "gohighlevel.contact.get" for GoHighLevel Contact Get tool.
  - Allowed values: `gohighlevel.contact.get`
- `messages` (list of CreateGoHighLevelContactGetToolDtoMessagesItems, optional) — Messages spoken while the tool is running. Multiple request-start messages are variants. For request-response-delayed, same timing means variants and different timings mean staged updates.
- `rejectionPlan` (ToolRejectionPlan, optional) — This is the plan to reject a tool call based on the conversation state. // Example 1: Reject endCall if user didn't say goodbye ```json { conditions: [{ type: 'regex', regex: '(?i)\\b(bye|goodbye|farewell|see you later|take care)\\b', target: { position: -1, role: 'user' }, negate: true // Reject if pattern does NOT match }] } ``` // Example 2: Reject transfer if user is actually asking a question ```json { conditions: [{ type: 'regex', regex: '\\?', target: { position: -1, role: 'user' } }] } ``` // Example 3: Reject transfer if user didn't mention transfer recently ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 5 %} {% assign userMessages = recentMessages | where: 'role', 'user' %} {% assign mentioned = false %} {% for msg in userMessages %} {% if msg.content contains 'transfer' or msg.content contains 'connect' or msg.content contains 'speak to' %} {% assign mentioned = true %} {% break %} {% endif %} {% endfor %} {% if mentioned %} false {% else %} true {% endif %}` }] } ``` // Example 4: Reject endCall if the bot is looping and trying to exit ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 6 %} {% assign userMessages = recentMessages | where: 'role', 'user' | reverse %} {% if userMessages.size < 3 %} false {% else %} {% assign msg1 = userMessages[0].content | downcase %} {% assign msg2 = userMessages[1].content | downcase %} {% assign msg3 = userMessages[2].content | downcase %} {% comment %} Check for repetitive messages {% endcomment %} {% if msg1 == msg2 or msg1 == msg3 or msg2 == msg3 %} true {% comment %} Check for common loop phrases {% endcomment %} {% elsif msg1 contains 'cool thanks' or msg2 contains 'cool thanks' or msg3 contains 'cool thanks' %} true {% elsif msg1 contains 'okay thanks' or msg2 contains 'okay thanks' or msg3 contains 'okay thanks' %} true {% elsif msg1 contains 'got it' or msg2 contains 'got it' or msg3 contains 'got it' %} true {% else %} false {% endif %} {% endif %}` }] } ```

### CreateGoogleCalendarCheckAvailabilityToolDTO

- `type` (enum, required) — The type of tool. "google.calendar.availability.check" for Google Calendar Check Availability tool.
  - Allowed values: `google.calendar.availability.check`
- `messages` (list of CreateGoogleCalendarCheckAvailabilityToolDtoMessagesItems, optional) — Messages spoken while the tool is running. Multiple request-start messages are variants. For request-response-delayed, same timing means variants and different timings mean staged updates.
- `rejectionPlan` (ToolRejectionPlan, optional) — This is the plan to reject a tool call based on the conversation state. // Example 1: Reject endCall if user didn't say goodbye ```json { conditions: [{ type: 'regex', regex: '(?i)\\b(bye|goodbye|farewell|see you later|take care)\\b', target: { position: -1, role: 'user' }, negate: true // Reject if pattern does NOT match }] } ``` // Example 2: Reject transfer if user is actually asking a question ```json { conditions: [{ type: 'regex', regex: '\\?', target: { position: -1, role: 'user' } }] } ``` // Example 3: Reject transfer if user didn't mention transfer recently ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 5 %} {% assign userMessages = recentMessages | where: 'role', 'user' %} {% assign mentioned = false %} {% for msg in userMessages %} {% if msg.content contains 'transfer' or msg.content contains 'connect' or msg.content contains 'speak to' %} {% assign mentioned = true %} {% break %} {% endif %} {% endfor %} {% if mentioned %} false {% else %} true {% endif %}` }] } ``` // Example 4: Reject endCall if the bot is looping and trying to exit ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 6 %} {% assign userMessages = recentMessages | where: 'role', 'user' | reverse %} {% if userMessages.size < 3 %} false {% else %} {% assign msg1 = userMessages[0].content | downcase %} {% assign msg2 = userMessages[1].content | downcase %} {% assign msg3 = userMessages[2].content | downcase %} {% comment %} Check for repetitive messages {% endcomment %} {% if msg1 == msg2 or msg1 == msg3 or msg2 == msg3 %} true {% comment %} Check for common loop phrases {% endcomment %} {% elsif msg1 contains 'cool thanks' or msg2 contains 'cool thanks' or msg3 contains 'cool thanks' %} true {% elsif msg1 contains 'okay thanks' or msg2 contains 'okay thanks' or msg3 contains 'okay thanks' %} true {% elsif msg1 contains 'got it' or msg2 contains 'got it' or msg3 contains 'got it' %} true {% else %} false {% endif %} {% endif %}` }] } ```

### CreateGoogleCalendarCreateEventToolDTO

- `type` (enum, required) — The type of tool. "google.calendar.event.create" for Google Calendar Create Event tool.
  - Allowed values: `google.calendar.event.create`
- `messages` (list of CreateGoogleCalendarCreateEventToolDtoMessagesItems, optional) — Messages spoken while the tool is running. Multiple request-start messages are variants. For request-response-delayed, same timing means variants and different timings mean staged updates.
- `rejectionPlan` (ToolRejectionPlan, optional) — This is the plan to reject a tool call based on the conversation state. // Example 1: Reject endCall if user didn't say goodbye ```json { conditions: [{ type: 'regex', regex: '(?i)\\b(bye|goodbye|farewell|see you later|take care)\\b', target: { position: -1, role: 'user' }, negate: true // Reject if pattern does NOT match }] } ``` // Example 2: Reject transfer if user is actually asking a question ```json { conditions: [{ type: 'regex', regex: '\\?', target: { position: -1, role: 'user' } }] } ``` // Example 3: Reject transfer if user didn't mention transfer recently ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 5 %} {% assign userMessages = recentMessages | where: 'role', 'user' %} {% assign mentioned = false %} {% for msg in userMessages %} {% if msg.content contains 'transfer' or msg.content contains 'connect' or msg.content contains 'speak to' %} {% assign mentioned = true %} {% break %} {% endif %} {% endfor %} {% if mentioned %} false {% else %} true {% endif %}` }] } ``` // Example 4: Reject endCall if the bot is looping and trying to exit ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 6 %} {% assign userMessages = recentMessages | where: 'role', 'user' | reverse %} {% if userMessages.size < 3 %} false {% else %} {% assign msg1 = userMessages[0].content | downcase %} {% assign msg2 = userMessages[1].content | downcase %} {% assign msg3 = userMessages[2].content | downcase %} {% comment %} Check for repetitive messages {% endcomment %} {% if msg1 == msg2 or msg1 == msg3 or msg2 == msg3 %} true {% comment %} Check for common loop phrases {% endcomment %} {% elsif msg1 contains 'cool thanks' or msg2 contains 'cool thanks' or msg3 contains 'cool thanks' %} true {% elsif msg1 contains 'okay thanks' or msg2 contains 'okay thanks' or msg3 contains 'okay thanks' %} true {% elsif msg1 contains 'got it' or msg2 contains 'got it' or msg3 contains 'got it' %} true {% else %} false {% endif %} {% endif %}` }] } ```

### CreateGoogleSheetsRowAppendToolDTO

- `type` (enum, required) — The type of tool. "google.sheets.row.append" for Google Sheets Row Append tool.
  - Allowed values: `google.sheets.row.append`
- `messages` (list of CreateGoogleSheetsRowAppendToolDtoMessagesItems, optional) — Messages spoken while the tool is running. Multiple request-start messages are variants. For request-response-delayed, same timing means variants and different timings mean staged updates.
- `rejectionPlan` (ToolRejectionPlan, optional) — This is the plan to reject a tool call based on the conversation state. // Example 1: Reject endCall if user didn't say goodbye ```json { conditions: [{ type: 'regex', regex: '(?i)\\b(bye|goodbye|farewell|see you later|take care)\\b', target: { position: -1, role: 'user' }, negate: true // Reject if pattern does NOT match }] } ``` // Example 2: Reject transfer if user is actually asking a question ```json { conditions: [{ type: 'regex', regex: '\\?', target: { position: -1, role: 'user' } }] } ``` // Example 3: Reject transfer if user didn't mention transfer recently ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 5 %} {% assign userMessages = recentMessages | where: 'role', 'user' %} {% assign mentioned = false %} {% for msg in userMessages %} {% if msg.content contains 'transfer' or msg.content contains 'connect' or msg.content contains 'speak to' %} {% assign mentioned = true %} {% break %} {% endif %} {% endfor %} {% if mentioned %} false {% else %} true {% endif %}` }] } ``` // Example 4: Reject endCall if the bot is looping and trying to exit ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 6 %} {% assign userMessages = recentMessages | where: 'role', 'user' | reverse %} {% if userMessages.size < 3 %} false {% else %} {% assign msg1 = userMessages[0].content | downcase %} {% assign msg2 = userMessages[1].content | downcase %} {% assign msg3 = userMessages[2].content | downcase %} {% comment %} Check for repetitive messages {% endcomment %} {% if msg1 == msg2 or msg1 == msg3 or msg2 == msg3 %} true {% comment %} Check for common loop phrases {% endcomment %} {% elsif msg1 contains 'cool thanks' or msg2 contains 'cool thanks' or msg3 contains 'cool thanks' %} true {% elsif msg1 contains 'okay thanks' or msg2 contains 'okay thanks' or msg3 contains 'okay thanks' %} true {% elsif msg1 contains 'got it' or msg2 contains 'got it' or msg3 contains 'got it' %} true {% else %} false {% endif %} {% endif %}` }] } ```

### CreateHandoffToolDTO

- `type` (enum, required) — This is the type of the tool. When you're using handoff tool, we recommend adding this to your system prompt ------------------------------------------------------------------------------ # System context You are part of a multi-agent system designed to make agent coordination and execution easy. Agents uses two primary abstraction: **Agents** and **Handoffs**. An agent encompasses instructions and tools and can hand off a conversation to another agent when appropriate. Handoffs are achieved by calling a handoff function, generally named `handoff_to_<agent_name>`. Handoffs between agents are handled seamlessly in the background; do not mention or draw attention to these handoffs in your conversation with the user. # Agent context ## \{put your agent system prompt here}
  - Allowed values: `handoff`
- `messages` (list of CreateHandoffToolDtoMessagesItems, optional) — Messages spoken while the tool is running. Multiple request-start messages are variants. For request-response-delayed, same timing means variants and different timings mean staged updates.
- `defaultResult` (string, optional) — This is the default local tool result message used when no runtime handoff result override is returned.
- `destinations` (list of CreateHandoffToolDtoDestinationsItems, optional) — These are the destinations that the call can be handed off to. Usage: 1. Single destination Use `assistantId` to handoff the call to a saved assistant, or `assistantName` to handoff the call to an assistant in the same squad. ```json { "tools": [ { "type": "handoff", "destinations": [ { "type": "assistant", "assistantId": "assistant-123", // or "assistantName": "Assistant123" "description": "customer wants to be handed off to assistant-123", "contextEngineeringPlan": { "type": "all" } } ], } ] } ``` 2. Multiple destinations 2.1. Multiple Tools, Each With One Destination (OpenAI recommended) ```json { "tools": [ { "type": "handoff", "destinations": [ { "type": "assistant", "assistantId": "assistant-123", "description": "customer wants to be handed off to assistant-123", "contextEngineeringPlan": { "type": "all" } }, ], }, { "type": "handoff", "destinations": [ { "type": "assistant", "assistantId": "assistant-456", "description": "customer wants to be handed off to assistant-456", "contextEngineeringPlan": { "type": "all" } } ], } ] } ``` 2.2. One Tool, Multiple Destinations (Anthropic recommended) ```json { "tools": [ { "type": "handoff", "destinations": [ { "type": "assistant", "assistantId": "assistant-123", "description": "customer wants to be handed off to assistant-123", "contextEngineeringPlan": { "type": "all" } }, { "type": "assistant", "assistantId": "assistant-456", "description": "customer wants to be handed off to assistant-456", "contextEngineeringPlan": { "type": "all" } } ], } ] } ``` 3. Dynamic destination 3.1 To determine the destination dynamically, supply a `dynamic` handoff destination type and a `server` object. VAPI will send a handoff-destination-request webhook to the `server.url`. The response from the server will be used as the destination (if valid). ```json { "tools": [ { "type": "handoff", "destinations": [ { "type": "dynamic", "server": { "url": "https://example.com" } } ], } ] } ``` 3.2. To pass custom parameters to the server, you can use the `function` object. ```json { "tools": [ { "type": "handoff", "destinations": [ { "type": "dynamic", "server": { "url": "https://example.com" }, } ], "function": { "name": "handoff", "description": "Call this function when the customer is ready to be handed off to the next assistant", "parameters": { "type": "object", "properties": { "destination": { "type": "string", "description": "Use dynamic when customer is ready to be handed off to the next assistant", "enum": ["dynamic"] }, "customerAreaCode": { "type": "number", "description": "Area code of the customer" }, "customerIntent": { "type": "string", "enum": ["new-customer", "existing-customer"], "description": "Use new-customer when customer is a new customer, existing-customer when customer is an existing customer" }, "customerSentiment": { "type": "string", "enum": ["positive", "negative", "neutral"], "description": "Use positive when customer is happy, negative when customer is unhappy, neutral when customer is neutral" } } } } } ] } ``` The properties `customerAreaCode`, `customerIntent`, and `customerSentiment` will be passed to the server in the webhook request body.
- `function` (OpenAIFunction, optional) — This is the optional function definition that will be passed to the LLM. If this is not defined, we will construct this based on the other properties. For example, given the following tools definition: ```json { "tools": [ { "type": "handoff", "destinations": [ { "type": "assistant", "assistantId": "assistant-123", "description": "customer wants to be handed off to assistant-123", "contextEngineeringPlan": { "type": "all" } }, { "type": "assistant", "assistantId": "assistant-456", "description": "customer wants to be handed off to assistant-456", "contextEngineeringPlan": { "type": "all" } } ], } ] } ``` We will construct the following function definition: ```json { "function": { "name": "handoff_to_assistant-123", "description": " Use this function to handoff the call to the next assistant. Only use it when instructions explicitly ask you to use the handoff_to_assistant function. DO NOT call this function unless you are instructed to do so. Here are the destinations you can handoff the call to: 1. assistant-123. When: customer wants to be handed off to assistant-123 2. assistant-456. When: customer wants to be handed off to assistant-456 ", "parameters": { "type": "object", "properties": { "destination": { "type": "string", "description": "Options: assistant-123 (customer wants to be handed off to assistant-123), assistant-456 (customer wants to be handed off to assistant-456)", "enum": ["assistant-123", "assistant-456"] }, }, "required": ["destination"] } } } ``` To override this function, please provide an OpenAI function definition and refer to it in the system prompt. You may override parts of the function definition (i.e. you may only want to change the function name for your prompt). If you choose to override the function parameters, it must include `destination` as a required parameter, and it must evaluate to either an assistantId, assistantName, or a the string literal `dynamic`. To pass custom parameters to the server in a dynamic handoff, you can use the function parameters, with `dynamic` as the destination. ```json { "function": { "name": "dynamic_handoff", "description": " Call this function when the customer is ready to be handed off to the next assistant ", "parameters": { "type": "object", "properties": { "destination": { "type": "string", "enum": ["dynamic"] }, "customerAreaCode": { "type": "number", "description": "Area code of the customer" }, "customerIntent": { "type": "string", "enum": ["new-customer", "existing-customer"], "description": "Use new-customer when customer is a new customer, existing-customer when customer is an existing customer" }, "customerSentiment": { "type": "string", "enum": ["positive", "negative", "neutral"], "description": "Use positive when customer is happy, negative when customer is unhappy, neutral when customer is neutral" } }, "required": ["destination", "customerAreaCode", "customerIntent", "customerSentiment"] } } } ```
- `rejectionPlan` (ToolRejectionPlan, optional) — This is the plan to reject a tool call based on the conversation state. // Example 1: Reject endCall if user didn't say goodbye ```json { conditions: [{ type: 'regex', regex: '(?i)\\b(bye|goodbye|farewell|see you later|take care)\\b', target: { position: -1, role: 'user' }, negate: true // Reject if pattern does NOT match }] } ``` // Example 2: Reject transfer if user is actually asking a question ```json { conditions: [{ type: 'regex', regex: '\\?', target: { position: -1, role: 'user' } }] } ``` // Example 3: Reject transfer if user didn't mention transfer recently ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 5 %} {% assign userMessages = recentMessages | where: 'role', 'user' %} {% assign mentioned = false %} {% for msg in userMessages %} {% if msg.content contains 'transfer' or msg.content contains 'connect' or msg.content contains 'speak to' %} {% assign mentioned = true %} {% break %} {% endif %} {% endfor %} {% if mentioned %} false {% else %} true {% endif %}` }] } ``` // Example 4: Reject endCall if the bot is looping and trying to exit ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 6 %} {% assign userMessages = recentMessages | where: 'role', 'user' | reverse %} {% if userMessages.size < 3 %} false {% else %} {% assign msg1 = userMessages[0].content | downcase %} {% assign msg2 = userMessages[1].content | downcase %} {% assign msg3 = userMessages[2].content | downcase %} {% comment %} Check for repetitive messages {% endcomment %} {% if msg1 == msg2 or msg1 == msg3 or msg2 == msg3 %} true {% comment %} Check for common loop phrases {% endcomment %} {% elsif msg1 contains 'cool thanks' or msg2 contains 'cool thanks' or msg3 contains 'cool thanks' %} true {% elsif msg1 contains 'okay thanks' or msg2 contains 'okay thanks' or msg3 contains 'okay thanks' %} true {% elsif msg1 contains 'got it' or msg2 contains 'got it' or msg3 contains 'got it' %} true {% else %} false {% endif %} {% endif %}` }] } ```

### CreateMcpToolDTO

- `type` (enum, required) — The type of tool. "mcp" for MCP tool.
  - Allowed values: `mcp`
- `messages` (list of CreateMcpToolDtoMessagesItems, optional) — Messages spoken while the tool is running. Multiple request-start messages are variants. For request-response-delayed, same timing means variants and different timings mean staged updates.
- `server` (Server, optional) — This is the server where a `tool-calls` webhook will be sent. Notes: * Webhook is sent to this server when a tool call is made. * Webhook contains the call, assistant, and phone number objects. * Webhook contains the variables set on the assistant. * Webhook is sent to the first available URL in this order: \{\{tool.server.url}}, \{\{assistant.server.url}}, \{\{phoneNumber.server.url}}, \{\{org.server.url}}. * Webhook expects a response with tool call result.
- `toolMessages` (list of McpToolMessages, optional) — Per-tool message overrides for individual tools loaded from the MCP server. Set messages to an empty array to suppress messages for a specific tool. Tools not listed here will use the default messages from the parent tool.
- `metadata` (McpToolMetadata, optional)
- `rejectionPlan` (ToolRejectionPlan, optional) — This is the plan to reject a tool call based on the conversation state. // Example 1: Reject endCall if user didn't say goodbye ```json { conditions: [{ type: 'regex', regex: '(?i)\\b(bye|goodbye|farewell|see you later|take care)\\b', target: { position: -1, role: 'user' }, negate: true // Reject if pattern does NOT match }] } ``` // Example 2: Reject transfer if user is actually asking a question ```json { conditions: [{ type: 'regex', regex: '\\?', target: { position: -1, role: 'user' } }] } ``` // Example 3: Reject transfer if user didn't mention transfer recently ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 5 %} {% assign userMessages = recentMessages | where: 'role', 'user' %} {% assign mentioned = false %} {% for msg in userMessages %} {% if msg.content contains 'transfer' or msg.content contains 'connect' or msg.content contains 'speak to' %} {% assign mentioned = true %} {% break %} {% endif %} {% endfor %} {% if mentioned %} false {% else %} true {% endif %}` }] } ``` // Example 4: Reject endCall if the bot is looping and trying to exit ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 6 %} {% assign userMessages = recentMessages | where: 'role', 'user' | reverse %} {% if userMessages.size < 3 %} false {% else %} {% assign msg1 = userMessages[0].content | downcase %} {% assign msg2 = userMessages[1].content | downcase %} {% assign msg3 = userMessages[2].content | downcase %} {% comment %} Check for repetitive messages {% endcomment %} {% if msg1 == msg2 or msg1 == msg3 or msg2 == msg3 %} true {% comment %} Check for common loop phrases {% endcomment %} {% elsif msg1 contains 'cool thanks' or msg2 contains 'cool thanks' or msg3 contains 'cool thanks' %} true {% elsif msg1 contains 'okay thanks' or msg2 contains 'okay thanks' or msg3 contains 'okay thanks' %} true {% elsif msg1 contains 'got it' or msg2 contains 'got it' or msg3 contains 'got it' %} true {% else %} false {% endif %} {% endif %}` }] } ```

### CreateQueryToolDTO

- `type` (enum, required) — The type of tool. "query" for Query tool.
  - Allowed values: `query`
- `messages` (list of CreateQueryToolDtoMessagesItems, optional) — Messages spoken while the tool is running. Multiple request-start messages are variants. For request-response-delayed, same timing means variants and different timings mean staged updates.
- `knowledgeBases` (list of KnowledgeBase, optional) — The knowledge bases to query
- `rejectionPlan` (ToolRejectionPlan, optional) — This is the plan to reject a tool call based on the conversation state. // Example 1: Reject endCall if user didn't say goodbye ```json { conditions: [{ type: 'regex', regex: '(?i)\\b(bye|goodbye|farewell|see you later|take care)\\b', target: { position: -1, role: 'user' }, negate: true // Reject if pattern does NOT match }] } ``` // Example 2: Reject transfer if user is actually asking a question ```json { conditions: [{ type: 'regex', regex: '\\?', target: { position: -1, role: 'user' } }] } ``` // Example 3: Reject transfer if user didn't mention transfer recently ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 5 %} {% assign userMessages = recentMessages | where: 'role', 'user' %} {% assign mentioned = false %} {% for msg in userMessages %} {% if msg.content contains 'transfer' or msg.content contains 'connect' or msg.content contains 'speak to' %} {% assign mentioned = true %} {% break %} {% endif %} {% endfor %} {% if mentioned %} false {% else %} true {% endif %}` }] } ``` // Example 4: Reject endCall if the bot is looping and trying to exit ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 6 %} {% assign userMessages = recentMessages | where: 'role', 'user' | reverse %} {% if userMessages.size < 3 %} false {% else %} {% assign msg1 = userMessages[0].content | downcase %} {% assign msg2 = userMessages[1].content | downcase %} {% assign msg3 = userMessages[2].content | downcase %} {% comment %} Check for repetitive messages {% endcomment %} {% if msg1 == msg2 or msg1 == msg3 or msg2 == msg3 %} true {% comment %} Check for common loop phrases {% endcomment %} {% elsif msg1 contains 'cool thanks' or msg2 contains 'cool thanks' or msg3 contains 'cool thanks' %} true {% elsif msg1 contains 'okay thanks' or msg2 contains 'okay thanks' or msg3 contains 'okay thanks' %} true {% elsif msg1 contains 'got it' or msg2 contains 'got it' or msg3 contains 'got it' %} true {% else %} false {% endif %} {% endif %}` }] } ```

### CreateSlackSendMessageToolDTO

- `type` (enum, required) — The type of tool. "slack.message.send" for Slack Send Message tool.
  - Allowed values: `slack.message.send`
- `messages` (list of CreateSlackSendMessageToolDtoMessagesItems, optional) — Messages spoken while the tool is running. Multiple request-start messages are variants. For request-response-delayed, same timing means variants and different timings mean staged updates.
- `rejectionPlan` (ToolRejectionPlan, optional) — This is the plan to reject a tool call based on the conversation state. // Example 1: Reject endCall if user didn't say goodbye ```json { conditions: [{ type: 'regex', regex: '(?i)\\b(bye|goodbye|farewell|see you later|take care)\\b', target: { position: -1, role: 'user' }, negate: true // Reject if pattern does NOT match }] } ``` // Example 2: Reject transfer if user is actually asking a question ```json { conditions: [{ type: 'regex', regex: '\\?', target: { position: -1, role: 'user' } }] } ``` // Example 3: Reject transfer if user didn't mention transfer recently ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 5 %} {% assign userMessages = recentMessages | where: 'role', 'user' %} {% assign mentioned = false %} {% for msg in userMessages %} {% if msg.content contains 'transfer' or msg.content contains 'connect' or msg.content contains 'speak to' %} {% assign mentioned = true %} {% break %} {% endif %} {% endfor %} {% if mentioned %} false {% else %} true {% endif %}` }] } ``` // Example 4: Reject endCall if the bot is looping and trying to exit ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 6 %} {% assign userMessages = recentMessages | where: 'role', 'user' | reverse %} {% if userMessages.size < 3 %} false {% else %} {% assign msg1 = userMessages[0].content | downcase %} {% assign msg2 = userMessages[1].content | downcase %} {% assign msg3 = userMessages[2].content | downcase %} {% comment %} Check for repetitive messages {% endcomment %} {% if msg1 == msg2 or msg1 == msg3 or msg2 == msg3 %} true {% comment %} Check for common loop phrases {% endcomment %} {% elsif msg1 contains 'cool thanks' or msg2 contains 'cool thanks' or msg3 contains 'cool thanks' %} true {% elsif msg1 contains 'okay thanks' or msg2 contains 'okay thanks' or msg3 contains 'okay thanks' %} true {% elsif msg1 contains 'got it' or msg2 contains 'got it' or msg3 contains 'got it' %} true {% else %} false {% endif %} {% endif %}` }] } ```

### CreateSmsToolDTO

- `type` (enum, required) — The type of tool. "sms" for Twilio SMS sending tool.
  - Allowed values: `sms`
- `messages` (list of CreateSmsToolDtoMessagesItems, optional) — Messages spoken while the tool is running. Multiple request-start messages are variants. For request-response-delayed, same timing means variants and different timings mean staged updates.
- `rejectionPlan` (ToolRejectionPlan, optional) — This is the plan to reject a tool call based on the conversation state. // Example 1: Reject endCall if user didn't say goodbye ```json { conditions: [{ type: 'regex', regex: '(?i)\\b(bye|goodbye|farewell|see you later|take care)\\b', target: { position: -1, role: 'user' }, negate: true // Reject if pattern does NOT match }] } ``` // Example 2: Reject transfer if user is actually asking a question ```json { conditions: [{ type: 'regex', regex: '\\?', target: { position: -1, role: 'user' } }] } ``` // Example 3: Reject transfer if user didn't mention transfer recently ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 5 %} {% assign userMessages = recentMessages | where: 'role', 'user' %} {% assign mentioned = false %} {% for msg in userMessages %} {% if msg.content contains 'transfer' or msg.content contains 'connect' or msg.content contains 'speak to' %} {% assign mentioned = true %} {% break %} {% endif %} {% endfor %} {% if mentioned %} false {% else %} true {% endif %}` }] } ``` // Example 4: Reject endCall if the bot is looping and trying to exit ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 6 %} {% assign userMessages = recentMessages | where: 'role', 'user' | reverse %} {% if userMessages.size < 3 %} false {% else %} {% assign msg1 = userMessages[0].content | downcase %} {% assign msg2 = userMessages[1].content | downcase %} {% assign msg3 = userMessages[2].content | downcase %} {% comment %} Check for repetitive messages {% endcomment %} {% if msg1 == msg2 or msg1 == msg3 or msg2 == msg3 %} true {% comment %} Check for common loop phrases {% endcomment %} {% elsif msg1 contains 'cool thanks' or msg2 contains 'cool thanks' or msg3 contains 'cool thanks' %} true {% elsif msg1 contains 'okay thanks' or msg2 contains 'okay thanks' or msg3 contains 'okay thanks' %} true {% elsif msg1 contains 'got it' or msg2 contains 'got it' or msg3 contains 'got it' %} true {% else %} false {% endif %} {% endif %}` }] } ```

### CreateTextEditorToolDTO

- `type` (enum, required) — The type of tool. "textEditor" for Text Editor tool.
  - Allowed values: `textEditor`
- `subType` (enum, required) — The sub type of tool.
  - Allowed values: `text_editor_20241022`
- `name` (enum, required, default: str_replace_editor) — The name of the tool, fixed to 'str_replace_editor'
  - Allowed values: `str_replace_editor`
- `messages` (list of CreateTextEditorToolDtoMessagesItems, optional) — Messages spoken while the tool is running. Multiple request-start messages are variants. For request-response-delayed, same timing means variants and different timings mean staged updates.
- `server` (Server, optional) — This is the server where a `tool-calls` webhook will be sent. Notes: * Webhook is sent to this server when a tool call is made. * Webhook contains the call, assistant, and phone number objects. * Webhook contains the variables set on the assistant. * Webhook is sent to the first available URL in this order: \{\{tool.server.url}}, \{\{assistant.server.url}}, \{\{phoneNumber.server.url}}, \{\{org.server.url}}. * Webhook expects a response with tool call result.
- `rejectionPlan` (ToolRejectionPlan, optional) — This is the plan to reject a tool call based on the conversation state. // Example 1: Reject endCall if user didn't say goodbye ```json { conditions: [{ type: 'regex', regex: '(?i)\\b(bye|goodbye|farewell|see you later|take care)\\b', target: { position: -1, role: 'user' }, negate: true // Reject if pattern does NOT match }] } ``` // Example 2: Reject transfer if user is actually asking a question ```json { conditions: [{ type: 'regex', regex: '\\?', target: { position: -1, role: 'user' } }] } ``` // Example 3: Reject transfer if user didn't mention transfer recently ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 5 %} {% assign userMessages = recentMessages | where: 'role', 'user' %} {% assign mentioned = false %} {% for msg in userMessages %} {% if msg.content contains 'transfer' or msg.content contains 'connect' or msg.content contains 'speak to' %} {% assign mentioned = true %} {% break %} {% endif %} {% endfor %} {% if mentioned %} false {% else %} true {% endif %}` }] } ``` // Example 4: Reject endCall if the bot is looping and trying to exit ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 6 %} {% assign userMessages = recentMessages | where: 'role', 'user' | reverse %} {% if userMessages.size < 3 %} false {% else %} {% assign msg1 = userMessages[0].content | downcase %} {% assign msg2 = userMessages[1].content | downcase %} {% assign msg3 = userMessages[2].content | downcase %} {% comment %} Check for repetitive messages {% endcomment %} {% if msg1 == msg2 or msg1 == msg3 or msg2 == msg3 %} true {% comment %} Check for common loop phrases {% endcomment %} {% elsif msg1 contains 'cool thanks' or msg2 contains 'cool thanks' or msg3 contains 'cool thanks' %} true {% elsif msg1 contains 'okay thanks' or msg2 contains 'okay thanks' or msg3 contains 'okay thanks' %} true {% elsif msg1 contains 'got it' or msg2 contains 'got it' or msg3 contains 'got it' %} true {% else %} false {% endif %} {% endif %}` }] } ```

### CreateTransferCallToolDTO

- `type` (enum, required)
  - Allowed values: `transferCall`
- `messages` (list of CreateTransferCallToolDtoMessagesItems, optional) — Messages spoken while the tool is running. Multiple request-start messages are variants. For request-response-delayed, same timing means variants and different timings mean staged updates.
- `destinations` (list of CreateTransferCallToolDtoDestinationsItems, optional) — These are the destinations that the call can be transferred to. If no destinations are provided, server.url will be used to get the transfer destination once the tool is called.
- `rejectionPlan` (ToolRejectionPlan, optional) — This is the plan to reject a tool call based on the conversation state. // Example 1: Reject endCall if user didn't say goodbye ```json { conditions: [{ type: 'regex', regex: '(?i)\\b(bye|goodbye|farewell|see you later|take care)\\b', target: { position: -1, role: 'user' }, negate: true // Reject if pattern does NOT match }] } ``` // Example 2: Reject transfer if user is actually asking a question ```json { conditions: [{ type: 'regex', regex: '\\?', target: { position: -1, role: 'user' } }] } ``` // Example 3: Reject transfer if user didn't mention transfer recently ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 5 %} {% assign userMessages = recentMessages | where: 'role', 'user' %} {% assign mentioned = false %} {% for msg in userMessages %} {% if msg.content contains 'transfer' or msg.content contains 'connect' or msg.content contains 'speak to' %} {% assign mentioned = true %} {% break %} {% endif %} {% endfor %} {% if mentioned %} false {% else %} true {% endif %}` }] } ``` // Example 4: Reject endCall if the bot is looping and trying to exit ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 6 %} {% assign userMessages = recentMessages | where: 'role', 'user' | reverse %} {% if userMessages.size < 3 %} false {% else %} {% assign msg1 = userMessages[0].content | downcase %} {% assign msg2 = userMessages[1].content | downcase %} {% assign msg3 = userMessages[2].content | downcase %} {% comment %} Check for repetitive messages {% endcomment %} {% if msg1 == msg2 or msg1 == msg3 or msg2 == msg3 %} true {% comment %} Check for common loop phrases {% endcomment %} {% elsif msg1 contains 'cool thanks' or msg2 contains 'cool thanks' or msg3 contains 'cool thanks' %} true {% elsif msg1 contains 'okay thanks' or msg2 contains 'okay thanks' or msg3 contains 'okay thanks' %} true {% elsif msg1 contains 'got it' or msg2 contains 'got it' or msg3 contains 'got it' %} true {% else %} false {% endif %} {% endif %}` }] } ```

### CreateSipRequestToolDTO

- `type` (enum, required) — The type of tool. "sipRequest" for SIP request tool.
  - Allowed values: `sipRequest`
- `verb` (enum, required) — The SIP method to send.
  - Allowed values: `INFO`, `MESSAGE`, `NOTIFY`
- `messages` (list of CreateSipRequestToolDtoMessagesItems, optional) — Messages spoken while the tool is running. Multiple request-start messages are variants. For request-response-delayed, same timing means variants and different timings mean staged updates.
- `headers` (JsonSchema, optional) — JSON schema for headers the model should populate when sending the SIP request.
- `body` (CreateSipRequestToolDtoBody, optional) — Body to include in the SIP request. Either a literal string body, or a JSON schema describing a structured body that the model should populate.
- `rejectionPlan` (ToolRejectionPlan, optional) — This is the plan to reject a tool call based on the conversation state. // Example 1: Reject endCall if user didn't say goodbye ```json { conditions: [{ type: 'regex', regex: '(?i)\\b(bye|goodbye|farewell|see you later|take care)\\b', target: { position: -1, role: 'user' }, negate: true // Reject if pattern does NOT match }] } ``` // Example 2: Reject transfer if user is actually asking a question ```json { conditions: [{ type: 'regex', regex: '\\?', target: { position: -1, role: 'user' } }] } ``` // Example 3: Reject transfer if user didn't mention transfer recently ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 5 %} {% assign userMessages = recentMessages | where: 'role', 'user' %} {% assign mentioned = false %} {% for msg in userMessages %} {% if msg.content contains 'transfer' or msg.content contains 'connect' or msg.content contains 'speak to' %} {% assign mentioned = true %} {% break %} {% endif %} {% endfor %} {% if mentioned %} false {% else %} true {% endif %}` }] } ``` // Example 4: Reject endCall if the bot is looping and trying to exit ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 6 %} {% assign userMessages = recentMessages | where: 'role', 'user' | reverse %} {% if userMessages.size < 3 %} false {% else %} {% assign msg1 = userMessages[0].content | downcase %} {% assign msg2 = userMessages[1].content | downcase %} {% assign msg3 = userMessages[2].content | downcase %} {% comment %} Check for repetitive messages {% endcomment %} {% if msg1 == msg2 or msg1 == msg3 or msg2 == msg3 %} true {% comment %} Check for common loop phrases {% endcomment %} {% elsif msg1 contains 'cool thanks' or msg2 contains 'cool thanks' or msg3 contains 'cool thanks' %} true {% elsif msg1 contains 'okay thanks' or msg2 contains 'okay thanks' or msg3 contains 'okay thanks' %} true {% elsif msg1 contains 'got it' or msg2 contains 'got it' or msg3 contains 'got it' %} true {% else %} false {% endif %} {% endif %}` }] } ```

### CreateVoicemailToolDTO

- `type` (enum, required) — The type of tool. "voicemail" for Voicemail tool.
  - Allowed values: `voicemail`
- `messages` (list of CreateVoicemailToolDtoMessagesItems, optional) — Messages spoken while the tool is running. Multiple request-start messages are variants. For request-response-delayed, same timing means variants and different timings mean staged updates.
- `beepDetectionEnabled` (boolean, optional, default: false) — This is the flag that enables beep detection for voicemail detection and applies only for twilio based calls. @default false
- `rejectionPlan` (ToolRejectionPlan, optional) — This is the plan to reject a tool call based on the conversation state. // Example 1: Reject endCall if user didn't say goodbye ```json { conditions: [{ type: 'regex', regex: '(?i)\\b(bye|goodbye|farewell|see you later|take care)\\b', target: { position: -1, role: 'user' }, negate: true // Reject if pattern does NOT match }] } ``` // Example 2: Reject transfer if user is actually asking a question ```json { conditions: [{ type: 'regex', regex: '\\?', target: { position: -1, role: 'user' } }] } ``` // Example 3: Reject transfer if user didn't mention transfer recently ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 5 %} {% assign userMessages = recentMessages | where: 'role', 'user' %} {% assign mentioned = false %} {% for msg in userMessages %} {% if msg.content contains 'transfer' or msg.content contains 'connect' or msg.content contains 'speak to' %} {% assign mentioned = true %} {% break %} {% endif %} {% endfor %} {% if mentioned %} false {% else %} true {% endif %}` }] } ``` // Example 4: Reject endCall if the bot is looping and trying to exit ```json { conditions: [{ type: 'liquid', liquid: `{% assign recentMessages = messages | last: 6 %} {% assign userMessages = recentMessages | where: 'role', 'user' | reverse %} {% if userMessages.size < 3 %} false {% else %} {% assign msg1 = userMessages[0].content | downcase %} {% assign msg2 = userMessages[1].content | downcase %} {% assign msg3 = userMessages[2].content | downcase %} {% comment %} Check for repetitive messages {% endcomment %} {% if msg1 == msg2 or msg1 == msg3 or msg2 == msg3 %} true {% comment %} Check for common loop phrases {% endcomment %} {% elsif msg1 contains 'cool thanks' or msg2 contains 'cool thanks' or msg3 contains 'cool thanks' %} true {% elsif msg1 contains 'okay thanks' or msg2 contains 'okay thanks' or msg3 contains 'okay thanks' %} true {% elsif msg1 contains 'got it' or msg2 contains 'got it' or msg3 contains 'got it' %} true {% else %} false {% endif %} {% endif %}` }] } ```

### SquadMemberDtoAssistantDestinationsItems

- Transfer Destination: TransferDestinationAssistant
- Handoff Destination: HandoffDestinationAssistant

### ConversationNode

- `type` (enum, required) — This is the Conversation node. This can be used to start a conversation with the customer. The flow is: - Workflow starts the conversation node - Model is active with the `prompt` and global context. - Model will call a tool to exit this node. - Workflow will extract variables from the conversation. - Workflow continues.
  - Allowed values: `conversation`
- `name` (string, required)
- `model` (ConversationNodeModel, optional) — This is the model for the node. This overrides `workflow.model`.
- `transcriber` (ConversationNodeTranscriber, optional) — This is the transcriber for the node. This overrides `workflow.transcriber`.
- `voice` (ConversationNodeVoice, optional) — This is the voice for the node. This overrides `workflow.voice`.
- `tools` (list of ConversationNodeToolsItems, optional) — These are the tools that the conversation node can use during the call. To use existing tools, use `toolIds`. Both `tools` and `toolIds` can be used together.
- `toolIds` (list of string, optional) — These are the tools that the conversation node can use during the call. To use transient tools, use `tools`. Both `tools` and `toolIds` can be used together.
- `prompt` (string, optional)
- `globalNodePlan` (GlobalNodePlan, optional) — This is the plan for the global node.
- `variableExtractionPlan` (VariableExtractionPlan, optional) — This is the plan that controls the variable extraction from the user's responses. Usage: Use `schema` to specify what you want to extract from the user's responses. ```json { "schema": { "type": "object", "properties": { "user": { "type": "object", "properties": { "name": { "type": "string" }, "age": { "type": "number" } } } } } } ``` This will be extracted as `{{ user.name }}` and `{{ user.age }}` respectively. (Optional) Use `aliases` to create new variables. ```json { "aliases": [ { "key": "userAge", "value": "{{user.age}}" }, { "key": "userName", "value": "{{user.name}}" } ] } ``` This will be extracted as `{{ userAge }}` and `{{ userName }}` respectively. Note: The `schema` field is required for Conversation nodes if you want to extract variables from the user's responses. `aliases` is just a convenience.
- `isStart` (boolean, optional) — This is whether or not the node is the start of the workflow.
- `metadata` (ConversationNodeMetadata, optional) — This is for metadata you want to store on the task.

### ToolNode

- `type` (enum, required) — This is the Tool node. This can be used to call a tool in your workflow. The flow is: - Workflow starts the tool node - Model is called to extract parameters needed by the tool from the conversation history - Tool is called with the parameters - Server returns a response - Workflow continues with the response
  - Allowed values: `tool`
- `name` (string, required)
- `tool` (ToolNodeTool, optional) — This is the tool to call. To use an existing tool, send `toolId` instead.
- `toolId` (string, optional) — This is the tool to call. To use a transient tool, send `tool` instead.
- `isStart` (boolean, optional) — This is whether or not the node is the start of the workflow.
- `metadata` (ToolNodeMetadata, optional) — This is for metadata you want to store on the task.

### EdgeCondition

- AIEdgeCondition: AIEdgeCondition

### EdgeMetadata

This is for metadata you want to store on the edge.

### WorkflowOpenAIModel

- `provider` (enum, required) — This is the provider of the model (`openai`).
  - Allowed values: `openai`
- `model` (enum, required) — This is the OpenAI model that will be used. When using Vapi OpenAI or your own Azure Credentials, you have the option to specify the region for the selected model. This shouldn't be specified unless you have a specific reason to do so. Vapi will automatically find the fastest region that make sense. This is helpful when you are required to comply with Data Residency rules. Learn more about Azure regions here https://azure.microsoft.com/en-us/explore/global-infrastructure/data-residency/.
  - Allowed values: `gpt-6-luna`, `gpt-5.6-sol`, `gpt-5.6-terra`, `gpt-5.6-luna`, `gpt-5.5`, `chat-latest`, `gpt-5.4`, `gpt-5.4-mini`, `gpt-5.4-nano`, `gpt-5.2`, `gpt-5.2-chat-latest`, `gpt-5.1`, `gpt-5.1-chat-latest`, `gpt-5`, `gpt-5-chat-latest`, `gpt-5-mini`, `gpt-5-nano`, `gpt-4.1-2025-04-14`, `gpt-4.1-mini-2025-04-14`, `gpt-4.1-nano-2025-04-14`, `gpt-4.1`, `gpt-4.1-mini`, `gpt-4.1-nano`, `chatgpt-4o-latest`, `o3`, `o3-mini`, `o4-mini`, `o1-mini`, `o1-mini-2024-09-12`, `gpt-4o-mini-2024-07-18`, `gpt-4o-mini`, `gpt-4o`, `gpt-4o-2024-05-13`, `gpt-4o-2024-08-06`, `gpt-4o-2024-11-20`, `gpt-4-turbo`, `gpt-4-turbo-2024-04-09`, `gpt-4-turbo-preview`, `gpt-4-0125-preview`, `gpt-4-1106-preview`, `gpt-4`, `gpt-4-0613`, `gpt-3.5-turbo`, `gpt-3.5-turbo-0125`, `gpt-3.5-turbo-1106`, `gpt-3.5-turbo-16k`, `gpt-3.5-turbo-0613`, `gpt-5.6-luna:westus3`, `gpt-5.6-terra:westus3`, `gpt-5.6-sol:westus3`, `gpt-5.4:eastus2`, `gpt-5.4:swedencentral`, `gpt-5.4-mini:eastus2`, `gpt-5.4-mini:swedencentral`, `gpt-5.4-nano:eastus2`, `gpt-5.4-nano:swedencentral`, `gpt-5.2:eastus2`, `gpt-5.2:swedencentral`, `gpt-5.1:eastus2`, `gpt-5.1:swedencentral`, `gpt-5:eastus2`, `gpt-5:swedencentral`, `gpt-5:canadaeast`, `gpt-5:eastus`, `gpt-5:westeurope`, `gpt-5:germanywestcentral`, `gpt-5:polandcentral`, `gpt-5:spaincentral`, `gpt-5-mini:eastus2`, `gpt-5-mini:swedencentral`, `gpt-5-mini:westeurope`, `gpt-5-mini:germanywestcentral`, `gpt-5-mini:polandcentral`, `gpt-5-mini:spaincentral`, `gpt-5-nano:eastus2`, `gpt-5-nano:swedencentral`, `gpt-4.1-2025-04-14:westus`, `gpt-4.1-2025-04-14:eastus2`, `gpt-4.1-2025-04-14:eastus`, `gpt-4.1-2025-04-14:westus3`, `gpt-4.1-2025-04-14:northcentralus`, `gpt-4.1-2025-04-14:southcentralus`, `gpt-4.1-2025-04-14:westeurope`, `gpt-4.1-2025-04-14:germanywestcentral`, `gpt-4.1-2025-04-14:polandcentral`, `gpt-4.1-2025-04-14:spaincentral`, `gpt-4.1-mini-2025-04-14:westus`, `gpt-4.1-mini-2025-04-14:eastus2`, `gpt-4.1-mini-2025-04-14:eastus`, `gpt-4.1-mini-2025-04-14:westus3`, `gpt-4.1-mini-2025-04-14:northcentralus`, `gpt-4.1-mini-2025-04-14:southcentralus`, `gpt-4.1-mini-2025-04-14:westeurope`, `gpt-4.1-mini-2025-04-14:germanywestcentral`, `gpt-4.1-mini-2025-04-14:polandcentral`, `gpt-4.1-mini-2025-04-14:spaincentral`, `gpt-4.1-nano-2025-04-14:westus`, `gpt-4.1-nano-2025-04-14:eastus2`, `gpt-4.1-nano-2025-04-14:westus3`, `gpt-4.1-nano-2025-04-14:northcentralus`, `gpt-4.1-nano-2025-04-14:southcentralus`, `gpt-4o-2024-11-20:swedencentral`, `gpt-4o-2024-11-20:westus`, `gpt-4o-2024-11-20:eastus2`, `gpt-4o-2024-11-20:eastus`, `gpt-4o-2024-11-20:westus3`, `gpt-4o-2024-11-20:southcentralus`, `gpt-4o-2024-11-20:westeurope`, `gpt-4o-2024-11-20:germanywestcentral`, `gpt-4o-2024-11-20:polandcentral`, `gpt-4o-2024-11-20:spaincentral`, `gpt-4o-2024-08-06:westus`, `gpt-4o-2024-08-06:westus3`, `gpt-4o-2024-08-06:eastus`, `gpt-4o-2024-08-06:eastus2`, `gpt-4o-2024-08-06:northcentralus`, `gpt-4o-2024-08-06:southcentralus`, `gpt-4o-mini-2024-07-18:westus`, `gpt-4o-mini-2024-07-18:westus3`, `gpt-4o-mini-2024-07-18:eastus`, `gpt-4o-mini-2024-07-18:eastus2`, `gpt-4o-mini-2024-07-18:northcentralus`, `gpt-4o-mini-2024-07-18:southcentralus`, `gpt-4o-2024-05-13:eastus2`, `gpt-4o-2024-05-13:eastus`, `gpt-4o-2024-05-13:northcentralus`, `gpt-4o-2024-05-13:southcentralus`, `gpt-4o-2024-05-13:westus3`, `gpt-4o-2024-05-13:westus`, `gpt-4-turbo-2024-04-09:eastus2`, `gpt-4-0125-preview:eastus`, `gpt-4-0125-preview:northcentralus`, `gpt-4-0125-preview:southcentralus`, `gpt-4-1106-preview:australiaeast`, `gpt-4-1106-preview:canadaeast`, `gpt-4-1106-preview:france`, `gpt-4-1106-preview:india`, `gpt-4-1106-preview:norway`, `gpt-4-1106-preview:swedencentral`, `gpt-4-1106-preview:uk`, `gpt-4-1106-preview:westus`, `gpt-4-1106-preview:westus3`, `gpt-4-0613:canadaeast`, `gpt-3.5-turbo-0125:canadaeast`, `gpt-3.5-turbo-0125:northcentralus`, `gpt-3.5-turbo-0125:southcentralus`, `gpt-3.5-turbo-1106:canadaeast`, `gpt-3.5-turbo-1106:westus`, `gpt-4.1:australiaeast`, `gpt-4o:australiaeast`, `gpt-5.4-mini:australiaeast`
- `messages` (list of OpenAIMessage, optional) — These are the messages used to customize the prompt used for structured output extraction. When provided, these messages replace the default prompts. For text extraction, message contents support LiquidJS templating with the following variables: * `{{transcript}}`, `{{messages}}`, or `{{messagesWithConfidence}}` to reference the conversation (one is required) * `{{structuredOutput.name}}`, `{{structuredOutput.description}}`, or `{{structuredOutput.schema}}` to reference the structured output definition (one is required) * `{{systemPrompt}}`, `{{callEndedReason}}`, `{{duration}}`, `{{startedAt}}`, `{{endedAt}}`, and any `assistantOverrides.variableValues` In structured outputs, `{{messages}}` includes conversation text and tool calls/results, but omits caller transcription-confidence fields. For text extraction, `{{messagesWithConfidence}}` includes the original message history with transcription confidence for outputs that explicitly need it. These variables also apply in structured-output schema descriptions. Audio-targeted (`messages-with-audio`) extraction ignores custom messages. Stored call artifacts and API messages retain their confidence data. `{{transcript}}` is the spoken text only, which uses significantly fewer tokens. If not provided, default system and user prompts are used.
- `reasoningEffort` (enum, optional) — This is the reasoning effort for structured output extraction. It applies to the primary extraction attempt only; the GPT-4.1 and Gemini fallbacks run without it. Other features that use this model type ignore it. Only reasoning models accept it, and each accepts only the efforts OpenAI supports for it (for example `none` and `xhigh` on gpt-5.6, `minimal` on gpt-5). When unset, OpenAI's default effort for the model applies, except on GPT-6 models, which Vapi sends with `none`. Reasoning tokens are billed as output tokens.
  - Allowed values: `minimal`, `none`, `low`, `medium`, `high`, `xhigh`
- `temperature` (double, optional) — This is the temperature of the model.
- `maxTokens` (double, optional) — This is the max tokens of the model.

### WorkflowAnthropicModel

- `provider` (enum, required) — This is the provider of the model (`anthropic`).
  - Allowed values: `anthropic`
- `model` (enum, required) — This is the specific model that will be used.
  - Allowed values: `claude-3-opus-20240229`, `claude-3-sonnet-20240229`, `claude-3-haiku-20240307`, `claude-3-5-sonnet-20240620`, `claude-3-5-sonnet-20241022`, `claude-3-5-haiku-20241022`, `claude-3-7-sonnet-20250219`, `claude-opus-4-20250514`, `claude-opus-4-5-20251101`, `claude-opus-4-6`, `claude-sonnet-4-20250514`, `claude-sonnet-4-5-20250929`, `claude-sonnet-4-6`, `claude-sonnet-5`, `claude-haiku-4-5-20251001`, `claude-haiku-5-5`
- `messages` (list of OpenAIMessage, optional) — These are the messages used to customize the prompt used for structured output extraction. When provided, these messages replace the default prompts. For text extraction, message contents support LiquidJS templating with the following variables: * `{{transcript}}`, `{{messages}}`, or `{{messagesWithConfidence}}` to reference the conversation (one is required) * `{{structuredOutput.name}}`, `{{structuredOutput.description}}`, or `{{structuredOutput.schema}}` to reference the structured output definition (one is required) * `{{systemPrompt}}`, `{{callEndedReason}}`, `{{duration}}`, `{{startedAt}}`, `{{endedAt}}`, and any `assistantOverrides.variableValues` In structured outputs, `{{messages}}` includes conversation text and tool calls/results, but omits caller transcription-confidence fields. For text extraction, `{{messagesWithConfidence}}` includes the original message history with transcription confidence for outputs that explicitly need it. These variables also apply in structured-output schema descriptions. Audio-targeted (`messages-with-audio`) extraction ignores custom messages. Stored call artifacts and API messages retain their confidence data. `{{transcript}}` is the spoken text only, which uses significantly fewer tokens. If not provided, default system and user prompts are used.
- `thinking` (AnthropicThinkingConfig, optional) — This is the optional configuration for Anthropic's thinking feature. - If provided, `maxTokens` must be greater than `thinking.budgetTokens`.
- `temperature` (double, optional) — This is the temperature of the model.
- `maxTokens` (double, optional) — This is the max tokens of the model.

### WorkflowAnthropicBedrockModel

- `provider` (enum, required) — This is the provider of the model (`anthropic-bedrock`).
  - Allowed values: `anthropic-bedrock`
- `model` (enum, required) — This is the specific model that will be used.
  - Allowed values: `claude-3-opus-20240229`, `claude-3-sonnet-20240229`, `claude-3-haiku-20240307`, `claude-3-5-sonnet-20240620`, `claude-3-5-sonnet-20241022`, `claude-3-5-haiku-20241022`, `claude-3-7-sonnet-20250219`, `claude-opus-4-20250514`, `claude-opus-4-5-20251101`, `claude-opus-4-6`, `claude-sonnet-4-20250514`, `claude-sonnet-4-5-20250929`, `claude-sonnet-4-6`, `claude-haiku-4-5-20251001`, `claude-haiku-5-5`, `global.anthropic.claude-sonnet-4-6`, `global.anthropic.claude-haiku-4-5-20251001-v1:0`
- `messages` (list of OpenAIMessage, optional) — These are the messages used to customize the prompt used for structured output extraction. When provided, these messages replace the default prompts. For text extraction, message contents support LiquidJS templating with the following variables: * `{{transcript}}`, `{{messages}}`, or `{{messagesWithConfidence}}` to reference the conversation (one is required) * `{{structuredOutput.name}}`, `{{structuredOutput.description}}`, or `{{structuredOutput.schema}}` to reference the structured output definition (one is required) * `{{systemPrompt}}`, `{{callEndedReason}}`, `{{duration}}`, `{{startedAt}}`, `{{endedAt}}`, and any `assistantOverrides.variableValues` In structured outputs, `{{messages}}` includes conversation text and tool calls/results, but omits caller transcription-confidence fields. For text extraction, `{{messagesWithConfidence}}` includes the original message history with transcription confidence for outputs that explicitly need it. These variables also apply in structured-output schema descriptions. Audio-targeted (`messages-with-audio`) extraction ignores custom messages. Stored call artifacts and API messages retain their confidence data. `{{transcript}}` is the spoken text only, which uses significantly fewer tokens. If not provided, default system and user prompts are used.
- `thinking` (AnthropicThinkingConfig, optional) — This is the optional configuration for Anthropic's thinking feature. - If provided, `maxTokens` must be greater than `thinking.budgetTokens`.
- `temperature` (double, optional) — This is the temperature of the model.
- `maxTokens` (double, optional) — This is the max tokens of the model.

### WorkflowGoogleModel

- `provider` (enum, required) — This is the provider of the model (`google`).
  - Allowed values: `google`
- `model` (enum, required) — This is the name of the model. Ex. cognitivecomputations/dolphin-mixtral-8x7b
  - Allowed values: `gemini-3.8-flash`, `gemini-3.5-flash`, `gemini-3.1-flash-lite`, `gemini-3-flash-preview`, `gemini-2.5-pro`, `gemini-2.5-flash`, `gemini-2.5-flash-lite`, `gemini-2.0-flash-thinking-exp`, `gemini-2.0-pro-exp-02-05`, `gemini-2.0-flash`, `gemini-2.0-flash-lite`, `gemini-2.0-flash-exp`, `gemini-2.0-flash-realtime-exp`, `gemini-1.5-flash`, `gemini-1.5-flash-002`, `gemini-1.5-pro`, `gemini-1.5-pro-002`, `gemini-1.0-pro`
- `messages` (list of OpenAIMessage, optional) — These are the messages used to customize the prompt used for structured output extraction. When provided, these messages replace the default prompts. For text extraction, message contents support LiquidJS templating with the following variables: * `{{transcript}}`, `{{messages}}`, or `{{messagesWithConfidence}}` to reference the conversation (one is required) * `{{structuredOutput.name}}`, `{{structuredOutput.description}}`, or `{{structuredOutput.schema}}` to reference the structured output definition (one is required) * `{{systemPrompt}}`, `{{callEndedReason}}`, `{{duration}}`, `{{startedAt}}`, `{{endedAt}}`, and any `assistantOverrides.variableValues` In structured outputs, `{{messages}}` includes conversation text and tool calls/results, but omits caller transcription-confidence fields. For text extraction, `{{messagesWithConfidence}}` includes the original message history with transcription confidence for outputs that explicitly need it. These variables also apply in structured-output schema descriptions. Audio-targeted (`messages-with-audio`) extraction ignores custom messages. Stored call artifacts and API messages retain their confidence data. `{{transcript}}` is the spoken text only, which uses significantly fewer tokens. If not provided, default system and user prompts are used.
- `temperature` (double, optional) — This is the temperature of the model.
- `maxTokens` (double, optional) — This is the max tokens of the model.

### WorkflowCustomModel

- `provider` (enum, required) — This is the provider of the model (`custom-llm`).
  - Allowed values: `custom-llm`
- `url` (string, required) — These is the URL we'll use for the OpenAI client's `baseURL`. Ex. https://openrouter.ai/api/v1
- `model` (string, required) — This is the name of the model. Ex. cognitivecomputations/dolphin-mixtral-8x7b
- `messages` (list of OpenAIMessage, optional) — These are the messages used to customize the prompt used for structured output extraction. When provided, these messages replace the default prompts. For text extraction, message contents support LiquidJS templating with the following variables: * `{{transcript}}`, `{{messages}}`, or `{{messagesWithConfidence}}` to reference the conversation (one is required) * `{{structuredOutput.name}}`, `{{structuredOutput.description}}`, or `{{structuredOutput.schema}}` to reference the structured output definition (one is required) * `{{systemPrompt}}`, `{{callEndedReason}}`, `{{duration}}`, `{{startedAt}}`, `{{endedAt}}`, and any `assistantOverrides.variableValues` In structured outputs, `{{messages}}` includes conversation text and tool calls/results, but omits caller transcription-confidence fields. For text extraction, `{{messagesWithConfidence}}` includes the original message history with transcription confidence for outputs that explicitly need it. These variables also apply in structured-output schema descriptions. Audio-targeted (`messages-with-audio`) extraction ignores custom messages. Stored call artifacts and API messages retain their confidence data. `{{transcript}}` is the spoken text only, which uses significantly fewer tokens. If not provided, default system and user prompts are used.
- `metadataSendMode` (enum, optional) — This determines whether metadata is sent in requests to the custom provider. * `off` will not send any metadata. payload will look like `{ messages }` * `variable` will send `assistant.metadata` as a variable on the payload. payload will look like `{ messages, metadata }` * `destructured` will send `assistant.metadata` fields directly on the payload. payload will look like `{ messages, ...metadata }` Further, `variable` and `destructured` will send `call`, `phoneNumber`, and `customer` objects in the payload. Default is `variable`.
  - Allowed values: `off`, `variable`, `destructured`
- `headers` (WorkflowCustomModelHeaders, optional) — These are the headers we'll use for the OpenAI client's `headers`.
- `timeoutSeconds` (double, optional) — This sets the timeout for the connection to the custom provider without needing to stream any tokens back. Default is 20 seconds.
- `temperature` (double, optional) — This is the temperature of the model.
- `maxTokens` (double, optional) — This is the max tokens of the model.

### CallHookModelResponseTimeout

- `on` (enum, required) — This is the event that triggers this hook
  - Allowed values: `model.response.timeout`
- `do` (list of CallHookModelResponseTimeoutDoItems, required) — This is the set of actions to perform when the hook triggers

### TextContent

- `type` (enum, required)
  - Allowed values: `text`
- `text` (string, required)
- `language` (enum, required)
  - Allowed values: `aa`, `ab`, `ae`, `af`, `ak`, `am`, `an`, `ar`, `as`, `av`, `ay`, `az`, `ba`, `be`, `bg`, `bh`, `bi`, `bm`, `bn`, `bo`, `br`, `bs`, `ca`, `ce`, `ch`, `co`, `cr`, `cs`, `cu`, `cv`, `cy`, `da`, `de`, `dv`, `dz`, `ee`, `el`, `en`, `eo`, `es`, `et`, `eu`, `fa`, `ff`, `fi`, `fj`, `fo`, `fr`, `fy`, `ga`, `gd`, `gl`, `gn`, `gu`, `gv`, `ha`, `he`, `hi`, `ho`, `hr`, `ht`, `hu`, `hy`, `hz`, `ia`, `id`, `ie`, `ig`, `ii`, `ik`, `io`, `is`, `it`, `iu`, `ja`, `jv`, `ka`, `kg`, `ki`, `kj`, `kk`, `kl`, `km`, `kn`, `ko`, `kr`, `ks`, `ku`, `kv`, `kw`, `ky`, `la`, `lb`, `lg`, `li`, `ln`, `lo`, `lt`, `lu`, `lv`, `mg`, `mh`, `mi`, `mk`, `ml`, `mn`, `mr`, `ms`, `mt`, `my`, `na`, `nb`, `nd`, `ne`, `ng`, `nl`, `nn`, `no`, `nr`, `nv`, `ny`, `oc`, `oj`, `om`, `or`, `os`, `pa`, `pi`, `pl`, `ps`, `pt`, `qu`, `rm`, `rn`, `ro`, `ru`, `rw`, `sa`, `sc`, `sd`, `se`, `sg`, `si`, `sk`, `sl`, `sm`, `sn`, `so`, `sq`, `sr`, `ss`, `st`, `su`, `sv`, `sw`, `ta`, `te`, `tg`, `th`, `ti`, `tk`, `tl`, `tn`, `to`, `tr`, `ts`, `tt`, `tw`, `ty`, `ug`, `uk`, `ur`, `uz`, `ve`, `vi`, `vo`, `wa`, `wo`, `xh`, `yi`, `yue`, `yo`, `za`, `zh`, `zu`

### ToolMessageStartContentsItems

- Text: TextContent

### Condition

- `operator` (enum, required) — This is the operator you want to use to compare the parameter and value.
  - Allowed values: `eq`, `neq`, `gt`, `gte`, `lt`, `lte`
- `param` (string, required) — This is the name of the parameter that you want to check.
- `value` (string, required) — This is the value you want to compare against the parameter.

### ToolMessageCompleteContentsItems

- Text: TextContent

### ToolMessageFailedContentsItems

- Text: TextContent

### ToolMessageDelayedContentsItems

- Text: TextContent

### PhoneNumberHookCallRinging

- `on` (enum, required) — This is the event to trigger the hook on
  - Allowed values: `call.ringing`
- `do` (list of PhoneNumberHookCallRingingDoItems, required) — Only the first action will be executed. Additional actions will be ignored.
- `filters` (list of PhoneNumberCallRingingHookFilter, optional) — Optional filters to decide when to trigger the hook. Currently supports filtering by caller country code.

### PhoneNumberHookCallEnding

- `on` (enum, required) — This is the event to trigger the hook on
  - Allowed values: `call.ending`
- `filters` (list of PhoneNumberCallEndingHookFilter, optional) — Optional filters to decide when to trigger - restricted to assistant-request related ended reasons
- `do` (PhoneNumberHookCallEndingDo, optional) — This is the action to perform when the hook triggers

### MinMessagesCondition

- `type` (enum, required) — This is the type discriminator for the minMessages condition.
  - Allowed values: `minMessages`
- `count` (double, required) — This is the minimum number of conversation messages required for the structured output to run. A count of 0 removes the runtime default minimum, so the structured output runs regardless of how few messages the conversation has.

### MinCallDurationCondition

- `type` (enum, required) — This is the type discriminator for the minCallDuration condition.
  - Allowed values: `minCallDuration`
- `seconds` (double, required) — This is the minimum call duration in seconds required for the structured output to run. When timestamps are unavailable (for example, chat sessions have no call timestamps), this check passes and does not block the structured output.

### EndedReasonCondition

- `type` (enum, required) — This is the type discriminator for the endedReason condition.
  - Allowed values: `endedReason`
- `operator` (enum, required) — This is the membership operator applied against `values`. - 'oneOf': the structured output runs only if the call's ended reason is in `values`. - 'notOneOf': the structured output runs only if the call's ended reason is NOT in `values`.
  - Allowed values: `oneOf`, `notOneOf`
- `values` (list of string, required) — These are the ended reasons compared against the call's ended reason. Any string is accepted so configurations never break when new ended reasons are introduced. Must contain at least one value.

### FallbackTranscriberPlan

- `transcribers` (list of FallbackTranscriberPlanTranscribersItems, optional)

### ElevenLabsTranscriberModel

This is the model that will be used for the transcription.

- enum
  - Allowed values: `scribe_v1`, `scribe_v2`, `scribe_v2_realtime`

### GladiaTranscriberModel

This is the Gladia model that will be used. Default is 'fast'

- enum
  - Allowed values: `fast`, `accurate`, `solaria-1`

### GladiaTranscriberLanguageBehaviour

Defines how the transcription model detects the audio language. Default value is 'automatic single language'.

- enum
  - Allowed values: `manual`, `automatic single language`, `automatic multiple languages`

### GladiaCustomVocabularyConfigDTO

- `vocabulary` (list of GladiaCustomVocabularyConfigDtoVocabularyItems, required) — Array of vocabulary items (strings or objects with value, pronunciations, intensity, language)
- `defaultIntensity` (double, optional, default: 0.5) — Default intensity for vocabulary items (0.0 to 1.0)

### SpeechmaticsCustomVocabularyItem

- `content` (string, required) — The word or phrase to add to the custom vocabulary.
- `soundsLike` (list of string, optional) — Alternative phonetic representations of how the word might sound. This helps recognition when the word might be pronounced differently.

### SonioxContextGeneralItem

- `key` (string, required) — The key describing the type of context (e.g., "domain", "topic", "doctor", "organization").
- `value` (string, required) — The value for the context key (e.g., "Healthcare", "Diabetes management consultation").

### AnthropicModelToolsItems

- ApiRequestTool: CreateApiRequestToolDTO
- BashTool: CreateBashToolDTO
- CodeTool: CreateCodeToolDTO
- ComputerTool: CreateComputerToolDTO
- DtmfTool: CreateDtmfToolDTO
- EndCallTool: CreateEndCallToolDTO
- FunctionTool: CreateFunctionToolDTO
- GoHighLevelCalendarAvailabilityTool: CreateGoHighLevelCalendarAvailabilityToolDTO
- GoHighLevelCalendarEventCreateTool: CreateGoHighLevelCalendarEventCreateToolDTO
- GoHighLevelContactCreateTool: CreateGoHighLevelContactCreateToolDTO
- GoHighLevelContactGetTool: CreateGoHighLevelContactGetToolDTO
- GoogleCalendarCheckAvailabilityTool: CreateGoogleCalendarCheckAvailabilityToolDTO
- GoogleCalendarCreateEventTool: CreateGoogleCalendarCreateEventToolDTO
- GoogleSheetsRowAppendTool: CreateGoogleSheetsRowAppendToolDTO
- HandoffTool: CreateHandoffToolDTO
- McpTool: CreateMcpToolDTO
- QueryTool: CreateQueryToolDTO
- SlackSendMessageTool: CreateSlackSendMessageToolDTO
- SmsTool: CreateSmsToolDTO
- TextEditorTool: CreateTextEditorToolDTO
- TransferCallTool: CreateTransferCallToolDTO
- SipRequestTool: CreateSipRequestToolDTO
- VoicemailTool: CreateVoicemailToolDTO

### ToolRef

- `toolId` (string, required) — This is the unique identifier of the tool whose version is being pinned.
- `version` (string, required) — Public version label of the tool, e.g. "v3"

### AnthropicModelKnowledgeBase

These are the options for the knowledge base.

- Custom: CreateCustomKnowledgeBaseDTO

### AnthropicThinkingConfig

- `type` (enum, required)
  - Allowed values: `enabled`
- `budgetTokens` (double, required) — The maximum number of tokens to allocate for thinking. Must be between 1024 and 100000 tokens.

### AnthropicBedrockModelToolsItems

- ApiRequestTool: CreateApiRequestToolDTO
- BashTool: CreateBashToolDTO
- CodeTool: CreateCodeToolDTO
- ComputerTool: CreateComputerToolDTO
- DtmfTool: CreateDtmfToolDTO
- EndCallTool: CreateEndCallToolDTO
- FunctionTool: CreateFunctionToolDTO
- GoHighLevelCalendarAvailabilityTool: CreateGoHighLevelCalendarAvailabilityToolDTO
- GoHighLevelCalendarEventCreateTool: CreateGoHighLevelCalendarEventCreateToolDTO
- GoHighLevelContactCreateTool: CreateGoHighLevelContactCreateToolDTO
- GoHighLevelContactGetTool: CreateGoHighLevelContactGetToolDTO
- GoogleCalendarCheckAvailabilityTool: CreateGoogleCalendarCheckAvailabilityToolDTO
- GoogleCalendarCreateEventTool: CreateGoogleCalendarCreateEventToolDTO
- GoogleSheetsRowAppendTool: CreateGoogleSheetsRowAppendToolDTO
- HandoffTool: CreateHandoffToolDTO
- McpTool: CreateMcpToolDTO
- QueryTool: CreateQueryToolDTO
- SlackSendMessageTool: CreateSlackSendMessageToolDTO
- SmsTool: CreateSmsToolDTO
- TextEditorTool: CreateTextEditorToolDTO
- TransferCallTool: CreateTransferCallToolDTO
- SipRequestTool: CreateSipRequestToolDTO
- VoicemailTool: CreateVoicemailToolDTO

### AnthropicBedrockModelKnowledgeBase

These are the options for the knowledge base.

- Custom: CreateCustomKnowledgeBaseDTO

### AnyscaleModelToolsItems

- ApiRequestTool: CreateApiRequestToolDTO
- BashTool: CreateBashToolDTO
- CodeTool: CreateCodeToolDTO
- ComputerTool: CreateComputerToolDTO
- DtmfTool: CreateDtmfToolDTO
- EndCallTool: CreateEndCallToolDTO
- FunctionTool: CreateFunctionToolDTO
- GoHighLevelCalendarAvailabilityTool: CreateGoHighLevelCalendarAvailabilityToolDTO
- GoHighLevelCalendarEventCreateTool: CreateGoHighLevelCalendarEventCreateToolDTO
- GoHighLevelContactCreateTool: CreateGoHighLevelContactCreateToolDTO
- GoHighLevelContactGetTool: CreateGoHighLevelContactGetToolDTO
- GoogleCalendarCheckAvailabilityTool: CreateGoogleCalendarCheckAvailabilityToolDTO
- GoogleCalendarCreateEventTool: CreateGoogleCalendarCreateEventToolDTO
- GoogleSheetsRowAppendTool: CreateGoogleSheetsRowAppendToolDTO
- HandoffTool: CreateHandoffToolDTO
- McpTool: CreateMcpToolDTO
- QueryTool: CreateQueryToolDTO
- SlackSendMessageTool: CreateSlackSendMessageToolDTO
- SmsTool: CreateSmsToolDTO
- TextEditorTool: CreateTextEditorToolDTO
- TransferCallTool: CreateTransferCallToolDTO
- SipRequestTool: CreateSipRequestToolDTO
- VoicemailTool: CreateVoicemailToolDTO

### AnyscaleModelKnowledgeBase

These are the options for the knowledge base.

- Custom: CreateCustomKnowledgeBaseDTO

### CerebrasModelToolsItems

- ApiRequestTool: CreateApiRequestToolDTO
- BashTool: CreateBashToolDTO
- CodeTool: CreateCodeToolDTO
- ComputerTool: CreateComputerToolDTO
- DtmfTool: CreateDtmfToolDTO
- EndCallTool: CreateEndCallToolDTO
- FunctionTool: CreateFunctionToolDTO
- GoHighLevelCalendarAvailabilityTool: CreateGoHighLevelCalendarAvailabilityToolDTO
- GoHighLevelCalendarEventCreateTool: CreateGoHighLevelCalendarEventCreateToolDTO
- GoHighLevelContactCreateTool: CreateGoHighLevelContactCreateToolDTO
- GoHighLevelContactGetTool: CreateGoHighLevelContactGetToolDTO
- GoogleCalendarCheckAvailabilityTool: CreateGoogleCalendarCheckAvailabilityToolDTO
- GoogleCalendarCreateEventTool: CreateGoogleCalendarCreateEventToolDTO
- GoogleSheetsRowAppendTool: CreateGoogleSheetsRowAppendToolDTO
- HandoffTool: CreateHandoffToolDTO
- McpTool: CreateMcpToolDTO
- QueryTool: CreateQueryToolDTO
- SlackSendMessageTool: CreateSlackSendMessageToolDTO
- SmsTool: CreateSmsToolDTO
- TextEditorTool: CreateTextEditorToolDTO
- TransferCallTool: CreateTransferCallToolDTO
- SipRequestTool: CreateSipRequestToolDTO
- VoicemailTool: CreateVoicemailToolDTO

### CerebrasModelKnowledgeBase

These are the options for the knowledge base.

- Custom: CreateCustomKnowledgeBaseDTO

### CustomLlmModelToolsItems

- ApiRequestTool: CreateApiRequestToolDTO
- BashTool: CreateBashToolDTO
- CodeTool: CreateCodeToolDTO
- ComputerTool: CreateComputerToolDTO
- DtmfTool: CreateDtmfToolDTO
- EndCallTool: CreateEndCallToolDTO
- FunctionTool: CreateFunctionToolDTO
- GoHighLevelCalendarAvailabilityTool: CreateGoHighLevelCalendarAvailabilityToolDTO
- GoHighLevelCalendarEventCreateTool: CreateGoHighLevelCalendarEventCreateToolDTO
- GoHighLevelContactCreateTool: CreateGoHighLevelContactCreateToolDTO
- GoHighLevelContactGetTool: CreateGoHighLevelContactGetToolDTO
- GoogleCalendarCheckAvailabilityTool: CreateGoogleCalendarCheckAvailabilityToolDTO
- GoogleCalendarCreateEventTool: CreateGoogleCalendarCreateEventToolDTO
- GoogleSheetsRowAppendTool: CreateGoogleSheetsRowAppendToolDTO
- HandoffTool: CreateHandoffToolDTO
- McpTool: CreateMcpToolDTO
- QueryTool: CreateQueryToolDTO
- SlackSendMessageTool: CreateSlackSendMessageToolDTO
- SmsTool: CreateSmsToolDTO
- TextEditorTool: CreateTextEditorToolDTO
- TransferCallTool: CreateTransferCallToolDTO
- SipRequestTool: CreateSipRequestToolDTO
- VoicemailTool: CreateVoicemailToolDTO

### CustomLlmModelKnowledgeBase

These are the options for the knowledge base.

- Custom: CreateCustomKnowledgeBaseDTO

### DeepInfraModelToolsItems

- ApiRequestTool: CreateApiRequestToolDTO
- BashTool: CreateBashToolDTO
- CodeTool: CreateCodeToolDTO
- ComputerTool: CreateComputerToolDTO
- DtmfTool: CreateDtmfToolDTO
- EndCallTool: CreateEndCallToolDTO
- FunctionTool: CreateFunctionToolDTO
- GoHighLevelCalendarAvailabilityTool: CreateGoHighLevelCalendarAvailabilityToolDTO
- GoHighLevelCalendarEventCreateTool: CreateGoHighLevelCalendarEventCreateToolDTO
- GoHighLevelContactCreateTool: CreateGoHighLevelContactCreateToolDTO
- GoHighLevelContactGetTool: CreateGoHighLevelContactGetToolDTO
- GoogleCalendarCheckAvailabilityTool: CreateGoogleCalendarCheckAvailabilityToolDTO
- GoogleCalendarCreateEventTool: CreateGoogleCalendarCreateEventToolDTO
- GoogleSheetsRowAppendTool: CreateGoogleSheetsRowAppendToolDTO
- HandoffTool: CreateHandoffToolDTO
- McpTool: CreateMcpToolDTO
- QueryTool: CreateQueryToolDTO
- SlackSendMessageTool: CreateSlackSendMessageToolDTO
- SmsTool: CreateSmsToolDTO
- TextEditorTool: CreateTextEditorToolDTO
- TransferCallTool: CreateTransferCallToolDTO
- SipRequestTool: CreateSipRequestToolDTO
- VoicemailTool: CreateVoicemailToolDTO

### DeepInfraModelKnowledgeBase

These are the options for the knowledge base.

- Custom: CreateCustomKnowledgeBaseDTO

### DeepSeekModelToolsItems

- ApiRequestTool: CreateApiRequestToolDTO
- BashTool: CreateBashToolDTO
- CodeTool: CreateCodeToolDTO
- ComputerTool: CreateComputerToolDTO
- DtmfTool: CreateDtmfToolDTO
- EndCallTool: CreateEndCallToolDTO
- FunctionTool: CreateFunctionToolDTO
- GoHighLevelCalendarAvailabilityTool: CreateGoHighLevelCalendarAvailabilityToolDTO
- GoHighLevelCalendarEventCreateTool: CreateGoHighLevelCalendarEventCreateToolDTO
- GoHighLevelContactCreateTool: CreateGoHighLevelContactCreateToolDTO
- GoHighLevelContactGetTool: CreateGoHighLevelContactGetToolDTO
- GoogleCalendarCheckAvailabilityTool: CreateGoogleCalendarCheckAvailabilityToolDTO
- GoogleCalendarCreateEventTool: CreateGoogleCalendarCreateEventToolDTO
- GoogleSheetsRowAppendTool: CreateGoogleSheetsRowAppendToolDTO
- HandoffTool: CreateHandoffToolDTO
- McpTool: CreateMcpToolDTO
- QueryTool: CreateQueryToolDTO
- SlackSendMessageTool: CreateSlackSendMessageToolDTO
- SmsTool: CreateSmsToolDTO
- TextEditorTool: CreateTextEditorToolDTO
- TransferCallTool: CreateTransferCallToolDTO
- SipRequestTool: CreateSipRequestToolDTO
- VoicemailTool: CreateVoicemailToolDTO

### DeepSeekModelKnowledgeBase

These are the options for the knowledge base.

- Custom: CreateCustomKnowledgeBaseDTO

### GoogleModelToolsItems

- ApiRequestTool: CreateApiRequestToolDTO
- BashTool: CreateBashToolDTO
- CodeTool: CreateCodeToolDTO
- ComputerTool: CreateComputerToolDTO
- DtmfTool: CreateDtmfToolDTO
- EndCallTool: CreateEndCallToolDTO
- FunctionTool: CreateFunctionToolDTO
- GoHighLevelCalendarAvailabilityTool: CreateGoHighLevelCalendarAvailabilityToolDTO
- GoHighLevelCalendarEventCreateTool: CreateGoHighLevelCalendarEventCreateToolDTO
- GoHighLevelContactCreateTool: CreateGoHighLevelContactCreateToolDTO
- GoHighLevelContactGetTool: CreateGoHighLevelContactGetToolDTO
- GoogleCalendarCheckAvailabilityTool: CreateGoogleCalendarCheckAvailabilityToolDTO
- GoogleCalendarCreateEventTool: CreateGoogleCalendarCreateEventToolDTO
- GoogleSheetsRowAppendTool: CreateGoogleSheetsRowAppendToolDTO
- HandoffTool: CreateHandoffToolDTO
- McpTool: CreateMcpToolDTO
- QueryTool: CreateQueryToolDTO
- SlackSendMessageTool: CreateSlackSendMessageToolDTO
- SmsTool: CreateSmsToolDTO
- TextEditorTool: CreateTextEditorToolDTO
- TransferCallTool: CreateTransferCallToolDTO
- SipRequestTool: CreateSipRequestToolDTO
- VoicemailTool: CreateVoicemailToolDTO

### GoogleModelKnowledgeBase

These are the options for the knowledge base.

- Custom: CreateCustomKnowledgeBaseDTO

### GoogleRealtimeConfig

- `topP` (double, optional) — This is the nucleus sampling parameter that controls the cumulative probability of tokens considered during text generation. Only applicable with the Gemini Flash 2.0 Multimodal Live API.
- `topK` (double, optional) — This is the top-k sampling parameter that limits the number of highest probability tokens considered during text generation. Only applicable with the Gemini Flash 2.0 Multimodal Live API.
- `presencePenalty` (double, optional) — This is the presence penalty parameter that influences the model's likelihood to repeat information by penalizing tokens based on their presence in the text. Only applicable with the Gemini Flash 2.0 Multimodal Live API.
- `frequencyPenalty` (double, optional) — This is the frequency penalty parameter that influences the model's likelihood to repeat tokens by penalizing them based on their frequency in the text. Only applicable with the Gemini Flash 2.0 Multimodal Live API.
- `speechConfig` (GeminiMultimodalLiveSpeechConfig, optional) — This is the speech configuration object that defines the voice settings to be used for the model's speech output. Only applicable with the Gemini Flash 2.0 Multimodal Live API.

### GroqModelToolsItems

- ApiRequestTool: CreateApiRequestToolDTO
- BashTool: CreateBashToolDTO
- CodeTool: CreateCodeToolDTO
- ComputerTool: CreateComputerToolDTO
- DtmfTool: CreateDtmfToolDTO
- EndCallTool: CreateEndCallToolDTO
- FunctionTool: CreateFunctionToolDTO
- GoHighLevelCalendarAvailabilityTool: CreateGoHighLevelCalendarAvailabilityToolDTO
- GoHighLevelCalendarEventCreateTool: CreateGoHighLevelCalendarEventCreateToolDTO
- GoHighLevelContactCreateTool: CreateGoHighLevelContactCreateToolDTO
- GoHighLevelContactGetTool: CreateGoHighLevelContactGetToolDTO
- GoogleCalendarCheckAvailabilityTool: CreateGoogleCalendarCheckAvailabilityToolDTO
- GoogleCalendarCreateEventTool: CreateGoogleCalendarCreateEventToolDTO
- GoogleSheetsRowAppendTool: CreateGoogleSheetsRowAppendToolDTO
- HandoffTool: CreateHandoffToolDTO
- McpTool: CreateMcpToolDTO
- QueryTool: CreateQueryToolDTO
- SlackSendMessageTool: CreateSlackSendMessageToolDTO
- SmsTool: CreateSmsToolDTO
- TextEditorTool: CreateTextEditorToolDTO
- TransferCallTool: CreateTransferCallToolDTO
- SipRequestTool: CreateSipRequestToolDTO
- VoicemailTool: CreateVoicemailToolDTO

### GroqModelKnowledgeBase

These are the options for the knowledge base.

- Custom: CreateCustomKnowledgeBaseDTO

### InflectionAiModelToolsItems

- ApiRequestTool: CreateApiRequestToolDTO
- BashTool: CreateBashToolDTO
- CodeTool: CreateCodeToolDTO
- ComputerTool: CreateComputerToolDTO
- DtmfTool: CreateDtmfToolDTO
- EndCallTool: CreateEndCallToolDTO
- FunctionTool: CreateFunctionToolDTO
- GoHighLevelCalendarAvailabilityTool: CreateGoHighLevelCalendarAvailabilityToolDTO
- GoHighLevelCalendarEventCreateTool: CreateGoHighLevelCalendarEventCreateToolDTO
- GoHighLevelContactCreateTool: CreateGoHighLevelContactCreateToolDTO
- GoHighLevelContactGetTool: CreateGoHighLevelContactGetToolDTO
- GoogleCalendarCheckAvailabilityTool: CreateGoogleCalendarCheckAvailabilityToolDTO
- GoogleCalendarCreateEventTool: CreateGoogleCalendarCreateEventToolDTO
- GoogleSheetsRowAppendTool: CreateGoogleSheetsRowAppendToolDTO
- HandoffTool: CreateHandoffToolDTO
- McpTool: CreateMcpToolDTO
- QueryTool: CreateQueryToolDTO
- SlackSendMessageTool: CreateSlackSendMessageToolDTO
- SmsTool: CreateSmsToolDTO
- TextEditorTool: CreateTextEditorToolDTO
- TransferCallTool: CreateTransferCallToolDTO
- SipRequestTool: CreateSipRequestToolDTO
- VoicemailTool: CreateVoicemailToolDTO

### InflectionAiModelKnowledgeBase

These are the options for the knowledge base.

- Custom: CreateCustomKnowledgeBaseDTO

### MinimaxLlmModelToolsItems

- ApiRequestTool: CreateApiRequestToolDTO
- BashTool: CreateBashToolDTO
- CodeTool: CreateCodeToolDTO
- ComputerTool: CreateComputerToolDTO
- DtmfTool: CreateDtmfToolDTO
- EndCallTool: CreateEndCallToolDTO
- FunctionTool: CreateFunctionToolDTO
- GoHighLevelCalendarAvailabilityTool: CreateGoHighLevelCalendarAvailabilityToolDTO
- GoHighLevelCalendarEventCreateTool: CreateGoHighLevelCalendarEventCreateToolDTO
- GoHighLevelContactCreateTool: CreateGoHighLevelContactCreateToolDTO
- GoHighLevelContactGetTool: CreateGoHighLevelContactGetToolDTO
- GoogleCalendarCheckAvailabilityTool: CreateGoogleCalendarCheckAvailabilityToolDTO
- GoogleCalendarCreateEventTool: CreateGoogleCalendarCreateEventToolDTO
- GoogleSheetsRowAppendTool: CreateGoogleSheetsRowAppendToolDTO
- HandoffTool: CreateHandoffToolDTO
- McpTool: CreateMcpToolDTO
- QueryTool: CreateQueryToolDTO
- SlackSendMessageTool: CreateSlackSendMessageToolDTO
- SmsTool: CreateSmsToolDTO
- TextEditorTool: CreateTextEditorToolDTO
- TransferCallTool: CreateTransferCallToolDTO
- SipRequestTool: CreateSipRequestToolDTO
- VoicemailTool: CreateVoicemailToolDTO

### MinimaxLlmModelKnowledgeBase

These are the options for the knowledge base.

- Custom: CreateCustomKnowledgeBaseDTO

### OpenAiModelToolsItems

- ApiRequestTool: CreateApiRequestToolDTO
- BashTool: CreateBashToolDTO
- CodeTool: CreateCodeToolDTO
- ComputerTool: CreateComputerToolDTO
- DtmfTool: CreateDtmfToolDTO
- EndCallTool: CreateEndCallToolDTO
- FunctionTool: CreateFunctionToolDTO
- GoHighLevelCalendarAvailabilityTool: CreateGoHighLevelCalendarAvailabilityToolDTO
- GoHighLevelCalendarEventCreateTool: CreateGoHighLevelCalendarEventCreateToolDTO
- GoHighLevelContactCreateTool: CreateGoHighLevelContactCreateToolDTO
- GoHighLevelContactGetTool: CreateGoHighLevelContactGetToolDTO
- GoogleCalendarCheckAvailabilityTool: CreateGoogleCalendarCheckAvailabilityToolDTO
- GoogleCalendarCreateEventTool: CreateGoogleCalendarCreateEventToolDTO
- GoogleSheetsRowAppendTool: CreateGoogleSheetsRowAppendToolDTO
- HandoffTool: CreateHandoffToolDTO
- McpTool: CreateMcpToolDTO
- QueryTool: CreateQueryToolDTO
- SlackSendMessageTool: CreateSlackSendMessageToolDTO
- SmsTool: CreateSmsToolDTO
- TextEditorTool: CreateTextEditorToolDTO
- TransferCallTool: CreateTransferCallToolDTO
- SipRequestTool: CreateSipRequestToolDTO
- VoicemailTool: CreateVoicemailToolDTO

### OpenAiModelKnowledgeBase

These are the options for the knowledge base.

- Custom: CreateCustomKnowledgeBaseDTO

### OpenAISpeaker

- `instructions` (string, optional) — Omit to use model.systemPrompt, or system-role messages when systemPrompt is absent. An explicit empty string is preserved.
- `personalityPacks` (list of enum, optional) — Personality packs append speaking-style guidance to the speaker prompt. Set to an array of pack IDs and test one pack at a time. These are prompt instructions, not fixed speed controls.
  - Allowed values: `eager-listener`, `idle-hummer`, `bouncy`, `unhurried`

### OpenAIReasoner

- `provider` (enum, optional, default: openai) — The reasoner uses OpenAI. Omit to use OpenAI.
  - Allowed values: `openai`
- `model` (enum, optional, default: gpt-5.6-terra) — The delegated reasoning model. Omit to use GPT-5.6 Terra.
  - Allowed values: `gpt-5.6-sol`, `gpt-5.6-terra`, `gpt-5.6-luna`
- `reasoningEffort` (enum, optional, default: low) — Higher effort can increase response time. Omit to use low.
  - Allowed values: `none`, `low`, `medium`, `high`, `xhigh`, `max`
- `instructions` (string, optional) — Complete reasoner instructions. An explicit empty string is preserved. Omit to use Vapi's default reasoner instructions. No behavioral instructions are appended unless skills are configured; skill loading guidance and active skill content are then composed with these instructions.
- `skills` (list of OpenAIReasonerSkill, optional) — Inline skills whose instructions and tools the GPT-Live reasoner loads on demand.

### OpenRouterModelToolsItems

- ApiRequestTool: CreateApiRequestToolDTO
- BashTool: CreateBashToolDTO
- CodeTool: CreateCodeToolDTO
- ComputerTool: CreateComputerToolDTO
- DtmfTool: CreateDtmfToolDTO
- EndCallTool: CreateEndCallToolDTO
- FunctionTool: CreateFunctionToolDTO
- GoHighLevelCalendarAvailabilityTool: CreateGoHighLevelCalendarAvailabilityToolDTO
- GoHighLevelCalendarEventCreateTool: CreateGoHighLevelCalendarEventCreateToolDTO
- GoHighLevelContactCreateTool: CreateGoHighLevelContactCreateToolDTO
- GoHighLevelContactGetTool: CreateGoHighLevelContactGetToolDTO
- GoogleCalendarCheckAvailabilityTool: CreateGoogleCalendarCheckAvailabilityToolDTO
- GoogleCalendarCreateEventTool: CreateGoogleCalendarCreateEventToolDTO
- GoogleSheetsRowAppendTool: CreateGoogleSheetsRowAppendToolDTO
- HandoffTool: CreateHandoffToolDTO
- McpTool: CreateMcpToolDTO
- QueryTool: CreateQueryToolDTO
- SlackSendMessageTool: CreateSlackSendMessageToolDTO
- SmsTool: CreateSmsToolDTO
- TextEditorTool: CreateTextEditorToolDTO
- TransferCallTool: CreateTransferCallToolDTO
- SipRequestTool: CreateSipRequestToolDTO
- VoicemailTool: CreateVoicemailToolDTO

### OpenRouterModelKnowledgeBase

These are the options for the knowledge base.

- Custom: CreateCustomKnowledgeBaseDTO

### PerplexityAiModelToolsItems

- ApiRequestTool: CreateApiRequestToolDTO
- BashTool: CreateBashToolDTO
- CodeTool: CreateCodeToolDTO
- ComputerTool: CreateComputerToolDTO
- DtmfTool: CreateDtmfToolDTO
- EndCallTool: CreateEndCallToolDTO
- FunctionTool: CreateFunctionToolDTO
- GoHighLevelCalendarAvailabilityTool: CreateGoHighLevelCalendarAvailabilityToolDTO
- GoHighLevelCalendarEventCreateTool: CreateGoHighLevelCalendarEventCreateToolDTO
- GoHighLevelContactCreateTool: CreateGoHighLevelContactCreateToolDTO
- GoHighLevelContactGetTool: CreateGoHighLevelContactGetToolDTO
- GoogleCalendarCheckAvailabilityTool: CreateGoogleCalendarCheckAvailabilityToolDTO
- GoogleCalendarCreateEventTool: CreateGoogleCalendarCreateEventToolDTO
- GoogleSheetsRowAppendTool: CreateGoogleSheetsRowAppendToolDTO
- HandoffTool: CreateHandoffToolDTO
- McpTool: CreateMcpToolDTO
- QueryTool: CreateQueryToolDTO
- SlackSendMessageTool: CreateSlackSendMessageToolDTO
- SmsTool: CreateSmsToolDTO
- TextEditorTool: CreateTextEditorToolDTO
- TransferCallTool: CreateTransferCallToolDTO
- SipRequestTool: CreateSipRequestToolDTO
- VoicemailTool: CreateVoicemailToolDTO

### PerplexityAiModelKnowledgeBase

These are the options for the knowledge base.

- Custom: CreateCustomKnowledgeBaseDTO

### TogetherAiModelToolsItems

- ApiRequestTool: CreateApiRequestToolDTO
- BashTool: CreateBashToolDTO
- CodeTool: CreateCodeToolDTO
- ComputerTool: CreateComputerToolDTO
- DtmfTool: CreateDtmfToolDTO
- EndCallTool: CreateEndCallToolDTO
- FunctionTool: CreateFunctionToolDTO
- GoHighLevelCalendarAvailabilityTool: CreateGoHighLevelCalendarAvailabilityToolDTO
- GoHighLevelCalendarEventCreateTool: CreateGoHighLevelCalendarEventCreateToolDTO
- GoHighLevelContactCreateTool: CreateGoHighLevelContactCreateToolDTO
- GoHighLevelContactGetTool: CreateGoHighLevelContactGetToolDTO
- GoogleCalendarCheckAvailabilityTool: CreateGoogleCalendarCheckAvailabilityToolDTO
- GoogleCalendarCreateEventTool: CreateGoogleCalendarCreateEventToolDTO
- GoogleSheetsRowAppendTool: CreateGoogleSheetsRowAppendToolDTO
- HandoffTool: CreateHandoffToolDTO
- McpTool: CreateMcpToolDTO
- QueryTool: CreateQueryToolDTO
- SlackSendMessageTool: CreateSlackSendMessageToolDTO
- SmsTool: CreateSmsToolDTO
- TextEditorTool: CreateTextEditorToolDTO
- TransferCallTool: CreateTransferCallToolDTO
- SipRequestTool: CreateSipRequestToolDTO
- VoicemailTool: CreateVoicemailToolDTO

### TogetherAiModelKnowledgeBase

These are the options for the knowledge base.

- Custom: CreateCustomKnowledgeBaseDTO

### XaiModelToolsItems

- ApiRequestTool: CreateApiRequestToolDTO
- BashTool: CreateBashToolDTO
- CodeTool: CreateCodeToolDTO
- ComputerTool: CreateComputerToolDTO
- DtmfTool: CreateDtmfToolDTO
- EndCallTool: CreateEndCallToolDTO
- FunctionTool: CreateFunctionToolDTO
- GoHighLevelCalendarAvailabilityTool: CreateGoHighLevelCalendarAvailabilityToolDTO
- GoHighLevelCalendarEventCreateTool: CreateGoHighLevelCalendarEventCreateToolDTO
- GoHighLevelContactCreateTool: CreateGoHighLevelContactCreateToolDTO
- GoHighLevelContactGetTool: CreateGoHighLevelContactGetToolDTO
- GoogleCalendarCheckAvailabilityTool: CreateGoogleCalendarCheckAvailabilityToolDTO
- GoogleCalendarCreateEventTool: CreateGoogleCalendarCreateEventToolDTO
- GoogleSheetsRowAppendTool: CreateGoogleSheetsRowAppendToolDTO
- HandoffTool: CreateHandoffToolDTO
- McpTool: CreateMcpToolDTO
- QueryTool: CreateQueryToolDTO
- SlackSendMessageTool: CreateSlackSendMessageToolDTO
- SmsTool: CreateSmsToolDTO
- TextEditorTool: CreateTextEditorToolDTO
- TransferCallTool: CreateTransferCallToolDTO
- SipRequestTool: CreateSipRequestToolDTO
- VoicemailTool: CreateVoicemailToolDTO

### XaiModelKnowledgeBase

These are the options for the knowledge base.

- Custom: CreateCustomKnowledgeBaseDTO

### VapiModelToolsItems

- ApiRequestTool: CreateApiRequestToolDTO
- BashTool: CreateBashToolDTO
- CodeTool: CreateCodeToolDTO
- ComputerTool: CreateComputerToolDTO
- DtmfTool: CreateDtmfToolDTO
- EndCallTool: CreateEndCallToolDTO
- FunctionTool: CreateFunctionToolDTO
- GoHighLevelCalendarAvailabilityTool: CreateGoHighLevelCalendarAvailabilityToolDTO
- GoHighLevelCalendarEventCreateTool: CreateGoHighLevelCalendarEventCreateToolDTO
- GoHighLevelContactCreateTool: CreateGoHighLevelContactCreateToolDTO
- GoHighLevelContactGetTool: CreateGoHighLevelContactGetToolDTO
- GoogleCalendarCheckAvailabilityTool: CreateGoogleCalendarCheckAvailabilityToolDTO
- GoogleCalendarCreateEventTool: CreateGoogleCalendarCreateEventToolDTO
- GoogleSheetsRowAppendTool: CreateGoogleSheetsRowAppendToolDTO
- HandoffTool: CreateHandoffToolDTO
- McpTool: CreateMcpToolDTO
- QueryTool: CreateQueryToolDTO
- SlackSendMessageTool: CreateSlackSendMessageToolDTO
- SmsTool: CreateSmsToolDTO
- TextEditorTool: CreateTextEditorToolDTO
- TransferCallTool: CreateTransferCallToolDTO
- SipRequestTool: CreateSipRequestToolDTO
- VoicemailTool: CreateVoicemailToolDTO

### VapiModelKnowledgeBase

These are the options for the knowledge base.

- Custom: CreateCustomKnowledgeBaseDTO

### WorkflowUserEditable

- `nodes` (list of WorkflowUserEditableNodesItems, required)
- `name` (string, required)
- `edges` (list of Edge, required)
- `model` (WorkflowUserEditableModel, optional) — This is the model for the workflow. This can be overridden at node level using `nodes[n].model`.
- `transcriber` (WorkflowUserEditableTranscriber, optional) — This is the transcriber for the workflow. This can be overridden at node level using `nodes[n].transcriber`.
- `voice` (WorkflowUserEditableVoice, optional) — This is the voice for the workflow. This can be overridden at node level using `nodes[n].voice`.
- `observabilityPlan` (LangfuseObservabilityPlan, optional) — This is the plan for observability of workflow's calls. Currently, only Langfuse is supported.
- `backgroundSound` (WorkflowUserEditableBackgroundSound, optional) — This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'. Bundled sounds: 'office', 'white-noise', 'city', 'crowd' and 'farm'. GPT Live assistants don't play 'office'. You can also provide a custom sound by providing a URL to an audio file.
- `hooks` (list of WorkflowUserEditableHooksItems, optional) — This is a set of actions that will be performed on certain events.
- `credentials` (list of WorkflowUserEditableCredentialsItems, optional) — These are dynamic credentials that will be used for the workflow calls. By default, all the credentials are available for use in the call but you can supplement an additional credentials using this. Dynamic credentials override existing credentials.
- `voicemailDetection` (WorkflowUserEditableVoicemailDetection, optional) — This is the voicemail detection plan for the workflow.
- `maxDurationSeconds` (double, optional) — This is the maximum duration of the call in seconds. After this duration, the call will automatically end. Default is 1800 (30 minutes), max is 43200 (12 hours), and min is 10 seconds.
- `globalPrompt` (string, optional)
- `server` (Server, optional) — This is where Vapi will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema. The order of precedence is: 1. tool.server 2. workflow.server / assistant.server 3. phoneNumber.server 4. org.server
- `compliancePlan` (CompliancePlan, optional) — This is the compliance plan for the workflow. It allows you to configure HIPAA and other compliance settings.
- `analysisPlan` (AnalysisPlan, optional) — This is the plan for analysis of workflow's calls. Stored in `call.analysis`.
- `artifactPlan` (ArtifactPlan, optional) — This is the plan for artifacts generated during workflow's calls. Stored in `call.artifact`.
- `startSpeakingPlan` (StartSpeakingPlan, optional) — This is the plan for when the workflow nodes should start talking. You should configure this if you're running into these issues: - The assistant is too slow to start talking after the customer is done speaking. - The assistant is too fast to start talking after the customer is done speaking. - The assistant is so fast that it's actually interrupting the customer.
- `stopSpeakingPlan` (StopSpeakingPlan, optional) — This is the plan for when workflow nodes should stop talking on customer interruption. You should configure this if you're running into these issues: - The assistant is too slow to recognize customer's interruption. - The assistant is too fast to recognize customer's interruption. - The assistant is getting interrupted by phrases that are just acknowledgments. - The assistant is getting interrupted by background noises. - The assistant is not properly stopping -- it starts talking right after getting interrupted.
- `monitorPlan` (MonitorPlan, optional) — This is the plan for real-time monitoring of the workflow's calls. Usage: - To enable live listening of the workflow's calls, set `monitorPlan.listenEnabled` to `true`. - To enable live control of the workflow's calls, set `monitorPlan.controlEnabled` to `true`.
- `backgroundSpeechDenoisingPlan` (BackgroundSpeechDenoisingPlan, optional) — This enables filtering of noise and background speech while the user is talking. Features: - Smart denoising using Krisp - Fourier denoising Both can be used together. Order of precedence: - Smart denoising - Fourier denoising
- `credentialIds` (list of string, optional) — These are the credentials that will be used for the workflow calls. By default, all the credentials are available for use in the call but you can provide a subset using this.
- `keypadInputPlan` (KeypadInputPlan, optional) — This is the plan for keypad input handling during workflow calls.
- `voicemailMessage` (string, optional) — This is the message that the assistant will say if the call is forwarded to voicemail. If unspecified, it will hang up.

### AzureVoiceId

This is the provider-specific ID that will be used.

- Preset Voice Options: enum
  - Allowed values: `andrew`, `brian`, `emma`
- string

### ChunkPlan

- `enabled` (boolean, optional) — This determines whether the model output is chunked before being sent to the voice provider. Default `true`. Usage: * To rely on the voice provider's audio generation logic, set this to `false`. * If seeing issues with quality, set this to `true`. If disabled, Vapi-provided audio control tokens like will not work. @default true
- `minCharacters` (double, optional) — This is the minimum number of characters in a chunk. Usage: - To increase quality, set this to a higher value. - To decrease latency, set this to a lower value. @default 30
- `punctuationBoundaries` (enum, optional) — These are the punctuations that are considered valid boundaries for a chunk to be created. Usage: - To increase quality, constrain to fewer boundaries. - To decrease latency, enable all. Default is automatically set to balance the trade-off between quality and latency based on the provider.
  - Allowed values: `。`, `，`, `.`, `!`, `?`, `;`, `)`, `،`, `۔`, `।`, `॥`, `|`, `||`, `,`, `:`
- `formatPlan` (FormatPlan, optional) — This is the plan for formatting the chunk before it is sent to the voice provider.

### FallbackPlan

- `voices` (list of FallbackPlanVoicesItems, required) — This is the list of voices to fallback to in the event that the primary voice provider fails.

### CartesiaExperimentalControls

- `speed` (CartesiaExperimentalControlsSpeed, optional)
- `emotion` (enum, optional)
  - Allowed values: `anger:lowest`, `anger:low`, `anger:high`, `anger:highest`, `positivity:lowest`, `positivity:low`, `positivity:high`, `positivity:highest`, `surprise:lowest`, `surprise:low`, `surprise:high`, `surprise:highest`, `sadness:lowest`, `sadness:low`, `sadness:high`, `sadness:highest`, `curiosity:lowest`, `curiosity:low`, `curiosity:high`, `curiosity:highest`

### CartesiaGenerationConfig

- `speed` (double, optional, default: 1) — Fine-grained speed control for sonic-3. Only available for sonic-3 model.
- `volume` (double, optional, default: 1) — Fine-grained volume control for sonic-3. Only available for sonic-3 model.
- `experimental` (CartesiaGenerationConfigExperimental, optional) — Experimental model controls for sonic-3. These are subject to breaking changes.

### ElevenLabsVoiceId

This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.

- Preset Voice Options: enum
  - Allowed values: `burt`, `marissa`, `andrea`, `sarah`, `phillip`, `steve`, `joseph`, `myra`, `paula`, `ryan`, `drew`, `paul`, `mrb`, `matilda`, `mark`
- string

### ElevenLabsPronunciationDictionaryLocator

- `pronunciationDictionaryId` (string, required) — This is the ID of the pronunciation dictionary to use.
- `versionId` (string, optional) — This is the version ID of the pronunciation dictionary to use. Omit to use the dictionary's latest version.

### LMNTVoiceId

This is the provider-specific ID that will be used.

- Preset Voice Options: enum
  - Allowed values: `amy`, `ansel`, `autumn`, `ava`, `brandon`, `caleb`, `cassian`, `chloe`, `dalton`, `daniel`, `dustin`, `elowen`, `evander`, `huxley`, `james`, `juniper`, `kennedy`, `lauren`, `leah`, `lily`, `lucas`, `magnus`, `miles`, `morgan`, `natalie`, `nathan`, `noah`, `nyssa`, `oliver`, `paige`, `ryan`, `sadie`, `sophie`, `stella`, `terrence`, `tyler`, `vesper`, `violet`, `warrick`, `zain`, `zeke`, `zoe`
- string

### NeuphonicVoiceVoiceId

This is the provider-specific ID that will be used.

- string
- string

### NeuphonicVoiceLanguage

This is the language (ISO 639-1) that is enforced for the model.

### OpenAIVoiceId

This is the provider-specific ID that will be used. Voice availability depends on the selected model: voices offered only by GPT-Live are rejected for other models.

- any
- Preset Voice Options: enum
  - Allowed values: `alloy`, `echo`, `fable`, `onyx`, `nova`, `shimmer`, `marin`, `cedar`, `ash`, `ballad`, `beacon`, `bossa`, `brise`, `cinder`, `coral`, `delta`, `flitz`, `gleam`, `harema`, `juni`, `meridian`, `nira`, `noeul`, `nuri`, `quartz`, `ripple`, `sage`, `shida`, `sillage`, `stone`, `tempo`, `verse`, `vesper`, `willow`
- string

### PlayHtVoiceVoiceId

This is the provider-specific ID that will be used.

- Preset Voice Options: enum
  - Allowed values: `jennifer`, `melissa`, `will`, `chris`, `matt`, `jack`, `ruby`, `davis`, `donna`, `michael`
- string

### RimeAIVoiceId

This is the provider-specific ID that will be used.

- Suggested Voice Options: enum
  - Allowed values: `cove`, `moon`, `wildflower`, `eva`, `amber`, `maya`, `lagoon`, `breeze`, `helen`, `joy`, `marsh`, `creek`, `cedar`, `alpine`, `summit`, `nicholas`, `tyler`, `colin`, `hank`, `thunder`, `astra`, `eucalyptus`, `moraine`, `peak`, `tundra`, `mesa_extra`, `talon`, `marlu`, `glacier`, `falcon`, `luna`, `celeste`, `estelle`, `andromeda`, `esther`, `lyra`, `lintel`, `oculus`, `vespera`, `transom`, `bond`, `arcade`, `atrium`, `cupola`, `fern`, `sirius`, `orion`, `masonry`, `albion`, `parapet`, `clementine`, `walnut`, `eyre`, `bancroft`, `hesse`, `beatty`, `godfrey`
- string

### SmallestAiVoiceVoiceId

This is the provider-specific ID that will be used.

- Preset Voice Options: enum
  - Allowed values: `emily`, `jasmine`, `arman`, `james`, `mithali`, `aravind`, `raj`, `diya`, `raman`, `ananya`, `isha`, `william`, `aarav`, `monika`, `niharika`, `deepika`, `raghav`, `kajal`, `radhika`, `mansi`, `nisha`, `saurabh`, `pooja`, `saina`, `sanya`
- string

### VapiPronunciationDictionaryLocator

- `pronunciationDictId` (string, required) — The pronunciation dictionary ID
- `versionId` (string, optional) — Version ID (only used by ElevenLabs, ignored for Cartesia)
- `provider` (enum, optional) — Provider that hosts this pronunciation dictionary
  - Allowed values: `cartesia`, `11labs`

### VoicemailDetectionBackoffPlan

- `startAtSeconds` (double, optional, default: 5) — This is the number of seconds to wait before starting the first retry attempt.
- `frequencySeconds` (double, optional, default: 5) — This is the interval in seconds between retry attempts.
- `maxRetries` (double, optional, default: 6) — This is the maximum number of retry attempts before giving up.

### AWSIAMCredentialsAuthenticationPlan

- `type` (enum, required)
  - Allowed values: `aws-iam`
- `awsAccessKeyId` (string, required) — AWS Access Key ID. This is not returned in the API.
- `awsSecretAccessKey` (string, required) — AWS Secret Access Key. This is not returned in the API.

### AWSStsAuthenticationPlan

- `type` (enum, required) — This is the type of authentication plan
  - Allowed values: `aws-sts`
- `roleArn` (string, required) — This is the role ARN for the AWS credential
- `externalId` (string, optional) — Optional external ID for additional security in the role trust policy.

### SipTrunkOutboundSipRegisterPlan

- `domain` (string, optional)
- `username` (string, optional)
- `realm` (string, optional)

### SpkiPemPublicKeyConfig

- `format` (enum, required) — The format of the public key.
  - Allowed values: `spki-pem`
- `pem` (string, required) — The PEM-encoded public key.
- `name` (string, optional) — Optional name of the key for identification purposes.

### CallHookCallEndingDoItems

- ToolCallHookAction: ToolCallHookAction
- MessageAddHookAction: MessageAddHookAction

### CallHookFilter

- `type` (enum, required) — This is the type of filter - currently only "oneOf" is supported
  - Allowed values: `oneOf`
- `key` (string, required) — This is the key to filter on (e.g. "call.endedReason")
- `oneOf` (list of string, required) — This is the array of possible values to match against

### CallHookAssistantSpeechInterruptedDoItems

- SayHookAction: SayHookAction
- ToolCallHookAction: ToolCallHookAction
- MessageAddHookAction: MessageAddHookAction

### CallHookCustomerSpeechInterruptedDoItems

- SayHookAction: SayHookAction
- ToolCallHookAction: ToolCallHookAction
- MessageAddHookAction: MessageAddHookAction

### CallHookCustomerSpeechTimeoutDoItems

- SayHookAction: SayHookAction
- ToolCallHookAction: ToolCallHookAction
- MessageAddHookAction: MessageAddHookAction

### CustomerSpeechTimeoutOptions

- `timeoutSeconds` (double, required) — This is the timeout in seconds before action is triggered. The clock starts when the assistant finishes speaking and remains active until the user speaks. @default 7.5 @minimum 2 @maximum 1000
- `triggerResetMode` (enum, optional) — This is whether the counter for hook trigger resets the user speaks. @default never
  - Allowed values: `onUserSpeech`, `never`
- `triggerMaxCount` (double, optional) — This is the maximum number of times the hook will trigger in a call. @default 3

### SessionCreatedHookDoItems

- ToolCallHookAction: ToolCallHookAction

### SecurityFilterBase

### CompliancePlanRecordingConsentPlanDiscriminatorMappingStayOnLineVoice

This is the voice to use for the consent message. If not specified, inherits from the assistant's voice. Use a different voice for the consent message for a better user experience.

- AzureVoice: AzureVoice
- CartesiaVoice: CartesiaVoice
- CustomVoice: CustomVoice
- DeepgramVoice: DeepgramVoice
- ElevenLabsVoice: ElevenLabsVoice
- HumeVoice: HumeVoice
- LMNTVoice: LMNTVoice
- NeuphonicVoice: NeuphonicVoice
- OpenAIVoice: OpenAIVoice
- PlayHTVoice: PlayHTVoice
- WellSaidVoice: WellSaidVoice
- RimeAIVoice: RimeAIVoice
- SmallestAIVoice: SmallestAIVoice
- VapiVoice: VapiVoice
- SesameVoice: SesameVoice
- InworldVoice: InworldVoice
- MinimaxVoice: MinimaxVoice
- XaiVoice: XaiVoice
- MicrosoftVoice: MicrosoftVoice

### CompliancePlanRecordingConsentPlanDiscriminatorMappingVerbalDeclineTool

Tool to execute if user verbally declines recording consent

### CompliancePlanRecordingConsentPlanDiscriminatorMappingVerbalVoice

This is the voice to use for the consent message. If not specified, inherits from the assistant's voice. Use a different voice for the consent message for a better user experience.

- AzureVoice: AzureVoice
- CartesiaVoice: CartesiaVoice
- CustomVoice: CustomVoice
- DeepgramVoice: DeepgramVoice
- ElevenLabsVoice: ElevenLabsVoice
- HumeVoice: HumeVoice
- LMNTVoice: LMNTVoice
- NeuphonicVoice: NeuphonicVoice
- OpenAIVoice: OpenAIVoice
- PlayHTVoice: PlayHTVoice
- WellSaidVoice: WellSaidVoice
- RimeAIVoice: RimeAIVoice
- SmallestAIVoice: SmallestAIVoice
- VapiVoice: VapiVoice
- SesameVoice: SesameVoice
- InworldVoice: InworldVoice
- MinimaxVoice: MinimaxVoice
- XaiVoice: XaiVoice
- MicrosoftVoice: MicrosoftVoice

### JsonSchema

- `type` (enum, required) — This is the type of output you'd like. `string`, `number`, `integer`, `boolean` are the primitive types and should be obvious. `array` and `object` are more interesting and quite powerful. They allow you to define nested structures. For `array`, you can define the schema of the items in the array using the `items` property. For `object`, you can define the properties of the object using the `properties` property.
  - Allowed values: `string`, `number`, `integer`, `boolean`, `array`, `object`
- `items` (JsonSchema, optional) — This is required if the type is "array". This is the schema of the items in the array. This is a recursive reference to JsonSchema.
- `properties` (map from string to JsonSchema, optional) — This is required if the type is "object". This specifies the properties of the object. This is a map of property names to JsonSchema objects.
- `description` (string, optional) — This is the description to help the model understand what it needs to output.
- `pattern` (string, optional) — This is the pattern of the string. This is a regex that will be used to validate the data in question. To use a common format, use the `format` property instead. OpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs#supported-properties
- `format` (enum, optional) — This is the format of the string. To pass a regex, use the `pattern` property instead. OpenAI documentation: https://platform.openai.com/docs/guides/structured-outputs?api-mode=chat&type-restrictions=string-restrictions
  - Allowed values: `date-time`, `time`, `date`, `duration`, `email`, `hostname`, `ipv4`, `ipv6`, `uuid`
- `required` (list of string, optional) — This is a list of properties that are required. This only makes sense if the type is "object".
- `enum` (list of string, optional) — This array specifies the allowed values that can be used to restrict the output of the model.
- `title` (string, optional) — This is the title of the schema.

### CreateStructuredOutputDtoModel

This is the model that will be used to extract the structured output. To provide your own custom system and user prompts for structured output extraction, populate the messages array with your system and user messages. You can specify liquid templating in your system and user messages. For text extraction, you must reference 'transcript', 'messages', or 'messagesWithConfidence' with the `{{}}` syntax to access the conversation history. In structured outputs, `{{messages}}` includes conversation text and tool calls/results but omits caller transcription-confidence fields. Text extraction can use `{{messagesWithConfidence}}` when the output needs the original message history with transcription confidence. These variables also apply in structured-output schema descriptions. Audio-targeted (`messages-with-audio`) extraction ignores custom messages. Stored call artifacts and API messages retain their confidence data. Between the system or user messages, you must reference a variation of the structured output with the `{{}}` syntax to access the structured output definition. i.e.: `{{structuredOutput}}` `{{structuredOutput.name}}` `{{structuredOutput.description}}` `{{structuredOutput.schema}}` If model is not specified, GPT-4.1 will be used by default for extraction, utilizing default system and user prompts. If messages or required fields are not specified, the default system and user prompts will be used.

- WorkflowOpenAIModel: WorkflowOpenAIModel
- WorkflowAnthropicModel: WorkflowAnthropicModel
- WorkflowAnthropicBedrockModel: WorkflowAnthropicBedrockModel
- WorkflowGoogleModel: WorkflowGoogleModel
- WorkflowCustomModel: WorkflowCustomModel

### ComplianceOverride

- `forceStoreOnHipaaEnabled` (boolean, optional) — Force storage for this output under HIPAA. Only enable if output contains no sensitive data.

### CreateStructuredOutputDtoConditionsItems

- MinMessagesCondition: MinMessagesCondition
- MinCallDurationCondition: MinCallDurationCondition
- EndedReasonCondition: EndedReasonCondition

### ScorecardMetric

- `conditions` (list of ScorecardMetricConditionsItems, required) — These are the conditions that will be used to evaluate the scorecard. Each condition will have a comparator, value, and points that will be used to calculate the final score. The points will be added to the overall score if the condition is met. The overall score will be normalized to a 100 point scale to ensure uniformity across different scorecards.
- `structuredOutputId` (string, required) — This is the unique identifier for the structured output that will be used to evaluate the scorecard. The structured output must be of type number or boolean only for now.

### VapiSmartEndpointingPlan

- `provider` (enum, required) — This is the provider for the smart endpointing plan.
  - Allowed values: `vapi`, `livekit`, `custom-endpointing-model`

### LivekitSmartEndpointingPlan

- `provider` (enum, required) — This is the provider for the smart endpointing plan.
  - Allowed values: `vapi`, `livekit`, `custom-endpointing-model`
- `waitFunction` (string, optional) — This expression describes how long the bot will wait to start speaking based on the likelihood that the user has reached an endpoint. This is a millisecond valued function. It maps probabilities (real numbers on [0,1]) to milliseconds that the bot should wait before speaking ([0, \infty]). Any negative values that are returned are set to zero (the bot can't start talking in the past). A probability of zero represents very high confidence that the caller has stopped speaking, and would like the bot to speak to them. A probability of one represents very high confidence that the caller is still speaking. Under the hood, this is parsed into a mathjs expression. Whatever you use to write your expression needs to be valid with respect to mathjs @default "20 + 500 * sqrt(x) + 2500 * x^3"

### CustomEndpointingModelSmartEndpointingPlan

- `provider` (enum, required) — This is the provider for the smart endpointing plan. Use `custom-endpointing-model` for custom endpointing providers that are not natively supported.
  - Allowed values: `vapi`, `livekit`, `custom-endpointing-model`
- `server` (Server, optional) — This is where the endpointing request will be sent. If not provided, will be sent to `assistant.server`. If that does not exist either, will be sent to `org.server`. Request Example: POST https\://\{server.url} Content-Type: application/json \{ "message": \{ "type": "call.endpointing.request", "messages": \[ \{ "role": "user", "message": "Hello, how are you?", "time": 1234567890, "secondsFromStart": 0 } ], ...other metadata about the call... } } Response Expected: \{ "timeoutSeconds": 0.5 } The timeout is the number of seconds to wait before considering the user's speech as finished. The endpointing timeout is automatically reset each time a new transcript is received (and another `call.endpointing.request` is sent).

### AssistantCustomEndpointingRule

- `type` (enum, required) — This endpointing rule is based on the last assistant message before customer started speaking. Flow: - Assistant speaks - Customer starts speaking - Customer transcription comes in - This rule is evaluated on the last assistant message - If a match is found based on `regex`, the endpointing timeout is set to `timeoutSeconds` Usage: - If you have yes/no questions in your use case like "are you interested in a loan?", you can set a shorter timeout. - If you have questions where the customer may pause to look up information like "what's my account number?", you can set a longer timeout.
  - Allowed values: `assistant`
- `regex` (string, required) — This is the regex pattern to match. Note: - This works by using the `RegExp.test` method in Node.JS. Eg. `/hello/.test("hello there")` will return `true`. Hot tip: - In JavaScript, escape `\` when sending the regex pattern. Eg. `"hello\sthere"` will be sent over the wire as `"hellosthere"`. Send `"hello\\sthere"` instead. - `RegExp.test` does substring matching, so `/cat/.test("I love cats")` will return `true`. To do full string matching, send "^cat$".
- `timeoutSeconds` (double, required) — This is the endpointing timeout in seconds, if the rule is matched.
- `regexOptions` (list of RegexOption, optional) — These are the options for the regex match. Defaults to all disabled. @default []

### CustomerCustomEndpointingRule

- `type` (enum, required) — This endpointing rule is based on current customer message as they are speaking. Flow: - Assistant speaks - Customer starts speaking - Customer transcription comes in - This rule is evaluated on the current customer transcription - If a match is found based on `regex`, the endpointing timeout is set to `timeoutSeconds` Usage: - If you want to wait longer while customer is speaking numbers, you can set a longer timeout.
  - Allowed values: `customer`
- `regex` (string, required) — This is the regex pattern to match. Note: - This works by using the `RegExp.test` method in Node.JS. Eg. `/hello/.test("hello there")` will return `true`. Hot tip: - In JavaScript, escape `\` when sending the regex pattern. Eg. `"hello\sthere"` will be sent over the wire as `"hellosthere"`. Send `"hello\\sthere"` instead. - `RegExp.test` does substring matching, so `/cat/.test("I love cats")` will return `true`. To do full string matching, send "^cat$".
- `timeoutSeconds` (double, required) — This is the endpointing timeout in seconds, if the rule is matched.
- `regexOptions` (list of RegexOption, optional) — These are the options for the regex match. Defaults to all disabled. @default []

### BothCustomEndpointingRule

- `type` (enum, required) — This endpointing rule is based on both the last assistant message and the current customer message as they are speaking. Flow: - Assistant speaks - Customer starts speaking - Customer transcription comes in - This rule is evaluated on the last assistant message and the current customer transcription - If assistant message matches `assistantRegex` AND customer message matches `customerRegex`, the endpointing timeout is set to `timeoutSeconds` Usage: - If you want to wait longer while customer is speaking numbers, you can set a longer timeout.
  - Allowed values: `both`
- `assistantRegex` (string, required) — This is the regex pattern to match the assistant's message. Note: - This works by using the `RegExp.test` method in Node.JS. Eg. `/hello/.test("hello there")` will return `true`. Hot tip: - In JavaScript, escape `\` when sending the regex pattern. Eg. `"hello\sthere"` will be sent over the wire as `"hellosthere"`. Send `"hello\\sthere"` instead. - `RegExp.test` does substring matching, so `/cat/.test("I love cats")` will return `true`. To do full string matching, send "^cat$".
- `customerRegex` (string, required)
- `timeoutSeconds` (double, required) — This is the endpointing timeout in seconds, if the rule is matched.
- `assistantRegexOptions` (list of RegexOption, optional) — These are the options for the assistant's message regex match. Defaults to all disabled. @default []
- `customerRegexOptions` (list of RegexOption, optional) — These are the options for the customer's message regex match. Defaults to all disabled. @default []

### BackoffPlanExcludedStatusCodesItems

### SummaryPlanMessagesItems

### StructuredDataPlanMessagesItems

### SuccessEvaluationPlanMessagesItems

### AudioFormat

- `sampleRate` (double, required) — This is the sample rate of the call. @default 16000
- `format` (enum, required) — This is the audio format of the call. @default 'pcm_s16le'
  - Allowed values: `pcm_s16le`, `mulaw`
- `container` (enum, optional) — This is the container format of the call. @default 'raw'
  - Allowed values: `raw`

### AssistantMessageMetadata

This is an optional metadata for the message

### ToolMessageMetadata

This is an optional metadata for the message

### DeveloperMessageMetadata

This is an optional metadata for the message

### TranscriptWordConfidence

- `word` (string, required) — The word as the transcriber recognised it.
- `start` (double, required) — Offset at which the word begins, measured from the start of the transcriber stream (ElevenLabs, which transcribes each utterance as its own request, measures from the start of that utterance's audio). The unit is transcriber-specific today: seconds for Deepgram, Soniox, Gladia and ElevenLabs realtime (`scribe_v2_realtime`); milliseconds for AssemblyAI, ElevenLabs HTTP Scribe and Google. Transcribers without per-word timing emit a placeholder, typically `0`.
- `end` (double, required) — Offset at which the word ends, with the same origin and unit as `start`.
- `confidence` (double, required) — The transcriber's confidence for this word, in [0, 1]. Transcribers that report no per-word score, or whose stream does not map one (Cartesia, ElevenLabs HTTP Scribe, Google, Talkscriber and custom transcribers), emit `1` for every word; that placeholder is not a measurement. ElevenLabs realtime passes through its token log-probability, which is not a [0, 1] confidence.
- `punctuated_word` (string, optional) — The word with punctuation and casing applied, when the transcriber reports a punctuated form. The snake_case name deliberately mirrors the transcriber wire spelling already stored on every existing message; renaming it would break stored data.
- `language` (string, optional) — The language the transcriber detected for this word, when it reports one.
- `speaker` (double, optional) — The diarized speaker index this word was attributed to, when the transcriber reports one.

### TransferPlanMessage

This is the message the assistant will deliver to the destination party before connecting the customer. Usage: - Used only when `mode` is `blind-transfer-add-summary-to-sip-header`, `warm-transfer-say-message`, `warm-transfer-wait-for-operator-to-speak-first-and-then-say-message`, or `warm-transfer-experimental`.

- string
- CustomMessage: CustomMessage

### TransferPlanContextEngineeringPlan

This is the plan for manipulating the message context before initiating the warm transfer. Usage: * Used only when `mode` is `warm-transfer-experimental`. * These messages will automatically be added to the transferAssistant's system message. * If 'none', we will not add any transcript to the transferAssistant's system message. * If you want to provide your own messages, use transferAssistant.model.messages instead. @default \{ type: 'all' }

- Last N Messages: ContextEngineeringPlanLastNMessages
- None: ContextEngineeringPlanNone
- All: ContextEngineeringPlanAll

### TransferFallbackPlan

- `message` (TransferFallbackPlanMessage, required) — This is the message the assistant will deliver to the customer if the transfer fails.
- `endCallEnabled` (boolean, optional, default: true) — This controls what happens after delivering the failure message to the customer. - true: End the call after delivering the failure message (default) - false: Keep the assistant on the call to continue handling the customer's request @default true

### VariableExtractionAlias

- `key` (string, required) — This is the key of the variable. This variable will be accessible during the call as `{{key}}` and stored in `call.artifact.variableValues` after the call. Rules: * Must start with a letter (a-z, A-Z). * Subsequent characters can be letters, numbers, or underscores. * Minimum length of 1 and maximum length of 40.
- `value` (string, required) — This is the value of the variable. This can reference existing variables, use filters, and perform transformations. Examples: "\{\{name}}", "\{\{customer.email}}", "Hello \{\{name | upcase}}"

### ToolParameterValue

The value of the parameter. Any JSON type. String values support Liquid templates.

- string
- double
- boolean
- map from string to any
- list of any

### OpenAIFunctionParameters

- `type` (enum, required) — This must be set to 'object'. It instructs the model to return a JSON object containing the function call properties.
  - Allowed values: `object`
- `properties` (map from string to JsonSchema, required) — This provides a description of the properties required by the function. JSON Schema can be used to specify expectations for each property. Refer to [this doc](https://ajv.js.org/json-schema.html#json-data-type) for a comprehensive guide on JSON Schema.
- `required` (list of string, optional) — This specifies the properties that are required by the function.

### ToolRejectionPlanConditionsItems

- RegexCondition: RegexCondition
- LiquidCondition: LiquidCondition
- GroupCondition: GroupCondition

### CreateApiRequestToolDtoMessagesItems

- ToolMessageStart: ToolMessageStart
- ToolMessageComplete: ToolMessageComplete
- ToolMessageFailed: ToolMessageFailed
- ToolMessageDelayed: ToolMessageDelayed

### CreateBashToolDtoMessagesItems

- ToolMessageStart: ToolMessageStart
- ToolMessageComplete: ToolMessageComplete
- ToolMessageFailed: ToolMessageFailed
- ToolMessageDelayed: ToolMessageDelayed

### CreateCodeToolDtoMessagesItems

- ToolMessageStart: ToolMessageStart
- ToolMessageComplete: ToolMessageComplete
- ToolMessageFailed: ToolMessageFailed
- ToolMessageDelayed: ToolMessageDelayed

### CodeToolEnvironmentVariable

- `name` (string, required) — Name of the environment variable
- `value` (string, required) — Value of the environment variable. Supports Liquid templates.

### CreateComputerToolDtoMessagesItems

- ToolMessageStart: ToolMessageStart
- ToolMessageComplete: ToolMessageComplete
- ToolMessageFailed: ToolMessageFailed
- ToolMessageDelayed: ToolMessageDelayed

### CreateDtmfToolDtoMessagesItems

- ToolMessageStart: ToolMessageStart
- ToolMessageComplete: ToolMessageComplete
- ToolMessageFailed: ToolMessageFailed
- ToolMessageDelayed: ToolMessageDelayed

### CreateEndCallToolDtoMessagesItems

- ToolMessageStart: ToolMessageStart
- ToolMessageComplete: ToolMessageComplete
- ToolMessageFailed: ToolMessageFailed
- ToolMessageDelayed: ToolMessageDelayed

### CreateFunctionToolDtoMessagesItems

- ToolMessageStart: ToolMessageStart
- ToolMessageComplete: ToolMessageComplete
- ToolMessageFailed: ToolMessageFailed
- ToolMessageDelayed: ToolMessageDelayed

### CreateGoHighLevelCalendarAvailabilityToolDtoMessagesItems

- ToolMessageStart: ToolMessageStart
- ToolMessageComplete: ToolMessageComplete
- ToolMessageFailed: ToolMessageFailed
- ToolMessageDelayed: ToolMessageDelayed

### CreateGoHighLevelCalendarEventCreateToolDtoMessagesItems

- ToolMessageStart: ToolMessageStart
- ToolMessageComplete: ToolMessageComplete
- ToolMessageFailed: ToolMessageFailed
- ToolMessageDelayed: ToolMessageDelayed

### CreateGoHighLevelContactCreateToolDtoMessagesItems

- ToolMessageStart: ToolMessageStart
- ToolMessageComplete: ToolMessageComplete
- ToolMessageFailed: ToolMessageFailed
- ToolMessageDelayed: ToolMessageDelayed

### CreateGoHighLevelContactGetToolDtoMessagesItems

- ToolMessageStart: ToolMessageStart
- ToolMessageComplete: ToolMessageComplete
- ToolMessageFailed: ToolMessageFailed
- ToolMessageDelayed: ToolMessageDelayed

### CreateGoogleCalendarCheckAvailabilityToolDtoMessagesItems

- ToolMessageStart: ToolMessageStart
- ToolMessageComplete: ToolMessageComplete
- ToolMessageFailed: ToolMessageFailed
- ToolMessageDelayed: ToolMessageDelayed

### CreateGoogleCalendarCreateEventToolDtoMessagesItems

- ToolMessageStart: ToolMessageStart
- ToolMessageComplete: ToolMessageComplete
- ToolMessageFailed: ToolMessageFailed
- ToolMessageDelayed: ToolMessageDelayed

### CreateGoogleSheetsRowAppendToolDtoMessagesItems

- ToolMessageStart: ToolMessageStart
- ToolMessageComplete: ToolMessageComplete
- ToolMessageFailed: ToolMessageFailed
- ToolMessageDelayed: ToolMessageDelayed

### CreateHandoffToolDtoMessagesItems

- ToolMessageStart: ToolMessageStart
- ToolMessageComplete: ToolMessageComplete
- ToolMessageFailed: ToolMessageFailed
- ToolMessageDelayed: ToolMessageDelayed

### CreateHandoffToolDtoDestinationsItems

- Assistant: HandoffDestinationAssistant
- Dynamic: HandoffDestinationDynamic
- Squad: HandoffDestinationSquad

### CreateMcpToolDtoMessagesItems

- ToolMessageStart: ToolMessageStart
- ToolMessageComplete: ToolMessageComplete
- ToolMessageFailed: ToolMessageFailed
- ToolMessageDelayed: ToolMessageDelayed

### McpToolMessages

- `name` (string, required) — The name of the tool from the MCP server.
- `messages` (list of McpToolMessagesMessagesItems, optional) — Custom messages for this specific tool. Set to an empty array to suppress all messages for this tool. If not provided, the tool will use the default messages from the parent MCP tool configuration. Multiple request-start messages are variants. For request-response-delayed, same timing means variants and different timings mean staged updates.

### McpToolMetadata

- `protocol` (enum, optional) — This is the protocol used for MCP communication. Defaults to Streamable HTTP.
  - Allowed values: `sse`, `shttp`

### CreateQueryToolDtoMessagesItems

- ToolMessageStart: ToolMessageStart
- ToolMessageComplete: ToolMessageComplete
- ToolMessageFailed: ToolMessageFailed
- ToolMessageDelayed: ToolMessageDelayed

### KnowledgeBase

- `name` (string, required) — The name of the knowledge base
- `provider` (enum, required) — The provider of the knowledge base
  - Allowed values: `google`
- `description` (string, required) — A description of the knowledge base
- `fileIds` (list of string, required) — The file IDs associated with this knowledge base
- `model` (enum, optional) — The model to use for the knowledge base
  - Allowed values: `gemini-3.8-flash`, `gemini-3.5-flash`, `gemini-3.1-flash-lite`, `gemini-3-flash-preview`, `gemini-2.5-pro`, `gemini-2.5-flash`, `gemini-2.5-flash-lite`, `gemini-2.0-flash-thinking-exp`, `gemini-2.0-pro-exp-02-05`, `gemini-2.0-flash`, `gemini-2.0-flash-lite`, `gemini-2.0-flash-exp`, `gemini-2.0-flash-realtime-exp`, `gemini-1.5-flash`, `gemini-1.5-flash-002`, `gemini-1.5-pro`, `gemini-1.5-pro-002`, `gemini-1.0-pro`

### CreateSlackSendMessageToolDtoMessagesItems

- ToolMessageStart: ToolMessageStart
- ToolMessageComplete: ToolMessageComplete
- ToolMessageFailed: ToolMessageFailed
- ToolMessageDelayed: ToolMessageDelayed

### CreateSmsToolDtoMessagesItems

- ToolMessageStart: ToolMessageStart
- ToolMessageComplete: ToolMessageComplete
- ToolMessageFailed: ToolMessageFailed
- ToolMessageDelayed: ToolMessageDelayed

### CreateTextEditorToolDtoMessagesItems

- ToolMessageStart: ToolMessageStart
- ToolMessageComplete: ToolMessageComplete
- ToolMessageFailed: ToolMessageFailed
- ToolMessageDelayed: ToolMessageDelayed

### CreateTransferCallToolDtoMessagesItems

- ToolMessageStart: ToolMessageStart
- ToolMessageComplete: ToolMessageComplete
- ToolMessageFailed: ToolMessageFailed
- ToolMessageDelayed: ToolMessageDelayed

### CreateTransferCallToolDtoDestinationsItems

- Assistant: TransferDestinationAssistant
- Number: TransferDestinationNumber
- Sip: TransferDestinationSip

### CreateSipRequestToolDtoMessagesItems

- ToolMessageStart: ToolMessageStart
- ToolMessageComplete: ToolMessageComplete
- ToolMessageFailed: ToolMessageFailed
- ToolMessageDelayed: ToolMessageDelayed

### CreateSipRequestToolDtoBody

Body to include in the SIP request. Either a literal string body, or a JSON schema describing a structured body that the model should populate.

- string
- JsonSchema: JsonSchema

### CreateVoicemailToolDtoMessagesItems

- ToolMessageStart: ToolMessageStart
- ToolMessageComplete: ToolMessageComplete
- ToolMessageFailed: ToolMessageFailed
- ToolMessageDelayed: ToolMessageDelayed

### HandoffDestinationAssistant

- `type` (enum, required)
  - Allowed values: `assistant`
- `contextEngineeringPlan` (HandoffDestinationAssistantContextEngineeringPlan, optional) — This is the plan for manipulating the message context before handing off the call to the next assistant.
- `assistantName` (string, optional) — This is the assistant to transfer the call to. You must provide either assistantName or assistantId.
- `assistantId` (string, optional) — This is the assistant id to transfer the call to. You must provide either assistantName or assistantId.
- `assistant` (TransientAssistantDTO, optional) — This is a transient assistant to transfer the call to. You may provide a transient assistant in the response `handoff-destination-request` in a dynamic handoff.
- `variableExtractionPlan` (VariableExtractionPlan, optional) — This is the variable extraction plan for the handoff tool.
- `assistantOverrides` (AssistantOverrides, optional) — These are the assistant overrides to apply to the destination assistant.
- `description` (string, optional) — This is the description of the destination, used by the AI to choose when and how to transfer the call.

### ConversationNodeModel

This is the model for the node. This overrides `workflow.model`.

- WorkflowOpenAIModel: WorkflowOpenAIModel
- WorkflowAnthropicModel: WorkflowAnthropicModel
- WorkflowAnthropicBedrockModel: WorkflowAnthropicBedrockModel
- WorkflowGoogleModel: WorkflowGoogleModel
- WorkflowCustomModel: WorkflowCustomModel

### ConversationNodeTranscriber

This is the transcriber for the node. This overrides `workflow.transcriber`.

- AssemblyAITranscriber: AssemblyAITranscriber
- AzureSpeechTranscriber: AzureSpeechTranscriber
- CustomTranscriber: CustomTranscriber
- DeepgramTranscriber: DeepgramTranscriber
- ElevenLabsTranscriber: ElevenLabsTranscriber
- GladiaTranscriber: GladiaTranscriber
- GoogleTranscriber: GoogleTranscriber
- SpeechmaticsTranscriber: SpeechmaticsTranscriber
- TalkscriberTranscriber: TalkscriberTranscriber
- OpenAITranscriber: OpenAITranscriber
- CartesiaTranscriber: CartesiaTranscriber
- SonioxTranscriber: SonioxTranscriber
- XaiTranscriber: XaiTranscriber
- Reson8Transcriber: Reson8Transcriber
- VapiTranscriber: VapiTranscriber

### ConversationNodeVoice

This is the voice for the node. This overrides `workflow.voice`.

- AzureVoice: AzureVoice
- CartesiaVoice: CartesiaVoice
- CustomVoice: CustomVoice
- DeepgramVoice: DeepgramVoice
- ElevenLabsVoice: ElevenLabsVoice
- HumeVoice: HumeVoice
- LMNTVoice: LMNTVoice
- NeuphonicVoice: NeuphonicVoice
- OpenAIVoice: OpenAIVoice
- PlayHTVoice: PlayHTVoice
- WellSaidVoice: WellSaidVoice
- RimeAIVoice: RimeAIVoice
- SmallestAIVoice: SmallestAIVoice
- VapiVoice: VapiVoice
- SesameVoice: SesameVoice
- InworldVoice: InworldVoice
- MinimaxVoice: MinimaxVoice
- XaiVoice: XaiVoice
- MicrosoftVoice: MicrosoftVoice

### ConversationNodeToolsItems

- ApiRequestTool: CreateApiRequestToolDTO
- BashTool: CreateBashToolDTO
- CodeTool: CreateCodeToolDTO
- ComputerTool: CreateComputerToolDTO
- DtmfTool: CreateDtmfToolDTO
- EndCallTool: CreateEndCallToolDTO
- FunctionTool: CreateFunctionToolDTO
- GoHighLevelCalendarAvailabilityTool: CreateGoHighLevelCalendarAvailabilityToolDTO
- GoHighLevelCalendarEventCreateTool: CreateGoHighLevelCalendarEventCreateToolDTO
- GoHighLevelContactCreateTool: CreateGoHighLevelContactCreateToolDTO
- GoHighLevelContactGetTool: CreateGoHighLevelContactGetToolDTO
- GoogleCalendarCheckAvailabilityTool: CreateGoogleCalendarCheckAvailabilityToolDTO
- GoogleCalendarCreateEventTool: CreateGoogleCalendarCreateEventToolDTO
- GoogleSheetsRowAppendTool: CreateGoogleSheetsRowAppendToolDTO
- HandoffTool: CreateHandoffToolDTO
- McpTool: CreateMcpToolDTO
- QueryTool: CreateQueryToolDTO
- SlackSendMessageTool: CreateSlackSendMessageToolDTO
- SmsTool: CreateSmsToolDTO
- TextEditorTool: CreateTextEditorToolDTO
- TransferCallTool: CreateTransferCallToolDTO
- SipRequestTool: CreateSipRequestToolDTO
- VoicemailTool: CreateVoicemailToolDTO

### GlobalNodePlan

- `enabled` (boolean, optional, default: false) — This is the flag to determine if this node is a global node @default false
- `enterCondition` (string, optional, default: ) — This is the condition that will be checked to determine if the global node should be executed. @default ''

### ConversationNodeMetadata

This is for metadata you want to store on the task.

### ToolNodeTool

This is the tool to call. To use an existing tool, send `toolId` instead.

- ApiRequestTool: CreateApiRequestToolDTO
- BashTool: CreateBashToolDTO
- CodeTool: CreateCodeToolDTO
- ComputerTool: CreateComputerToolDTO
- DtmfTool: CreateDtmfToolDTO
- EndCallTool: CreateEndCallToolDTO
- FunctionTool: CreateFunctionToolDTO
- GoHighLevelCalendarAvailabilityTool: CreateGoHighLevelCalendarAvailabilityToolDTO
- GoHighLevelCalendarEventCreateTool: CreateGoHighLevelCalendarEventCreateToolDTO
- GoHighLevelContactCreateTool: CreateGoHighLevelContactCreateToolDTO
- GoHighLevelContactGetTool: CreateGoHighLevelContactGetToolDTO
- GoogleCalendarCheckAvailabilityTool: CreateGoogleCalendarCheckAvailabilityToolDTO
- GoogleCalendarCreateEventTool: CreateGoogleCalendarCreateEventToolDTO
- GoogleSheetsRowAppendTool: CreateGoogleSheetsRowAppendToolDTO
- HandoffTool: CreateHandoffToolDTO
- McpTool: CreateMcpToolDTO
- QueryTool: CreateQueryToolDTO
- SlackSendMessageTool: CreateSlackSendMessageToolDTO
- SmsTool: CreateSmsToolDTO
- TextEditorTool: CreateTextEditorToolDTO
- TransferCallTool: CreateTransferCallToolDTO
- SipRequestTool: CreateSipRequestToolDTO
- VoicemailTool: CreateVoicemailToolDTO

### ToolNodeMetadata

This is for metadata you want to store on the task.

### AIEdgeCondition

- `type` (enum, required)
  - Allowed values: `ai`
- `prompt` (string, required) — This is the prompt for the AI edge condition. It should evaluate to a boolean.

### WorkflowCustomModelHeaders

These are the headers we'll use for the OpenAI client's `headers`.

### CallHookModelResponseTimeoutDoItems

- SayHookAction: SayHookAction
- ToolCallHookAction: ToolCallHookAction
- MessageAddHookAction: MessageAddHookAction

### PhoneNumberHookCallRingingDoItems

- TransferPhoneNumberHookAction: TransferPhoneNumberHookAction
- SayPhoneNumberHookAction: SayPhoneNumberHookAction

### PhoneNumberCallRingingHookFilter

- `type` (enum, required) — This is the type of filter - matches when the specified field starts with any of the given prefixes
  - Allowed values: `startsWith`
- `key` (enum, required) — The field to check. Currently only "number" (the caller's phone number) is supported.
  - Allowed values: `number`
- `startsWith` (list of string, required) — Array of prefixes to match. Do not include the + prefix. Inbound calls from numbers starting with any of these prefixes will trigger the hook actions.

### PhoneNumberCallEndingHookFilter

- `type` (enum, required) — This is the type of filter - currently only "oneOf" is supported
  - Allowed values: `oneOf`
- `key` (enum, required) — This is the key to filter on - only "call.endedReason" is allowed for phone number call ending hooks
  - Allowed values: `call.endedReason`
- `oneOf` (enum, required) — This is the array of assistant-request related ended reasons to match against
  - Allowed values: `assistant-request-failed`, `assistant-request-returned-error`, `assistant-request-returned-unspeakable-error`, `assistant-request-returned-invalid-assistant`, `assistant-request-returned-no-assistant`, `assistant-request-returned-forwarding-phone-number`

### PhoneNumberHookCallEndingDo

This is the action to perform when the hook triggers

- TransferPhoneNumberHookAction: TransferPhoneNumberHookAction
- SayPhoneNumberHookAction: SayPhoneNumberHookAction

### FallbackTranscriberPlanTranscribersItems

- AssemblyAI: FallbackAssemblyAITranscriber
- Azure: FallbackAzureSpeechTranscriber
- Custom: FallbackCustomTranscriber
- Deepgram: FallbackDeepgramTranscriber
- ElevenLabs: FallbackElevenLabsTranscriber
- Gladia: FallbackGladiaTranscriber
- Google: FallbackGoogleTranscriber
- Talkscriber: FallbackTalkscriberTranscriber
- Speechmatics: FallbackSpeechmaticsTranscriber
- OpenAI: FallbackOpenAITranscriber
- Cartesia: FallbackCartesiaTranscriber
- Soniox: FallbackSonioxTranscriber
- xAI: FallbackXaiTranscriber
- Reson8: FallbackReson8Transcriber

### GladiaCustomVocabularyConfigDtoVocabularyItems

- string
- GladiaVocabularyItemDTO: GladiaVocabularyItemDTO

### CreateCustomKnowledgeBaseDTO

- `provider` (enum, required) — This knowledge base is bring your own knowledge base implementation.
  - Allowed values: `custom-knowledge-base`
- `server` (Server, required) — This is where the knowledge base request will be sent. Request Example: POST https\://\{server.url} Content-Type: application/json \{ "messsage": \{ "type": "knowledge-base-request", "messages": \[ \{ "role": "user", "content": "Why is ocean blue?" } ], ...other metadata about the call... } } Response Expected: ``` \{ "message": \{ "role": "assistant", "content": "The ocean is blue because water absorbs everything but blue.", }, // YOU CAN RETURN THE EXACT RESPONSE TO SPEAK "documents": [ \{ "content": "The ocean is blue primarily because water absorbs colors in the red part of the light spectrum and scatters the blue light, making it more visible to our eyes.", "similarity": 1 }, \{ "content": "Blue light is scattered more by the water molecules than other colors, enhancing the blue appearance of the ocean.", "similarity": .5 } ] // OR, YOU CAN RETURN AN ARRAY OF DOCUMENTS THAT WILL BE SENT TO THE MODEL } ```

### GeminiMultimodalLiveSpeechConfig

- `voiceConfig` (GeminiMultimodalLiveVoiceConfig, required)

### OpenAIReasonerSkill

- `name` (string, required) — Unique name within this assistant.
- `description` (string, required) — Explain when the reasoner should load this skill. Always visible in its catalog.
- `content` (string, required) — Full skill instructions, loaded only while this skill is active.
- `tools` (list of OpenAiReasonerSkillToolsItems, optional) — Tools available only after loading this skill. Can be combined with toolIds.
- `toolIds` (list of string, optional) — Existing organization-owned tools available only after loading this skill.

### WorkflowUserEditableNodesItems

- ConversationNode: ConversationNode
- ToolNode: ToolNode

### WorkflowUserEditableModel

This is the model for the workflow. This can be overridden at node level using `nodes[n].model`.

- WorkflowOpenAIModel: WorkflowOpenAIModel
- WorkflowAnthropicModel: WorkflowAnthropicModel
- WorkflowAnthropicBedrockModel: WorkflowAnthropicBedrockModel
- WorkflowGoogleModel: WorkflowGoogleModel
- WorkflowCustomModel: WorkflowCustomModel

### WorkflowUserEditableTranscriber

This is the transcriber for the workflow. This can be overridden at node level using `nodes[n].transcriber`.

- AssemblyAITranscriber: AssemblyAITranscriber
- AzureSpeechTranscriber: AzureSpeechTranscriber
- CustomTranscriber: CustomTranscriber
- DeepgramTranscriber: DeepgramTranscriber
- ElevenLabsTranscriber: ElevenLabsTranscriber
- GladiaTranscriber: GladiaTranscriber
- GoogleTranscriber: GoogleTranscriber
- SpeechmaticsTranscriber: SpeechmaticsTranscriber
- TalkscriberTranscriber: TalkscriberTranscriber
- OpenAITranscriber: OpenAITranscriber
- CartesiaTranscriber: CartesiaTranscriber
- SonioxTranscriber: SonioxTranscriber
- XaiTranscriber: XaiTranscriber
- Reson8Transcriber: Reson8Transcriber
- VapiTranscriber: VapiTranscriber

### WorkflowUserEditableVoice

This is the voice for the workflow. This can be overridden at node level using `nodes[n].voice`.

- AzureVoice: AzureVoice
- CartesiaVoice: CartesiaVoice
- CustomVoice: CustomVoice
- DeepgramVoice: DeepgramVoice
- ElevenLabsVoice: ElevenLabsVoice
- HumeVoice: HumeVoice
- LMNTVoice: LMNTVoice
- NeuphonicVoice: NeuphonicVoice
- OpenAIVoice: OpenAIVoice
- PlayHTVoice: PlayHTVoice
- WellSaidVoice: WellSaidVoice
- RimeAIVoice: RimeAIVoice
- SmallestAIVoice: SmallestAIVoice
- VapiVoice: VapiVoice
- SesameVoice: SesameVoice
- InworldVoice: InworldVoice
- MinimaxVoice: MinimaxVoice
- XaiVoice: XaiVoice
- MicrosoftVoice: MicrosoftVoice

### WorkflowUserEditableBackgroundSound

This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'. Bundled sounds: 'office', 'white-noise', 'city', 'crowd' and 'farm'. GPT Live assistants don't play 'office'. You can also provide a custom sound by providing a URL to an audio file.

- enum
  - Allowed values: `off`, `office`, `white-noise`, `city`, `crowd`, `farm`
- string

### WorkflowUserEditableHooksItems

- CallHookCallEnding: CallHookCallEnding
- CallHookAssistantSpeechInterrupted: CallHookAssistantSpeechInterrupted
- CallHookCustomerSpeechInterrupted: CallHookCustomerSpeechInterrupted
- CallHookCustomerSpeechTimeout: CallHookCustomerSpeechTimeout
- CallHookModelResponseTimeout: CallHookModelResponseTimeout

### WorkflowUserEditableCredentialsItems

- `provider`: `11labs` (11labs)
  - `apiKey` (string, required) — This is not returned in the API.
  - `apiUrl` (enum, optional, nullable) — ElevenLabs-only API environment for this key: the global endpoint or the EU data residency endpoint. In EU deployments, new credentials must explicitly use the EU data residency endpoint; existing credentials may omit this field on update to retain their saved endpoint. Outside EU deployments, Vapi detects an omitted endpoint automatically and null on update clears and re-detects the endpoint.
    - Allowed values: `https://api.elevenlabs.io`, `https://api.eu.residency.elevenlabs.io`
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `anthropic` (anthropic)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `anthropic-bedrock` (anthropic-bedrock)
  - `authenticationPlan` (CreateWorkflowDtoCredentialsItemsDiscriminatorMappingAnthropicBedrockAuthenticationPlan, required) — Authentication method - either direct IAM credentials or cross-account role assumption.
  - `region` (enum, required) — AWS region where Bedrock is configured.
    - Allowed values: `us-east-1`, `us-west-2`, `eu-central-1`, `eu-west-1`, `eu-west-3`, `ap-northeast-1`, `ap-southeast-2`
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `anyscale` (anyscale)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `assembly-ai` (assembly-ai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `azure-openai` (azure-openai)
  - `models` (enum, required)
    - Allowed values: `gpt-5.6-luna-2026-07-09`, `gpt-5.6-terra-2026-07-09`, `gpt-5.6-sol-2026-07-09`, `gpt-5.4`, `gpt-5.4-mini`, `gpt-5.4-nano`, `gpt-5.2`, `gpt-5.2-chat`, `gpt-5.1`, `gpt-5.1-chat`, `gpt-5`, `gpt-5-mini`, `gpt-5-nano`, `gpt-4.1-2025-04-14`, `gpt-4.1-mini-2025-04-14`, `gpt-4.1-nano-2025-04-14`, `gpt-4o-2024-11-20`, `gpt-4o-2024-08-06`, `gpt-4o-2024-05-13`, `gpt-4o-mini-2024-07-18`, `gpt-4-turbo-2024-04-09`, `gpt-4-0125-preview`, `gpt-4-1106-preview`, `gpt-4-0613`, `gpt-35-turbo-0125`, `gpt-35-turbo-1106`, `gpt-4o`, `gpt-4.1`, `gpt-5.4-mini-2026-03-17`
  - `openAIEndpoint` (string, required)
  - `openAIKey` (string, required) — This is not returned in the API.
  - `region` (enum, required)
    - Allowed values: `australiaeast`, `canadaeast`, `canadacentral`, `centralus`, `eastus2`, `eastus`, `france`, `germanywestcentral`, `india`, `japaneast`, `japanwest`, `northcentralus`, `norway`, `polandcentral`, `southcentralus`, `spaincentral`, `swedencentral`, `switzerland`, `switzerlandnorth`, `switzerlandwest`, `uaenorth`, `uk`, `westeurope`, `westus`, `westus3`
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
  - `ocpApimSubscriptionKey` (string, optional) — This is not returned in the API.
- `provider`: `azure` (azure)
  - `service` (enum, required, default: speech) — This is the service being used in Azure.
    - Allowed values: `speech`, `blob_storage`
  - `apiKey` (string, optional) — This is not returned in the API.
  - `bucketPlan` (AzureBlobStorageBucketPlan, optional) — This is the bucket plan that can be provided to store call artifacts in Azure Blob Storage.
  - `fallbackIndex` (double, optional) — This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
  - `region` (enum, optional) — This is the region of the Azure resource.
    - Allowed values: `australiaeast`, `canadaeast`, `canadacentral`, `centralus`, `eastus2`, `eastus`, `france`, `germanywestcentral`, `india`, `japaneast`, `japanwest`, `northcentralus`, `norway`, `polandcentral`, `southcentralus`, `spaincentral`, `swedencentral`, `switzerland`, `switzerlandnorth`, `switzerlandwest`, `uaenorth`, `uk`, `westeurope`, `westus`, `westus3`
- `provider`: `byo-sip-trunk` (byo-sip-trunk)
  - `gateways` (list of SipTrunkGateway, required) — This is the list of SIP trunk's gateways.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
  - `outboundAuthenticationPlan` (SipTrunkOutboundAuthenticationPlan, optional) — This can be used to configure the outbound authentication if required by the SIP trunk.
  - `outboundLeadingPlusEnabled` (boolean, optional) — This ensures the outbound origination attempts have a leading plus. Defaults to false to match conventional telecom behavior. Usage: - Vonage/Twilio requires leading plus for all outbound calls. Set this to true. @default false
  - `sipDiversionHeader` (string, optional) — This can be used to enable the SIP diversion header for authenticating the calling number if the SIP trunk supports it. This is an advanced property.
  - `techPrefix` (string, optional) — This can be used to configure the tech prefix on outbound calls. This is an advanced property.
- `provider`: `cartesia` (cartesia)
  - `apiKey` (string, required) — This is not returned in the API.
  - `apiUrl` (string, optional) — This can be used to point to an onprem Cartesia instance. Defaults to api.cartesia.ai.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `cerebras` (cerebras)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `cloudflare` (cloudflare)
  - `accountEmail` (string, optional) — Cloudflare Account Email.
  - `accountId` (string, optional) — Cloudflare Account Id.
  - `apiKey` (string, optional) — Cloudflare API Key / Token.
  - `bucketPlan` (CloudflareR2BucketPlan, optional) — This is the bucket plan that can be provided to store call artifacts in R2
  - `fallbackIndex` (double, optional) — This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `custom-llm` (custom-llm)
  - `apiKey` (string, required) — This is not returned in the API.
  - `authenticationPlan` (OAuth2AuthenticationPlan, optional) — This is the authentication plan. Currently supports OAuth2 RFC 6749. To use Bearer authentication, use apiKey
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `deepgram` (deepgram)
  - `apiKey` (string, required) — This is not returned in the API.
  - `apiUrl` (string, optional) — This can be used to point to an onprem Deepgram instance. Defaults to api.deepgram.com.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `deepinfra` (deepinfra)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `deep-seek` (deep-seek)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `gcp` (gcp)
  - `gcpKey` (GcpKey, required) — This is the GCP key. This is the JSON that can be generated in the Google Cloud Console at [https://console.cloud.google.com/iam-admin/serviceaccounts/details/\&lt;service-account-id\&gt;/keys](https://console.cloud.google.com/iam-admin/serviceaccounts/details/\&lt;service-account-id\&gt;/keys). The schema is identical to the JSON that GCP outputs.
  - `bucketPlan` (BucketPlan, optional)
  - `fallbackIndex` (double, optional) — This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
  - `region` (string, optional) — This is the region of the GCP resource.
- `provider`: `gladia` (gladia)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `gohighlevel` (gohighlevel)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `google` (google)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `groq` (groq)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `inflection-ai` (inflection-ai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `langfuse` (langfuse)
  - `apiKey` (string, required) — The secret key for Langfuse project. Eg: sk-lf-... .This is not returned in the API.
  - `apiUrl` (string, required) — The host URL for Langfuse project. Eg: https://cloud.langfuse.com
  - `publicKey` (string, required) — The public key for Langfuse project. Eg: pk-lf-...
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
  - `serverVersion` (string, optional) — The semver version of your Langfuse server, e.g. 3.63.0, as its /api/public/health endpoint reports it. Optional.
- `provider`: `lmnt` (lmnt)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `make` (make)
  - `apiKey` (string, required) — This is not returned in the API.
  - `region` (string, required) — Region of your application. For example: eu1, eu2, us1, us2
  - `teamId` (string, required) — Team ID
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `openai` (openai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `openrouter` (openrouter)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `perplexity-ai` (perplexity-ai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `playht` (playht)
  - `apiKey` (string, required) — This is not returned in the API.
  - `userId` (string, required)
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `rime-ai` (rime-ai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `runpod` (runpod)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `s3` (s3)
  - `awsAccessKeyId` (string, required) — AWS access key ID.
  - `awsSecretAccessKey` (string, required) — AWS access key secret. This is not returned in the API.
  - `region` (string, required) — AWS region in which the S3 bucket is located.
  - `s3BucketName` (string, required) — AWS S3 bucket name.
  - `s3PathPrefix` (string, required) — The path prefix for the uploaded recording. Ex. "recordings/"
  - `fallbackIndex` (double, optional) — This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `s3-compatible` (s3-compatible)
  - `bucketPlan` (S3CompatibleBucketPlan, required)
  - `fallbackIndex` (double, optional) — This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `supabase` (supabase)
  - `bucketPlan` (SupabaseBucketPlan, optional)
  - `fallbackIndex` (double, optional) — This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `smallest-ai` (smallest-ai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `tavus` (tavus)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `together-ai` (together-ai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `twilio` (twilio)
  - `accountSid` (string, required)
  - `apiKey` (string, optional) — This is not returned in the API.
  - `apiSecret` (string, optional) — This is not returned in the API.
  - `authToken` (string, optional) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `vonage` (vonage)
  - `apiKey` (string, required)
  - `apiSecret` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `webhook` (webhook)
  - `authenticationPlan` (CreateWorkflowDtoCredentialsItemsDiscriminatorMappingWebhookAuthenticationPlan, required) — This is the authentication plan. Supports OAuth2 RFC 6749, HMAC signing, and Bearer authentication.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `custom-credential` (custom-credential)
  - `authenticationPlan` (CreateWorkflowDtoCredentialsItemsDiscriminatorMappingCustomCredentialAuthenticationPlan, required) — This is the authentication plan. Supports OAuth2 RFC 6749, HMAC signing, and Bearer authentication.
  - `encryptionPlan` (PublicKeyEncryptionPlan, optional) — This is the encryption plan for encrypting sensitive data. Currently supports public-key encryption.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `xai` (xai)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `microsoft` (microsoft)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
  - `region` (string, optional) — Azure region for the Speech resource. Defaults to `eastus` when omitted. MAI-Voice-2 is preview and region-limited.
- `provider`: `neuphonic` (neuphonic)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `hume` (hume)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `mistral` (mistral)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `speechmatics` (speechmatics)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `soniox` (soniox)
  - `apiKey` (string, required) — This is not returned in the API.
  - `apiUrl` (string, optional) — Custom Soniox WebSocket endpoint (e.g. EU server wss://stt-rt.eu.soniox.com/transcribe-websocket). Defaults to the region-appropriate endpoint when omitted.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `reson8` (reson8)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `google.calendar.oauth2-client` (google.calendar.oauth2-client)
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `google.calendar.oauth2-authorization` (google.calendar.oauth2-authorization)
  - `authorizationId` (string, required) — The authorization ID for the OAuth2 authorization
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `google.sheets.oauth2-authorization` (google.sheets.oauth2-authorization)
  - `authorizationId` (string, required) — The authorization ID for the OAuth2 authorization
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `slack.oauth2-authorization` (slack.oauth2-authorization)
  - `authorizationId` (string, required) — The authorization ID for the OAuth2 authorization
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `ghl.oauth2-authorization` (ghl.oauth2-authorization)
  - `authenticationSession` (Oauth2AuthenticationSession, required) — This is the authentication session for the credential.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `inworld` (inworld)
  - `apiKey` (string, required) — This is the Inworld Basic (Base64) authentication token. This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `minimax` (minimax)
  - `apiKey` (string, required) — This is not returned in the API.
  - `groupId` (string, required) — This is the Minimax Group ID.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `wellsaid` (wellsaid)
  - `apiKey` (string, required) — This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `email` (email)
  - `email` (string, required) — The recipient email address for alerts
  - `name` (string, optional) — This is the name of credential. This is just for your reference.
- `provider`: `slack-webhook` (slack-webhook)
  - `webhookUrl` (string, required) — Slack incoming webhook URL. See https://api.slack.com/messaging/webhooks for setup instructions. This is not returned in the API.
  - `name` (string, optional) — This is the name of credential. This is just for your reference.

### WorkflowUserEditableVoicemailDetection

This is the voicemail detection plan for the workflow.

- enum
  - Allowed values: `off`
- Google: GoogleVoicemailDetectionPlan
- OpenAI: OpenAIVoicemailDetectionPlan
- Twilio: TwilioVoicemailDetectionPlan
- Vapi: VapiVoicemailDetectionPlan

### FormatPlan

- `enabled` (boolean, optional) — This determines whether the chunk is formatted before being sent to the voice provider. This helps with enunciation. This includes phone numbers, emails and addresses. Default `true`. Usage: - To rely on the voice provider's formatting logic, set this to `false`. If `voice.chunkPlan.enabled` is `false`, this is automatically `false` since there's no chunk to format. @default true
- `numberToDigitsCutoff` (double, optional) — This is the cutoff after which a number is converted to individual digits instead of being spoken as words. Example: - If cutoff 2025, "12345" is converted to "1 2 3 4 5" while "1200" is converted to "twelve hundred". Usage: - If your use case doesn't involve IDs like zip codes, set this to a high value. - If your use case involves IDs that are shorter than 5 digits, set this to a lower value. @default 2025
- `replacements` (list of FormatPlanReplacementsItems, optional) — These are the custom replacements you can make to the chunk before it is sent to the voice provider. Usage: * To replace a specific word or phrase with a different word or phrase, use the `ExactReplacement` type. Eg. `{ type: 'exact', key: 'hello', value: 'hi' }` * To replace a word or phrase that matches a pattern, use the `RegexReplacement` type. Eg. `{ type: 'regex', regex: '\\b[a-zA-Z]{5}\\b', value: 'hi' }` @default \[]
- `formattersEnabled` (enum, optional) — List of formatters to apply. If not provided, all default formatters will be applied. If provided, only the specified formatters will be applied. Note: Some essential formatters like angle bracket removal will always be applied. @default undefined
  - Allowed values: `markdown`, `asterisk`, `quote`, `dash`, `newline`, `colon`, `acronym`, `dollarAmount`, `email`, `date`, `time`, `distance`, `unit`, `percentage`, `phoneNumber`, `number`, `stripAsterisk`

### FallbackPlanVoicesItems

- Azure: FallbackAzureVoice
- Cartesia: FallbackCartesiaVoice
- Hume: FallbackHumeVoice
- CustomVoice: FallbackCustomVoice
- Deepgram: FallbackDeepgramVoice
- ElevenLabs: FallbackElevenLabsVoice
- Vapi: FallbackVapiVoice
- LMNT: FallbackLMNTVoice
- OpenAI: FallbackOpenAIVoice
- PlayHT: FallbackPlayHTVoice
- WellSaid: FallbackWellSaidVoice
- RimeAI: FallbackRimeAIVoice
- Smallest AI: FallbackSmallestAIVoice
- Neuphonic: FallbackNeuphonicVoice
- Sesame: FallbackSesameVoice
- Inworld: FallbackInworldVoice
- xAI: FallbackXaiVoice
- Microsoft: FallbackMicrosoftVoice

### CartesiaExperimentalControlsSpeed

- enum
  - Allowed values: `slowest`, `slow`, `normal`, `fast`, `fastest`
- double

### CartesiaGenerationConfigExperimental

- `accentLocalization` (integer, optional, default: 0) — Toggle accent localization for sonic-3: 0 (disabled, default) or 1 (enabled). When enabled, the voice adapts to match the transcript language accent while preserving vocal characteristics.

### ToolCallHookAction

- `type` (enum, required) — This is the type of action - must be "tool"
  - Allowed values: `tool`
- `tool` (ToolCallHookActionTool, optional) — This is the tool to call. To use an existing tool, send `toolId` instead.
- `toolId` (string, optional) — This is the tool to call. To use a transient tool, send `tool` instead.

### MessageAddHookAction

- `type` (enum, required) — This is the type of action - must be "message.add"
  - Allowed values: `message.add`
- `message` (OpenAIMessage, required) — The message to add to the conversation in OpenAI format
- `triggerResponseEnabled` (boolean, optional, default: true) — Whether to trigger an assistant response after adding the message

### SayHookAction

- `type` (enum, required) — This is the type of action - must be "say"
  - Allowed values: `say`
- `exact` (SayHookActionExact, optional) — This is the exact message to say. When a string array is provided, one is randomly selected.
- `prompt` (SayHookActionPrompt, optional) — This is the prompt for the assistant to generate a response based on existing conversation. Can be a string or an array of chat messages.

### ScorecardMetricConditionsItems

- NumberComparatorScorecardMetricCondition: NumberComparatorScorecardMetricCondition
- BooleanComparatorScorecardMetricCondition: BooleanComparatorScorecardMetricCondition

### RegexOption

- `type` (enum, required) — This is the type of the regex option. Options are: - `ignore-case`: Ignores the case of the text being matched. Add - `whole-word`: Matches whole words only. - `multi-line`: Matches across multiple lines.
  - Allowed values: `ignore-case`, `whole-word`, `multi-line`
- `enabled` (boolean, required) — This is whether to enable the option. @default false

### ContextEngineeringPlanLastNMessages

- `type` (enum, required)
  - Allowed values: `lastNMessages`
- `maxMessages` (double, required) — This is the maximum number of messages to include in the context engineering plan.

### ContextEngineeringPlanNone

- `type` (enum, required)
  - Allowed values: `none`

### ContextEngineeringPlanAll

- `type` (enum, required)
  - Allowed values: `all`

### TransferFallbackPlanMessage

This is the message the assistant will deliver to the customer if the transfer fails.

- string
- CustomMessage: CustomMessage

### RegexCondition

- `type` (enum, required) — This is the type discriminator for regex condition
  - Allowed values: `regex`
- `regex` (string, required) — This is the regular expression pattern to match against message content. Note: - This works by using the RegExp.test method in Node.JS. Eg. /hello/.test("hello there") will return true. Hot tips: - In JavaScript, escape \ when sending the regex pattern. Eg. "hello\sthere" will be sent over the wire as "hellosthere". Send "hello\\sthere" instead. - RegExp.test does substring matching, so /cat/.test("I love cats") will return true. To do full string matching, use anchors: /^cat$/ will only match exactly "cat". - Word boundaries \b are useful for matching whole words: /\bcat\b/ matches "cat" but not "cats" or "category". - Use inline flags for portability: (?i) for case insensitive, (?m) for multiline
- `target` (MessageTarget, optional) — This is the target for messages to check against. If not specified, the condition will run on the last message (position: -1). If role is not specified, it will look at the last message regardless of role. @default \{ position: -1 }
- `negate` (boolean, optional) — This is the flag that when true, the condition matches if the pattern does NOT match. Useful for ensuring certain words/phrases are absent. @default false

### LiquidCondition

- `type` (enum, required) — This is the type discriminator for liquid condition
  - Allowed values: `liquid`
- `liquid` (string, required) — This is the Liquid template that must return exactly "true" or "false" as a string. The template is evaluated and the entire output must be either "true" or "false" - nothing else. Available variables: - `messages`: Array of recent messages in OpenAI chat completions format (ChatCompletionMessageParam[]) Each message has properties like: role ('user', 'assistant', 'system'), content (string), etc. - `now`: Current timestamp in milliseconds (built-in Liquid variable) - Any assistant variable values (e.g., `userName`, `accountStatus`) Useful Liquid filters for messages: - `messages | last: 5` - Get the 5 most recent messages - `messages | where: 'role', 'user'` - Filter to only user messages - `messages | reverse` - Reverse the order of messages

### GroupCondition

- `type` (enum, required) — This is the type discriminator for group condition
  - Allowed values: `group`
- `operator` (enum, required) — This is the logical operator for combining conditions in this group
  - Allowed values: `AND`, `OR`
- `conditions` (list of GroupConditionConditionsItems, required) — This is the list of nested conditions to evaluate. Supports recursive nesting of groups for complex logic.

### HandoffDestinationDynamic

- `type` (enum, required)
  - Allowed values: `dynamic`
- `server` (Server, optional) — This is where Vapi will send the handoff-destination-request webhook in a dynamic handoff. The order of precedence is: 1. tool.server.url 2. assistant.server.url 3. phoneNumber.server.url 4. org.server.url
- `description` (string, optional) — This is the description of the destination, used by the AI to choose when and how to transfer the call.

### HandoffDestinationSquad

- `type` (enum, required)
  - Allowed values: `squad`
- `contextEngineeringPlan` (HandoffDestinationSquadContextEngineeringPlan, optional) — This is the plan for manipulating the message context before handing off the call to the squad.
- `squadId` (string, optional) — This is the squad id to transfer the call to.
- `squad` (CreateSquadDTO, optional) — This is a transient squad to transfer the call to.
- `entryAssistantName` (string, optional) — This is the name of the entry assistant to start with when handing off to the squad. If not provided, the first member of the squad will be used.
- `variableExtractionPlan` (VariableExtractionPlan, optional) — This is the variable extraction plan for the handoff tool.
- `squadOverrides` (AssistantOverrides, optional) — These are the overrides to apply to the squad configuration. Maps to squad-level membersOverrides.
- `description` (string, optional) — This is the description of the destination, used by the AI to choose when and how to transfer the call.

### McpToolMessagesMessagesItems

- ToolMessageStart: ToolMessageStart
- ToolMessageComplete: ToolMessageComplete
- ToolMessageFailed: ToolMessageFailed
- ToolMessageDelayed: ToolMessageDelayed

### HandoffDestinationAssistantContextEngineeringPlan

This is the plan for manipulating the message context before handing off the call to the next assistant.

- Last N Messages: ContextEngineeringPlanLastNMessages
- None: ContextEngineeringPlanNone
- All: ContextEngineeringPlanAll
- User And Assistant Messages: ContextEngineeringPlanUserAndAssistantMessages
- Previous Assistant Messages: ContextEngineeringPlanPreviousAssistantMessages

### TransferPhoneNumberHookAction

- `type` (enum, required) — This is the type of action - must be "transfer"
  - Allowed values: `transfer`
- `destination` (TransferPhoneNumberHookActionDestination, optional) — This is the destination details for the transfer - can be a phone number or SIP URI

### SayPhoneNumberHookAction

- `type` (enum, required) — This is the type of action - must be "say"
  - Allowed values: `say`
- `exact` (string, required) — This is the message to say

### FallbackAssemblyAITranscriber

- `provider` (enum, required) — This is the transcription provider that will be used.
  - Allowed values: `assembly-ai`
- `language` (enum, optional) — This is the language that will be set for the transcription.
  - Allowed values: `multi`, `en`
- `confidenceThreshold` (double, optional) — Transcripts below this confidence threshold will be discarded. Defaults to 0.4 for legacy streaming models. Universal Pro models do not filter by confidence unless this field is explicitly set.
- `formatTurns` (boolean, optional) — This enables formatting of transcripts. @default true
- `endOfTurnConfidenceThreshold` (double, optional) — This is the end of turn confidence threshold. The minimum confidence that the end of turn is detected. Note: Only used if startSpeakingPlan.smartEndpointingPlan is not set. @min 0 @max 1 @default 0.7
- `minEndOfTurnSilenceWhenConfident` (double, optional) — This is the minimum end of turn silence when confident in milliseconds. Note: Only used if startSpeakingPlan.smartEndpointingPlan is not set. @default 160
- `maxTurnSilence` (double, optional) — This is the maximum turn silence time in milliseconds. Note: Only used if startSpeakingPlan.smartEndpointingPlan is not set. @default 400
- `vadAssistedEndpointingEnabled` (boolean, optional) — Use VAD to assist with endpointing decisions from the transcriber. When enabled, transcriber endpointing will be buffered if VAD detects the user is still speaking, preventing premature turn-taking. When disabled, transcriber endpointing will be used immediately regardless of VAD state, allowing for quicker but more aggressive turn-taking. Note: Only used if startSpeakingPlan.smartEndpointingPlan is not set. @default true
- `mode` (enum, optional) — This is the transcription mode used by the Universal Pro speech models. Only applies to `universal-3-5-pro` and `universal-3-6-pro`. @default 'balanced'
  - Allowed values: `max_accuracy`, `min_latency`, `balanced`
- `prompt` (string, optional) — This is a prompt that provides additional context to the transcription model. Only applies to `universal-3-5-pro` and `universal-3-6-pro`.
- `agentContext` (string, optional) — This is context about the voice agent that guides the transcription model. Only applies to `universal-3-5-pro` and `universal-3-6-pro`.
- `agentContextAutoUpdateEnabled` (boolean, optional, default: false) — When true, the text the assistant just spoke is sent to AssemblyAI as `agent_context` after every assistant turn, replacing the previous value, so the user's reply is transcribed in the context of the question it answers. `agentContext` still seeds the first turn. Text longer than 1750 characters keeps its last 1750 characters. Turns the user interrupted are not sent when the interruption is detected by voice activity (the default, `stopSpeakingPlan.numWords: 0`). Only applies to `universal-3-5-pro` and `universal-3-6-pro`. @default false
- `languageCodes` (list of enum, optional) — These are language codes used to steer automatic language detection. Only applies to `universal-3-5-pro` and `universal-3-6-pro`. `ur`, `ru`, `ko`, `ca`, `gl`, `ro`, `et`, `fa`, `yue`, `af`, `mr`, `zu`, `xh` and `nn` were added with `universal-3-6-pro`.
  - Allowed values: `en`, `es`, `fr`, `de`, `it`, `pt`, `tr`, `nl`, `sv`, `no`, `da`, `fi`, `hi`, `vi`, `ar`, `he`, `ja`, `zh`, `ur`, `ru`, `ko`, `ca`, `gl`, `ro`, `et`, `fa`, `yue`, `af`, `mr`, `zu`, `xh`, `nn`
- `speechModel` (enum, optional) — This is the speech model used for the streaming session. Keyterms prompting is supported on universal-streaming-english, universal-3-5-pro and universal-3-6-pro. universal-3-6-pro is AssemblyAI's newest and most accurate voice-agent model. @default 'universal-streaming-english'
  - Allowed values: `universal-streaming-english`, `universal-streaming-multilingual`, `universal-3-5-pro`, `universal-3-6-pro`
- `realtimeUrl` (string, optional) — The WebSocket URL that the transcriber connects to.
- `wordBoost` (list of string, optional) — Add up to 2500 characters of custom vocabulary.
- `keytermsPrompt` (list of string, optional) — Keyterms prompting improves recognition accuracy for specific words and phrases. Can include up to 100 keyterms, each up to 50 characters. Costs an additional $0.04/hour on universal-streaming-english and is included at no extra cost on the Universal Pro models (universal-3-5-pro, universal-3-6-pro).
- `endUtteranceSilenceThreshold` (double, optional) — The duration of the end utterance silence threshold in milliseconds.
- `disablePartialTranscripts` (boolean, optional) — Disable partial transcripts. Set to `true` to not receive partial transcripts. Defaults to `false`.
- `wordFinalizationMaxWaitTime` (double, optional, deprecated)

### FallbackAzureSpeechTranscriber

- `provider` (enum, required) — This is the transcription provider that will be used.
  - Allowed values: `azure`
- `language` (enum, optional) — This is the language that will be set for the transcription. The list of languages Azure supports can be found here: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt
  - Allowed values: `af-ZA`, `am-ET`, `ar-AE`, `ar-BH`, `ar-DZ`, `ar-EG`, `ar-IL`, `ar-IQ`, `ar-JO`, `ar-KW`, `ar-LB`, `ar-LY`, `ar-MA`, `ar-OM`, `ar-PS`, `ar-QA`, `ar-SA`, `ar-SY`, `ar-TN`, `ar-YE`, `az-AZ`, `bg-BG`, `bn-IN`, `bs-BA`, `ca-ES`, `cs-CZ`, `cy-GB`, `da-DK`, `de-AT`, `de-CH`, `de-DE`, `el-GR`, `en-AU`, `en-CA`, `en-GB`, `en-GH`, `en-HK`, `en-IE`, `en-IN`, `en-KE`, `en-NG`, `en-NZ`, `en-PH`, `en-SG`, `en-TZ`, `en-US`, `en-ZA`, `es-AR`, `es-BO`, `es-CL`, `es-CO`, `es-CR`, `es-CU`, `es-DO`, `es-EC`, `es-ES`, `es-GQ`, `es-GT`, `es-HN`, `es-MX`, `es-NI`, `es-PA`, `es-PE`, `es-PR`, `es-PY`, `es-SV`, `es-US`, `es-UY`, `es-VE`, `et-EE`, `eu-ES`, `fa-IR`, `fi-FI`, `fil-PH`, `fr-BE`, `fr-CA`, `fr-CH`, `fr-FR`, `ga-IE`, `gl-ES`, `gu-IN`, `he-IL`, `hi-IN`, `hr-HR`, `hu-HU`, `hy-AM`, `id-ID`, `is-IS`, `it-CH`, `it-IT`, `ja-JP`, `jv-ID`, `ka-GE`, `kk-KZ`, `km-KH`, `kn-IN`, `ko-KR`, `lo-LA`, `lt-LT`, `lv-LV`, `mk-MK`, `ml-IN`, `mn-MN`, `mr-IN`, `ms-MY`, `mt-MT`, `my-MM`, `nb-NO`, `ne-NP`, `nl-BE`, `nl-NL`, `pa-IN`, `pl-PL`, `ps-AF`, `pt-BR`, `pt-PT`, `ro-RO`, `ru-RU`, `si-LK`, `sk-SK`, `sl-SI`, `so-SO`, `sq-AL`, `sr-RS`, `sv-SE`, `sw-KE`, `sw-TZ`, `ta-IN`, `te-IN`, `th-TH`, `tr-TR`, `uk-UA`, `ur-IN`, `uz-UZ`, `vi-VN`, `wuu-CN`, `yue-CN`, `zh-CN`, `zh-CN-shandong`, `zh-CN-sichuan`, `zh-HK`, `zh-TW`, `zu-ZA`
- `segmentationStrategy` (enum, optional) — Controls how phrase boundaries are detected, enabling either simple time/silence heuristics or more advanced semantic segmentation.
  - Allowed values: `Default`, `Time`, `Semantic`
- `segmentationSilenceTimeoutMs` (double, optional) — Duration of detected silence after which the service finalizes a phrase. Configure to adjust sensitivity to pauses in speech.
- `segmentationMaximumTimeMs` (double, optional) — Maximum duration a segment can reach before being cut off when using time-based segmentation.

### FallbackCustomTranscriber

- `provider` (enum, required) — This is the transcription provider that will be used. Use `custom-transcriber` for providers that are not natively supported.
  - Allowed values: `custom-transcriber`
- `server` (Server, required) — This is where the transcription request will be sent. Usage: 1. Vapi will initiate a websocket connection with `server.url`. 2. Vapi will send an initial text frame with the sample rate. Format: ``` { "type": "start", "encoding": "linear16", // 16-bit raw PCM format "container": "raw", "sampleRate": {{sampleRate}}, "channels": 2 // customer is channel 0, assistant is channel 1 } ``` 3. Vapi will send the audio data in 16-bit raw PCM format as binary frames. 4. You can read the messages something like this: ``` ws.on('message', (data, isBinary) => { if (isBinary) { pcmBuffer = Buffer.concat([pcmBuffer, data]); console.log(`Received PCM data, buffer size: ${pcmBuffer.length}`); } else { console.log('Received message:', JSON.parse(data.toString())); } }); ``` 5. You will respond with transcriptions as you have them. Format: ``` { "type": "transcriber-response", "transcription": "Hello, world!", "channel": "customer" | "assistant" } ```

### FallbackDeepgramTranscriber

- `provider` (enum, required) — This is the transcription provider that will be used.
  - Allowed values: `deepgram`
- `model` (FallbackDeepgramTranscriberModel, optional) — This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview
- `language` (enum, optional) — This is the language that will be set for the transcription. The list of languages Deepgram supports can be found here: https://developers.deepgram.com/docs/models-languages-overview
  - Allowed values: `ar`, `az`, `ba`, `be`, `bg`, `bn`, `br`, `bs`, `ca`, `cs`, `da`, `da-DK`, `de`, `de-CH`, `el`, `en`, `en-AU`, `en-CA`, `en-GB`, `en-IE`, `en-IN`, `en-NZ`, `en-US`, `es`, `es-419`, `es-LATAM`, `et`, `eu`, `fa`, `fi`, `fr`, `fr-CA`, `ha`, `haw`, `he`, `hi`, `hi-Latn`, `hr`, `hu`, `id`, `is`, `it`, `ja`, `jw`, `kn`, `ko`, `ko-KR`, `ln`, `lt`, `lv`, `mk`, `mr`, `ms`, `multi`, `nl`, `nl-BE`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sn`, `so`, `sr`, `su`, `sv`, `sv-SE`, `ta`, `taq`, `te`, `th`, `th-TH`, `tl`, `tr`, `tt`, `uk`, `ur`, `vi`, `yo`, `zh`, `zh-CN`, `zh-HK`, `zh-Hans`, `zh-Hant`, `zh-TW`
- `smartFormat` (boolean, optional) — This will be use smart format option provided by Deepgram. It's default disabled because it can sometimes format numbers as times but it's getting better.
- `mipOptOut` (boolean, optional, default: false) — If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out This only applies to your own Deepgram API key. Requests on Vapi's key always opt out, whatever this is set to. @default false
- `numerals` (boolean, optional) — If set to true, this will cause deepgram to convert spoken numbers to literal numerals. For example, "my phone number is nine-seven-two..." would become "my phone number is 972..." @default false
- `profanityFilter` (boolean, optional) — If set to true, Deepgram will replace profanity in transcripts with surrounding asterisks, e.g. "f***". @default false
- `redaction` (enum, optional) — Enables redaction of sensitive information from transcripts. Options include: - "pci": Redacts credit card numbers, expiration dates, and CVV. - "pii": Redacts personally identifiable information (names, locations, identifying numbers, etc.). - "phi": Redacts protected health information (medical conditions, drugs, injuries, etc.). - "numbers": Redacts numerical and identifying entities (dates, account numbers, SSNs, etc.). Multiple values can be provided to redact different categories simultaneously. Redacted content is replaced with entity labels like [CREDIT_CARD_1], [SSN_1], etc. See https://developers.deepgram.com/docs/redaction for details.
  - Allowed values: `pci`, `pii`, `phi`, `numbers`
- `confidenceThreshold` (double, optional) — Transcripts below this confidence threshold will be discarded. @default 0.4
- `feedbackFilterEnabled` (boolean, optional, default: true) — Controls whether Vapi filters user transcripts that repeat text from the assistant's recent transcript. Disable this only when legitimate caller responses are being mistaken for assistant audio feedback. @default true
- `eotThreshold` (double, optional) — End-of-turn confidence required to finish a turn. Only used with Flux models. @default 0.7
- `eotTimeoutMs` (double, optional) — A turn will be finished when this much time has passed after speech, regardless of EOT confidence. Only used with Flux models. @default 5000
- `languages` (list of string, optional) — Language hints to bias Flux Multilingual (`flux-general-multi`) toward specific languages. Provide BCP-47 language codes (e.g. "en", "es", "fr"). Multiple hints can be given for multilingual or code-switching scenarios. Omit for auto-detection. Only used with `flux-general-multi`.
- `keywords` (list of string, optional) — These keywords are passed to the transcription model to help it pick up use-case specific words. Anything that may not be a common word, like your company name, should be added here.
- `keyterm` (list of string, optional) — Keyterm Prompting allows you improve Keyword Recall Rate (KRR) for important keyterms or phrases up to 90%.
- `endpointing` (double, optional) — This is the timeout after which Deepgram will send transcription on user silence. You can read in-depth documentation here: https://developers.deepgram.com/docs/endpointing. Here are the most important bits: - Defaults to 10. This is recommended for most use cases to optimize for latency. - 10 can cause some missing transcriptions since because of the shorter context. This mostly happens for one-word utterances. For those uses cases, it's recommended to try 300. It will add a bit of latency but the quality and reliability of the experience will be better. - If neither 10 nor 300 work, contact support@vapi.ai and we'll find another solution. @default 10

### FallbackElevenLabsTranscriber

- `provider` (enum, required) — This is the transcription provider that will be used.
  - Allowed values: `11labs`
- `model` (FallbackElevenLabsTranscriberModel, optional) — This is the model that will be used for the transcription.
- `language` (enum, optional) — This is the language that will be used for the transcription.
  - Allowed values: `aa`, `ab`, `ae`, `af`, `ak`, `am`, `an`, `ar`, `as`, `av`, `ay`, `az`, `ba`, `be`, `bg`, `bh`, `bi`, `bm`, `bn`, `bo`, `br`, `bs`, `ca`, `ce`, `ch`, `co`, `cr`, `cs`, `cu`, `cv`, `cy`, `da`, `de`, `dv`, `dz`, `ee`, `el`, `en`, `eo`, `es`, `et`, `eu`, `fa`, `ff`, `fi`, `fj`, `fo`, `fr`, `fy`, `ga`, `gd`, `gl`, `gn`, `gu`, `gv`, `ha`, `he`, `hi`, `ho`, `hr`, `ht`, `hu`, `hy`, `hz`, `ia`, `id`, `ie`, `ig`, `ii`, `ik`, `io`, `is`, `it`, `iu`, `ja`, `jv`, `ka`, `kg`, `ki`, `kj`, `kk`, `kl`, `km`, `kn`, `ko`, `kr`, `ks`, `ku`, `kv`, `kw`, `ky`, `la`, `lb`, `lg`, `li`, `ln`, `lo`, `lt`, `lu`, `lv`, `mg`, `mh`, `mi`, `mk`, `ml`, `mn`, `mr`, `ms`, `mt`, `my`, `na`, `nb`, `nd`, `ne`, `ng`, `nl`, `nn`, `no`, `nr`, `nv`, `ny`, `oc`, `oj`, `om`, `or`, `os`, `pa`, `pi`, `pl`, `ps`, `pt`, `qu`, `rm`, `rn`, `ro`, `ru`, `rw`, `sa`, `sc`, `sd`, `se`, `sg`, `si`, `sk`, `sl`, `sm`, `sn`, `so`, `sq`, `sr`, `ss`, `st`, `su`, `sv`, `sw`, `ta`, `te`, `tg`, `th`, `ti`, `tk`, `tl`, `tn`, `to`, `tr`, `ts`, `tt`, `tw`, `ty`, `ug`, `uk`, `ur`, `uz`, `ve`, `vi`, `vo`, `wa`, `wo`, `xh`, `yi`, `yue`, `yo`, `za`, `zh`, `zu`
- `keyterms` (list of string, optional) — Words or phrases to bias the transcription towards, such as product names. Supported on scribe\_v2 (up to 100 terms of 50 characters each) and scribe\_v2\_realtime (up to 50 terms of 20 characters each). Each term has at most 5 words and none of `< > { } [ ] \`. Adds ElevenLabs' keyterm prompting rate to the transcriber cost.
- `silenceThresholdSeconds` (double, optional) — This is the number of seconds of silence before VAD commits (0.3-3.0).
- `confidenceThreshold` (double, optional) — This is the VAD sensitivity (0.1-0.9, lower indicates more sensitive).
- `minSpeechDurationMs` (double, optional) — This is the minimum speech duration for VAD (50-2000ms).
- `minSilenceDurationMs` (double, optional) — This is the minimum silence duration for VAD (50-2000ms).

### FallbackGladiaTranscriber

- `provider` (enum, required) — This is the transcription provider that will be used.
  - Allowed values: `gladia`
- `model` (FallbackGladiaTranscriberModel, optional) — This is the Gladia model that will be used. Default is 'fast'
- `languageBehaviour` (FallbackGladiaTranscriberLanguageBehaviour, optional) — Defines how the transcription model detects the audio language. Default value is 'automatic single language'.
- `language` (enum, optional) — Defines the language to use for the transcription. Required when languageBehaviour is 'manual'.
  - Allowed values: `af`, `sq`, `am`, `ar`, `hy`, `as`, `az`, `ba`, `eu`, `be`, `bn`, `bs`, `br`, `bg`, `ca`, `zh`, `hr`, `cs`, `da`, `nl`, `en`, `et`, `fo`, `fi`, `fr`, `gl`, `ka`, `de`, `el`, `gu`, `ht`, `ha`, `haw`, `he`, `hi`, `hu`, `is`, `id`, `it`, `ja`, `jv`, `kn`, `kk`, `km`, `ko`, `lo`, `la`, `lv`, `ln`, `lt`, `lb`, `mk`, `mg`, `ms`, `ml`, `mt`, `mi`, `mr`, `mn`, `my`, `ne`, `no`, `nn`, `oc`, `ps`, `fa`, `pl`, `pt`, `pa`, `ro`, `ru`, `sa`, `sr`, `sn`, `sd`, `si`, `sk`, `sl`, `so`, `es`, `su`, `sw`, `sv`, `tl`, `tg`, `ta`, `tt`, `te`, `th`, `bo`, `tr`, `tk`, `uk`, `ur`, `uz`, `vi`, `cy`, `yi`, `yo`
- `languages` (list of enum, optional) — Defines the languages to use for the transcription. Required when languageBehaviour is 'manual'.
  - Allowed values: `af`, `sq`, `am`, `ar`, `hy`, `as`, `az`, `ba`, `eu`, `be`, `bn`, `bs`, `br`, `bg`, `ca`, `zh`, `hr`, `cs`, `da`, `nl`, `en`, `et`, `fo`, `fi`, `fr`, `gl`, `ka`, `de`, `el`, `gu`, `ht`, `ha`, `haw`, `he`, `hi`, `hu`, `is`, `id`, `it`, `ja`, `jv`, `kn`, `kk`, `km`, `ko`, `lo`, `la`, `lv`, `ln`, `lt`, `lb`, `mk`, `mg`, `ms`, `ml`, `mt`, `mi`, `mr`, `mn`, `my`, `ne`, `no`, `nn`, `oc`, `ps`, `fa`, `pl`, `pt`, `pa`, `ro`, `ru`, `sa`, `sr`, `sn`, `sd`, `si`, `sk`, `sl`, `so`, `es`, `su`, `sw`, `sv`, `tl`, `tg`, `ta`, `tt`, `te`, `th`, `bo`, `tr`, `tk`, `uk`, `ur`, `uz`, `vi`, `cy`, `yi`, `yo`
- `transcriptionHint` (string, optional) — Provides a custom vocabulary to the model to improve accuracy of transcribing context specific words, technical terms, names, etc. If empty, this argument is ignored. ⚠️ Warning ⚠️: Please be aware that the transcription_hint field has a character limit of 600. If you provide a transcription_hint longer than 600 characters, it will be automatically truncated to meet this limit.
- `prosody` (boolean, optional) — If prosody is true, you will get a transcription that can contain prosodies i.e. (laugh) (giggles) (malefic laugh) (toss) (music)… Default value is false.
- `audioEnhancer` (boolean, optional) — If true, audio will be pre-processed to improve accuracy but latency will increase. Default value is false.
- `confidenceThreshold` (double, optional) — Transcripts below this confidence threshold will be discarded. @default 0.4
- `endpointing` (double, optional) — Endpointing time in seconds - time to wait before considering speech ended
- `speechThreshold` (double, optional) — Speech threshold - sensitivity configuration for speech detection (0.0 to 1.0)
- `customVocabularyEnabled` (boolean, optional) — Enable custom vocabulary for improved accuracy
- `customVocabularyConfig` (GladiaCustomVocabularyConfigDTO, optional) — Custom vocabulary configuration
- `region` (enum, optional) — Region for processing audio (us-west or eu-west)
  - Allowed values: `us-west`, `eu-west`
- `receivePartialTranscripts` (boolean, optional) — Enable partial transcripts for low-latency streaming transcription

### FallbackGoogleTranscriber

- `provider` (enum, required) — This is the transcription provider that will be used.
  - Allowed values: `google`
- `model` (enum, optional) — This is the model that will be used for the transcription.
  - Allowed values: `gemini-3.8-flash`, `gemini-3.5-flash`, `gemini-3.1-flash-lite`, `gemini-3-flash-preview`, `gemini-2.5-pro`, `gemini-2.5-flash`, `gemini-2.5-flash-lite`, `gemini-2.0-flash-thinking-exp`, `gemini-2.0-pro-exp-02-05`, `gemini-2.0-flash`, `gemini-2.0-flash-lite`, `gemini-2.0-flash-exp`, `gemini-2.0-flash-realtime-exp`, `gemini-1.5-flash`, `gemini-1.5-flash-002`, `gemini-1.5-pro`, `gemini-1.5-pro-002`, `gemini-1.0-pro`
- `language` (enum, optional) — This is the language that will be set for the transcription.
  - Allowed values: `Multilingual`, `Arabic`, `Bengali`, `Bulgarian`, `Chinese`, `Croatian`, `Czech`, `Danish`, `Dutch`, `English`, `Estonian`, `Finnish`, `French`, `German`, `Greek`, `Hebrew`, `Hindi`, `Hungarian`, `Indonesian`, `Italian`, `Japanese`, `Korean`, `Latvian`, `Lithuanian`, `Norwegian`, `Polish`, `Portuguese`, `Romanian`, `Russian`, `Serbian`, `Slovak`, `Slovenian`, `Spanish`, `Swahili`, `Swedish`, `Thai`, `Turkish`, `Ukrainian`, `Vietnamese`

### FallbackTalkscriberTranscriber

- `provider` (enum, required) — This is the transcription provider that will be used.
  - Allowed values: `talkscriber`
- `model` (enum, optional) — This is the model that will be used for the transcription.
  - Allowed values: `whisper`
- `language` (enum, optional) — This is the language that will be set for the transcription. The list of languages Whisper supports can be found here: https://github.com/openai/whisper/blob/main/whisper/tokenizer.py
  - Allowed values: `en`, `zh`, `de`, `es`, `ru`, `ko`, `fr`, `ja`, `pt`, `tr`, `pl`, `ca`, `nl`, `ar`, `sv`, `it`, `id`, `hi`, `fi`, `vi`, `he`, `uk`, `el`, `ms`, `cs`, `ro`, `da`, `hu`, `ta`, `no`, `th`, `ur`, `hr`, `bg`, `lt`, `la`, `mi`, `ml`, `cy`, `sk`, `te`, `fa`, `lv`, `bn`, `sr`, `az`, `sl`, `kn`, `et`, `mk`, `br`, `eu`, `is`, `hy`, `ne`, `mn`, `bs`, `kk`, `sq`, `sw`, `gl`, `mr`, `pa`, `si`, `km`, `sn`, `yo`, `so`, `af`, `oc`, `ka`, `be`, `tg`, `sd`, `gu`, `am`, `yi`, `lo`, `uz`, `fo`, `ht`, `ps`, `tk`, `nn`, `mt`, `sa`, `lb`, `my`, `bo`, `tl`, `mg`, `as`, `tt`, `haw`, `ln`, `ha`, `ba`, `jw`, `su`, `yue`

### FallbackSpeechmaticsTranscriber

- `provider` (enum, required) — This is the transcription provider that will be used.
  - Allowed values: `speechmatics`
- `customVocabulary` (list of SpeechmaticsCustomVocabularyItem, required)
- `model` (enum, optional) — This is the model that will be used for the transcription.
  - Allowed values: `default`
- `language` (enum, optional)
  - Allowed values: `auto`, `ar`, `ar_en`, `ba`, `eu`, `be`, `bn`, `bg`, `yue`, `ca`, `hr`, `cs`, `da`, `nl`, `en`, `eo`, `et`, `fi`, `fr`, `gl`, `de`, `el`, `he`, `hi`, `hu`, `id`, `ia`, `ga`, `it`, `ja`, `ko`, `lv`, `lt`, `ms`, `en_ms`, `mt`, `cmn`, `cmn_en`, `mr`, `mn`, `no`, `fa`, `pl`, `pt`, `ro`, `ru`, `sk`, `sl`, `es`, `en_es`, `sw`, `sv`, `tl`, `ta`, `en_ta`, `th`, `tr`, `uk`, `ur`, `ug`, `vi`, `cy`
- `operatingPoint` (enum, optional, default: enhanced) — This is the operating point for the transcription. Choose between `standard` for faster turnaround with strong accuracy or `enhanced` for highest accuracy when precision is critical. @default 'enhanced'
  - Allowed values: `standard`, `enhanced`
- `region` (enum, optional, default: eu) — This is the region for the Speechmatics API. Choose between EU (Europe) and US (United States) regions for lower latency and data sovereignty compliance. @default 'eu'
  - Allowed values: `eu`, `us`
- `enableDiarization` (boolean, optional, default: false) — This enables speaker diarization, which identifies and separates speakers in the transcription. Essential for multi-speaker conversations and conference calls. @default false
- `maxDelay` (double, optional, default: 3000) — This sets the maximum delay in milliseconds for partial transcripts. Balances latency and accuracy. @default 3000
- `numeralStyle` (enum, optional, default: written) — This controls how numbers, dates, currencies, and other entities are formatted in the transcription output. @default 'written'
  - Allowed values: `written`, `spoken`
- `endOfTurnSensitivity` (double, optional, default: 0.5) — This is the sensitivity level for end-of-turn detection, which determines when a speaker has finished talking. Higher values are more sensitive. @default 0.5
- `removeDisfluencies` (boolean, optional, default: false) — This enables removal of disfluencies (um, uh) from the transcript to create cleaner, more professional output. This is only supported for the English language transcriber. @default false
- `minimumSpeechDuration` (double, optional, default: 0) — This is the minimum duration in seconds for speech segments. Shorter segments will be filtered out. Helps remove noise and improve accuracy. @default 0.0

### FallbackOpenAITranscriber

- `provider` (enum, required) — This is the transcription provider that will be used.
  - Allowed values: `openai`
- `model` (enum, required) — This is the model that will be used for the transcription. Digit formatting can differ by model: `gpt-transcribe` may write spoken digit strings as words (for example, "four seven two"), where `gpt-4o-transcribe` and `gpt-4o-mini-transcribe` may write them as digits ("472"). Do not rely on either format.
  - Allowed values: `gpt-4o-transcribe`, `gpt-4o-mini-transcribe`, `gpt-transcribe`
- `language` (enum, optional) — This is the language that will be set for the transcription.
  - Allowed values: `af`, `ar`, `hy`, `az`, `be`, `bs`, `bg`, `ca`, `zh`, `hr`, `cs`, `da`, `nl`, `en`, `et`, `fi`, `fr`, `gl`, `de`, `el`, `he`, `hi`, `hu`, `is`, `id`, `it`, `ja`, `kn`, `kk`, `ko`, `lv`, `lt`, `mk`, `ms`, `mr`, `mi`, `ne`, `no`, `fa`, `pl`, `pt`, `ro`, `ru`, `sr`, `sk`, `sl`, `es`, `sw`, `sv`, `tl`, `ta`, `th`, `tr`, `uk`, `ur`, `vi`, `cy`
- `keywords` (list of string, optional) — These are words and phrases the model should recognize, such as names, brands, and product terms. Supported only by `gpt-transcribe`. Each keyword is one line and must not contain `<` or `>`. Maximum 16,384 keywords.
- `prompt` (string, optional) — This is free-text context for the transcription, such as the topic of the call or the expected vocabulary. Maximum length: 8,192 characters for `gpt-transcribe`, and 1,024 characters for `gpt-4o-transcribe` and `gpt-4o-mini-transcribe`.

### FallbackCartesiaTranscriber

- `provider` (enum, required)
  - Allowed values: `cartesia`
- `model` (enum, optional)
  - Allowed values: `ink-whisper`, `ink-2`
- `language` (enum, optional)
  - Allowed values: `aa`, `ab`, `ae`, `af`, `ak`, `am`, `an`, `ar`, `as`, `av`, `ay`, `az`, `ba`, `be`, `bg`, `bh`, `bi`, `bm`, `bn`, `bo`, `br`, `bs`, `ca`, `ce`, `ch`, `co`, `cr`, `cs`, `cu`, `cv`, `cy`, `da`, `de`, `dv`, `dz`, `ee`, `el`, `en`, `eo`, `es`, `et`, `eu`, `fa`, `ff`, `fi`, `fj`, `fo`, `fr`, `fy`, `ga`, `gd`, `gl`, `gn`, `gu`, `gv`, `ha`, `he`, `hi`, `ho`, `hr`, `ht`, `hu`, `hy`, `hz`, `ia`, `id`, `ie`, `ig`, `ii`, `ik`, `io`, `is`, `it`, `iu`, `ja`, `jv`, `ka`, `kg`, `ki`, `kj`, `kk`, `kl`, `km`, `kn`, `ko`, `kr`, `ks`, `ku`, `kv`, `kw`, `ky`, `la`, `lb`, `lg`, `li`, `ln`, `lo`, `lt`, `lu`, `lv`, `mg`, `mh`, `mi`, `mk`, `ml`, `mn`, `mr`, `ms`, `mt`, `my`, `na`, `nb`, `nd`, `ne`, `ng`, `nl`, `nn`, `no`, `nr`, `nv`, `ny`, `oc`, `oj`, `om`, `or`, `os`, `pa`, `pi`, `pl`, `ps`, `pt`, `qu`, `rm`, `rn`, `ro`, `ru`, `rw`, `sa`, `sc`, `sd`, `se`, `sg`, `si`, `sk`, `sl`, `sm`, `sn`, `so`, `sq`, `sr`, `ss`, `st`, `su`, `sv`, `sw`, `ta`, `te`, `tg`, `th`, `ti`, `tk`, `tl`, `tn`, `to`, `tr`, `ts`, `tt`, `tw`, `ty`, `ug`, `uk`, `ur`, `uz`, `ve`, `vi`, `vo`, `wa`, `wo`, `xh`, `yi`, `yue`, `yo`, `za`, `zh`, `zu`

### FallbackSonioxTranscriber

- `provider` (enum, required)
  - Allowed values: `soniox`
- `model` (enum, optional) — The Soniox model to use for transcription.
  - Allowed values: `stt-rt-v4`, `stt-rt-v5`, `stt-rt-v6`
- `agentTextInputEnabled` (boolean, optional) — Sends the assistant's speech to Soniox as context, which improves caller transcription and filters out echo. Only supported on stt-rt-v6. Defaults to on; set to false to disable.
- `language` (enum, optional) — Single language for transcription as an ISO 639-1 code (e.g., `en`, `es`). For multi-language hints or to enable Soniox auto-detect, use `languages` instead — when `languages` is set (including to an empty array), this field is ignored when building the Soniox request. Defaults to `en` if neither this nor `languages` is set.
  - Allowed values: `aa`, `ab`, `ae`, `af`, `ak`, `am`, `an`, `ar`, `as`, `av`, `ay`, `az`, `ba`, `be`, `bg`, `bh`, `bi`, `bm`, `bn`, `bo`, `br`, `bs`, `ca`, `ce`, `ch`, `co`, `cr`, `cs`, `cu`, `cv`, `cy`, `da`, `de`, `dv`, `dz`, `ee`, `el`, `en`, `eo`, `es`, `et`, `eu`, `fa`, `ff`, `fi`, `fj`, `fo`, `fr`, `fy`, `ga`, `gd`, `gl`, `gn`, `gu`, `gv`, `ha`, `he`, `hi`, `ho`, `hr`, `ht`, `hu`, `hy`, `hz`, `ia`, `id`, `ie`, `ig`, `ii`, `ik`, `io`, `is`, `it`, `iu`, `ja`, `jv`, `ka`, `kg`, `ki`, `kj`, `kk`, `kl`, `km`, `kn`, `ko`, `kr`, `ks`, `ku`, `kv`, `kw`, `ky`, `la`, `lb`, `lg`, `li`, `ln`, `lo`, `lt`, `lu`, `lv`, `mg`, `mh`, `mi`, `mk`, `ml`, `mn`, `mr`, `ms`, `mt`, `my`, `na`, `nb`, `nd`, `ne`, `ng`, `nl`, `nn`, `no`, `nr`, `nv`, `ny`, `oc`, `oj`, `om`, `or`, `os`, `pa`, `pi`, `pl`, `ps`, `pt`, `qu`, `rm`, `rn`, `ro`, `ru`, `rw`, `sa`, `sc`, `sd`, `se`, `sg`, `si`, `sk`, `sl`, `sm`, `sn`, `so`, `sq`, `sr`, `ss`, `st`, `su`, `sv`, `sw`, `ta`, `te`, `tg`, `th`, `ti`, `tk`, `tl`, `tn`, `to`, `tr`, `ts`, `tt`, `tw`, `ty`, `ug`, `uk`, `ur`, `uz`, `ve`, `vi`, `vo`, `wa`, `wo`, `xh`, `yi`, `yue`, `yo`, `za`, `zh`, `zu`
- `languages` (list of enum, optional) — Language hints sent to Soniox as `language_hints`. Provide `[lang1, lang2, ...]` (ISO 639-1 codes) to bias recognition toward specific languages, or provide an explicit empty array `[]` to enable Soniox auto-detect across all 60+ supported languages. When set (including the empty array), this field takes precedence over the singular `language` field. When omitted, falls back to the singular `language` (which defaults to `en` if also unset). Best accuracy is achieved with a single language.
  - Allowed values: `aa`, `ab`, `ae`, `af`, `ak`, `am`, `an`, `ar`, `as`, `av`, `ay`, `az`, `ba`, `be`, `bg`, `bh`, `bi`, `bm`, `bn`, `bo`, `br`, `bs`, `ca`, `ce`, `ch`, `co`, `cr`, `cs`, `cu`, `cv`, `cy`, `da`, `de`, `dv`, `dz`, `ee`, `el`, `en`, `eo`, `es`, `et`, `eu`, `fa`, `ff`, `fi`, `fj`, `fo`, `fr`, `fy`, `ga`, `gd`, `gl`, `gn`, `gu`, `gv`, `ha`, `he`, `hi`, `ho`, `hr`, `ht`, `hu`, `hy`, `hz`, `ia`, `id`, `ie`, `ig`, `ii`, `ik`, `io`, `is`, `it`, `iu`, `ja`, `jv`, `ka`, `kg`, `ki`, `kj`, `kk`, `kl`, `km`, `kn`, `ko`, `kr`, `ks`, `ku`, `kv`, `kw`, `ky`, `la`, `lb`, `lg`, `li`, `ln`, `lo`, `lt`, `lu`, `lv`, `mg`, `mh`, `mi`, `mk`, `ml`, `mn`, `mr`, `ms`, `mt`, `my`, `na`, `nb`, `nd`, `ne`, `ng`, `nl`, `nn`, `no`, `nr`, `nv`, `ny`, `oc`, `oj`, `om`, `or`, `os`, `pa`, `pi`, `pl`, `ps`, `pt`, `qu`, `rm`, `rn`, `ro`, `ru`, `rw`, `sa`, `sc`, `sd`, `se`, `sg`, `si`, `sk`, `sl`, `sm`, `sn`, `so`, `sq`, `sr`, `ss`, `st`, `su`, `sv`, `sw`, `ta`, `te`, `tg`, `th`, `ti`, `tk`, `tl`, `tn`, `to`, `tr`, `ts`, `tt`, `tw`, `ty`, `ug`, `uk`, `ur`, `uz`, `ve`, `vi`, `vo`, `wa`, `wo`, `xh`, `yi`, `yue`, `yo`, `za`, `zh`, `zu`
- `languageHintsStrict` (boolean, optional) — When `true`, Soniox strictly restricts transcription to the languages in `languages` (or the singular `language` if `languages` is unset). When `false`, Soniox biases toward those languages but still allows transcription in other languages. Has no effect when no language hints are sent (e.g., `languages: []` for auto-detect). Defaults to `true` (strict mode).
- `maxEndpointDelayMs` (double, optional) — Maximum delay in milliseconds between when the speaker stops and when the endpoint is detected. Lower values mean faster turn-taking but more false endpoints. Range: 500-3000. Default: 500.
- `endpointSensitivity` (double, optional) — How likely Soniox is to emit an endpoint (end the caller turn). Higher values make endpoints more likely for faster turn-taking; negative values make them less likely, which helps when callers pause mid-sentence (e.g. reading numbers group by group). Range: -1.0 to 1.0. Default: 0.3 (the platform low-latency voice profile; Soniox's own default is 0.0). Supported by stt-rt-v5 and stt-rt-v6; omitted from the Soniox request on explicit stt-rt-v4. Soniox recommends tuning endpointLatencyAdjustmentLevel first, and advises against negative sensitivity while the level is above 0 (the settings work against each other).
- `endpointLatencyAdjustmentLevel` (double, optional) — How aggressively Soniox reduces endpoint latency. 0 is Soniox's default semantic endpointing; 3 is the most aggressive. Higher levels return endpoints sooner but may split speech into more segments and slightly reduce accuracy. Integer. Range: 0-3. Default: 2 (the platform low-latency voice profile; Soniox's own default is 0). Supported by stt-rt-v5 and stt-rt-v6; omitted from the Soniox request on explicit stt-rt-v4.
- `customVocabulary` (list of string, optional) — Custom vocabulary terms to boost recognition accuracy. Useful for brand names, product names, and domain-specific terminology. Maps to Soniox context.terms.
- `contextGeneral` (list of SonioxContextGeneralItem, optional) — General context key-value pairs that guide the AI model during transcription. Helps adapt vocabulary to the correct domain, improving accuracy. Recommended: 10 or fewer pairs. Maps to Soniox context.general.
- `confidenceThreshold` (double, optional) — Transcripts below this confidence are discarded. For a discarded final, an `assistant.transcriber.endpointedSpeechLowConfidence` hook whose range covers the confidence runs (by default `[threshold - 0.2, threshold)`); if none does, the assistant does not respond to that utterance. Confidence is the mean of the per-token scores, and a transcript with an unscored token counts as 1. When unset, nothing is discarded by this setting.

### FallbackXaiTranscriber

- `provider` (enum, required)
  - Allowed values: `xai`
- `model` (enum, optional) — The xAI speech-to-text model to use. xAI currently exposes a single STT model — placeholder for future model selection.
  - Allowed values: `default`
- `language` (enum, optional) — Single language for transcription as an ISO 639-1 code (e.g., `en`, `es`). Defaults to `en` if not set. xAI auto-detects when omitted via the API but Vapi defaults to English for deterministic behavior.
  - Allowed values: `ar`, `cs`, `da`, `nl`, `en`, `fil`, `fr`, `de`, `hi`, `id`, `it`, `ja`, `ko`, `mk`, `ms`, `fa`, `pl`, `pt`, `ro`, `ru`, `es`, `sv`, `th`, `tr`, `vi`

### FallbackReson8Transcriber

- `provider` (enum, required)
  - Allowed values: `reson8`
- `model` (enum, optional) — The Reson8 speech-to-text endpoint to use. `turns` is Reson8's turn-detection endpoint.
  - Allowed values: `turns`
- `language` (string, optional) — Language for transcription (e.g. `nl`), or a comma-separated candidate list such as `nl,en` which constrains auto-detection. When omitted, Reson8 auto-detects the language per utterance. Supported: de, en, es, fr, fy, it, nl, pl, pt, sv.
- `keyterms` (list of string, optional) — Domain-specific terms to boost recognition (brand names, product codes, jargon). Sent to Reson8 as the `phrases` parameter. Max 250 phrases.
- `customModelId` (string, optional) — A stored Reson8 phrase collection (custom model) id, managed via the Reson8 API or console.
- `eagerTurnProbability` (double, optional) — Threshold (0-1) at which Reson8 emits an eager turn-end candidate. Provider default 0.5.
- `finalTurnProbability` (double, optional) — Threshold (0-1) at which Reson8 confirms the end of a turn. Provider default 0.92.
- `fillerMode` (enum, optional) — How Reson8 renders filler words in transcripts. Provider default `natural`.
  - Allowed values: `clean`, `natural`, `verbatim`

### GladiaVocabularyItemDTO

- `value` (string, required) — The vocabulary word or phrase
- `pronunciations` (list of string, optional) — Alternative pronunciations for the vocabulary item
- `intensity` (double, optional) — Intensity for this specific vocabulary item (0.0 to 1.0)
- `language` (string, optional) — Language code for this vocabulary item (ISO 639-1)

### GeminiMultimodalLiveVoiceConfig

- `prebuiltVoiceConfig` (GeminiMultimodalLivePrebuiltVoiceConfig, required)

### OpenAiReasonerSkillToolsItems

- CreateFunctionToolDTO: CreateFunctionToolDTO
- CreateApiRequestToolDTO: CreateApiRequestToolDTO
- CreateMcpToolDTO: CreateMcpToolDTO
- CreateEndCallToolDTO: CreateEndCallToolDTO
- CreateDtmfToolDTO: CreateDtmfToolDTO
- CreateTransferCallToolDTO: CreateTransferCallToolDTO

### FormatPlanReplacementsItems

- ExactReplacement: ExactReplacement
- RegexReplacement: RegexReplacement

### FallbackAzureVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `azure`
- `voiceId` (FallbackAzureVoiceVoiceId, required) — This is the provider-specific ID that will be used.
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `speed` (double, optional) — This is the speed multiplier that will be used.
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.

### FallbackCartesiaVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `cartesia`
- `voiceId` (string, required) — The ID of the particular voice you want to use.
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `model` (enum, optional) — This is the model that will be used. This is optional and will default to the correct model for the voiceId.
  - Allowed values: `sonic-3.5`, `sonic-3.5-2026-05-04`, `sonic-3.6`, `sonic-3.6-2026-08-27`, `sonic-3`, `sonic-3-2026-01-12`, `sonic-3-2025-10-27`, `sonic-2`, `sonic-2-2025-06-11`, `sonic-english`, `sonic-multilingual`, `sonic-preview`, `sonic`
- `language` (enum, optional) — This is the language that will be used. This is optional and will default to the correct language for the voiceId.
  - Allowed values: `ar`, `bg`, `bn`, `cs`, `da`, `de`, `el`, `en`, `es`, `fi`, `fr`, `gu`, `he`, `hi`, `hr`, `hu`, `id`, `it`, `ja`, `ka`, `kn`, `ko`, `ml`, `mr`, `ms`, `nl`, `no`, `or`, `pa`, `pl`, `pt`, `ro`, `ru`, `sk`, `sv`, `ta`, `te`, `th`, `tl`, `tr`, `uk`, `ur`, `vi`, `zh`
- `experimentalControls` (CartesiaExperimentalControls, optional) — Experimental controls for Cartesia voice generation
- `generationConfig` (CartesiaGenerationConfig, optional) — Generation config for fine-grained control of sonic-3 voice output (speed, volume, and experimental controls). Only available for sonic-3 model.
- `pronunciationDictId` (string, optional) — Pronunciation dictionary ID for sonic-3. Allows custom pronunciations for specific words. Only available for sonic-3 model.
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.

### FallbackHumeVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `hume`
- `voiceId` (string, required) — The ID of the particular voice you want to use.
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `model` (enum, optional) — This is the model that will be used.
  - Allowed values: `octave`, `octave2`
- `isCustomHumeVoice` (boolean, optional) — Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.
- `description` (string, optional) — Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent'). If a Voice is specified in the request, this description serves as acting instructions. If no Voice is specified, a new voice is generated based on this description.
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.

### FallbackCustomVoice

- `provider` (enum, required) — This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported.
  - Allowed values: `custom-voice`
- `server` (Server, required) — This is where the voice request will be sent. Request Example: POST https\://\{server.url} Content-Type: application/json \{ "message": \{ "type": "voice-request", "text": "Hello, world!", "sampleRate": 24000, ...other metadata about the call... } } Response Expected: 1-channel 16-bit raw PCM audio at the sample rate specified in the request. Here is how the response will be piped to the transport: ``` response.on('data', (chunk: Buffer) => \{ outputStream.write(chunk); }); ```
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `voiceId` (string, optional) — This is the provider-specific ID that will be used. This is passed in the voice request payload to identify the voice to use.
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.

### FallbackDeepgramVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `deepgram`
- `voiceId` (enum, required) — This is the provider-specific ID that will be used.
  - Allowed values: `asteria`, `luna`, `stella`, `athena`, `hera`, `orion`, `arcas`, `perseus`, `angus`, `orpheus`, `helios`, `zeus`, `thalia`, `andromeda`, `helena`, `apollo`, `arcas`, `aries`, `amalthea`, `asteria`, `athena`, `atlas`, `aurora`, `callista`, `cora`, `cordelia`, `delia`, `draco`, `electra`, `harmonia`, `hera`, `hermes`, `hyperion`, `iris`, `janus`, `juno`, `jupiter`, `luna`, `mars`, `minerva`, `neptune`, `odysseus`, `ophelia`, `orion`, `orpheus`, `pandora`, `phoebe`, `pluto`, `saturn`, `selene`, `theia`, `vesta`, `zeus`, `celeste`, `estrella`, `nestor`, `sirio`, `carina`, `alvaro`, `diana`, `aquila`, `selena`, `javier`, `viktoria`, `kara`, `fabian`, `julius`, `lara`, `elara`, `aurelia`, `hannah`, `kit`, `alexis`, `cliff`, `sienna`, `cole`, `brooke`, `colin`, `gemma`, `haley`, `heather`, `miles`, `sean`, `bree`, `brittany`, `bruce`, `conor`, `donovan`, `drew`, `elise`, `jack`, `kai`, `kelsey`, `maeve`, `marcelo`, `marcus`, `meena`, `meghan`, `naveen`, `paige`, `priya`, `rufus`, `sharon`, `tanner`, `wade`, `wes`
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `model` (enum, optional) — This is the model that will be used. Defaults to 'aura' when not specified.
  - Allowed values: `aura`, `aura-2`, `flux`
- `mipOptOut` (boolean, optional, default: false) — If set to true, this will add mip_opt_out=true as a query parameter of all API requests. See https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out This only applies to your own Deepgram API key. Requests on Vapi's key always opt out, whatever this is set to. @default false
- `speed` (double, optional, default: 1) — This is the speed multiplier that will be used. Aura-2 accepts 0.7 to 1.5; Flux accepts 0.5 to 1.5 in steps of 0.05. Aura does not support speed. @default 1
- `expressivity` (double, optional, default: 0) — This is the expressivity level for Flux voices, from -2 (flat) to 2 (lively). Deepgram marks this control as beta and may retune the scale. Aura and Aura-2 do not support it. @default 0
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.

### FallbackElevenLabsVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `11labs`
- `voiceId` (FallbackElevenLabsVoiceVoiceId, required) — This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `stability` (double, optional) — Defines the stability for voice settings.
- `similarityBoost` (double, optional) — Defines the similarity boost for voice settings. Ignored by `eleven_v4_turbo` and `eleven_v3_conversational`.
- `style` (double, optional) — Defines the style for voice settings. Ignored by `eleven_v4_turbo` and `eleven_v3_conversational`.
- `useSpeakerBoost` (boolean, optional) — Defines the use speaker boost for voice settings. Ignored by `eleven_v4_turbo` and `eleven_v3_conversational`.
- `speed` (double, optional) — Defines the speed for voice settings. Ignored by `eleven_v4_turbo` and `eleven_v3_conversational`.
- `optimizeStreamingLatency` (double, optional) — Defines the optimize streaming latency for voice settings. Defaults to 3. Ignored by `eleven_v4_turbo` and `eleven_v3_conversational`.
- `enableSsmlParsing` (boolean, optional) — This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency. Ignored by `eleven_v4_turbo` and `eleven_v3_conversational`. @default false
- `autoMode` (boolean, optional) — Defines the auto mode for voice settings. Defaults to false. Ignored by `eleven_v4_turbo` and `eleven_v3_conversational`.
- `model` (enum, optional) — This is the model that will be used. Defaults to 'eleven_turbo_v2' if not specified.
  - Allowed values: `eleven_multilingual_v2`, `eleven_turbo_v2`, `eleven_turbo_v2_5`, `eleven_flash_v2`, `eleven_flash_v2_5`, `eleven_monolingual_v1`, `eleven_v3`, `eleven_v4_turbo`, `eleven_v3_conversational`
- `language` (string, optional) — This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5, Flash v2.5 and the Text to Dialogue models support language enforcement; other models ignore it.
- `pronunciationDictionaryLocators` (list of ElevenLabsPronunciationDictionaryLocator, optional) — This is the pronunciation dictionary locators to use.
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.

### FallbackVapiVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `vapi`
- `voiceId` (string, required) — The voice to use: a built-in Vapi voice name, or a cloned voice id (used with version 2).
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `version` (enum, optional) — The Vapi voice routing generation. `latest` auto-updates to the newest generation; version 1 uses legacy mappings; version 2 can use xAI-backed voices when available. When omitted, Version 1 is used. Accepts the string channel ('latest', '1', '2'); legacy numeric values (1, 2) are also accepted and coerced to their string form.
  - Allowed values: `1`, `2`, `latest`
- `speed` (double, optional, default: 1) — This is the speed multiplier that will be used. @default 1
- `language` (enum, optional) — Language for Vapi voice synthesis. For Version 2, omit this field or set `auto` for automatic language detection. Version 1 supports legacy Vapi language values.
  - Allowed values: `en-US`, `en-GB`, `en-AU`, `en-CA`, `ja`, `zh`, `de`, `hi`, `fr-FR`, `fr-CA`, `ko`, `pt-BR`, `pt-PT`, `it`, `es-ES`, `es-MX`, `id`, `nl`, `tr`, `fil`, `pl`, `sv`, `bg`, `ro`, `ar-SA`, `ar-AE`, `cs`, `el`, `fi`, `hr`, `ms`, `sk`, `da`, `ta`, `uk`, `ru`, `hu`, `no`, `vi`, `auto`, `en`, `ar`, `ar-EG`, `bn`, `es`, `fr`, `gu`, `he`, `ka`, `kn`, `ml`, `mr`, `pa`, `pt`, `te`, `th`, `tl`
- `pronunciationDictionary` (list of VapiPronunciationDictionaryLocator, optional) — List of pronunciation dictionary locators for custom word pronunciations.
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.

### FallbackLMNTVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `lmnt`
- `voiceId` (FallbackLmntVoiceVoiceId, required) — This is the provider-specific ID that will be used.
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `speed` (double, optional) — This is the speed multiplier that will be used.
- `language` (enum, optional) — Two letter ISO 639-1 language code. Use "auto" for auto-detection.
  - Allowed values: `aa`, `ab`, `ae`, `af`, `ak`, `am`, `an`, `ar`, `as`, `av`, `ay`, `az`, `ba`, `be`, `bg`, `bh`, `bi`, `bm`, `bn`, `bo`, `br`, `bs`, `ca`, `ce`, `ch`, `co`, `cr`, `cs`, `cu`, `cv`, `cy`, `da`, `de`, `dv`, `dz`, `ee`, `el`, `en`, `eo`, `es`, `et`, `eu`, `fa`, `ff`, `fi`, `fj`, `fo`, `fr`, `fy`, `ga`, `gd`, `gl`, `gn`, `gu`, `gv`, `ha`, `he`, `hi`, `ho`, `hr`, `ht`, `hu`, `hy`, `hz`, `ia`, `id`, `ie`, `ig`, `ii`, `ik`, `io`, `is`, `it`, `iu`, `ja`, `jv`, `ka`, `kg`, `ki`, `kj`, `kk`, `kl`, `km`, `kn`, `ko`, `kr`, `ks`, `ku`, `kv`, `kw`, `ky`, `la`, `lb`, `lg`, `li`, `ln`, `lo`, `lt`, `lu`, `lv`, `mg`, `mh`, `mi`, `mk`, `ml`, `mn`, `mr`, `ms`, `mt`, `my`, `na`, `nb`, `nd`, `ne`, `ng`, `nl`, `nn`, `no`, `nr`, `nv`, `ny`, `oc`, `oj`, `om`, `or`, `os`, `pa`, `pi`, `pl`, `ps`, `pt`, `qu`, `rm`, `rn`, `ro`, `ru`, `rw`, `sa`, `sc`, `sd`, `se`, `sg`, `si`, `sk`, `sl`, `sm`, `sn`, `so`, `sq`, `sr`, `ss`, `st`, `su`, `sv`, `sw`, `ta`, `te`, `tg`, `th`, `ti`, `tk`, `tl`, `tn`, `to`, `tr`, `ts`, `tt`, `tw`, `ty`, `ug`, `uk`, `ur`, `uz`, `ve`, `vi`, `vo`, `wa`, `wo`, `xh`, `yi`, `yue`, `yo`, `za`, `zh`, `zu`, `auto`
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.

### FallbackOpenAIVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `openai`
- `voiceId` (FallbackOpenAiVoiceVoiceId, required) — This is the provider-specific ID that will be used. Voice availability depends on the selected model: voices offered only by GPT-Live are rejected for other models.
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `model` (enum, optional) — This is the model that will be used for text-to-speech.
  - Allowed values: `tts-1`, `tts-1-hd`, `gpt-4o-mini-tts`
- `instructions` (string, optional) — This is a prompt that allows you to control the voice of your generated audio. Does not work with 'tts-1' or 'tts-1-hd' models.
- `speed` (double, optional) — This is the speed multiplier that will be used.
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.

### FallbackPlayHTVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `playht`
- `voiceId` (FallbackPlayHtVoiceVoiceId, required) — This is the provider-specific ID that will be used.
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `speed` (double, optional) — This is the speed multiplier that will be used.
- `temperature` (double, optional) — A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature will be used. The temperature parameter controls variance. Lower temperatures result in more predictable results, higher temperatures allow each run to vary more, so the voice may sound less like the baseline voice.
- `emotion` (enum, optional) — An emotion to be applied to the speech.
  - Allowed values: `female_happy`, `female_sad`, `female_angry`, `female_fearful`, `female_disgust`, `female_surprised`, `male_happy`, `male_sad`, `male_angry`, `male_fearful`, `male_disgust`, `male_surprised`
- `voiceGuidance` (double, optional) — A number between 1 and 6. Use lower numbers to reduce how unique your chosen voice will be compared to other voices.
- `styleGuidance` (double, optional) — A number between 1 and 30. Use lower numbers to to reduce how strong your chosen emotion will be. Higher numbers will create a very emotional performance.
- `textGuidance` (double, optional) — A number between 1 and 2. This number influences how closely the generated speech adheres to the input text. Use lower values to create more fluid speech, but with a higher chance of deviating from the input text. Higher numbers will make the generated speech more accurate to the input text, ensuring that the words spoken align closely with the provided text.
- `model` (enum, optional) — Playht voice model/engine to use.
  - Allowed values: `PlayHT2.0`, `PlayHT2.0-turbo`, `Play3.0-mini`, `PlayDialog`
- `language` (enum, optional) — The language to use for the speech.
  - Allowed values: `afrikaans`, `albanian`, `amharic`, `arabic`, `bengali`, `bulgarian`, `catalan`, `croatian`, `czech`, `danish`, `dutch`, `english`, `french`, `galician`, `german`, `greek`, `hebrew`, `hindi`, `hungarian`, `indonesian`, `italian`, `japanese`, `korean`, `malay`, `mandarin`, `polish`, `portuguese`, `russian`, `serbian`, `spanish`, `swedish`, `tagalog`, `thai`, `turkish`, `ukrainian`, `urdu`, `xhosa`
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.

### FallbackWellSaidVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `wellsaid`
- `voiceId` (string, required) — The WellSaid speaker ID to synthesize.
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `model` (enum, optional) — This is the model that will be used.
  - Allowed values: `caruso`, `legacy`
- `enableSsml` (boolean, optional) — Enables limited SSML translation for input text.
- `libraryIds` (list of string, optional) — Array of library IDs to use for voice synthesis.
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.

### FallbackRimeAIVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `rime-ai`
- `voiceId` (FallbackRimeAiVoiceVoiceId, required) — This is the provider-specific ID that will be used.
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `model` (enum, optional) — This is the model that will be used. Defaults to 'arcana' when not specified.
  - Allowed values: `arcana`, `coda`, `mistv2`, `mistv3`, `mist`
- `speed` (double, optional) — This is the speed multiplier that will be used.
- `pauseBetweenBrackets` (boolean, optional) — This is a flag that controls whether to add slight pauses using angle brackets. Example: "Hi. \<200> I'd love to have a conversation with you." adds a 200ms pause between the first and second sentences.
- `phonemizeBetweenBrackets` (boolean, optional) — This is a flag that controls whether text inside brackets should be phonemized (converted to phonetic pronunciation) - Example: "\{h'El.o} World" will pronounce "Hello" as expected.
- `reduceLatency` (boolean, optional) — This is a flag that controls whether to optimize for reduced latency in streaming. https://docs.rime.ai/api-reference/endpoint/websockets#param-reduce-latency
- `inlineSpeedAlpha` (string, optional) — This is a string that allows inline speed control using alpha notation. https://docs.rime.ai/api-reference/endpoint/websockets#param-inline-speed-alpha
- `language` (enum, optional) — Language for speech synthesis. Uses ISO 639 codes. Supported: en, es, de, fr, ar, hi, ja, he, pt, ta, si.
  - Allowed values: `en`, `es`, `de`, `fr`, `ar`, `hi`, `ja`, `he`, `pt`, `ta`, `si`
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.

### FallbackSmallestAIVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `smallest-ai`
- `voiceId` (FallbackSmallestAiVoiceVoiceId, required) — This is the provider-specific ID that will be used.
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `model` (enum, optional) — Smallest AI voice model to use. Defaults to 'lightning' when not specified.
  - Allowed values: `lightning`
- `speed` (double, optional) — This is the speed multiplier that will be used.
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.

### FallbackNeuphonicVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `neuphonic`
- `voiceId` (FallbackNeuphonicVoiceVoiceId, required) — This is the provider-specific ID that will be used.
- `language` (FallbackNeuphonicVoiceLanguage, required) — This is the language (ISO 639-1) that is enforced for the model.
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `model` (enum, optional) — This is the model that will be used. Defaults to 'neu_fast' if not specified.
  - Allowed values: `neu_hq`, `neu_fast`
- `speed` (double, optional) — This is the speed multiplier that will be used.
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.

### FallbackSesameVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `sesame`
- `voiceId` (string, required) — This is the provider-specific ID that will be used.
- `model` (enum, required) — This is the model that will be used.
  - Allowed values: `csm-1b`
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.

### FallbackInworldVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `inworld`
- `voiceId` (enum, required) — Available voices by language: • en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus, Hana, Clive, Carter, Blake, Luna • zh: Yichen, Xiaoyin, Xinyi, Jing • nl: Erik, Katrien, Lennart, Lore • fr: Alain, Hélène, Mathieu, Étienne • de: Johanna, Josef • it: Gianni, Orietta • ja: Asuka, Satoshi • ko: Hyunwoo, Minji, Seojun, Yoona • pl: Szymon, Wojciech • pt: Heitor, Maitê • es: Diego, Lupita, Miguel, Rafael • ru: Svetlana, Elena, Dmitry, Nikolai • hi: Riya, Manoj • he: Yael, Oren • ar: Nour, Omar
  - Allowed values: `Alex`, `Ashley`, `Craig`, `Deborah`, `Dennis`, `Edward`, `Elizabeth`, `Hades`, `Julia`, `Pixie`, `Mark`, `Olivia`, `Priya`, `Ronald`, `Sarah`, `Shaun`, `Theodore`, `Timothy`, `Wendy`, `Dominus`, `Hana`, `Clive`, `Carter`, `Blake`, `Luna`, `Yichen`, `Xiaoyin`, `Xinyi`, `Jing`, `Erik`, `Katrien`, `Lennart`, `Lore`, `Alain`, `Hélène`, `Mathieu`, `Étienne`, `Johanna`, `Josef`, `Gianni`, `Orietta`, `Asuka`, `Satoshi`, `Hyunwoo`, `Minji`, `Seojun`, `Yoona`, `Szymon`, `Wojciech`, `Heitor`, `Maitê`, `Diego`, `Lupita`, `Miguel`, `Rafael`, `Svetlana`, `Elena`, `Dmitry`, `Nikolai`, `Riya`, `Manoj`, `Yael`, `Oren`, `Nour`, `Omar`
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `model` (enum, optional, default: inworld-tts-1) — This is the model that will be used.
  - Allowed values: `inworld-tts-1`
- `languageCode` (enum, optional, default: en) — Language code for Inworld TTS synthesis
  - Allowed values: `en`, `zh`, `ko`, `nl`, `fr`, `es`, `ja`, `de`, `it`, `pl`, `pt`, `ru`, `hi`, `he`, `ar`
- `temperature` (double, optional, default: 1.1) — A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature of 1.1 will be used. The temperature parameter controls variance. Higher values will make the output more random and can lead to more expressive results. Lower values will make it more deterministic. See https://docs.inworld.ai/docs/tts/capabilities/generating-audio#additional-configurations for more details.
- `speakingRate` (double, optional, default: 1) — A floating point number between 0.5, inclusive, and 1.5, inclusive. If equal to null or not provided, the model's default speaking speed of 1.0 will be used. Values above 0.8 are recommended for higher quality. See https://docs.inworld.ai/docs/tts/capabilities/generating-audio#additional-configurations for more details.
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.

### FallbackXaiVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `xai`
- `voiceId` (enum, required) — Built-in voices: eve, ara, rex, sal, leo. Cloned voice IDs are also accepted.
  - Allowed values: `eve`, `ara`, `rex`, `sal`, `leo`
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `language` (enum, optional, default: en) — BCP-47 language code for xAI TTS synthesis.
  - Allowed values: `auto`, `en`, `ar-EG`, `ar-SA`, `ar-AE`, `bn`, `zh`, `fr`, `de`, `hi`, `id`, `it`, `ja`, `ko`, `pt-BR`, `pt-PT`, `ru`, `es-MX`, `es-ES`, `tr`, `vi`
- `speed` (double, optional, default: 1.1) — Speed multiplier for xAI TTS synthesis.
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.

### FallbackMicrosoftVoice

- `provider` (enum, required) — This is the voice provider that will be used.
  - Allowed values: `microsoft`
- `voiceId` (enum, required) — MAI-Voice-2 voice ID. Built-in voices listed in enum.
  - Allowed values: `de-DE-Klaus:MAI-Voice-2`, `de-DE-Mia:MAI-Voice-2`, `en-AU-Lisa:MAI-Voice-2`, `en-US-Ethan:MAI-Voice-2`, `en-US-Grant:MAI-Voice-2`, `en-US-Harper:MAI-Voice-2`, `en-US-Iris:MAI-Voice-2`, `en-US-Jasper:MAI-Voice-2`, `en-US-Olivia:MAI-Voice-2`, `es-ES-Marta:MAI-Voice-2`, `es-MX-Alejo:MAI-Voice-2`, `es-MX-Valeria:MAI-Voice-2`, `fr-FR-Marc:MAI-Voice-2`, `fr-FR-Soleil:MAI-Voice-2`, `hi-IN-Arjun:MAI-Voice-2`, `hi-IN-Dhruv:MAI-Voice-2`, `hi-IN-Kavya:MAI-Voice-2`, `hi-IN-Priya:MAI-Voice-2`, `hu-HU-Bence:MAI-Voice-2`, `hu-HU-Levente:MAI-Voice-2`, `hu-HU-Lilla:MAI-Voice-2`, `hu-HU-Réka:MAI-Voice-2`, `it-IT-Luca:MAI-Voice-2`, `it-IT-Rosa:MAI-Voice-2`, `ko-KR-Hana:MAI-Voice-2`, `ko-KR-Junho:MAI-Voice-2`, `nl-NL-Fleur:MAI-Voice-2`, `nl-NL-Sander:MAI-Voice-2`, `pt-BR-Caio:MAI-Voice-2`, `pt-BR-Luana:MAI-Voice-2`, `pt-BR-Pedro:MAI-Voice-2`, `pt-BR-Rafael:MAI-Voice-2`, `pt-PT-Rui:MAI-Voice-2`, `ro-RO-Andrei:MAI-Voice-2`, `ro-RO-Elena:MAI-Voice-2`, `ro-RO-Ioana:MAI-Voice-2`, `ro-RO-Radu:MAI-Voice-2`, `ru-RU-Lev:MAI-Voice-2`, `ru-RU-Masha:MAI-Voice-2`, `th-TH-Krit:MAI-Voice-2`, `th-TH-Nattapong:MAI-Voice-2`, `tr-TR-Aydin:MAI-Voice-2`, `tr-TR-Elif:MAI-Voice-2`, `zh-CN-Bo:MAI-Voice-2`, `zh-CN-Lan:MAI-Voice-2`, `zh-CN-Mei:MAI-Voice-2`
- `cachingEnabled` (boolean, optional, default: true) — This is the flag to toggle voice caching for the assistant.
- `style` (enum, optional) — Speaking style applied via mstts:express-as on every request. Unknown styles are ignored by Azure and fall back to neutral.
  - Allowed values: `adventurous`, `angry`, `caring`, `cheerful`, `confused`, `curious`, `determined`, `disappointed`, `disgusted`, `embarrassed`, `empathy`, `encouraging`, `excited`, `fearful`, `friendly`, `happy`, `hopeful`, `jealous`, `joyful`, `nostalgic`, `reflective`, `regretful`, `relieved`, `sad`, `serious`, `shouting`, `softvoice`, `surprised`, `whispering`
- `styleDegree` (double, optional, default: 1) — Style intensity (0.01–2). Default 1 = the predefined style strength. Only applies when `style` is set.
- `role` (enum, optional) — Role-play (age/gender imitation). Requires `style` to be set; ignored otherwise.
  - Allowed values: `Girl`, `Boy`, `YoungAdultFemale`, `YoungAdultMale`, `OlderAdultFemale`, `OlderAdultMale`, `SeniorFemale`, `SeniorMale`
- `speed` (double, optional) — This is the speed multiplier that will be used.
- `chunkPlan` (ChunkPlan, optional) — This is the plan for chunking the model output before it is sent to the voice provider.

### ToolCallHookActionTool

This is the tool to call. To use an existing tool, send `toolId` instead.

- ApiRequestTool: CreateApiRequestToolDTO
- BashTool: CreateBashToolDTO
- CodeTool: CreateCodeToolDTO
- ComputerTool: CreateComputerToolDTO
- DtmfTool: CreateDtmfToolDTO
- EndCallTool: CreateEndCallToolDTO
- FunctionTool: CreateFunctionToolDTO
- GoHighLevelCalendarAvailabilityTool: CreateGoHighLevelCalendarAvailabilityToolDTO
- GoHighLevelCalendarEventCreateTool: CreateGoHighLevelCalendarEventCreateToolDTO
- GoHighLevelContactCreateTool: CreateGoHighLevelContactCreateToolDTO
- GoHighLevelContactGetTool: CreateGoHighLevelContactGetToolDTO
- GoogleCalendarCheckAvailabilityTool: CreateGoogleCalendarCheckAvailabilityToolDTO
- GoogleCalendarCreateEventTool: CreateGoogleCalendarCreateEventToolDTO
- GoogleSheetsRowAppendTool: CreateGoogleSheetsRowAppendToolDTO
- HandoffTool: CreateHandoffToolDTO
- McpTool: CreateMcpToolDTO
- QueryTool: CreateQueryToolDTO
- SlackSendMessageTool: CreateSlackSendMessageToolDTO
- SmsTool: CreateSmsToolDTO
- TextEditorTool: CreateTextEditorToolDTO
- TransferCallTool: CreateTransferCallToolDTO
- SipRequestTool: CreateSipRequestToolDTO
- VoicemailTool: CreateVoicemailToolDTO

### SayHookActionExact

This is the exact message to say. When a string array is provided, one is randomly selected.

- string
- list of string

### SayHookActionPrompt

This is the prompt for the assistant to generate a response based on existing conversation. Can be a string or an array of chat messages.

- string
- MessageArray: list of SayHookActionPromptOneOf1Items

### NumberComparatorScorecardMetricCondition

- `type` (enum, required) — This is the type of the condition. Currently only 'comparator' is supported.
  - Allowed values: `comparator`
- `comparator` (enum, required) — This is the comparator that will be used to compare the result of the structured output with the value specified. Only '=', '!=', '>', '\<', '>=', and '\<=' are supported for number conditions Only '=' is supported for boolean conditions.
  - Allowed values: `=`, `!=`, `>`, `<`, `>=`, `<=`
- `value` (double, required) — This is the value that will be used to compare the result of the structured output with the comparator. If the result of the comparison is true, the points will be added to the overall score.
- `points` (double, required) — These are the points that will be added to the overall score if the condition is met. The points must be between 0 and 100.

### BooleanComparatorScorecardMetricCondition

- `type` (enum, required) — This is the type of the condition. Currently only 'comparator' is supported.
  - Allowed values: `comparator`
- `comparator` (enum, required) — The comparator can only be '=' for boolean conditions.
  - Allowed values: `=`
- `value` (boolean, required) — This is the value that will be used to compare the result of the structured output with the comparator. If the result of the comparison is true, the points will be added to the overall score.
- `points` (double, required) — These are the points that will be added to the overall score if the condition is met. The points must be between 0 and 100.

### MessageTarget

- `role` (enum, optional) — This is the role of the message to target. If not specified, will find the position in the message history ignoring role (effectively `any`).
  - Allowed values: `user`, `assistant`
- `position` (double, optional) — This is the position of the message to target. - Negative numbers: Count from end (-1 = most recent, -2 = second most recent) - 0: First/oldest message in history - Positive numbers: Specific position (0-indexed from start) @default -1 (most recent message)

### GroupConditionConditionsItems

- RegexCondition: RegexCondition
- LiquidCondition: LiquidCondition
- GroupCondition: GroupCondition

### HandoffDestinationSquadContextEngineeringPlan

This is the plan for manipulating the message context before handing off the call to the squad.

- Last N Messages: ContextEngineeringPlanLastNMessages
- None: ContextEngineeringPlanNone
- All: ContextEngineeringPlanAll
- User And Assistant Messages: ContextEngineeringPlanUserAndAssistantMessages
- Previous Assistant Messages: ContextEngineeringPlanPreviousAssistantMessages

### ContextEngineeringPlanUserAndAssistantMessages

- `type` (enum, required)
  - Allowed values: `userAndAssistantMessages`

### ContextEngineeringPlanPreviousAssistantMessages

- `type` (enum, required)
  - Allowed values: `previousAssistantMessages`

### TransferPhoneNumberHookActionDestination

This is the destination details for the transfer - can be a phone number or SIP URI

- NumberTransferDestination: TransferDestinationNumber
- SipTransferDestination: TransferDestinationSip

### FallbackDeepgramTranscriberModel

This is the Deepgram model that will be used. A list of models can be found here: https://developers.deepgram.com/docs/models-languages-overview

- enum
  - Allowed values: `nova-3`, `nova-3-general`, `nova-3-medical`, `nova-3-pharma`, `nova-2`, `nova-2-general`, `nova-2-meeting`, `nova-2-phonecall`, `nova-2-finance`, `nova-2-conversationalai`, `nova-2-voicemail`, `nova-2-video`, `nova-2-medical`, `nova-2-drivethru`, `nova-2-automotive`, `nova`, `nova-general`, `nova-phonecall`, `nova-medical`, `enhanced`, `enhanced-general`, `enhanced-meeting`, `enhanced-phonecall`, `enhanced-finance`, `base`, `base-general`, `base-meeting`, `base-phonecall`, `base-finance`, `base-conversationalai`, `base-voicemail`, `base-video`, `whisper`, `flux-general-en`, `flux-general-multi`
- string

### FallbackElevenLabsTranscriberModel

This is the model that will be used for the transcription.

- enum
  - Allowed values: `scribe_v1`, `scribe_v2`, `scribe_v2_realtime`

### FallbackGladiaTranscriberModel

This is the Gladia model that will be used. Default is 'fast'

- enum
  - Allowed values: `fast`, `accurate`, `solaria-1`

### FallbackGladiaTranscriberLanguageBehaviour

Defines how the transcription model detects the audio language. Default value is 'automatic single language'.

- enum
  - Allowed values: `manual`, `automatic single language`, `automatic multiple languages`

### GeminiMultimodalLivePrebuiltVoiceConfig

- `voiceName` (enum, required)
  - Allowed values: `Puck`, `Charon`, `Kore`, `Fenrir`, `Aoede`

### ExactReplacement

- `type` (enum, required) — This is the exact replacement type. You can use this to replace a specific word or phrase with a different word or phrase. Usage: * Replace "hello" with "hi": \{ type: 'exact', key: 'hello', value: 'hi' } * Replace "good morning" with "good day": \{ type: 'exact', key: 'good morning', value: 'good day' } * Replace a specific name: \{ type: 'exact', key: 'John Doe', value: 'Jane Smith' } * Replace an acronym: \{ type: 'exact', key: 'AI', value: 'Artificial Intelligence' } * Replace a company name with its phonetic pronunciation: \{ type: 'exact', key: 'Vapi', value: 'Vappy' }
  - Allowed values: `exact`
- `key` (string, required) — This is the key to replace.
- `value` (string, required) — This is the value that will replace the match.
- `replaceAllEnabled` (boolean, optional, default: false) — This option let's you control whether to replace all instances of the key or only the first one. By default, it only replaces the first instance. Examples: * For \{ type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: false }. Before: "hello world, hello universe" | After: "hi world, hello universe" * For \{ type: 'exact', key: 'hello', value: 'hi', replaceAllEnabled: true }. Before: "hello world, hello universe" | After: "hi world, hi universe" @default false

### RegexReplacement

- `type` (enum, required) — This is the regex replacement type. You can use this to replace a word or phrase that matches a pattern. Usage: * Replace all numbers with "some number": \{ type: 'regex', regex: '\d+', value: 'some number' } * Replace email addresses with "\[EMAIL]": \{ type: 'regex', regex: '\b\[A-Za-z0-9.\_%+-]+@\[A-Za-z0-9.-]+\\.\[A-Z|a-z]\{2,}\b', value: '\[EMAIL]' } * Replace phone numbers with a formatted version: \{ type: 'regex', regex: '(\d\{3})(\d\{3})(\d\{4})', value: '($1) $2-\$3' } * Replace all instances of "color" or "colour" with "hue": \{ type: 'regex', regex: 'colou?r', value: 'hue' } * Capitalize the first letter of every sentence: \{ type: 'regex', regex: '(?\<=\\. |^)\[a-z]', value: (match) => match.toUpperCase() }
  - Allowed values: `regex`
- `regex` (string, required) — This is the regex pattern to replace. Note: - This works by using the `string.replace` method in Node.JS. Eg. `"hello there".replace(/hello/g, "hi")` will return `"hi there"`. Hot tip: - In JavaScript, escape `\` when sending the regex pattern. Eg. `"hello\sthere"` will be sent over the wire as `"hellosthere"`. Send `"hello\\sthere"` instead.
- `value` (string, required) — This is the value that will replace the match.
- `options` (list of RegexOption, optional) — These are the options for the regex replacement. Defaults to all disabled. @default []

### FallbackAzureVoiceVoiceId

This is the provider-specific ID that will be used.

- Preset Voice Options: enum
  - Allowed values: `andrew`, `brian`, `emma`
- string

### FallbackElevenLabsVoiceVoiceId

This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library.

- Preset Voice Options: enum
  - Allowed values: `burt`, `marissa`, `andrea`, `sarah`, `phillip`, `steve`, `joseph`, `myra`, `paula`, `ryan`, `drew`, `paul`, `mrb`, `matilda`, `mark`
- string

### FallbackLmntVoiceVoiceId

This is the provider-specific ID that will be used.

- Preset Voice Options: enum
  - Allowed values: `amy`, `ansel`, `autumn`, `ava`, `brandon`, `caleb`, `cassian`, `chloe`, `dalton`, `daniel`, `dustin`, `elowen`, `evander`, `huxley`, `james`, `juniper`, `kennedy`, `lauren`, `leah`, `lily`, `lucas`, `magnus`, `miles`, `morgan`, `natalie`, `nathan`, `noah`, `nyssa`, `oliver`, `paige`, `ryan`, `sadie`, `sophie`, `stella`, `terrence`, `tyler`, `vesper`, `violet`, `warrick`, `zain`, `zeke`, `zoe`
- string

### FallbackOpenAiVoiceVoiceId

This is the provider-specific ID that will be used. Voice availability depends on the selected model: voices offered only by GPT-Live are rejected for other models.

- Preset Voice Options: enum
  - Allowed values: `alloy`, `echo`, `fable`, `onyx`, `nova`, `shimmer`, `marin`, `cedar`, `ash`, `ballad`, `beacon`, `bossa`, `brise`, `cinder`, `coral`, `delta`, `flitz`, `gleam`, `harema`, `juni`, `meridian`, `nira`, `noeul`, `nuri`, `quartz`, `ripple`, `sage`, `shida`, `sillage`, `stone`, `tempo`, `verse`, `vesper`, `willow`
- string

### FallbackPlayHtVoiceVoiceId

This is the provider-specific ID that will be used.

- Preset Voice Options: enum
  - Allowed values: `jennifer`, `melissa`, `will`, `chris`, `matt`, `jack`, `ruby`, `davis`, `donna`, `michael`
- string

### FallbackRimeAiVoiceVoiceId

This is the provider-specific ID that will be used.

- Suggested Voice Options: enum
  - Allowed values: `cove`, `moon`, `wildflower`, `eva`, `amber`, `maya`, `lagoon`, `breeze`, `helen`, `joy`, `marsh`, `creek`, `cedar`, `alpine`, `summit`, `nicholas`, `tyler`, `colin`, `hank`, `thunder`, `astra`, `eucalyptus`, `moraine`, `peak`, `tundra`, `mesa_extra`, `talon`, `marlu`, `glacier`, `falcon`, `luna`, `celeste`, `estelle`, `andromeda`, `esther`, `lyra`, `lintel`, `oculus`, `vespera`, `transom`, `bond`, `arcade`, `atrium`, `cupola`, `fern`, `sirius`, `orion`, `masonry`, `albion`, `parapet`, `clementine`, `walnut`, `eyre`, `bancroft`, `hesse`, `beatty`, `godfrey`
- string

### FallbackSmallestAiVoiceVoiceId

This is the provider-specific ID that will be used.

- Preset Voice Options: enum
  - Allowed values: `emily`, `jasmine`, `arman`, `james`, `mithali`, `aravind`, `raj`, `diya`, `raman`, `ananya`, `isha`, `william`, `aarav`, `monika`, `niharika`, `deepika`, `raghav`, `kajal`, `radhika`, `mansi`, `nisha`, `saurabh`, `pooja`, `saina`, `sanya`
- string

### FallbackNeuphonicVoiceVoiceId

This is the provider-specific ID that will be used.

- string
- string

### FallbackNeuphonicVoiceLanguage

This is the language (ISO 639-1) that is enforced for the model.

### SayHookActionPromptOneOf1Items

- SystemMessage: SystemMessage
- UserMessage: UserMessage
- AssistantMessage: AssistantMessage
- ToolMessage: ToolMessage
- DeveloperMessage: DeveloperMessage

## Examples

**Request**

```json
{
  "message": {
    "type": "assistant-request"
  }
}
```

**Response**

```json
{
  "messageResponse": {
    "assistant": {
      "analysisPlan": {
        "minMessagesThreshold": 1.1,
        "outcomeIds": [
          "string"
        ],
        "structuredDataMultiPlan": [
          {
            "key": "string",
            "plan": {
              "enabled": true,
              "messages": [
                {}
              ],
              "schema": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": "string",
                        "enum": [
                          "string"
                        ],
                        "format": "date-time",
                        "items": {
                          "description": {},
                          "enum": {},
                          "format": {},
                          "items": {},
                          "pattern": {},
                          "properties": {},
                          "required": {},
                          "title": {},
                          "type": {}
                        },
                        "pattern": "string",
                        "properties": {},
                        "required": [
                          "string"
                        ],
                        "title": "string",
                        "type": "string"
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              },
              "timeoutSeconds": 1.1
            }
          }
        ],
        "structuredDataPlan": {
          "enabled": true,
          "messages": [
            {}
          ],
          "schema": {
            "description": "string",
            "enum": [
              "string"
            ],
            "format": "date-time",
            "items": {
              "description": "string",
              "enum": [
                "string"
              ],
              "format": "date-time",
              "items": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": {},
                        "enum": {},
                        "format": {},
                        "items": {},
                        "pattern": {},
                        "properties": {},
                        "required": {},
                        "title": {},
                        "type": {}
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              },
              "pattern": "string",
              "properties": {},
              "required": [
                "string"
              ],
              "title": "string",
              "type": "string"
            },
            "pattern": "string",
            "properties": {},
            "required": [
              "string"
            ],
            "title": "string",
            "type": "string"
          },
          "timeoutSeconds": 1.1
        },
        "successEvaluationPlan": {
          "enabled": true,
          "messages": [
            {}
          ],
          "rubric": "NumericScale",
          "timeoutSeconds": 1.1
        },
        "summaryPlan": {
          "enabled": true,
          "messages": [
            {}
          ],
          "timeoutSeconds": 1.1
        }
      },
      "artifactPlan": {
        "fullMessageHistoryEnabled": false,
        "loggingEnabled": true,
        "loggingPath": "string",
        "loggingUseCustomStorageEnabled": true,
        "pcapEnabled": true,
        "pcapS3PathPrefix": "/pcaps",
        "pcapUseCustomStorageEnabled": true,
        "recordingEnabled": true,
        "recordingFormat": "wav;l16",
        "recordingPath": "string",
        "recordingUseCustomStorageEnabled": true,
        "scorecardIds": [
          "string"
        ],
        "scorecards": [
          {
            "assistantIds": [
              "string"
            ],
            "description": "string",
            "metrics": [
              {
                "conditions": [
                  {
                    "comparator": "=",
                    "points": 1.1,
                    "type": "comparator",
                    "value": 1.1
                  }
                ],
                "structuredOutputId": "string"
              }
            ],
            "name": "string"
          }
        ],
        "structuredOutputIds": [
          "string"
        ],
        "structuredOutputs": [
          {
            "assistantIds": [
              "string"
            ],
            "compliancePlan": {
              "forceStoreOnHipaaEnabled": false
            },
            "conditions": [
              {
                "count": 4,
                "type": "minMessages"
              },
              {
                "seconds": 10,
                "type": "minCallDuration"
              }
            ],
            "description": "string",
            "model": {
              "maxTokens": 5030,
              "messages": [
                {
                  "content": "string",
                  "role": "assistant"
                }
              ],
              "model": "gpt-6-luna",
              "provider": "openai",
              "reasoningEffort": "minimal",
              "temperature": 1.1
            },
            "name": "string",
            "regex": "string",
            "schema": {
              "description": "string",
              "enum": [
                "string"
              ],
              "format": "date-time",
              "items": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": "string",
                        "enum": [
                          "string"
                        ],
                        "format": "date-time",
                        "items": {
                          "description": {},
                          "enum": {},
                          "format": {},
                          "items": {},
                          "pattern": {},
                          "properties": {},
                          "required": {},
                          "title": {},
                          "type": {}
                        },
                        "pattern": "string",
                        "properties": {},
                        "required": [
                          "string"
                        ],
                        "title": "string",
                        "type": "string"
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              },
              "pattern": "string",
              "properties": {},
              "required": [
                "string"
              ],
              "title": "string",
              "type": "string"
            },
            "type": "ai",
            "workflowIds": [
              "string"
            ]
          }
        ],
        "transcriptPlan": {
          "assistantName": "string",
          "enabled": true,
          "userName": "string"
        },
        "videoRecordingEnabled": false
      },
      "backgroundSound": "off",
      "backgroundSpeechDenoisingPlan": {
        "fourierDenoisingPlan": {
          "baselineOffsetDb": -15,
          "baselinePercentile": 85,
          "enabled": false,
          "mediaDetectionEnabled": true,
          "staticThreshold": -35,
          "windowSizeMs": 3000
        },
        "smartDenoisingPlan": {
          "enabled": true
        }
      },
      "clientMessages": "conversation-update",
      "compliancePlan": {
        "hipaaEnabled": true,
        "pciEnabled": {
          "pciEnabled": false
        },
        "recordingConsentPlan": {
          "firstMessageMode": "assistant-speaks-first",
          "message": "For quality purposes, this call may be recorded. Please stay on the line if you agree or end the call if you do not consent.",
          "type": "stay-on-line",
          "voice": {
            "cachingEnabled": true,
            "chunkPlan": {
              "enabled": true,
              "formatPlan": {
                "enabled": true,
                "formattersEnabled": "markdown",
                "numberToDigitsCutoff": 2025,
                "replacements": [
                  {
                    "key": {},
                    "replaceAllEnabled": {},
                    "type": {},
                    "value": {}
                  }
                ]
              },
              "minCharacters": 30,
              "punctuationBoundaries": "。"
            },
            "fallbackPlan": {
              "voices": [
                {
                  "cachingEnabled": true,
                  "chunkPlan": {
                    "enabled": true,
                    "formatPlan": {},
                    "minCharacters": 30,
                    "punctuationBoundaries": [
                      "。",
                      "，",
                      ".",
                      "!",
                      "?",
                      ";",
                      "،",
                      "۔",
                      "।",
                      "॥",
                      "|",
                      "||",
                      ",",
                      ":"
                    ]
                  },
                  "provider": "azure",
                  "speed": 1.1,
                  "voiceId": "andrew"
                }
              ]
            },
            "provider": "azure",
            "speed": 1.1,
            "voiceId": "andrew"
          },
          "waitSeconds": 3
        },
        "securityFilterPlan": {
          "enabled": false,
          "filters": [
            {}
          ],
          "mode": "sanitize",
          "replacementText": "[FILTERED]"
        }
      },
      "credentialIds": [
        "string"
      ],
      "credentials": [
        {
          "apiKey": "string",
          "name": "string",
          "provider": "anthropic"
        }
      ],
      "endCallMessage": "string",
      "endCallPhrases": [
        "string"
      ],
      "firstMessage": "Hello! How can I help you today?",
      "firstMessageInterruptionsEnabled": false,
      "firstMessageMode": "assistant-speaks-first",
      "hooks": [
        {
          "do": [
            {
              "tool": {
                "backoffPlan": {
                  "baseDelaySeconds": 1,
                  "excludedStatusCodes": [
                    400,
                    401,
                    403,
                    404
                  ],
                  "maxRetries": 0,
                  "type": "fixed"
                },
                "body": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": {},
                      "enum": {},
                      "format": {},
                      "items": {},
                      "pattern": {},
                      "properties": {},
                      "required": {},
                      "title": {},
                      "type": {}
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "credentialId": "550e8400-e29b-41d4-a716-446655440000",
                "description": "string",
                "encryptedPaths": [
                  "string"
                ],
                "headers": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": {},
                      "enum": {},
                      "format": {},
                      "items": {},
                      "pattern": {},
                      "properties": {},
                      "required": {},
                      "title": {},
                      "type": {}
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "messages": [
                  {
                    "blocking": false,
                    "conditions": [
                      {
                        "operator": {},
                        "param": {},
                        "value": {}
                      }
                    ],
                    "content": "string",
                    "contents": [
                      {}
                    ],
                    "type": "request-start"
                  }
                ],
                "method": "POST",
                "name": "string",
                "parameters": [
                  {
                    "key": "string",
                    "value": {}
                  }
                ],
                "rejectionPlan": {
                  "conditions": [
                    {
                      "regex": "\\\\b(cancel|stop|wait)\\\\b - Matches whole words",
                      "type": "regex"
                    }
                  ]
                },
                "timeoutSeconds": 20,
                "type": "apiRequest",
                "url": "string",
                "variableExtractionPlan": {
                  "aliases": [
                    {
                      "key": "string",
                      "value": "string"
                    }
                  ],
                  "schema": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": {},
                      "enum": {},
                      "format": {},
                      "items": {},
                      "pattern": {},
                      "properties": {},
                      "required": {},
                      "title": {},
                      "type": {}
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  }
                }
              },
              "toolId": "string",
              "type": "tool"
            }
          ],
          "filters": [
            {
              "key": "string",
              "oneOf": [
                "string"
              ],
              "type": "oneOf"
            }
          ],
          "on": "call.ending"
        }
      ],
      "keypadInputPlan": {
        "delimiters": "#",
        "enabled": true,
        "timeoutSeconds": 1.1
      },
      "maxDurationSeconds": 600,
      "metadata": {},
      "model": {
        "emotionRecognitionEnabled": true,
        "knowledgeBase": {
          "provider": "custom-knowledge-base",
          "server": {
            "backoffPlan": {
              "baseDelaySeconds": 1,
              "excludedStatusCodes": [
                400,
                401,
                403,
                404
              ],
              "maxRetries": 0,
              "type": "fixed"
            },
            "credentialId": "550e8400-e29b-41d4-a716-446655440000",
            "encryptedPaths": [
              "string"
            ],
            "headers": {},
            "staticIpAddressesEnabled": false,
            "timeoutSeconds": 20,
            "url": "string"
          }
        },
        "maxTokens": 5030,
        "messages": [
          {
            "content": "string",
            "role": "assistant"
          }
        ],
        "model": "claude-3-opus-20240229",
        "numFastTurns": 1.1,
        "provider": "anthropic",
        "reasoningEffort": "none",
        "temperature": 1.1,
        "thinking": {
          "budgetTokens": 50500,
          "type": "enabled"
        },
        "toolIds": [
          "string"
        ],
        "toolRefs": [
          {
            "toolId": "string",
            "version": "string"
          }
        ],
        "tools": [
          {
            "backoffPlan": {
              "baseDelaySeconds": 1,
              "excludedStatusCodes": [
                400,
                401,
                403,
                404
              ],
              "maxRetries": 0,
              "type": "fixed"
            },
            "body": {
              "description": "string",
              "enum": [
                "string"
              ],
              "format": "date-time",
              "items": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": {},
                      "enum": {},
                      "format": {},
                      "items": {},
                      "pattern": {},
                      "properties": {},
                      "required": {},
                      "title": {},
                      "type": {}
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              },
              "pattern": "string",
              "properties": {},
              "required": [
                "string"
              ],
              "title": "string",
              "type": "string"
            },
            "credentialId": "550e8400-e29b-41d4-a716-446655440000",
            "description": "string",
            "encryptedPaths": [
              "string"
            ],
            "headers": {
              "description": "string",
              "enum": [
                "string"
              ],
              "format": "date-time",
              "items": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": {},
                      "enum": {},
                      "format": {},
                      "items": {},
                      "pattern": {},
                      "properties": {},
                      "required": {},
                      "title": {},
                      "type": {}
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              },
              "pattern": "string",
              "properties": {},
              "required": [
                "string"
              ],
              "title": "string",
              "type": "string"
            },
            "messages": [
              {
                "blocking": false,
                "conditions": [
                  {
                    "operator": "eq",
                    "param": "string",
                    "value": "string"
                  }
                ],
                "content": "string",
                "contents": [
                  {
                    "language": "aa",
                    "text": "string",
                    "type": "text"
                  }
                ],
                "type": "request-start"
              }
            ],
            "method": "POST",
            "name": "string",
            "parameters": [
              {
                "key": "string",
                "value": {}
              }
            ],
            "rejectionPlan": {
              "conditions": [
                {
                  "regex": "\\\\b(cancel|stop|wait)\\\\b - Matches whole words",
                  "type": "regex"
                }
              ]
            },
            "timeoutSeconds": 20,
            "type": "apiRequest",
            "url": "string",
            "variableExtractionPlan": {
              "aliases": [
                {
                  "key": "string",
                  "value": "string"
                }
              ],
              "schema": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": {},
                      "enum": {},
                      "format": {},
                      "items": {},
                      "pattern": {},
                      "properties": {},
                      "required": {},
                      "title": {},
                      "type": {}
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              }
            }
          }
        ]
      },
      "modelOutputInMessagesEnabled": false,
      "monitorPlan": {
        "controlAuthenticationEnabled": false,
        "controlEnabled": false,
        "listenAuthenticationEnabled": false,
        "listenEnabled": false,
        "monitorIds": [
          "123e4567-e89b-12d3-a456-426614174000"
        ]
      },
      "name": "string",
      "observabilityPlan": {
        "metadata": {},
        "promptName": "string",
        "promptVersion": 1.1,
        "provider": "langfuse",
        "tags": [
          "string"
        ],
        "traceName": "string"
      },
      "server": {
        "backoffPlan": {
          "baseDelaySeconds": 1,
          "excludedStatusCodes": [
            400,
            401,
            403,
            404
          ],
          "maxRetries": 0,
          "type": "fixed"
        },
        "credentialId": "550e8400-e29b-41d4-a716-446655440000",
        "encryptedPaths": [
          "string"
        ],
        "headers": {},
        "staticIpAddressesEnabled": false,
        "timeoutSeconds": 20,
        "url": "string"
      },
      "serverMessages": "assistant.started",
      "startSpeakingPlan": {
        "customEndpointingRules": [
          {
            "regex": "string",
            "regexOptions": [
              {
                "enabled": true,
                "type": "ignore-case"
              }
            ],
            "timeoutSeconds": 1.1,
            "type": "assistant"
          }
        ],
        "smartEndpointingEnabled": false,
        "smartEndpointingPlan": {
          "provider": "vapi"
        },
        "transcriptionEndpointingPlan": {
          "onNoPunctuationSeconds": 1.5,
          "onNumberSeconds": 0.5,
          "onPunctuationSeconds": 0.1
        },
        "waitSeconds": 0.4
      },
      "stopSpeakingPlan": {
        "acknowledgementPhrases": [
          "i understand",
          "i see",
          "i got it",
          "i hear you",
          "im listening",
          "im with you",
          "right",
          "okay",
          "ok",
          "sure",
          "alright",
          "got it",
          "understood",
          "yeah",
          "yes",
          "uh-huh",
          "mm-hmm",
          "gotcha",
          "mhmm",
          "ah",
          "yeah okay",
          "yeah sure"
        ],
        "backoffSeconds": 1,
        "interruptionPhrases": [
          "stop",
          "shut",
          "up",
          "enough",
          "quiet",
          "silence",
          "but",
          "dont",
          "not",
          "no",
          "hold",
          "wait",
          "cut",
          "pause",
          "nope",
          "nah",
          "nevermind",
          "never",
          "bad",
          "actually"
        ],
        "numWords": 0,
        "voiceSeconds": 0.2
      },
      "transcriber": {
        "agentContext": "string",
        "agentContextAutoUpdateEnabled": false,
        "confidenceThreshold": 0.4,
        "disablePartialTranscripts": true,
        "endOfTurnConfidenceThreshold": 0.7,
        "endUtteranceSilenceThreshold": 1.1,
        "fallbackPlan": {
          "transcribers": [
            {
              "agentContext": "string",
              "agentContextAutoUpdateEnabled": false,
              "confidenceThreshold": 0.4,
              "disablePartialTranscripts": true,
              "endOfTurnConfidenceThreshold": 0.7,
              "endUtteranceSilenceThreshold": 1.1,
              "formatTurns": true,
              "keytermsPrompt": [
                "string"
              ],
              "language": "multi",
              "languageCodes": [
                "en"
              ],
              "maxTurnSilence": 400,
              "minEndOfTurnSilenceWhenConfident": 160,
              "mode": "max_accuracy",
              "prompt": "string",
              "provider": "assembly-ai",
              "realtimeUrl": "string",
              "speechModel": "universal-streaming-english",
              "vadAssistedEndpointingEnabled": true,
              "wordBoost": [
                "string"
              ],
              "wordFinalizationMaxWaitTime": 160
            }
          ]
        },
        "formatTurns": true,
        "keytermsPrompt": [
          "string"
        ],
        "language": "multi",
        "languageCodes": [
          "en"
        ],
        "maxTurnSilence": 400,
        "minEndOfTurnSilenceWhenConfident": 160,
        "mode": "max_accuracy",
        "prompt": "string",
        "provider": "assembly-ai",
        "realtimeUrl": "string",
        "speechModel": "universal-streaming-english",
        "vadAssistedEndpointingEnabled": true,
        "wordBoost": [
          "string"
        ],
        "wordFinalizationMaxWaitTime": 160
      },
      "transportConfigurations": [
        {
          "provider": "twilio",
          "record": false,
          "recordingChannels": "mono",
          "timeout": 60
        }
      ],
      "voice": {
        "cachingEnabled": true,
        "chunkPlan": {
          "enabled": true,
          "formatPlan": {
            "enabled": true,
            "formattersEnabled": "markdown",
            "numberToDigitsCutoff": 2025,
            "replacements": [
              {
                "key": "string",
                "replaceAllEnabled": false,
                "type": "exact",
                "value": "string"
              }
            ]
          },
          "minCharacters": 30,
          "punctuationBoundaries": "。"
        },
        "fallbackPlan": {
          "voices": [
            {
              "cachingEnabled": true,
              "chunkPlan": {
                "enabled": true,
                "formatPlan": {
                  "enabled": true,
                  "formattersEnabled": "markdown",
                  "numberToDigitsCutoff": 2025,
                  "replacements": [
                    {
                      "key": {},
                      "replaceAllEnabled": {},
                      "type": {},
                      "value": {}
                    }
                  ]
                },
                "minCharacters": 30,
                "punctuationBoundaries": "。"
              },
              "provider": "azure",
              "speed": 1.1,
              "voiceId": "andrew"
            }
          ]
        },
        "provider": "azure",
        "speed": 1.1,
        "voiceId": "andrew"
      },
      "voicemailDetection": "off",
      "voicemailMessage": "string"
    },
    "assistantId": "string",
    "assistantOverrides": {
      "analysisPlan": {
        "minMessagesThreshold": 1.1,
        "outcomeIds": [
          "string"
        ],
        "structuredDataMultiPlan": [
          {
            "key": "string",
            "plan": {
              "enabled": true,
              "messages": [
                {}
              ],
              "schema": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": "string",
                        "enum": [
                          "string"
                        ],
                        "format": "date-time",
                        "items": {
                          "description": {},
                          "enum": {},
                          "format": {},
                          "items": {},
                          "pattern": {},
                          "properties": {},
                          "required": {},
                          "title": {},
                          "type": {}
                        },
                        "pattern": "string",
                        "properties": {},
                        "required": [
                          "string"
                        ],
                        "title": "string",
                        "type": "string"
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              },
              "timeoutSeconds": 1.1
            }
          }
        ],
        "structuredDataPlan": {
          "enabled": true,
          "messages": [
            {}
          ],
          "schema": {
            "description": "string",
            "enum": [
              "string"
            ],
            "format": "date-time",
            "items": {
              "description": "string",
              "enum": [
                "string"
              ],
              "format": "date-time",
              "items": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": {},
                        "enum": {},
                        "format": {},
                        "items": {},
                        "pattern": {},
                        "properties": {},
                        "required": {},
                        "title": {},
                        "type": {}
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              },
              "pattern": "string",
              "properties": {},
              "required": [
                "string"
              ],
              "title": "string",
              "type": "string"
            },
            "pattern": "string",
            "properties": {},
            "required": [
              "string"
            ],
            "title": "string",
            "type": "string"
          },
          "timeoutSeconds": 1.1
        },
        "successEvaluationPlan": {
          "enabled": true,
          "messages": [
            {}
          ],
          "rubric": "NumericScale",
          "timeoutSeconds": 1.1
        },
        "summaryPlan": {
          "enabled": true,
          "messages": [
            {}
          ],
          "timeoutSeconds": 1.1
        }
      },
      "artifactPlan": {
        "fullMessageHistoryEnabled": false,
        "loggingEnabled": true,
        "loggingPath": "string",
        "loggingUseCustomStorageEnabled": true,
        "pcapEnabled": true,
        "pcapS3PathPrefix": "/pcaps",
        "pcapUseCustomStorageEnabled": true,
        "recordingEnabled": true,
        "recordingFormat": "wav;l16",
        "recordingPath": "string",
        "recordingUseCustomStorageEnabled": true,
        "scorecardIds": [
          "string"
        ],
        "scorecards": [
          {
            "assistantIds": [
              "string"
            ],
            "description": "string",
            "metrics": [
              {
                "conditions": [
                  {
                    "comparator": "=",
                    "points": 1.1,
                    "type": "comparator",
                    "value": 1.1
                  }
                ],
                "structuredOutputId": "string"
              }
            ],
            "name": "string"
          }
        ],
        "structuredOutputIds": [
          "string"
        ],
        "structuredOutputs": [
          {
            "assistantIds": [
              "string"
            ],
            "compliancePlan": {
              "forceStoreOnHipaaEnabled": false
            },
            "conditions": [
              {
                "count": 4,
                "type": "minMessages"
              },
              {
                "seconds": 10,
                "type": "minCallDuration"
              }
            ],
            "description": "string",
            "model": {
              "maxTokens": 5030,
              "messages": [
                {
                  "content": "string",
                  "role": "assistant"
                }
              ],
              "model": "gpt-6-luna",
              "provider": "openai",
              "reasoningEffort": "minimal",
              "temperature": 1.1
            },
            "name": "string",
            "regex": "string",
            "schema": {
              "description": "string",
              "enum": [
                "string"
              ],
              "format": "date-time",
              "items": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": "string",
                        "enum": [
                          "string"
                        ],
                        "format": "date-time",
                        "items": {
                          "description": {},
                          "enum": {},
                          "format": {},
                          "items": {},
                          "pattern": {},
                          "properties": {},
                          "required": {},
                          "title": {},
                          "type": {}
                        },
                        "pattern": "string",
                        "properties": {},
                        "required": [
                          "string"
                        ],
                        "title": "string",
                        "type": "string"
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              },
              "pattern": "string",
              "properties": {},
              "required": [
                "string"
              ],
              "title": "string",
              "type": "string"
            },
            "type": "ai",
            "workflowIds": [
              "string"
            ]
          }
        ],
        "transcriptPlan": {
          "assistantName": "string",
          "enabled": true,
          "userName": "string"
        },
        "videoRecordingEnabled": false
      },
      "backgroundSound": "off",
      "backgroundSpeechDenoisingPlan": {
        "fourierDenoisingPlan": {
          "baselineOffsetDb": -15,
          "baselinePercentile": 85,
          "enabled": false,
          "mediaDetectionEnabled": true,
          "staticThreshold": -35,
          "windowSizeMs": 3000
        },
        "smartDenoisingPlan": {
          "enabled": true
        }
      },
      "clientMessages": "conversation-update",
      "compliancePlan": {
        "hipaaEnabled": true,
        "pciEnabled": {
          "pciEnabled": false
        },
        "recordingConsentPlan": {
          "firstMessageMode": "assistant-speaks-first",
          "message": "For quality purposes, this call may be recorded. Please stay on the line if you agree or end the call if you do not consent.",
          "type": "stay-on-line",
          "voice": {
            "cachingEnabled": true,
            "chunkPlan": {
              "enabled": true,
              "formatPlan": {
                "enabled": true,
                "formattersEnabled": "markdown",
                "numberToDigitsCutoff": 2025,
                "replacements": [
                  {
                    "key": {},
                    "replaceAllEnabled": {},
                    "type": {},
                    "value": {}
                  }
                ]
              },
              "minCharacters": 30,
              "punctuationBoundaries": "。"
            },
            "fallbackPlan": {
              "voices": [
                {
                  "cachingEnabled": true,
                  "chunkPlan": {
                    "enabled": true,
                    "formatPlan": {},
                    "minCharacters": 30,
                    "punctuationBoundaries": [
                      "。",
                      "，",
                      ".",
                      "!",
                      "?",
                      ";",
                      "،",
                      "۔",
                      "।",
                      "॥",
                      "|",
                      "||",
                      ",",
                      ":"
                    ]
                  },
                  "provider": "azure",
                  "speed": 1.1,
                  "voiceId": "andrew"
                }
              ]
            },
            "provider": "azure",
            "speed": 1.1,
            "voiceId": "andrew"
          },
          "waitSeconds": 3
        },
        "securityFilterPlan": {
          "enabled": false,
          "filters": [
            {}
          ],
          "mode": "sanitize",
          "replacementText": "[FILTERED]"
        }
      },
      "credentialIds": [
        "string"
      ],
      "credentials": [
        {
          "apiKey": "string",
          "name": "string",
          "provider": "anthropic"
        }
      ],
      "endCallMessage": "string",
      "endCallPhrases": [
        "string"
      ],
      "firstMessage": "Hello! How can I help you today?",
      "firstMessageInterruptionsEnabled": false,
      "firstMessageMode": "assistant-speaks-first",
      "hooks": [
        {
          "do": [
            {
              "tool": {
                "backoffPlan": {
                  "baseDelaySeconds": 1,
                  "excludedStatusCodes": [
                    400,
                    401,
                    403,
                    404
                  ],
                  "maxRetries": 0,
                  "type": "fixed"
                },
                "body": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": {},
                      "enum": {},
                      "format": {},
                      "items": {},
                      "pattern": {},
                      "properties": {},
                      "required": {},
                      "title": {},
                      "type": {}
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "credentialId": "550e8400-e29b-41d4-a716-446655440000",
                "description": "string",
                "encryptedPaths": [
                  "string"
                ],
                "headers": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": {},
                      "enum": {},
                      "format": {},
                      "items": {},
                      "pattern": {},
                      "properties": {},
                      "required": {},
                      "title": {},
                      "type": {}
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "messages": [
                  {
                    "blocking": false,
                    "conditions": [
                      {
                        "operator": {},
                        "param": {},
                        "value": {}
                      }
                    ],
                    "content": "string",
                    "contents": [
                      {}
                    ],
                    "type": "request-start"
                  }
                ],
                "method": "POST",
                "name": "string",
                "parameters": [
                  {
                    "key": "string",
                    "value": {}
                  }
                ],
                "rejectionPlan": {
                  "conditions": [
                    {
                      "regex": "\\\\b(cancel|stop|wait)\\\\b - Matches whole words",
                      "type": "regex"
                    }
                  ]
                },
                "timeoutSeconds": 20,
                "type": "apiRequest",
                "url": "string",
                "variableExtractionPlan": {
                  "aliases": [
                    {
                      "key": "string",
                      "value": "string"
                    }
                  ],
                  "schema": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": {},
                      "enum": {},
                      "format": {},
                      "items": {},
                      "pattern": {},
                      "properties": {},
                      "required": {},
                      "title": {},
                      "type": {}
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  }
                }
              },
              "toolId": "string",
              "type": "tool"
            }
          ],
          "filters": [
            {
              "key": "string",
              "oneOf": [
                "string"
              ],
              "type": "oneOf"
            }
          ],
          "on": "call.ending"
        }
      ],
      "keypadInputPlan": {
        "delimiters": "#",
        "enabled": true,
        "timeoutSeconds": 1.1
      },
      "maxDurationSeconds": 600,
      "metadata": {},
      "model": {
        "emotionRecognitionEnabled": true,
        "knowledgeBase": {
          "provider": "custom-knowledge-base",
          "server": {
            "backoffPlan": {
              "baseDelaySeconds": 1,
              "excludedStatusCodes": [
                400,
                401,
                403,
                404
              ],
              "maxRetries": 0,
              "type": "fixed"
            },
            "credentialId": "550e8400-e29b-41d4-a716-446655440000",
            "encryptedPaths": [
              "string"
            ],
            "headers": {},
            "staticIpAddressesEnabled": false,
            "timeoutSeconds": 20,
            "url": "string"
          }
        },
        "maxTokens": 5030,
        "messages": [
          {
            "content": "string",
            "role": "assistant"
          }
        ],
        "model": "claude-3-opus-20240229",
        "numFastTurns": 1.1,
        "provider": "anthropic",
        "reasoningEffort": "none",
        "temperature": 1.1,
        "thinking": {
          "budgetTokens": 50500,
          "type": "enabled"
        },
        "toolIds": [
          "string"
        ],
        "toolRefs": [
          {
            "toolId": "string",
            "version": "string"
          }
        ],
        "tools": [
          {
            "backoffPlan": {
              "baseDelaySeconds": 1,
              "excludedStatusCodes": [
                400,
                401,
                403,
                404
              ],
              "maxRetries": 0,
              "type": "fixed"
            },
            "body": {
              "description": "string",
              "enum": [
                "string"
              ],
              "format": "date-time",
              "items": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": {},
                      "enum": {},
                      "format": {},
                      "items": {},
                      "pattern": {},
                      "properties": {},
                      "required": {},
                      "title": {},
                      "type": {}
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              },
              "pattern": "string",
              "properties": {},
              "required": [
                "string"
              ],
              "title": "string",
              "type": "string"
            },
            "credentialId": "550e8400-e29b-41d4-a716-446655440000",
            "description": "string",
            "encryptedPaths": [
              "string"
            ],
            "headers": {
              "description": "string",
              "enum": [
                "string"
              ],
              "format": "date-time",
              "items": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": {},
                      "enum": {},
                      "format": {},
                      "items": {},
                      "pattern": {},
                      "properties": {},
                      "required": {},
                      "title": {},
                      "type": {}
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              },
              "pattern": "string",
              "properties": {},
              "required": [
                "string"
              ],
              "title": "string",
              "type": "string"
            },
            "messages": [
              {
                "blocking": false,
                "conditions": [
                  {
                    "operator": "eq",
                    "param": "string",
                    "value": "string"
                  }
                ],
                "content": "string",
                "contents": [
                  {
                    "language": "aa",
                    "text": "string",
                    "type": "text"
                  }
                ],
                "type": "request-start"
              }
            ],
            "method": "POST",
            "name": "string",
            "parameters": [
              {
                "key": "string",
                "value": {}
              }
            ],
            "rejectionPlan": {
              "conditions": [
                {
                  "regex": "\\\\b(cancel|stop|wait)\\\\b - Matches whole words",
                  "type": "regex"
                }
              ]
            },
            "timeoutSeconds": 20,
            "type": "apiRequest",
            "url": "string",
            "variableExtractionPlan": {
              "aliases": [
                {
                  "key": "string",
                  "value": "string"
                }
              ],
              "schema": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": {},
                      "enum": {},
                      "format": {},
                      "items": {},
                      "pattern": {},
                      "properties": {},
                      "required": {},
                      "title": {},
                      "type": {}
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              }
            }
          }
        ]
      },
      "modelOutputInMessagesEnabled": false,
      "monitorPlan": {
        "controlAuthenticationEnabled": false,
        "controlEnabled": false,
        "listenAuthenticationEnabled": false,
        "listenEnabled": false,
        "monitorIds": [
          "123e4567-e89b-12d3-a456-426614174000"
        ]
      },
      "name": "string",
      "observabilityPlan": {
        "metadata": {},
        "promptName": "string",
        "promptVersion": 1.1,
        "provider": "langfuse",
        "tags": [
          "string"
        ],
        "traceName": "string"
      },
      "server": {
        "backoffPlan": {
          "baseDelaySeconds": 1,
          "excludedStatusCodes": [
            400,
            401,
            403,
            404
          ],
          "maxRetries": 0,
          "type": "fixed"
        },
        "credentialId": "550e8400-e29b-41d4-a716-446655440000",
        "encryptedPaths": [
          "string"
        ],
        "headers": {},
        "staticIpAddressesEnabled": false,
        "timeoutSeconds": 20,
        "url": "string"
      },
      "serverMessages": "assistant.started",
      "startSpeakingPlan": {
        "customEndpointingRules": [
          {
            "regex": "string",
            "regexOptions": [
              {
                "enabled": true,
                "type": "ignore-case"
              }
            ],
            "timeoutSeconds": 1.1,
            "type": "assistant"
          }
        ],
        "smartEndpointingEnabled": false,
        "smartEndpointingPlan": {
          "provider": "vapi"
        },
        "transcriptionEndpointingPlan": {
          "onNoPunctuationSeconds": 1.5,
          "onNumberSeconds": 0.5,
          "onPunctuationSeconds": 0.1
        },
        "waitSeconds": 0.4
      },
      "stopSpeakingPlan": {
        "acknowledgementPhrases": [
          "i understand",
          "i see",
          "i got it",
          "i hear you",
          "im listening",
          "im with you",
          "right",
          "okay",
          "ok",
          "sure",
          "alright",
          "got it",
          "understood",
          "yeah",
          "yes",
          "uh-huh",
          "mm-hmm",
          "gotcha",
          "mhmm",
          "ah",
          "yeah okay",
          "yeah sure"
        ],
        "backoffSeconds": 1,
        "interruptionPhrases": [
          "stop",
          "shut",
          "up",
          "enough",
          "quiet",
          "silence",
          "but",
          "dont",
          "not",
          "no",
          "hold",
          "wait",
          "cut",
          "pause",
          "nope",
          "nah",
          "nevermind",
          "never",
          "bad",
          "actually"
        ],
        "numWords": 0,
        "voiceSeconds": 0.2
      },
      "tools:append": [
        {
          "backoffPlan": {
            "baseDelaySeconds": 1,
            "excludedStatusCodes": [
              400,
              401,
              403,
              404
            ],
            "maxRetries": 0,
            "type": "fixed"
          },
          "body": {
            "description": "string",
            "enum": [
              "string"
            ],
            "format": "date-time",
            "items": {
              "description": "string",
              "enum": [
                "string"
              ],
              "format": "date-time",
              "items": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": {},
                        "enum": {},
                        "format": {},
                        "items": {},
                        "pattern": {},
                        "properties": {},
                        "required": {},
                        "title": {},
                        "type": {}
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              },
              "pattern": "string",
              "properties": {},
              "required": [
                "string"
              ],
              "title": "string",
              "type": "string"
            },
            "pattern": "string",
            "properties": {},
            "required": [
              "string"
            ],
            "title": "string",
            "type": "string"
          },
          "credentialId": "550e8400-e29b-41d4-a716-446655440000",
          "description": "string",
          "encryptedPaths": [
            "string"
          ],
          "headers": {
            "description": "string",
            "enum": [
              "string"
            ],
            "format": "date-time",
            "items": {
              "description": "string",
              "enum": [
                "string"
              ],
              "format": "date-time",
              "items": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": {},
                        "enum": {},
                        "format": {},
                        "items": {},
                        "pattern": {},
                        "properties": {},
                        "required": {},
                        "title": {},
                        "type": {}
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              },
              "pattern": "string",
              "properties": {},
              "required": [
                "string"
              ],
              "title": "string",
              "type": "string"
            },
            "pattern": "string",
            "properties": {},
            "required": [
              "string"
            ],
            "title": "string",
            "type": "string"
          },
          "messages": [
            {
              "blocking": false,
              "conditions": [
                {
                  "operator": "eq",
                  "param": "string",
                  "value": "string"
                }
              ],
              "content": "string",
              "contents": [
                {
                  "language": "aa",
                  "text": "string",
                  "type": "text"
                }
              ],
              "type": "request-start"
            }
          ],
          "method": "POST",
          "name": "string",
          "parameters": [
            {
              "key": "string",
              "value": {}
            }
          ],
          "rejectionPlan": {
            "conditions": [
              {
                "regex": "\\\\b(cancel|stop|wait)\\\\b - Matches whole words",
                "type": "regex"
              }
            ]
          },
          "timeoutSeconds": 20,
          "type": "apiRequest",
          "url": "string",
          "variableExtractionPlan": {
            "aliases": [
              {
                "key": "string",
                "value": "string"
              }
            ],
            "schema": {
              "description": "string",
              "enum": [
                "string"
              ],
              "format": "date-time",
              "items": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": {},
                        "enum": {},
                        "format": {},
                        "items": {},
                        "pattern": {},
                        "properties": {},
                        "required": {},
                        "title": {},
                        "type": {}
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              },
              "pattern": "string",
              "properties": {},
              "required": [
                "string"
              ],
              "title": "string",
              "type": "string"
            }
          }
        }
      ],
      "transcriber": {
        "agentContext": "string",
        "agentContextAutoUpdateEnabled": false,
        "confidenceThreshold": 0.4,
        "disablePartialTranscripts": true,
        "endOfTurnConfidenceThreshold": 0.7,
        "endUtteranceSilenceThreshold": 1.1,
        "fallbackPlan": {
          "transcribers": [
            {
              "agentContext": "string",
              "agentContextAutoUpdateEnabled": false,
              "confidenceThreshold": 0.4,
              "disablePartialTranscripts": true,
              "endOfTurnConfidenceThreshold": 0.7,
              "endUtteranceSilenceThreshold": 1.1,
              "formatTurns": true,
              "keytermsPrompt": [
                "string"
              ],
              "language": "multi",
              "languageCodes": [
                "en"
              ],
              "maxTurnSilence": 400,
              "minEndOfTurnSilenceWhenConfident": 160,
              "mode": "max_accuracy",
              "prompt": "string",
              "provider": "assembly-ai",
              "realtimeUrl": "string",
              "speechModel": "universal-streaming-english",
              "vadAssistedEndpointingEnabled": true,
              "wordBoost": [
                "string"
              ],
              "wordFinalizationMaxWaitTime": 160
            }
          ]
        },
        "formatTurns": true,
        "keytermsPrompt": [
          "string"
        ],
        "language": "multi",
        "languageCodes": [
          "en"
        ],
        "maxTurnSilence": 400,
        "minEndOfTurnSilenceWhenConfident": 160,
        "mode": "max_accuracy",
        "prompt": "string",
        "provider": "assembly-ai",
        "realtimeUrl": "string",
        "speechModel": "universal-streaming-english",
        "vadAssistedEndpointingEnabled": true,
        "wordBoost": [
          "string"
        ],
        "wordFinalizationMaxWaitTime": 160
      },
      "transportConfigurations": [
        {
          "provider": "twilio",
          "record": false,
          "recordingChannels": "mono",
          "timeout": 60
        }
      ],
      "variableValues": {},
      "voice": {
        "cachingEnabled": true,
        "chunkPlan": {
          "enabled": true,
          "formatPlan": {
            "enabled": true,
            "formattersEnabled": "markdown",
            "numberToDigitsCutoff": 2025,
            "replacements": [
              {
                "key": "string",
                "replaceAllEnabled": false,
                "type": "exact",
                "value": "string"
              }
            ]
          },
          "minCharacters": 30,
          "punctuationBoundaries": "。"
        },
        "fallbackPlan": {
          "voices": [
            {
              "cachingEnabled": true,
              "chunkPlan": {
                "enabled": true,
                "formatPlan": {
                  "enabled": true,
                  "formattersEnabled": "markdown",
                  "numberToDigitsCutoff": 2025,
                  "replacements": [
                    {
                      "key": {},
                      "replaceAllEnabled": {},
                      "type": {},
                      "value": {}
                    }
                  ]
                },
                "minCharacters": 30,
                "punctuationBoundaries": "。"
              },
              "provider": "azure",
              "speed": 1.1,
              "voiceId": "andrew"
            }
          ]
        },
        "provider": "azure",
        "speed": 1.1,
        "voiceId": "andrew"
      },
      "voicemailDetection": "off",
      "voicemailMessage": "string"
    },
    "destination": {
      "callerId": "string",
      "description": "string",
      "extension": "string",
      "message": "string",
      "name": "string",
      "number": "string",
      "numberE164CheckEnabled": true,
      "transferPlan": {
        "contextEngineeringPlan": {
          "maxMessages": 1.1,
          "type": "lastNMessages"
        },
        "dialTimeout": 60,
        "fallbackPlan": {
          "endCallEnabled": true,
          "message": "string"
        },
        "holdAudioUrl": "string",
        "message": "string",
        "mode": "blind-transfer",
        "sipHeadersInReferToEnabled": true,
        "sipVerb": "refer",
        "summaryPlan": {
          "enabled": true,
          "messages": [
            {}
          ],
          "timeoutSeconds": 1.1
        },
        "timeout": 60,
        "transferCompleteAudioUrl": "string",
        "twiml": "string"
      },
      "type": "number"
    },
    "error": "string",
    "squad": {
      "members": [
        {
          "assistant": {
            "analysisPlan": {
              "minMessagesThreshold": 1.1,
              "outcomeIds": [
                "string"
              ],
              "structuredDataMultiPlan": [
                {
                  "key": "string",
                  "plan": {
                    "enabled": true,
                    "messages": [
                      {}
                    ],
                    "schema": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": "string",
                        "enum": [
                          "string"
                        ],
                        "format": "date-time",
                        "items": {
                          "description": "string",
                          "enum": [
                            "string"
                          ],
                          "format": "date-time",
                          "items": {
                            "description": {},
                            "enum": {},
                            "format": {},
                            "items": {},
                            "pattern": {},
                            "properties": {},
                            "required": {},
                            "title": {},
                            "type": {}
                          },
                          "pattern": "string",
                          "properties": {},
                          "required": [
                            "string"
                          ],
                          "title": "string",
                          "type": "string"
                        },
                        "pattern": "string",
                        "properties": {},
                        "required": [
                          "string"
                        ],
                        "title": "string",
                        "type": "string"
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "timeoutSeconds": 1.1
                  }
                }
              ],
              "structuredDataPlan": {
                "enabled": true,
                "messages": [
                  {}
                ],
                "schema": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": "string",
                        "enum": [
                          "string"
                        ],
                        "format": "date-time",
                        "items": {
                          "description": {},
                          "enum": {},
                          "format": {},
                          "items": {},
                          "pattern": {},
                          "properties": {},
                          "required": {},
                          "title": {},
                          "type": {}
                        },
                        "pattern": "string",
                        "properties": {},
                        "required": [
                          "string"
                        ],
                        "title": "string",
                        "type": "string"
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "timeoutSeconds": 1.1
              },
              "successEvaluationPlan": {
                "enabled": true,
                "messages": [
                  {}
                ],
                "rubric": "NumericScale",
                "timeoutSeconds": 1.1
              },
              "summaryPlan": {
                "enabled": true,
                "messages": [
                  {}
                ],
                "timeoutSeconds": 1.1
              }
            },
            "artifactPlan": {
              "fullMessageHistoryEnabled": false,
              "loggingEnabled": true,
              "loggingPath": "string",
              "loggingUseCustomStorageEnabled": true,
              "pcapEnabled": true,
              "pcapS3PathPrefix": "/pcaps",
              "pcapUseCustomStorageEnabled": true,
              "recordingEnabled": true,
              "recordingFormat": "wav;l16",
              "recordingPath": "string",
              "recordingUseCustomStorageEnabled": true,
              "scorecardIds": [
                "string"
              ],
              "scorecards": [
                {
                  "assistantIds": [
                    "string"
                  ],
                  "description": "string",
                  "metrics": [
                    {
                      "conditions": [
                        {
                          "comparator": "=",
                          "points": 1.1,
                          "type": "comparator",
                          "value": 1.1
                        }
                      ],
                      "structuredOutputId": "string"
                    }
                  ],
                  "name": "string"
                }
              ],
              "structuredOutputIds": [
                "string"
              ],
              "structuredOutputs": [
                {
                  "assistantIds": [
                    "string"
                  ],
                  "compliancePlan": {
                    "forceStoreOnHipaaEnabled": false
                  },
                  "conditions": [
                    {
                      "count": 4,
                      "type": "minMessages"
                    },
                    {
                      "seconds": 10,
                      "type": "minCallDuration"
                    }
                  ],
                  "description": "string",
                  "model": {
                    "maxTokens": 5030,
                    "messages": [
                      {
                        "content": "string",
                        "role": "assistant"
                      }
                    ],
                    "model": "gpt-6-luna",
                    "provider": "openai",
                    "reasoningEffort": "minimal",
                    "temperature": 1.1
                  },
                  "name": "string",
                  "regex": "string",
                  "schema": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": "string",
                        "enum": [
                          "string"
                        ],
                        "format": "date-time",
                        "items": {
                          "description": "string",
                          "enum": [
                            "string"
                          ],
                          "format": "date-time",
                          "items": {
                            "description": {},
                            "enum": {},
                            "format": {},
                            "items": {},
                            "pattern": {},
                            "properties": {},
                            "required": {},
                            "title": {},
                            "type": {}
                          },
                          "pattern": "string",
                          "properties": {},
                          "required": [
                            "string"
                          ],
                          "title": "string",
                          "type": "string"
                        },
                        "pattern": "string",
                        "properties": {},
                        "required": [
                          "string"
                        ],
                        "title": "string",
                        "type": "string"
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "type": "ai",
                  "workflowIds": [
                    "string"
                  ]
                }
              ],
              "transcriptPlan": {
                "assistantName": "string",
                "enabled": true,
                "userName": "string"
              },
              "videoRecordingEnabled": false
            },
            "backgroundSound": "off",
            "backgroundSpeechDenoisingPlan": {
              "fourierDenoisingPlan": {
                "baselineOffsetDb": -15,
                "baselinePercentile": 85,
                "enabled": false,
                "mediaDetectionEnabled": true,
                "staticThreshold": -35,
                "windowSizeMs": 3000
              },
              "smartDenoisingPlan": {
                "enabled": true
              }
            },
            "clientMessages": "conversation-update",
            "compliancePlan": {
              "hipaaEnabled": true,
              "pciEnabled": {
                "pciEnabled": false
              },
              "recordingConsentPlan": {
                "firstMessageMode": "assistant-speaks-first",
                "message": "For quality purposes, this call may be recorded. Please stay on the line if you agree or end the call if you do not consent.",
                "type": "stay-on-line",
                "voice": {
                  "cachingEnabled": true,
                  "chunkPlan": {
                    "enabled": true,
                    "formatPlan": {
                      "enabled": true,
                      "formattersEnabled": {},
                      "numberToDigitsCutoff": 2025,
                      "replacements": {}
                    },
                    "minCharacters": 30,
                    "punctuationBoundaries": "。"
                  },
                  "fallbackPlan": {
                    "voices": [
                      {}
                    ]
                  },
                  "provider": "azure",
                  "speed": 1.1,
                  "voiceId": "andrew"
                },
                "waitSeconds": 3
              },
              "securityFilterPlan": {
                "enabled": false,
                "filters": [
                  {}
                ],
                "mode": "sanitize",
                "replacementText": "[FILTERED]"
              }
            },
            "credentialIds": [
              "string"
            ],
            "credentials": [
              {
                "apiKey": "string",
                "name": "string",
                "provider": "anthropic"
              }
            ],
            "endCallMessage": "string",
            "endCallPhrases": [
              "string"
            ],
            "firstMessage": "Hello! How can I help you today?",
            "firstMessageInterruptionsEnabled": false,
            "firstMessageMode": "assistant-speaks-first",
            "hooks": [
              {
                "do": [
                  {
                    "tool": {
                      "backoffPlan": {
                        "baseDelaySeconds": 1,
                        "excludedStatusCodes": [
                          400,
                          401,
                          403,
                          404
                        ],
                        "maxRetries": 0,
                        "type": "fixed"
                      },
                      "body": {
                        "description": {},
                        "enum": {},
                        "format": {},
                        "items": {},
                        "pattern": {},
                        "properties": {},
                        "required": {},
                        "title": {},
                        "type": {}
                      },
                      "credentialId": "550e8400-e29b-41d4-a716-446655440000",
                      "description": "string",
                      "encryptedPaths": [
                        "string"
                      ],
                      "headers": {
                        "description": {},
                        "enum": {},
                        "format": {},
                        "items": {},
                        "pattern": {},
                        "properties": {},
                        "required": {},
                        "title": {},
                        "type": {}
                      },
                      "messages": [
                        {}
                      ],
                      "method": "POST",
                      "name": "string",
                      "parameters": [
                        {
                          "key": {},
                          "value": {}
                        }
                      ],
                      "rejectionPlan": {
                        "conditions": "[{ type: \"regex\", regex: \"(?i)\\\\b(cancel|stop)\\\\b\", target: { role: \"user\" } }]"
                      },
                      "timeoutSeconds": 20,
                      "type": "apiRequest",
                      "url": "string",
                      "variableExtractionPlan": {
                        "aliases": {},
                        "schema": {}
                      }
                    },
                    "toolId": "string",
                    "type": "tool"
                  }
                ],
                "filters": [
                  {
                    "key": "string",
                    "oneOf": [
                      "string"
                    ],
                    "type": "oneOf"
                  }
                ],
                "on": "call.ending"
              }
            ],
            "keypadInputPlan": {
              "delimiters": "#",
              "enabled": true,
              "timeoutSeconds": 1.1
            },
            "maxDurationSeconds": 600,
            "metadata": {},
            "model": {
              "emotionRecognitionEnabled": true,
              "knowledgeBase": {
                "provider": "custom-knowledge-base",
                "server": {
                  "backoffPlan": {
                    "baseDelaySeconds": 1,
                    "excludedStatusCodes": [
                      400,
                      401,
                      403,
                      404
                    ],
                    "maxRetries": 0,
                    "type": "fixed"
                  },
                  "credentialId": "550e8400-e29b-41d4-a716-446655440000",
                  "encryptedPaths": [
                    "string"
                  ],
                  "headers": {},
                  "staticIpAddressesEnabled": false,
                  "timeoutSeconds": 20,
                  "url": "string"
                }
              },
              "maxTokens": 5030,
              "messages": [
                {
                  "content": "string",
                  "role": "assistant"
                }
              ],
              "model": "claude-3-opus-20240229",
              "numFastTurns": 1.1,
              "provider": "anthropic",
              "reasoningEffort": "none",
              "temperature": 1.1,
              "thinking": {
                "budgetTokens": 50500,
                "type": "enabled"
              },
              "toolIds": [
                "string"
              ],
              "toolRefs": [
                {
                  "toolId": "string",
                  "version": "string"
                }
              ],
              "tools": [
                {
                  "backoffPlan": {
                    "baseDelaySeconds": 1,
                    "excludedStatusCodes": [
                      400,
                      401,
                      403,
                      404
                    ],
                    "maxRetries": 0,
                    "type": "fixed"
                  },
                  "body": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": {},
                        "enum": {},
                        "format": {},
                        "items": {},
                        "pattern": {},
                        "properties": {},
                        "required": {},
                        "title": {},
                        "type": {}
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "credentialId": "550e8400-e29b-41d4-a716-446655440000",
                  "description": "string",
                  "encryptedPaths": [
                    "string"
                  ],
                  "headers": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": {},
                        "enum": {},
                        "format": {},
                        "items": {},
                        "pattern": {},
                        "properties": {},
                        "required": {},
                        "title": {},
                        "type": {}
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "messages": [
                    {
                      "blocking": false,
                      "conditions": [
                        {
                          "operator": {},
                          "param": {},
                          "value": {}
                        }
                      ],
                      "content": "string",
                      "contents": [
                        {}
                      ],
                      "type": "request-start"
                    }
                  ],
                  "method": "POST",
                  "name": "string",
                  "parameters": [
                    {
                      "key": "string",
                      "value": {}
                    }
                  ],
                  "rejectionPlan": {
                    "conditions": [
                      {
                        "regex": "\\\\b(cancel|stop|wait)\\\\b - Matches whole words",
                        "type": "regex"
                      }
                    ]
                  },
                  "timeoutSeconds": 20,
                  "type": "apiRequest",
                  "url": "string",
                  "variableExtractionPlan": {
                    "aliases": [
                      {
                        "key": "string",
                        "value": "string"
                      }
                    ],
                    "schema": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": {},
                        "enum": {},
                        "format": {},
                        "items": {},
                        "pattern": {},
                        "properties": {},
                        "required": {},
                        "title": {},
                        "type": {}
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    }
                  }
                }
              ]
            },
            "modelOutputInMessagesEnabled": false,
            "monitorPlan": {
              "controlAuthenticationEnabled": false,
              "controlEnabled": false,
              "listenAuthenticationEnabled": false,
              "listenEnabled": false,
              "monitorIds": [
                "123e4567-e89b-12d3-a456-426614174000"
              ]
            },
            "name": "string",
            "observabilityPlan": {
              "metadata": {},
              "promptName": "string",
              "promptVersion": 1.1,
              "provider": "langfuse",
              "tags": [
                "string"
              ],
              "traceName": "string"
            },
            "server": {
              "backoffPlan": {
                "baseDelaySeconds": 1,
                "excludedStatusCodes": [
                  400,
                  401,
                  403,
                  404
                ],
                "maxRetries": 0,
                "type": "fixed"
              },
              "credentialId": "550e8400-e29b-41d4-a716-446655440000",
              "encryptedPaths": [
                "string"
              ],
              "headers": {},
              "staticIpAddressesEnabled": false,
              "timeoutSeconds": 20,
              "url": "string"
            },
            "serverMessages": "assistant.started",
            "startSpeakingPlan": {
              "customEndpointingRules": [
                {
                  "regex": "string",
                  "regexOptions": [
                    {
                      "enabled": true,
                      "type": "ignore-case"
                    }
                  ],
                  "timeoutSeconds": 1.1,
                  "type": "assistant"
                }
              ],
              "smartEndpointingEnabled": false,
              "smartEndpointingPlan": {
                "provider": "vapi"
              },
              "transcriptionEndpointingPlan": {
                "onNoPunctuationSeconds": 1.5,
                "onNumberSeconds": 0.5,
                "onPunctuationSeconds": 0.1
              },
              "waitSeconds": 0.4
            },
            "stopSpeakingPlan": {
              "acknowledgementPhrases": [
                "i understand",
                "i see",
                "i got it",
                "i hear you",
                "im listening",
                "im with you",
                "right",
                "okay",
                "ok",
                "sure",
                "alright",
                "got it",
                "understood",
                "yeah",
                "yes",
                "uh-huh",
                "mm-hmm",
                "gotcha",
                "mhmm",
                "ah",
                "yeah okay",
                "yeah sure"
              ],
              "backoffSeconds": 1,
              "interruptionPhrases": [
                "stop",
                "shut",
                "up",
                "enough",
                "quiet",
                "silence",
                "but",
                "dont",
                "not",
                "no",
                "hold",
                "wait",
                "cut",
                "pause",
                "nope",
                "nah",
                "nevermind",
                "never",
                "bad",
                "actually"
              ],
              "numWords": 0,
              "voiceSeconds": 0.2
            },
            "transcriber": {
              "agentContext": "string",
              "agentContextAutoUpdateEnabled": false,
              "confidenceThreshold": 0.4,
              "disablePartialTranscripts": true,
              "endOfTurnConfidenceThreshold": 0.7,
              "endUtteranceSilenceThreshold": 1.1,
              "fallbackPlan": {
                "transcribers": [
                  {
                    "agentContext": "string",
                    "agentContextAutoUpdateEnabled": false,
                    "confidenceThreshold": 0.4,
                    "disablePartialTranscripts": true,
                    "endOfTurnConfidenceThreshold": 0.7,
                    "endUtteranceSilenceThreshold": 1.1,
                    "formatTurns": true,
                    "keytermsPrompt": [
                      "string"
                    ],
                    "language": "multi",
                    "languageCodes": [
                      "en"
                    ],
                    "maxTurnSilence": 400,
                    "minEndOfTurnSilenceWhenConfident": 160,
                    "mode": "max_accuracy",
                    "prompt": "string",
                    "provider": "assembly-ai",
                    "realtimeUrl": "string",
                    "speechModel": "universal-streaming-english",
                    "vadAssistedEndpointingEnabled": true,
                    "wordBoost": [
                      "string"
                    ],
                    "wordFinalizationMaxWaitTime": 160
                  }
                ]
              },
              "formatTurns": true,
              "keytermsPrompt": [
                "string"
              ],
              "language": "multi",
              "languageCodes": [
                "en"
              ],
              "maxTurnSilence": 400,
              "minEndOfTurnSilenceWhenConfident": 160,
              "mode": "max_accuracy",
              "prompt": "string",
              "provider": "assembly-ai",
              "realtimeUrl": "string",
              "speechModel": "universal-streaming-english",
              "vadAssistedEndpointingEnabled": true,
              "wordBoost": [
                "string"
              ],
              "wordFinalizationMaxWaitTime": 160
            },
            "transportConfigurations": [
              {
                "provider": "twilio",
                "record": false,
                "recordingChannels": "mono",
                "timeout": 60
              }
            ],
            "voice": {
              "cachingEnabled": true,
              "chunkPlan": {
                "enabled": true,
                "formatPlan": {
                  "enabled": true,
                  "formattersEnabled": "markdown",
                  "numberToDigitsCutoff": 2025,
                  "replacements": [
                    {
                      "key": "string",
                      "replaceAllEnabled": false,
                      "type": "exact",
                      "value": "string"
                    }
                  ]
                },
                "minCharacters": 30,
                "punctuationBoundaries": "。"
              },
              "fallbackPlan": {
                "voices": [
                  {
                    "cachingEnabled": true,
                    "chunkPlan": {
                      "enabled": true,
                      "formatPlan": {
                        "enabled": true,
                        "formattersEnabled": {},
                        "numberToDigitsCutoff": 2025,
                        "replacements": {}
                      },
                      "minCharacters": 30,
                      "punctuationBoundaries": "。"
                    },
                    "provider": "azure",
                    "speed": 1.1,
                    "voiceId": "andrew"
                  }
                ]
              },
              "provider": "azure",
              "speed": 1.1,
              "voiceId": "andrew"
            },
            "voicemailDetection": "off",
            "voicemailMessage": "string"
          },
          "assistantDestinations": [
            {
              "assistantName": "string",
              "description": "string",
              "message": "string",
              "name": "string",
              "transferMode": "rolling-history",
              "type": "assistant"
            }
          ],
          "assistantId": "string",
          "assistantOverrides": {
            "analysisPlan": {
              "minMessagesThreshold": 1.1,
              "outcomeIds": [
                "string"
              ],
              "structuredDataMultiPlan": [
                {
                  "key": "string",
                  "plan": {
                    "enabled": true,
                    "messages": [
                      {}
                    ],
                    "schema": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": "string",
                        "enum": [
                          "string"
                        ],
                        "format": "date-time",
                        "items": {
                          "description": "string",
                          "enum": [
                            "string"
                          ],
                          "format": "date-time",
                          "items": {
                            "description": {},
                            "enum": {},
                            "format": {},
                            "items": {},
                            "pattern": {},
                            "properties": {},
                            "required": {},
                            "title": {},
                            "type": {}
                          },
                          "pattern": "string",
                          "properties": {},
                          "required": [
                            "string"
                          ],
                          "title": "string",
                          "type": "string"
                        },
                        "pattern": "string",
                        "properties": {},
                        "required": [
                          "string"
                        ],
                        "title": "string",
                        "type": "string"
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "timeoutSeconds": 1.1
                  }
                }
              ],
              "structuredDataPlan": {
                "enabled": true,
                "messages": [
                  {}
                ],
                "schema": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": "string",
                        "enum": [
                          "string"
                        ],
                        "format": "date-time",
                        "items": {
                          "description": {},
                          "enum": {},
                          "format": {},
                          "items": {},
                          "pattern": {},
                          "properties": {},
                          "required": {},
                          "title": {},
                          "type": {}
                        },
                        "pattern": "string",
                        "properties": {},
                        "required": [
                          "string"
                        ],
                        "title": "string",
                        "type": "string"
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "timeoutSeconds": 1.1
              },
              "successEvaluationPlan": {
                "enabled": true,
                "messages": [
                  {}
                ],
                "rubric": "NumericScale",
                "timeoutSeconds": 1.1
              },
              "summaryPlan": {
                "enabled": true,
                "messages": [
                  {}
                ],
                "timeoutSeconds": 1.1
              }
            },
            "artifactPlan": {
              "fullMessageHistoryEnabled": false,
              "loggingEnabled": true,
              "loggingPath": "string",
              "loggingUseCustomStorageEnabled": true,
              "pcapEnabled": true,
              "pcapS3PathPrefix": "/pcaps",
              "pcapUseCustomStorageEnabled": true,
              "recordingEnabled": true,
              "recordingFormat": "wav;l16",
              "recordingPath": "string",
              "recordingUseCustomStorageEnabled": true,
              "scorecardIds": [
                "string"
              ],
              "scorecards": [
                {
                  "assistantIds": [
                    "string"
                  ],
                  "description": "string",
                  "metrics": [
                    {
                      "conditions": [
                        {
                          "comparator": "=",
                          "points": 1.1,
                          "type": "comparator",
                          "value": 1.1
                        }
                      ],
                      "structuredOutputId": "string"
                    }
                  ],
                  "name": "string"
                }
              ],
              "structuredOutputIds": [
                "string"
              ],
              "structuredOutputs": [
                {
                  "assistantIds": [
                    "string"
                  ],
                  "compliancePlan": {
                    "forceStoreOnHipaaEnabled": false
                  },
                  "conditions": [
                    {
                      "count": 4,
                      "type": "minMessages"
                    },
                    {
                      "seconds": 10,
                      "type": "minCallDuration"
                    }
                  ],
                  "description": "string",
                  "model": {
                    "maxTokens": 5030,
                    "messages": [
                      {
                        "content": "string",
                        "role": "assistant"
                      }
                    ],
                    "model": "gpt-6-luna",
                    "provider": "openai",
                    "reasoningEffort": "minimal",
                    "temperature": 1.1
                  },
                  "name": "string",
                  "regex": "string",
                  "schema": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": "string",
                        "enum": [
                          "string"
                        ],
                        "format": "date-time",
                        "items": {
                          "description": "string",
                          "enum": [
                            "string"
                          ],
                          "format": "date-time",
                          "items": {
                            "description": {},
                            "enum": {},
                            "format": {},
                            "items": {},
                            "pattern": {},
                            "properties": {},
                            "required": {},
                            "title": {},
                            "type": {}
                          },
                          "pattern": "string",
                          "properties": {},
                          "required": [
                            "string"
                          ],
                          "title": "string",
                          "type": "string"
                        },
                        "pattern": "string",
                        "properties": {},
                        "required": [
                          "string"
                        ],
                        "title": "string",
                        "type": "string"
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "type": "ai",
                  "workflowIds": [
                    "string"
                  ]
                }
              ],
              "transcriptPlan": {
                "assistantName": "string",
                "enabled": true,
                "userName": "string"
              },
              "videoRecordingEnabled": false
            },
            "backgroundSound": "off",
            "backgroundSpeechDenoisingPlan": {
              "fourierDenoisingPlan": {
                "baselineOffsetDb": -15,
                "baselinePercentile": 85,
                "enabled": false,
                "mediaDetectionEnabled": true,
                "staticThreshold": -35,
                "windowSizeMs": 3000
              },
              "smartDenoisingPlan": {
                "enabled": true
              }
            },
            "clientMessages": "conversation-update",
            "compliancePlan": {
              "hipaaEnabled": true,
              "pciEnabled": {
                "pciEnabled": false
              },
              "recordingConsentPlan": {
                "firstMessageMode": "assistant-speaks-first",
                "message": "For quality purposes, this call may be recorded. Please stay on the line if you agree or end the call if you do not consent.",
                "type": "stay-on-line",
                "voice": {
                  "cachingEnabled": true,
                  "chunkPlan": {
                    "enabled": true,
                    "formatPlan": {
                      "enabled": true,
                      "formattersEnabled": {},
                      "numberToDigitsCutoff": 2025,
                      "replacements": {}
                    },
                    "minCharacters": 30,
                    "punctuationBoundaries": "。"
                  },
                  "fallbackPlan": {
                    "voices": [
                      {}
                    ]
                  },
                  "provider": "azure",
                  "speed": 1.1,
                  "voiceId": "andrew"
                },
                "waitSeconds": 3
              },
              "securityFilterPlan": {
                "enabled": false,
                "filters": [
                  {}
                ],
                "mode": "sanitize",
                "replacementText": "[FILTERED]"
              }
            },
            "credentialIds": [
              "string"
            ],
            "credentials": [
              {
                "apiKey": "string",
                "name": "string",
                "provider": "anthropic"
              }
            ],
            "endCallMessage": "string",
            "endCallPhrases": [
              "string"
            ],
            "firstMessage": "Hello! How can I help you today?",
            "firstMessageInterruptionsEnabled": false,
            "firstMessageMode": "assistant-speaks-first",
            "hooks": [
              {
                "do": [
                  {
                    "tool": {
                      "backoffPlan": {
                        "baseDelaySeconds": 1,
                        "excludedStatusCodes": [
                          400,
                          401,
                          403,
                          404
                        ],
                        "maxRetries": 0,
                        "type": "fixed"
                      },
                      "body": {
                        "description": {},
                        "enum": {},
                        "format": {},
                        "items": {},
                        "pattern": {},
                        "properties": {},
                        "required": {},
                        "title": {},
                        "type": {}
                      },
                      "credentialId": "550e8400-e29b-41d4-a716-446655440000",
                      "description": "string",
                      "encryptedPaths": [
                        "string"
                      ],
                      "headers": {
                        "description": {},
                        "enum": {},
                        "format": {},
                        "items": {},
                        "pattern": {},
                        "properties": {},
                        "required": {},
                        "title": {},
                        "type": {}
                      },
                      "messages": [
                        {}
                      ],
                      "method": "POST",
                      "name": "string",
                      "parameters": [
                        {
                          "key": {},
                          "value": {}
                        }
                      ],
                      "rejectionPlan": {
                        "conditions": "[{ type: \"regex\", regex: \"(?i)\\\\b(cancel|stop)\\\\b\", target: { role: \"user\" } }]"
                      },
                      "timeoutSeconds": 20,
                      "type": "apiRequest",
                      "url": "string",
                      "variableExtractionPlan": {
                        "aliases": {},
                        "schema": {}
                      }
                    },
                    "toolId": "string",
                    "type": "tool"
                  }
                ],
                "filters": [
                  {
                    "key": "string",
                    "oneOf": [
                      "string"
                    ],
                    "type": "oneOf"
                  }
                ],
                "on": "call.ending"
              }
            ],
            "keypadInputPlan": {
              "delimiters": "#",
              "enabled": true,
              "timeoutSeconds": 1.1
            },
            "maxDurationSeconds": 600,
            "metadata": {},
            "model": {
              "emotionRecognitionEnabled": true,
              "knowledgeBase": {
                "provider": "custom-knowledge-base",
                "server": {
                  "backoffPlan": {
                    "baseDelaySeconds": 1,
                    "excludedStatusCodes": [
                      400,
                      401,
                      403,
                      404
                    ],
                    "maxRetries": 0,
                    "type": "fixed"
                  },
                  "credentialId": "550e8400-e29b-41d4-a716-446655440000",
                  "encryptedPaths": [
                    "string"
                  ],
                  "headers": {},
                  "staticIpAddressesEnabled": false,
                  "timeoutSeconds": 20,
                  "url": "string"
                }
              },
              "maxTokens": 5030,
              "messages": [
                {
                  "content": "string",
                  "role": "assistant"
                }
              ],
              "model": "claude-3-opus-20240229",
              "numFastTurns": 1.1,
              "provider": "anthropic",
              "reasoningEffort": "none",
              "temperature": 1.1,
              "thinking": {
                "budgetTokens": 50500,
                "type": "enabled"
              },
              "toolIds": [
                "string"
              ],
              "toolRefs": [
                {
                  "toolId": "string",
                  "version": "string"
                }
              ],
              "tools": [
                {
                  "backoffPlan": {
                    "baseDelaySeconds": 1,
                    "excludedStatusCodes": [
                      400,
                      401,
                      403,
                      404
                    ],
                    "maxRetries": 0,
                    "type": "fixed"
                  },
                  "body": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": {},
                        "enum": {},
                        "format": {},
                        "items": {},
                        "pattern": {},
                        "properties": {},
                        "required": {},
                        "title": {},
                        "type": {}
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "credentialId": "550e8400-e29b-41d4-a716-446655440000",
                  "description": "string",
                  "encryptedPaths": [
                    "string"
                  ],
                  "headers": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": {},
                        "enum": {},
                        "format": {},
                        "items": {},
                        "pattern": {},
                        "properties": {},
                        "required": {},
                        "title": {},
                        "type": {}
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "messages": [
                    {
                      "blocking": false,
                      "conditions": [
                        {
                          "operator": {},
                          "param": {},
                          "value": {}
                        }
                      ],
                      "content": "string",
                      "contents": [
                        {}
                      ],
                      "type": "request-start"
                    }
                  ],
                  "method": "POST",
                  "name": "string",
                  "parameters": [
                    {
                      "key": "string",
                      "value": {}
                    }
                  ],
                  "rejectionPlan": {
                    "conditions": [
                      {
                        "regex": "\\\\b(cancel|stop|wait)\\\\b - Matches whole words",
                        "type": "regex"
                      }
                    ]
                  },
                  "timeoutSeconds": 20,
                  "type": "apiRequest",
                  "url": "string",
                  "variableExtractionPlan": {
                    "aliases": [
                      {
                        "key": "string",
                        "value": "string"
                      }
                    ],
                    "schema": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": {},
                        "enum": {},
                        "format": {},
                        "items": {},
                        "pattern": {},
                        "properties": {},
                        "required": {},
                        "title": {},
                        "type": {}
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    }
                  }
                }
              ]
            },
            "modelOutputInMessagesEnabled": false,
            "monitorPlan": {
              "controlAuthenticationEnabled": false,
              "controlEnabled": false,
              "listenAuthenticationEnabled": false,
              "listenEnabled": false,
              "monitorIds": [
                "123e4567-e89b-12d3-a456-426614174000"
              ]
            },
            "name": "string",
            "observabilityPlan": {
              "metadata": {},
              "promptName": "string",
              "promptVersion": 1.1,
              "provider": "langfuse",
              "tags": [
                "string"
              ],
              "traceName": "string"
            },
            "server": {
              "backoffPlan": {
                "baseDelaySeconds": 1,
                "excludedStatusCodes": [
                  400,
                  401,
                  403,
                  404
                ],
                "maxRetries": 0,
                "type": "fixed"
              },
              "credentialId": "550e8400-e29b-41d4-a716-446655440000",
              "encryptedPaths": [
                "string"
              ],
              "headers": {},
              "staticIpAddressesEnabled": false,
              "timeoutSeconds": 20,
              "url": "string"
            },
            "serverMessages": "assistant.started",
            "startSpeakingPlan": {
              "customEndpointingRules": [
                {
                  "regex": "string",
                  "regexOptions": [
                    {
                      "enabled": true,
                      "type": "ignore-case"
                    }
                  ],
                  "timeoutSeconds": 1.1,
                  "type": "assistant"
                }
              ],
              "smartEndpointingEnabled": false,
              "smartEndpointingPlan": {
                "provider": "vapi"
              },
              "transcriptionEndpointingPlan": {
                "onNoPunctuationSeconds": 1.5,
                "onNumberSeconds": 0.5,
                "onPunctuationSeconds": 0.1
              },
              "waitSeconds": 0.4
            },
            "stopSpeakingPlan": {
              "acknowledgementPhrases": [
                "i understand",
                "i see",
                "i got it",
                "i hear you",
                "im listening",
                "im with you",
                "right",
                "okay",
                "ok",
                "sure",
                "alright",
                "got it",
                "understood",
                "yeah",
                "yes",
                "uh-huh",
                "mm-hmm",
                "gotcha",
                "mhmm",
                "ah",
                "yeah okay",
                "yeah sure"
              ],
              "backoffSeconds": 1,
              "interruptionPhrases": [
                "stop",
                "shut",
                "up",
                "enough",
                "quiet",
                "silence",
                "but",
                "dont",
                "not",
                "no",
                "hold",
                "wait",
                "cut",
                "pause",
                "nope",
                "nah",
                "nevermind",
                "never",
                "bad",
                "actually"
              ],
              "numWords": 0,
              "voiceSeconds": 0.2
            },
            "tools:append": [
              {
                "backoffPlan": {
                  "baseDelaySeconds": 1,
                  "excludedStatusCodes": [
                    400,
                    401,
                    403,
                    404
                  ],
                  "maxRetries": 0,
                  "type": "fixed"
                },
                "body": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": "string",
                        "enum": [
                          "string"
                        ],
                        "format": "date-time",
                        "items": {
                          "description": {},
                          "enum": {},
                          "format": {},
                          "items": {},
                          "pattern": {},
                          "properties": {},
                          "required": {},
                          "title": {},
                          "type": {}
                        },
                        "pattern": "string",
                        "properties": {},
                        "required": [
                          "string"
                        ],
                        "title": "string",
                        "type": "string"
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "credentialId": "550e8400-e29b-41d4-a716-446655440000",
                "description": "string",
                "encryptedPaths": [
                  "string"
                ],
                "headers": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": "string",
                        "enum": [
                          "string"
                        ],
                        "format": "date-time",
                        "items": {
                          "description": {},
                          "enum": {},
                          "format": {},
                          "items": {},
                          "pattern": {},
                          "properties": {},
                          "required": {},
                          "title": {},
                          "type": {}
                        },
                        "pattern": "string",
                        "properties": {},
                        "required": [
                          "string"
                        ],
                        "title": "string",
                        "type": "string"
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "messages": [
                  {
                    "blocking": false,
                    "conditions": [
                      {
                        "operator": "eq",
                        "param": "string",
                        "value": "string"
                      }
                    ],
                    "content": "string",
                    "contents": [
                      {
                        "language": "aa",
                        "text": "string",
                        "type": "text"
                      }
                    ],
                    "type": "request-start"
                  }
                ],
                "method": "POST",
                "name": "string",
                "parameters": [
                  {
                    "key": "string",
                    "value": {}
                  }
                ],
                "rejectionPlan": {
                  "conditions": [
                    {
                      "regex": "\\\\b(cancel|stop|wait)\\\\b - Matches whole words",
                      "type": "regex"
                    }
                  ]
                },
                "timeoutSeconds": 20,
                "type": "apiRequest",
                "url": "string",
                "variableExtractionPlan": {
                  "aliases": [
                    {
                      "key": "string",
                      "value": "string"
                    }
                  ],
                  "schema": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": "string",
                        "enum": [
                          "string"
                        ],
                        "format": "date-time",
                        "items": {
                          "description": {},
                          "enum": {},
                          "format": {},
                          "items": {},
                          "pattern": {},
                          "properties": {},
                          "required": {},
                          "title": {},
                          "type": {}
                        },
                        "pattern": "string",
                        "properties": {},
                        "required": [
                          "string"
                        ],
                        "title": "string",
                        "type": "string"
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  }
                }
              }
            ],
            "transcriber": {
              "agentContext": "string",
              "agentContextAutoUpdateEnabled": false,
              "confidenceThreshold": 0.4,
              "disablePartialTranscripts": true,
              "endOfTurnConfidenceThreshold": 0.7,
              "endUtteranceSilenceThreshold": 1.1,
              "fallbackPlan": {
                "transcribers": [
                  {
                    "agentContext": "string",
                    "agentContextAutoUpdateEnabled": false,
                    "confidenceThreshold": 0.4,
                    "disablePartialTranscripts": true,
                    "endOfTurnConfidenceThreshold": 0.7,
                    "endUtteranceSilenceThreshold": 1.1,
                    "formatTurns": true,
                    "keytermsPrompt": [
                      "string"
                    ],
                    "language": "multi",
                    "languageCodes": [
                      "en"
                    ],
                    "maxTurnSilence": 400,
                    "minEndOfTurnSilenceWhenConfident": 160,
                    "mode": "max_accuracy",
                    "prompt": "string",
                    "provider": "assembly-ai",
                    "realtimeUrl": "string",
                    "speechModel": "universal-streaming-english",
                    "vadAssistedEndpointingEnabled": true,
                    "wordBoost": [
                      "string"
                    ],
                    "wordFinalizationMaxWaitTime": 160
                  }
                ]
              },
              "formatTurns": true,
              "keytermsPrompt": [
                "string"
              ],
              "language": "multi",
              "languageCodes": [
                "en"
              ],
              "maxTurnSilence": 400,
              "minEndOfTurnSilenceWhenConfident": 160,
              "mode": "max_accuracy",
              "prompt": "string",
              "provider": "assembly-ai",
              "realtimeUrl": "string",
              "speechModel": "universal-streaming-english",
              "vadAssistedEndpointingEnabled": true,
              "wordBoost": [
                "string"
              ],
              "wordFinalizationMaxWaitTime": 160
            },
            "transportConfigurations": [
              {
                "provider": "twilio",
                "record": false,
                "recordingChannels": "mono",
                "timeout": 60
              }
            ],
            "variableValues": {},
            "voice": {
              "cachingEnabled": true,
              "chunkPlan": {
                "enabled": true,
                "formatPlan": {
                  "enabled": true,
                  "formattersEnabled": "markdown",
                  "numberToDigitsCutoff": 2025,
                  "replacements": [
                    {
                      "key": "string",
                      "replaceAllEnabled": false,
                      "type": "exact",
                      "value": "string"
                    }
                  ]
                },
                "minCharacters": 30,
                "punctuationBoundaries": "。"
              },
              "fallbackPlan": {
                "voices": [
                  {
                    "cachingEnabled": true,
                    "chunkPlan": {
                      "enabled": true,
                      "formatPlan": {
                        "enabled": true,
                        "formattersEnabled": {},
                        "numberToDigitsCutoff": 2025,
                        "replacements": {}
                      },
                      "minCharacters": 30,
                      "punctuationBoundaries": "。"
                    },
                    "provider": "azure",
                    "speed": 1.1,
                    "voiceId": "andrew"
                  }
                ]
              },
              "provider": "azure",
              "speed": 1.1,
              "voiceId": "andrew"
            },
            "voicemailDetection": "off",
            "voicemailMessage": "string"
          },
          "assistantVersion": "string"
        }
      ],
      "membersOverrides": {
        "analysisPlan": {
          "minMessagesThreshold": 1.1,
          "outcomeIds": [
            "string"
          ],
          "structuredDataMultiPlan": [
            {
              "key": "string",
              "plan": {
                "enabled": true,
                "messages": [
                  {}
                ],
                "schema": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": "string",
                        "enum": [
                          "string"
                        ],
                        "format": "date-time",
                        "items": {
                          "description": {},
                          "enum": {},
                          "format": {},
                          "items": {},
                          "pattern": {},
                          "properties": {},
                          "required": {},
                          "title": {},
                          "type": {}
                        },
                        "pattern": "string",
                        "properties": {},
                        "required": [
                          "string"
                        ],
                        "title": "string",
                        "type": "string"
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "timeoutSeconds": 1.1
              }
            }
          ],
          "structuredDataPlan": {
            "enabled": true,
            "messages": [
              {}
            ],
            "schema": {
              "description": "string",
              "enum": [
                "string"
              ],
              "format": "date-time",
              "items": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": {},
                        "enum": {},
                        "format": {},
                        "items": {},
                        "pattern": {},
                        "properties": {},
                        "required": {},
                        "title": {},
                        "type": {}
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              },
              "pattern": "string",
              "properties": {},
              "required": [
                "string"
              ],
              "title": "string",
              "type": "string"
            },
            "timeoutSeconds": 1.1
          },
          "successEvaluationPlan": {
            "enabled": true,
            "messages": [
              {}
            ],
            "rubric": "NumericScale",
            "timeoutSeconds": 1.1
          },
          "summaryPlan": {
            "enabled": true,
            "messages": [
              {}
            ],
            "timeoutSeconds": 1.1
          }
        },
        "artifactPlan": {
          "fullMessageHistoryEnabled": false,
          "loggingEnabled": true,
          "loggingPath": "string",
          "loggingUseCustomStorageEnabled": true,
          "pcapEnabled": true,
          "pcapS3PathPrefix": "/pcaps",
          "pcapUseCustomStorageEnabled": true,
          "recordingEnabled": true,
          "recordingFormat": "wav;l16",
          "recordingPath": "string",
          "recordingUseCustomStorageEnabled": true,
          "scorecardIds": [
            "string"
          ],
          "scorecards": [
            {
              "assistantIds": [
                "string"
              ],
              "description": "string",
              "metrics": [
                {
                  "conditions": [
                    {
                      "comparator": "=",
                      "points": 1.1,
                      "type": "comparator",
                      "value": 1.1
                    }
                  ],
                  "structuredOutputId": "string"
                }
              ],
              "name": "string"
            }
          ],
          "structuredOutputIds": [
            "string"
          ],
          "structuredOutputs": [
            {
              "assistantIds": [
                "string"
              ],
              "compliancePlan": {
                "forceStoreOnHipaaEnabled": false
              },
              "conditions": [
                {
                  "count": 4,
                  "type": "minMessages"
                },
                {
                  "seconds": 10,
                  "type": "minCallDuration"
                }
              ],
              "description": "string",
              "model": {
                "maxTokens": 5030,
                "messages": [
                  {
                    "content": "string",
                    "role": "assistant"
                  }
                ],
                "model": "gpt-6-luna",
                "provider": "openai",
                "reasoningEffort": "minimal",
                "temperature": 1.1
              },
              "name": "string",
              "regex": "string",
              "schema": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": "string",
                        "enum": [
                          "string"
                        ],
                        "format": "date-time",
                        "items": {
                          "description": {},
                          "enum": {},
                          "format": {},
                          "items": {},
                          "pattern": {},
                          "properties": {},
                          "required": {},
                          "title": {},
                          "type": {}
                        },
                        "pattern": "string",
                        "properties": {},
                        "required": [
                          "string"
                        ],
                        "title": "string",
                        "type": "string"
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              },
              "type": "ai",
              "workflowIds": [
                "string"
              ]
            }
          ],
          "transcriptPlan": {
            "assistantName": "string",
            "enabled": true,
            "userName": "string"
          },
          "videoRecordingEnabled": false
        },
        "backgroundSound": "off",
        "backgroundSpeechDenoisingPlan": {
          "fourierDenoisingPlan": {
            "baselineOffsetDb": -15,
            "baselinePercentile": 85,
            "enabled": false,
            "mediaDetectionEnabled": true,
            "staticThreshold": -35,
            "windowSizeMs": 3000
          },
          "smartDenoisingPlan": {
            "enabled": true
          }
        },
        "clientMessages": "conversation-update",
        "compliancePlan": {
          "hipaaEnabled": true,
          "pciEnabled": {
            "pciEnabled": false
          },
          "recordingConsentPlan": {
            "firstMessageMode": "assistant-speaks-first",
            "message": "For quality purposes, this call may be recorded. Please stay on the line if you agree or end the call if you do not consent.",
            "type": "stay-on-line",
            "voice": {
              "cachingEnabled": true,
              "chunkPlan": {
                "enabled": true,
                "formatPlan": {
                  "enabled": true,
                  "formattersEnabled": "markdown",
                  "numberToDigitsCutoff": 2025,
                  "replacements": [
                    {}
                  ]
                },
                "minCharacters": 30,
                "punctuationBoundaries": "。"
              },
              "fallbackPlan": {
                "voices": [
                  {
                    "cachingEnabled": true,
                    "chunkPlan": {},
                    "provider": {},
                    "speed": {},
                    "voiceId": {}
                  }
                ]
              },
              "provider": "azure",
              "speed": 1.1,
              "voiceId": "andrew"
            },
            "waitSeconds": 3
          },
          "securityFilterPlan": {
            "enabled": false,
            "filters": [
              {}
            ],
            "mode": "sanitize",
            "replacementText": "[FILTERED]"
          }
        },
        "credentialIds": [
          "string"
        ],
        "credentials": [
          {
            "apiKey": "string",
            "name": "string",
            "provider": "anthropic"
          }
        ],
        "endCallMessage": "string",
        "endCallPhrases": [
          "string"
        ],
        "firstMessage": "Hello! How can I help you today?",
        "firstMessageInterruptionsEnabled": false,
        "firstMessageMode": "assistant-speaks-first",
        "hooks": [
          {
            "do": [
              {
                "tool": {
                  "backoffPlan": {
                    "baseDelaySeconds": 1,
                    "excludedStatusCodes": [
                      400,
                      401,
                      403,
                      404
                    ],
                    "maxRetries": 0,
                    "type": "fixed"
                  },
                  "body": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": {},
                      "enum": {},
                      "format": {},
                      "items": {},
                      "pattern": {},
                      "properties": {},
                      "required": {},
                      "title": {},
                      "type": {}
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "credentialId": "550e8400-e29b-41d4-a716-446655440000",
                  "description": "string",
                  "encryptedPaths": [
                    "string"
                  ],
                  "headers": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": {},
                      "enum": {},
                      "format": {},
                      "items": {},
                      "pattern": {},
                      "properties": {},
                      "required": {},
                      "title": {},
                      "type": {}
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "messages": [
                    {
                      "blocking": false,
                      "conditions": {},
                      "content": {},
                      "contents": {},
                      "type": {}
                    }
                  ],
                  "method": "POST",
                  "name": "string",
                  "parameters": [
                    {
                      "key": "string",
                      "value": {}
                    }
                  ],
                  "rejectionPlan": {
                    "conditions": [
                      "[{ type: \"regex\", regex: \"(?i)\\\\b(cancel|stop)\\\\b\", target: { role: \"user\" } }]"
                    ]
                  },
                  "timeoutSeconds": 20,
                  "type": "apiRequest",
                  "url": "string",
                  "variableExtractionPlan": {
                    "aliases": [
                      {
                        "key": {},
                        "value": {}
                      }
                    ],
                    "schema": {
                      "description": {},
                      "enum": {},
                      "format": {},
                      "items": {},
                      "pattern": {},
                      "properties": {},
                      "required": {},
                      "title": {},
                      "type": {}
                    }
                  }
                },
                "toolId": "string",
                "type": "tool"
              }
            ],
            "filters": [
              {
                "key": "string",
                "oneOf": [
                  "string"
                ],
                "type": "oneOf"
              }
            ],
            "on": "call.ending"
          }
        ],
        "keypadInputPlan": {
          "delimiters": "#",
          "enabled": true,
          "timeoutSeconds": 1.1
        },
        "maxDurationSeconds": 600,
        "metadata": {},
        "model": {
          "emotionRecognitionEnabled": true,
          "knowledgeBase": {
            "provider": "custom-knowledge-base",
            "server": {
              "backoffPlan": {
                "baseDelaySeconds": 1,
                "excludedStatusCodes": [
                  400,
                  401,
                  403,
                  404
                ],
                "maxRetries": 0,
                "type": "fixed"
              },
              "credentialId": "550e8400-e29b-41d4-a716-446655440000",
              "encryptedPaths": [
                "string"
              ],
              "headers": {},
              "staticIpAddressesEnabled": false,
              "timeoutSeconds": 20,
              "url": "string"
            }
          },
          "maxTokens": 5030,
          "messages": [
            {
              "content": "string",
              "role": "assistant"
            }
          ],
          "model": "claude-3-opus-20240229",
          "numFastTurns": 1.1,
          "provider": "anthropic",
          "reasoningEffort": "none",
          "temperature": 1.1,
          "thinking": {
            "budgetTokens": 50500,
            "type": "enabled"
          },
          "toolIds": [
            "string"
          ],
          "toolRefs": [
            {
              "toolId": "string",
              "version": "string"
            }
          ],
          "tools": [
            {
              "backoffPlan": {
                "baseDelaySeconds": 1,
                "excludedStatusCodes": [
                  400,
                  401,
                  403,
                  404
                ],
                "maxRetries": 0,
                "type": "fixed"
              },
              "body": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": {},
                      "enum": {},
                      "format": {},
                      "items": {},
                      "pattern": {},
                      "properties": {},
                      "required": {},
                      "title": {},
                      "type": {}
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              },
              "credentialId": "550e8400-e29b-41d4-a716-446655440000",
              "description": "string",
              "encryptedPaths": [
                "string"
              ],
              "headers": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": {},
                      "enum": {},
                      "format": {},
                      "items": {},
                      "pattern": {},
                      "properties": {},
                      "required": {},
                      "title": {},
                      "type": {}
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              },
              "messages": [
                {
                  "blocking": false,
                  "conditions": [
                    {
                      "operator": "eq",
                      "param": "string",
                      "value": "string"
                    }
                  ],
                  "content": "string",
                  "contents": [
                    {
                      "language": {},
                      "text": {},
                      "type": {}
                    }
                  ],
                  "type": "request-start"
                }
              ],
              "method": "POST",
              "name": "string",
              "parameters": [
                {
                  "key": "string",
                  "value": {}
                }
              ],
              "rejectionPlan": {
                "conditions": [
                  {
                    "regex": "\\\\b(cancel|stop|wait)\\\\b - Matches whole words",
                    "type": "regex"
                  }
                ]
              },
              "timeoutSeconds": 20,
              "type": "apiRequest",
              "url": "string",
              "variableExtractionPlan": {
                "aliases": [
                  {
                    "key": "string",
                    "value": "string"
                  }
                ],
                "schema": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": {},
                      "enum": {},
                      "format": {},
                      "items": {},
                      "pattern": {},
                      "properties": {},
                      "required": {},
                      "title": {},
                      "type": {}
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                }
              }
            }
          ]
        },
        "modelOutputInMessagesEnabled": false,
        "monitorPlan": {
          "controlAuthenticationEnabled": false,
          "controlEnabled": false,
          "listenAuthenticationEnabled": false,
          "listenEnabled": false,
          "monitorIds": [
            "123e4567-e89b-12d3-a456-426614174000"
          ]
        },
        "name": "string",
        "observabilityPlan": {
          "metadata": {},
          "promptName": "string",
          "promptVersion": 1.1,
          "provider": "langfuse",
          "tags": [
            "string"
          ],
          "traceName": "string"
        },
        "server": {
          "backoffPlan": {
            "baseDelaySeconds": 1,
            "excludedStatusCodes": [
              400,
              401,
              403,
              404
            ],
            "maxRetries": 0,
            "type": "fixed"
          },
          "credentialId": "550e8400-e29b-41d4-a716-446655440000",
          "encryptedPaths": [
            "string"
          ],
          "headers": {},
          "staticIpAddressesEnabled": false,
          "timeoutSeconds": 20,
          "url": "string"
        },
        "serverMessages": "assistant.started",
        "startSpeakingPlan": {
          "customEndpointingRules": [
            {
              "regex": "string",
              "regexOptions": [
                {
                  "enabled": true,
                  "type": "ignore-case"
                }
              ],
              "timeoutSeconds": 1.1,
              "type": "assistant"
            }
          ],
          "smartEndpointingEnabled": false,
          "smartEndpointingPlan": {
            "provider": "vapi"
          },
          "transcriptionEndpointingPlan": {
            "onNoPunctuationSeconds": 1.5,
            "onNumberSeconds": 0.5,
            "onPunctuationSeconds": 0.1
          },
          "waitSeconds": 0.4
        },
        "stopSpeakingPlan": {
          "acknowledgementPhrases": [
            "i understand",
            "i see",
            "i got it",
            "i hear you",
            "im listening",
            "im with you",
            "right",
            "okay",
            "ok",
            "sure",
            "alright",
            "got it",
            "understood",
            "yeah",
            "yes",
            "uh-huh",
            "mm-hmm",
            "gotcha",
            "mhmm",
            "ah",
            "yeah okay",
            "yeah sure"
          ],
          "backoffSeconds": 1,
          "interruptionPhrases": [
            "stop",
            "shut",
            "up",
            "enough",
            "quiet",
            "silence",
            "but",
            "dont",
            "not",
            "no",
            "hold",
            "wait",
            "cut",
            "pause",
            "nope",
            "nah",
            "nevermind",
            "never",
            "bad",
            "actually"
          ],
          "numWords": 0,
          "voiceSeconds": 0.2
        },
        "tools:append": [
          {
            "backoffPlan": {
              "baseDelaySeconds": 1,
              "excludedStatusCodes": [
                400,
                401,
                403,
                404
              ],
              "maxRetries": 0,
              "type": "fixed"
            },
            "body": {
              "description": "string",
              "enum": [
                "string"
              ],
              "format": "date-time",
              "items": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": {},
                        "enum": {},
                        "format": {},
                        "items": {},
                        "pattern": {},
                        "properties": {},
                        "required": {},
                        "title": {},
                        "type": {}
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              },
              "pattern": "string",
              "properties": {},
              "required": [
                "string"
              ],
              "title": "string",
              "type": "string"
            },
            "credentialId": "550e8400-e29b-41d4-a716-446655440000",
            "description": "string",
            "encryptedPaths": [
              "string"
            ],
            "headers": {
              "description": "string",
              "enum": [
                "string"
              ],
              "format": "date-time",
              "items": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": {},
                        "enum": {},
                        "format": {},
                        "items": {},
                        "pattern": {},
                        "properties": {},
                        "required": {},
                        "title": {},
                        "type": {}
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              },
              "pattern": "string",
              "properties": {},
              "required": [
                "string"
              ],
              "title": "string",
              "type": "string"
            },
            "messages": [
              {
                "blocking": false,
                "conditions": [
                  {
                    "operator": "eq",
                    "param": "string",
                    "value": "string"
                  }
                ],
                "content": "string",
                "contents": [
                  {
                    "language": "aa",
                    "text": "string",
                    "type": "text"
                  }
                ],
                "type": "request-start"
              }
            ],
            "method": "POST",
            "name": "string",
            "parameters": [
              {
                "key": "string",
                "value": {}
              }
            ],
            "rejectionPlan": {
              "conditions": [
                {
                  "regex": "\\\\b(cancel|stop|wait)\\\\b - Matches whole words",
                  "type": "regex"
                }
              ]
            },
            "timeoutSeconds": 20,
            "type": "apiRequest",
            "url": "string",
            "variableExtractionPlan": {
              "aliases": [
                {
                  "key": "string",
                  "value": "string"
                }
              ],
              "schema": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": {},
                        "enum": {},
                        "format": {},
                        "items": {},
                        "pattern": {},
                        "properties": {},
                        "required": {},
                        "title": {},
                        "type": {}
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              }
            }
          }
        ],
        "transcriber": {
          "agentContext": "string",
          "agentContextAutoUpdateEnabled": false,
          "confidenceThreshold": 0.4,
          "disablePartialTranscripts": true,
          "endOfTurnConfidenceThreshold": 0.7,
          "endUtteranceSilenceThreshold": 1.1,
          "fallbackPlan": {
            "transcribers": [
              {
                "agentContext": "string",
                "agentContextAutoUpdateEnabled": false,
                "confidenceThreshold": 0.4,
                "disablePartialTranscripts": true,
                "endOfTurnConfidenceThreshold": 0.7,
                "endUtteranceSilenceThreshold": 1.1,
                "formatTurns": true,
                "keytermsPrompt": [
                  "string"
                ],
                "language": "multi",
                "languageCodes": [
                  "en"
                ],
                "maxTurnSilence": 400,
                "minEndOfTurnSilenceWhenConfident": 160,
                "mode": "max_accuracy",
                "prompt": "string",
                "provider": "assembly-ai",
                "realtimeUrl": "string",
                "speechModel": "universal-streaming-english",
                "vadAssistedEndpointingEnabled": true,
                "wordBoost": [
                  "string"
                ],
                "wordFinalizationMaxWaitTime": 160
              }
            ]
          },
          "formatTurns": true,
          "keytermsPrompt": [
            "string"
          ],
          "language": "multi",
          "languageCodes": [
            "en"
          ],
          "maxTurnSilence": 400,
          "minEndOfTurnSilenceWhenConfident": 160,
          "mode": "max_accuracy",
          "prompt": "string",
          "provider": "assembly-ai",
          "realtimeUrl": "string",
          "speechModel": "universal-streaming-english",
          "vadAssistedEndpointingEnabled": true,
          "wordBoost": [
            "string"
          ],
          "wordFinalizationMaxWaitTime": 160
        },
        "transportConfigurations": [
          {
            "provider": "twilio",
            "record": false,
            "recordingChannels": "mono",
            "timeout": 60
          }
        ],
        "variableValues": {},
        "voice": {
          "cachingEnabled": true,
          "chunkPlan": {
            "enabled": true,
            "formatPlan": {
              "enabled": true,
              "formattersEnabled": "markdown",
              "numberToDigitsCutoff": 2025,
              "replacements": [
                {
                  "key": "string",
                  "replaceAllEnabled": false,
                  "type": "exact",
                  "value": "string"
                }
              ]
            },
            "minCharacters": 30,
            "punctuationBoundaries": "。"
          },
          "fallbackPlan": {
            "voices": [
              {
                "cachingEnabled": true,
                "chunkPlan": {
                  "enabled": true,
                  "formatPlan": {
                    "enabled": true,
                    "formattersEnabled": "markdown",
                    "numberToDigitsCutoff": 2025,
                    "replacements": [
                      {}
                    ]
                  },
                  "minCharacters": 30,
                  "punctuationBoundaries": "。"
                },
                "provider": "azure",
                "speed": 1.1,
                "voiceId": "andrew"
              }
            ]
          },
          "provider": "azure",
          "speed": 1.1,
          "voiceId": "andrew"
        },
        "voicemailDetection": "off",
        "voicemailMessage": "string"
      },
      "name": "string"
    },
    "squadId": "string",
    "squadOverrides": {
      "analysisPlan": {
        "minMessagesThreshold": 1.1,
        "outcomeIds": [
          "string"
        ],
        "structuredDataMultiPlan": [
          {
            "key": "string",
            "plan": {
              "enabled": true,
              "messages": [
                {}
              ],
              "schema": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": "string",
                        "enum": [
                          "string"
                        ],
                        "format": "date-time",
                        "items": {
                          "description": {},
                          "enum": {},
                          "format": {},
                          "items": {},
                          "pattern": {},
                          "properties": {},
                          "required": {},
                          "title": {},
                          "type": {}
                        },
                        "pattern": "string",
                        "properties": {},
                        "required": [
                          "string"
                        ],
                        "title": "string",
                        "type": "string"
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              },
              "timeoutSeconds": 1.1
            }
          }
        ],
        "structuredDataPlan": {
          "enabled": true,
          "messages": [
            {}
          ],
          "schema": {
            "description": "string",
            "enum": [
              "string"
            ],
            "format": "date-time",
            "items": {
              "description": "string",
              "enum": [
                "string"
              ],
              "format": "date-time",
              "items": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": {},
                        "enum": {},
                        "format": {},
                        "items": {},
                        "pattern": {},
                        "properties": {},
                        "required": {},
                        "title": {},
                        "type": {}
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              },
              "pattern": "string",
              "properties": {},
              "required": [
                "string"
              ],
              "title": "string",
              "type": "string"
            },
            "pattern": "string",
            "properties": {},
            "required": [
              "string"
            ],
            "title": "string",
            "type": "string"
          },
          "timeoutSeconds": 1.1
        },
        "successEvaluationPlan": {
          "enabled": true,
          "messages": [
            {}
          ],
          "rubric": "NumericScale",
          "timeoutSeconds": 1.1
        },
        "summaryPlan": {
          "enabled": true,
          "messages": [
            {}
          ],
          "timeoutSeconds": 1.1
        }
      },
      "artifactPlan": {
        "fullMessageHistoryEnabled": false,
        "loggingEnabled": true,
        "loggingPath": "string",
        "loggingUseCustomStorageEnabled": true,
        "pcapEnabled": true,
        "pcapS3PathPrefix": "/pcaps",
        "pcapUseCustomStorageEnabled": true,
        "recordingEnabled": true,
        "recordingFormat": "wav;l16",
        "recordingPath": "string",
        "recordingUseCustomStorageEnabled": true,
        "scorecardIds": [
          "string"
        ],
        "scorecards": [
          {
            "assistantIds": [
              "string"
            ],
            "description": "string",
            "metrics": [
              {
                "conditions": [
                  {
                    "comparator": "=",
                    "points": 1.1,
                    "type": "comparator",
                    "value": 1.1
                  }
                ],
                "structuredOutputId": "string"
              }
            ],
            "name": "string"
          }
        ],
        "structuredOutputIds": [
          "string"
        ],
        "structuredOutputs": [
          {
            "assistantIds": [
              "string"
            ],
            "compliancePlan": {
              "forceStoreOnHipaaEnabled": false
            },
            "conditions": [
              {
                "count": 4,
                "type": "minMessages"
              },
              {
                "seconds": 10,
                "type": "minCallDuration"
              }
            ],
            "description": "string",
            "model": {
              "maxTokens": 5030,
              "messages": [
                {
                  "content": "string",
                  "role": "assistant"
                }
              ],
              "model": "gpt-6-luna",
              "provider": "openai",
              "reasoningEffort": "minimal",
              "temperature": 1.1
            },
            "name": "string",
            "regex": "string",
            "schema": {
              "description": "string",
              "enum": [
                "string"
              ],
              "format": "date-time",
              "items": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": "string",
                        "enum": [
                          "string"
                        ],
                        "format": "date-time",
                        "items": {
                          "description": {},
                          "enum": {},
                          "format": {},
                          "items": {},
                          "pattern": {},
                          "properties": {},
                          "required": {},
                          "title": {},
                          "type": {}
                        },
                        "pattern": "string",
                        "properties": {},
                        "required": [
                          "string"
                        ],
                        "title": "string",
                        "type": "string"
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              },
              "pattern": "string",
              "properties": {},
              "required": [
                "string"
              ],
              "title": "string",
              "type": "string"
            },
            "type": "ai",
            "workflowIds": [
              "string"
            ]
          }
        ],
        "transcriptPlan": {
          "assistantName": "string",
          "enabled": true,
          "userName": "string"
        },
        "videoRecordingEnabled": false
      },
      "backgroundSound": "off",
      "backgroundSpeechDenoisingPlan": {
        "fourierDenoisingPlan": {
          "baselineOffsetDb": -15,
          "baselinePercentile": 85,
          "enabled": false,
          "mediaDetectionEnabled": true,
          "staticThreshold": -35,
          "windowSizeMs": 3000
        },
        "smartDenoisingPlan": {
          "enabled": true
        }
      },
      "clientMessages": "conversation-update",
      "compliancePlan": {
        "hipaaEnabled": true,
        "pciEnabled": {
          "pciEnabled": false
        },
        "recordingConsentPlan": {
          "firstMessageMode": "assistant-speaks-first",
          "message": "For quality purposes, this call may be recorded. Please stay on the line if you agree or end the call if you do not consent.",
          "type": "stay-on-line",
          "voice": {
            "cachingEnabled": true,
            "chunkPlan": {
              "enabled": true,
              "formatPlan": {
                "enabled": true,
                "formattersEnabled": "markdown",
                "numberToDigitsCutoff": 2025,
                "replacements": [
                  {
                    "key": {},
                    "replaceAllEnabled": {},
                    "type": {},
                    "value": {}
                  }
                ]
              },
              "minCharacters": 30,
              "punctuationBoundaries": "。"
            },
            "fallbackPlan": {
              "voices": [
                {
                  "cachingEnabled": true,
                  "chunkPlan": {
                    "enabled": true,
                    "formatPlan": {},
                    "minCharacters": 30,
                    "punctuationBoundaries": [
                      "。",
                      "，",
                      ".",
                      "!",
                      "?",
                      ";",
                      "،",
                      "۔",
                      "।",
                      "॥",
                      "|",
                      "||",
                      ",",
                      ":"
                    ]
                  },
                  "provider": "azure",
                  "speed": 1.1,
                  "voiceId": "andrew"
                }
              ]
            },
            "provider": "azure",
            "speed": 1.1,
            "voiceId": "andrew"
          },
          "waitSeconds": 3
        },
        "securityFilterPlan": {
          "enabled": false,
          "filters": [
            {}
          ],
          "mode": "sanitize",
          "replacementText": "[FILTERED]"
        }
      },
      "credentialIds": [
        "string"
      ],
      "credentials": [
        {
          "apiKey": "string",
          "name": "string",
          "provider": "anthropic"
        }
      ],
      "endCallMessage": "string",
      "endCallPhrases": [
        "string"
      ],
      "firstMessage": "Hello! How can I help you today?",
      "firstMessageInterruptionsEnabled": false,
      "firstMessageMode": "assistant-speaks-first",
      "hooks": [
        {
          "do": [
            {
              "tool": {
                "backoffPlan": {
                  "baseDelaySeconds": 1,
                  "excludedStatusCodes": [
                    400,
                    401,
                    403,
                    404
                  ],
                  "maxRetries": 0,
                  "type": "fixed"
                },
                "body": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": {},
                      "enum": {},
                      "format": {},
                      "items": {},
                      "pattern": {},
                      "properties": {},
                      "required": {},
                      "title": {},
                      "type": {}
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "credentialId": "550e8400-e29b-41d4-a716-446655440000",
                "description": "string",
                "encryptedPaths": [
                  "string"
                ],
                "headers": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": {},
                      "enum": {},
                      "format": {},
                      "items": {},
                      "pattern": {},
                      "properties": {},
                      "required": {},
                      "title": {},
                      "type": {}
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "messages": [
                  {
                    "blocking": false,
                    "conditions": [
                      {
                        "operator": {},
                        "param": {},
                        "value": {}
                      }
                    ],
                    "content": "string",
                    "contents": [
                      {}
                    ],
                    "type": "request-start"
                  }
                ],
                "method": "POST",
                "name": "string",
                "parameters": [
                  {
                    "key": "string",
                    "value": {}
                  }
                ],
                "rejectionPlan": {
                  "conditions": [
                    {
                      "regex": "\\\\b(cancel|stop|wait)\\\\b - Matches whole words",
                      "type": "regex"
                    }
                  ]
                },
                "timeoutSeconds": 20,
                "type": "apiRequest",
                "url": "string",
                "variableExtractionPlan": {
                  "aliases": [
                    {
                      "key": "string",
                      "value": "string"
                    }
                  ],
                  "schema": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": {},
                      "enum": {},
                      "format": {},
                      "items": {},
                      "pattern": {},
                      "properties": {},
                      "required": {},
                      "title": {},
                      "type": {}
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  }
                }
              },
              "toolId": "string",
              "type": "tool"
            }
          ],
          "filters": [
            {
              "key": "string",
              "oneOf": [
                "string"
              ],
              "type": "oneOf"
            }
          ],
          "on": "call.ending"
        }
      ],
      "keypadInputPlan": {
        "delimiters": "#",
        "enabled": true,
        "timeoutSeconds": 1.1
      },
      "maxDurationSeconds": 600,
      "metadata": {},
      "model": {
        "emotionRecognitionEnabled": true,
        "knowledgeBase": {
          "provider": "custom-knowledge-base",
          "server": {
            "backoffPlan": {
              "baseDelaySeconds": 1,
              "excludedStatusCodes": [
                400,
                401,
                403,
                404
              ],
              "maxRetries": 0,
              "type": "fixed"
            },
            "credentialId": "550e8400-e29b-41d4-a716-446655440000",
            "encryptedPaths": [
              "string"
            ],
            "headers": {},
            "staticIpAddressesEnabled": false,
            "timeoutSeconds": 20,
            "url": "string"
          }
        },
        "maxTokens": 5030,
        "messages": [
          {
            "content": "string",
            "role": "assistant"
          }
        ],
        "model": "claude-3-opus-20240229",
        "numFastTurns": 1.1,
        "provider": "anthropic",
        "reasoningEffort": "none",
        "temperature": 1.1,
        "thinking": {
          "budgetTokens": 50500,
          "type": "enabled"
        },
        "toolIds": [
          "string"
        ],
        "toolRefs": [
          {
            "toolId": "string",
            "version": "string"
          }
        ],
        "tools": [
          {
            "backoffPlan": {
              "baseDelaySeconds": 1,
              "excludedStatusCodes": [
                400,
                401,
                403,
                404
              ],
              "maxRetries": 0,
              "type": "fixed"
            },
            "body": {
              "description": "string",
              "enum": [
                "string"
              ],
              "format": "date-time",
              "items": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": {},
                      "enum": {},
                      "format": {},
                      "items": {},
                      "pattern": {},
                      "properties": {},
                      "required": {},
                      "title": {},
                      "type": {}
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              },
              "pattern": "string",
              "properties": {},
              "required": [
                "string"
              ],
              "title": "string",
              "type": "string"
            },
            "credentialId": "550e8400-e29b-41d4-a716-446655440000",
            "description": "string",
            "encryptedPaths": [
              "string"
            ],
            "headers": {
              "description": "string",
              "enum": [
                "string"
              ],
              "format": "date-time",
              "items": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": {},
                      "enum": {},
                      "format": {},
                      "items": {},
                      "pattern": {},
                      "properties": {},
                      "required": {},
                      "title": {},
                      "type": {}
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              },
              "pattern": "string",
              "properties": {},
              "required": [
                "string"
              ],
              "title": "string",
              "type": "string"
            },
            "messages": [
              {
                "blocking": false,
                "conditions": [
                  {
                    "operator": "eq",
                    "param": "string",
                    "value": "string"
                  }
                ],
                "content": "string",
                "contents": [
                  {
                    "language": "aa",
                    "text": "string",
                    "type": "text"
                  }
                ],
                "type": "request-start"
              }
            ],
            "method": "POST",
            "name": "string",
            "parameters": [
              {
                "key": "string",
                "value": {}
              }
            ],
            "rejectionPlan": {
              "conditions": [
                {
                  "regex": "\\\\b(cancel|stop|wait)\\\\b - Matches whole words",
                  "type": "regex"
                }
              ]
            },
            "timeoutSeconds": 20,
            "type": "apiRequest",
            "url": "string",
            "variableExtractionPlan": {
              "aliases": [
                {
                  "key": "string",
                  "value": "string"
                }
              ],
              "schema": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": {},
                      "enum": {},
                      "format": {},
                      "items": {},
                      "pattern": {},
                      "properties": {},
                      "required": {},
                      "title": {},
                      "type": {}
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              }
            }
          }
        ]
      },
      "modelOutputInMessagesEnabled": false,
      "monitorPlan": {
        "controlAuthenticationEnabled": false,
        "controlEnabled": false,
        "listenAuthenticationEnabled": false,
        "listenEnabled": false,
        "monitorIds": [
          "123e4567-e89b-12d3-a456-426614174000"
        ]
      },
      "name": "string",
      "observabilityPlan": {
        "metadata": {},
        "promptName": "string",
        "promptVersion": 1.1,
        "provider": "langfuse",
        "tags": [
          "string"
        ],
        "traceName": "string"
      },
      "server": {
        "backoffPlan": {
          "baseDelaySeconds": 1,
          "excludedStatusCodes": [
            400,
            401,
            403,
            404
          ],
          "maxRetries": 0,
          "type": "fixed"
        },
        "credentialId": "550e8400-e29b-41d4-a716-446655440000",
        "encryptedPaths": [
          "string"
        ],
        "headers": {},
        "staticIpAddressesEnabled": false,
        "timeoutSeconds": 20,
        "url": "string"
      },
      "serverMessages": "assistant.started",
      "startSpeakingPlan": {
        "customEndpointingRules": [
          {
            "regex": "string",
            "regexOptions": [
              {
                "enabled": true,
                "type": "ignore-case"
              }
            ],
            "timeoutSeconds": 1.1,
            "type": "assistant"
          }
        ],
        "smartEndpointingEnabled": false,
        "smartEndpointingPlan": {
          "provider": "vapi"
        },
        "transcriptionEndpointingPlan": {
          "onNoPunctuationSeconds": 1.5,
          "onNumberSeconds": 0.5,
          "onPunctuationSeconds": 0.1
        },
        "waitSeconds": 0.4
      },
      "stopSpeakingPlan": {
        "acknowledgementPhrases": [
          "i understand",
          "i see",
          "i got it",
          "i hear you",
          "im listening",
          "im with you",
          "right",
          "okay",
          "ok",
          "sure",
          "alright",
          "got it",
          "understood",
          "yeah",
          "yes",
          "uh-huh",
          "mm-hmm",
          "gotcha",
          "mhmm",
          "ah",
          "yeah okay",
          "yeah sure"
        ],
        "backoffSeconds": 1,
        "interruptionPhrases": [
          "stop",
          "shut",
          "up",
          "enough",
          "quiet",
          "silence",
          "but",
          "dont",
          "not",
          "no",
          "hold",
          "wait",
          "cut",
          "pause",
          "nope",
          "nah",
          "nevermind",
          "never",
          "bad",
          "actually"
        ],
        "numWords": 0,
        "voiceSeconds": 0.2
      },
      "tools:append": [
        {
          "backoffPlan": {
            "baseDelaySeconds": 1,
            "excludedStatusCodes": [
              400,
              401,
              403,
              404
            ],
            "maxRetries": 0,
            "type": "fixed"
          },
          "body": {
            "description": "string",
            "enum": [
              "string"
            ],
            "format": "date-time",
            "items": {
              "description": "string",
              "enum": [
                "string"
              ],
              "format": "date-time",
              "items": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": {},
                        "enum": {},
                        "format": {},
                        "items": {},
                        "pattern": {},
                        "properties": {},
                        "required": {},
                        "title": {},
                        "type": {}
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              },
              "pattern": "string",
              "properties": {},
              "required": [
                "string"
              ],
              "title": "string",
              "type": "string"
            },
            "pattern": "string",
            "properties": {},
            "required": [
              "string"
            ],
            "title": "string",
            "type": "string"
          },
          "credentialId": "550e8400-e29b-41d4-a716-446655440000",
          "description": "string",
          "encryptedPaths": [
            "string"
          ],
          "headers": {
            "description": "string",
            "enum": [
              "string"
            ],
            "format": "date-time",
            "items": {
              "description": "string",
              "enum": [
                "string"
              ],
              "format": "date-time",
              "items": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": {},
                        "enum": {},
                        "format": {},
                        "items": {},
                        "pattern": {},
                        "properties": {},
                        "required": {},
                        "title": {},
                        "type": {}
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              },
              "pattern": "string",
              "properties": {},
              "required": [
                "string"
              ],
              "title": "string",
              "type": "string"
            },
            "pattern": "string",
            "properties": {},
            "required": [
              "string"
            ],
            "title": "string",
            "type": "string"
          },
          "messages": [
            {
              "blocking": false,
              "conditions": [
                {
                  "operator": "eq",
                  "param": "string",
                  "value": "string"
                }
              ],
              "content": "string",
              "contents": [
                {
                  "language": "aa",
                  "text": "string",
                  "type": "text"
                }
              ],
              "type": "request-start"
            }
          ],
          "method": "POST",
          "name": "string",
          "parameters": [
            {
              "key": "string",
              "value": {}
            }
          ],
          "rejectionPlan": {
            "conditions": [
              {
                "regex": "\\\\b(cancel|stop|wait)\\\\b - Matches whole words",
                "type": "regex"
              }
            ]
          },
          "timeoutSeconds": 20,
          "type": "apiRequest",
          "url": "string",
          "variableExtractionPlan": {
            "aliases": [
              {
                "key": "string",
                "value": "string"
              }
            ],
            "schema": {
              "description": "string",
              "enum": [
                "string"
              ],
              "format": "date-time",
              "items": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": {},
                        "enum": {},
                        "format": {},
                        "items": {},
                        "pattern": {},
                        "properties": {},
                        "required": {},
                        "title": {},
                        "type": {}
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              },
              "pattern": "string",
              "properties": {},
              "required": [
                "string"
              ],
              "title": "string",
              "type": "string"
            }
          }
        }
      ],
      "transcriber": {
        "agentContext": "string",
        "agentContextAutoUpdateEnabled": false,
        "confidenceThreshold": 0.4,
        "disablePartialTranscripts": true,
        "endOfTurnConfidenceThreshold": 0.7,
        "endUtteranceSilenceThreshold": 1.1,
        "fallbackPlan": {
          "transcribers": [
            {
              "agentContext": "string",
              "agentContextAutoUpdateEnabled": false,
              "confidenceThreshold": 0.4,
              "disablePartialTranscripts": true,
              "endOfTurnConfidenceThreshold": 0.7,
              "endUtteranceSilenceThreshold": 1.1,
              "formatTurns": true,
              "keytermsPrompt": [
                "string"
              ],
              "language": "multi",
              "languageCodes": [
                "en"
              ],
              "maxTurnSilence": 400,
              "minEndOfTurnSilenceWhenConfident": 160,
              "mode": "max_accuracy",
              "prompt": "string",
              "provider": "assembly-ai",
              "realtimeUrl": "string",
              "speechModel": "universal-streaming-english",
              "vadAssistedEndpointingEnabled": true,
              "wordBoost": [
                "string"
              ],
              "wordFinalizationMaxWaitTime": 160
            }
          ]
        },
        "formatTurns": true,
        "keytermsPrompt": [
          "string"
        ],
        "language": "multi",
        "languageCodes": [
          "en"
        ],
        "maxTurnSilence": 400,
        "minEndOfTurnSilenceWhenConfident": 160,
        "mode": "max_accuracy",
        "prompt": "string",
        "provider": "assembly-ai",
        "realtimeUrl": "string",
        "speechModel": "universal-streaming-english",
        "vadAssistedEndpointingEnabled": true,
        "wordBoost": [
          "string"
        ],
        "wordFinalizationMaxWaitTime": 160
      },
      "transportConfigurations": [
        {
          "provider": "twilio",
          "record": false,
          "recordingChannels": "mono",
          "timeout": 60
        }
      ],
      "variableValues": {},
      "voice": {
        "cachingEnabled": true,
        "chunkPlan": {
          "enabled": true,
          "formatPlan": {
            "enabled": true,
            "formattersEnabled": "markdown",
            "numberToDigitsCutoff": 2025,
            "replacements": [
              {
                "key": "string",
                "replaceAllEnabled": false,
                "type": "exact",
                "value": "string"
              }
            ]
          },
          "minCharacters": 30,
          "punctuationBoundaries": "。"
        },
        "fallbackPlan": {
          "voices": [
            {
              "cachingEnabled": true,
              "chunkPlan": {
                "enabled": true,
                "formatPlan": {
                  "enabled": true,
                  "formattersEnabled": "markdown",
                  "numberToDigitsCutoff": 2025,
                  "replacements": [
                    {
                      "key": {},
                      "replaceAllEnabled": {},
                      "type": {},
                      "value": {}
                    }
                  ]
                },
                "minCharacters": 30,
                "punctuationBoundaries": "。"
              },
              "provider": "azure",
              "speed": 1.1,
              "voiceId": "andrew"
            }
          ]
        },
        "provider": "azure",
        "speed": 1.1,
        "voiceId": "andrew"
      },
      "voicemailDetection": "off",
      "voicemailMessage": "string"
    },
    "workflow": {
      "analysisPlan": {
        "minMessagesThreshold": 1.1,
        "outcomeIds": [
          "string"
        ],
        "structuredDataMultiPlan": [
          {
            "key": "string",
            "plan": {
              "enabled": true,
              "messages": [
                {}
              ],
              "schema": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": "string",
                        "enum": [
                          "string"
                        ],
                        "format": "date-time",
                        "items": {
                          "description": {},
                          "enum": {},
                          "format": {},
                          "items": {},
                          "pattern": {},
                          "properties": {},
                          "required": {},
                          "title": {},
                          "type": {}
                        },
                        "pattern": "string",
                        "properties": {},
                        "required": [
                          "string"
                        ],
                        "title": "string",
                        "type": "string"
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              },
              "timeoutSeconds": 1.1
            }
          }
        ],
        "structuredDataPlan": {
          "enabled": true,
          "messages": [
            {}
          ],
          "schema": {
            "description": "string",
            "enum": [
              "string"
            ],
            "format": "date-time",
            "items": {
              "description": "string",
              "enum": [
                "string"
              ],
              "format": "date-time",
              "items": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": {},
                        "enum": {},
                        "format": {},
                        "items": {},
                        "pattern": {},
                        "properties": {},
                        "required": {},
                        "title": {},
                        "type": {}
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              },
              "pattern": "string",
              "properties": {},
              "required": [
                "string"
              ],
              "title": "string",
              "type": "string"
            },
            "pattern": "string",
            "properties": {},
            "required": [
              "string"
            ],
            "title": "string",
            "type": "string"
          },
          "timeoutSeconds": 1.1
        },
        "successEvaluationPlan": {
          "enabled": true,
          "messages": [
            {}
          ],
          "rubric": "NumericScale",
          "timeoutSeconds": 1.1
        },
        "summaryPlan": {
          "enabled": true,
          "messages": [
            {}
          ],
          "timeoutSeconds": 1.1
        }
      },
      "artifactPlan": {
        "fullMessageHistoryEnabled": false,
        "loggingEnabled": true,
        "loggingPath": "string",
        "loggingUseCustomStorageEnabled": true,
        "pcapEnabled": true,
        "pcapS3PathPrefix": "/pcaps",
        "pcapUseCustomStorageEnabled": true,
        "recordingEnabled": true,
        "recordingFormat": "wav;l16",
        "recordingPath": "string",
        "recordingUseCustomStorageEnabled": true,
        "scorecardIds": [
          "string"
        ],
        "scorecards": [
          {
            "assistantIds": [
              "string"
            ],
            "description": "string",
            "metrics": [
              {
                "conditions": [
                  {
                    "comparator": "=",
                    "points": 1.1,
                    "type": "comparator",
                    "value": 1.1
                  }
                ],
                "structuredOutputId": "string"
              }
            ],
            "name": "string"
          }
        ],
        "structuredOutputIds": [
          "string"
        ],
        "structuredOutputs": [
          {
            "assistantIds": [
              "string"
            ],
            "compliancePlan": {
              "forceStoreOnHipaaEnabled": false
            },
            "conditions": [
              {
                "count": 4,
                "type": "minMessages"
              },
              {
                "seconds": 10,
                "type": "minCallDuration"
              }
            ],
            "description": "string",
            "model": {
              "maxTokens": 5030,
              "messages": [
                {
                  "content": "string",
                  "role": "assistant"
                }
              ],
              "model": "gpt-6-luna",
              "provider": "openai",
              "reasoningEffort": "minimal",
              "temperature": 1.1
            },
            "name": "string",
            "regex": "string",
            "schema": {
              "description": "string",
              "enum": [
                "string"
              ],
              "format": "date-time",
              "items": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": "string",
                        "enum": [
                          "string"
                        ],
                        "format": "date-time",
                        "items": {
                          "description": {},
                          "enum": {},
                          "format": {},
                          "items": {},
                          "pattern": {},
                          "properties": {},
                          "required": {},
                          "title": {},
                          "type": {}
                        },
                        "pattern": "string",
                        "properties": {},
                        "required": [
                          "string"
                        ],
                        "title": "string",
                        "type": "string"
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              },
              "pattern": "string",
              "properties": {},
              "required": [
                "string"
              ],
              "title": "string",
              "type": "string"
            },
            "type": "ai",
            "workflowIds": [
              "string"
            ]
          }
        ],
        "transcriptPlan": {
          "assistantName": "string",
          "enabled": true,
          "userName": "string"
        },
        "videoRecordingEnabled": false
      },
      "backgroundSound": "off",
      "backgroundSpeechDenoisingPlan": {
        "fourierDenoisingPlan": {
          "baselineOffsetDb": -15,
          "baselinePercentile": 85,
          "enabled": false,
          "mediaDetectionEnabled": true,
          "staticThreshold": -35,
          "windowSizeMs": 3000
        },
        "smartDenoisingPlan": {
          "enabled": true
        }
      },
      "compliancePlan": {
        "hipaaEnabled": true,
        "pciEnabled": {
          "pciEnabled": false
        },
        "recordingConsentPlan": {
          "firstMessageMode": "assistant-speaks-first",
          "message": "For quality purposes, this call may be recorded. Please stay on the line if you agree or end the call if you do not consent.",
          "type": "stay-on-line",
          "voice": {
            "cachingEnabled": true,
            "chunkPlan": {
              "enabled": true,
              "formatPlan": {
                "enabled": true,
                "formattersEnabled": "markdown",
                "numberToDigitsCutoff": 2025,
                "replacements": [
                  {
                    "key": {},
                    "replaceAllEnabled": {},
                    "type": {},
                    "value": {}
                  }
                ]
              },
              "minCharacters": 30,
              "punctuationBoundaries": "。"
            },
            "fallbackPlan": {
              "voices": [
                {
                  "cachingEnabled": true,
                  "chunkPlan": {
                    "enabled": true,
                    "formatPlan": {},
                    "minCharacters": 30,
                    "punctuationBoundaries": [
                      "。",
                      "，",
                      ".",
                      "!",
                      "?",
                      ";",
                      "،",
                      "۔",
                      "।",
                      "॥",
                      "|",
                      "||",
                      ",",
                      ":"
                    ]
                  },
                  "provider": "azure",
                  "speed": 1.1,
                  "voiceId": "andrew"
                }
              ]
            },
            "provider": "azure",
            "speed": 1.1,
            "voiceId": "andrew"
          },
          "waitSeconds": 3
        },
        "securityFilterPlan": {
          "enabled": false,
          "filters": [
            {}
          ],
          "mode": "sanitize",
          "replacementText": "[FILTERED]"
        }
      },
      "credentialIds": [
        "string"
      ],
      "credentials": [
        {
          "apiKey": "string",
          "name": "string",
          "provider": "anthropic"
        }
      ],
      "edges": [
        {
          "condition": {
            "prompt": "string",
            "type": "ai"
          },
          "from": "string",
          "metadata": {},
          "to": "string"
        }
      ],
      "globalPrompt": "string",
      "hooks": [
        {
          "do": [
            {
              "tool": {
                "backoffPlan": {
                  "baseDelaySeconds": 1,
                  "excludedStatusCodes": [
                    400,
                    401,
                    403,
                    404
                  ],
                  "maxRetries": 0,
                  "type": "fixed"
                },
                "body": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": {},
                      "enum": {},
                      "format": {},
                      "items": {},
                      "pattern": {},
                      "properties": {},
                      "required": {},
                      "title": {},
                      "type": {}
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "credentialId": "550e8400-e29b-41d4-a716-446655440000",
                "description": "string",
                "encryptedPaths": [
                  "string"
                ],
                "headers": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": {},
                      "enum": {},
                      "format": {},
                      "items": {},
                      "pattern": {},
                      "properties": {},
                      "required": {},
                      "title": {},
                      "type": {}
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "messages": [
                  {
                    "blocking": false,
                    "conditions": [
                      {
                        "operator": {},
                        "param": {},
                        "value": {}
                      }
                    ],
                    "content": "string",
                    "contents": [
                      {}
                    ],
                    "type": "request-start"
                  }
                ],
                "method": "POST",
                "name": "string",
                "parameters": [
                  {
                    "key": "string",
                    "value": {}
                  }
                ],
                "rejectionPlan": {
                  "conditions": [
                    {
                      "regex": "\\\\b(cancel|stop|wait)\\\\b - Matches whole words",
                      "type": "regex"
                    }
                  ]
                },
                "timeoutSeconds": 20,
                "type": "apiRequest",
                "url": "string",
                "variableExtractionPlan": {
                  "aliases": [
                    {
                      "key": "string",
                      "value": "string"
                    }
                  ],
                  "schema": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": {},
                      "enum": {},
                      "format": {},
                      "items": {},
                      "pattern": {},
                      "properties": {},
                      "required": {},
                      "title": {},
                      "type": {}
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  }
                }
              },
              "toolId": "string",
              "type": "tool"
            }
          ],
          "filters": [
            {
              "key": "string",
              "oneOf": [
                "string"
              ],
              "type": "oneOf"
            }
          ],
          "on": "call.ending"
        }
      ],
      "keypadInputPlan": {
        "delimiters": "#",
        "enabled": true,
        "timeoutSeconds": 1.1
      },
      "maxDurationSeconds": 600,
      "model": {
        "maxTokens": 5030,
        "messages": [
          {
            "content": "string",
            "role": "assistant"
          }
        ],
        "model": "gpt-6-luna",
        "provider": "openai",
        "reasoningEffort": "minimal",
        "temperature": 1.1
      },
      "monitorPlan": {
        "controlAuthenticationEnabled": false,
        "controlEnabled": false,
        "listenAuthenticationEnabled": false,
        "listenEnabled": false,
        "monitorIds": [
          "123e4567-e89b-12d3-a456-426614174000"
        ]
      },
      "name": "string",
      "nodes": [
        {
          "globalNodePlan": {
            "enabled": false,
            "enterCondition": ""
          },
          "isStart": true,
          "metadata": {},
          "model": {
            "maxTokens": 5030,
            "messages": [
              {
                "content": "string",
                "role": "assistant"
              }
            ],
            "model": "gpt-6-luna",
            "provider": "openai",
            "reasoningEffort": "minimal",
            "temperature": 1.1
          },
          "name": "string",
          "prompt": "string",
          "toolIds": [
            "string"
          ],
          "tools": [
            {
              "backoffPlan": {
                "baseDelaySeconds": 1,
                "excludedStatusCodes": [
                  400,
                  401,
                  403,
                  404
                ],
                "maxRetries": 0,
                "type": "fixed"
              },
              "body": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": {},
                        "enum": {},
                        "format": {},
                        "items": {},
                        "pattern": {},
                        "properties": {},
                        "required": {},
                        "title": {},
                        "type": {}
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              },
              "credentialId": "550e8400-e29b-41d4-a716-446655440000",
              "description": "string",
              "encryptedPaths": [
                "string"
              ],
              "headers": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": {},
                        "enum": {},
                        "format": {},
                        "items": {},
                        "pattern": {},
                        "properties": {},
                        "required": {},
                        "title": {},
                        "type": {}
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              },
              "messages": [
                {
                  "blocking": false,
                  "conditions": [
                    {
                      "operator": "eq",
                      "param": "string",
                      "value": "string"
                    }
                  ],
                  "content": "string",
                  "contents": [
                    {
                      "language": "aa",
                      "text": "string",
                      "type": "text"
                    }
                  ],
                  "type": "request-start"
                }
              ],
              "method": "POST",
              "name": "string",
              "parameters": [
                {
                  "key": "string",
                  "value": {}
                }
              ],
              "rejectionPlan": {
                "conditions": [
                  {
                    "regex": "\\\\b(cancel|stop|wait)\\\\b - Matches whole words",
                    "type": "regex"
                  }
                ]
              },
              "timeoutSeconds": 20,
              "type": "apiRequest",
              "url": "string",
              "variableExtractionPlan": {
                "aliases": [
                  {
                    "key": "string",
                    "value": "string"
                  }
                ],
                "schema": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": {},
                        "enum": {},
                        "format": {},
                        "items": {},
                        "pattern": {},
                        "properties": {},
                        "required": {},
                        "title": {},
                        "type": {}
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                }
              }
            }
          ],
          "transcriber": {
            "agentContext": "string",
            "agentContextAutoUpdateEnabled": false,
            "confidenceThreshold": 0.4,
            "disablePartialTranscripts": true,
            "endOfTurnConfidenceThreshold": 0.7,
            "endUtteranceSilenceThreshold": 1.1,
            "fallbackPlan": {
              "transcribers": [
                {
                  "agentContext": "string",
                  "agentContextAutoUpdateEnabled": false,
                  "confidenceThreshold": 0.4,
                  "disablePartialTranscripts": true,
                  "endOfTurnConfidenceThreshold": 0.7,
                  "endUtteranceSilenceThreshold": 1.1,
                  "formatTurns": true,
                  "keytermsPrompt": [
                    "string"
                  ],
                  "language": "multi",
                  "languageCodes": [
                    "en"
                  ],
                  "maxTurnSilence": 400,
                  "minEndOfTurnSilenceWhenConfident": 160,
                  "mode": "max_accuracy",
                  "prompt": "string",
                  "provider": "assembly-ai",
                  "realtimeUrl": "string",
                  "speechModel": "universal-streaming-english",
                  "vadAssistedEndpointingEnabled": true,
                  "wordBoost": [
                    "string"
                  ],
                  "wordFinalizationMaxWaitTime": 160
                }
              ]
            },
            "formatTurns": true,
            "keytermsPrompt": [
              "string"
            ],
            "language": "multi",
            "languageCodes": [
              "en"
            ],
            "maxTurnSilence": 400,
            "minEndOfTurnSilenceWhenConfident": 160,
            "mode": "max_accuracy",
            "prompt": "string",
            "provider": "assembly-ai",
            "realtimeUrl": "string",
            "speechModel": "universal-streaming-english",
            "vadAssistedEndpointingEnabled": true,
            "wordBoost": [
              "string"
            ],
            "wordFinalizationMaxWaitTime": 160
          },
          "type": "conversation",
          "variableExtractionPlan": {
            "aliases": [
              {
                "key": "string",
                "value": "string"
              }
            ],
            "schema": {
              "description": "string",
              "enum": [
                "string"
              ],
              "format": "date-time",
              "items": {
                "description": "string",
                "enum": [
                  "string"
                ],
                "format": "date-time",
                "items": {
                  "description": "string",
                  "enum": [
                    "string"
                  ],
                  "format": "date-time",
                  "items": {
                    "description": "string",
                    "enum": [
                      "string"
                    ],
                    "format": "date-time",
                    "items": {
                      "description": "string",
                      "enum": [
                        "string"
                      ],
                      "format": "date-time",
                      "items": {
                        "description": {},
                        "enum": {},
                        "format": {},
                        "items": {},
                        "pattern": {},
                        "properties": {},
                        "required": {},
                        "title": {},
                        "type": {}
                      },
                      "pattern": "string",
                      "properties": {},
                      "required": [
                        "string"
                      ],
                      "title": "string",
                      "type": "string"
                    },
                    "pattern": "string",
                    "properties": {},
                    "required": [
                      "string"
                    ],
                    "title": "string",
                    "type": "string"
                  },
                  "pattern": "string",
                  "properties": {},
                  "required": [
                    "string"
                  ],
                  "title": "string",
                  "type": "string"
                },
                "pattern": "string",
                "properties": {},
                "required": [
                  "string"
                ],
                "title": "string",
                "type": "string"
              },
              "pattern": "string",
              "properties": {},
              "required": [
                "string"
              ],
              "title": "string",
              "type": "string"
            }
          },
          "voice": {
            "cachingEnabled": true,
            "chunkPlan": {
              "enabled": true,
              "formatPlan": {
                "enabled": true,
                "formattersEnabled": "markdown",
                "numberToDigitsCutoff": 2025,
                "replacements": [
                  {
                    "key": "string",
                    "replaceAllEnabled": false,
                    "type": "exact",
                    "value": "string"
                  }
                ]
              },
              "minCharacters": 30,
              "punctuationBoundaries": "。"
            },
            "fallbackPlan": {
              "voices": [
                {
                  "cachingEnabled": true,
                  "chunkPlan": {
                    "enabled": true,
                    "formatPlan": {
                      "enabled": true,
                      "formattersEnabled": {},
                      "numberToDigitsCutoff": 2025,
                      "replacements": {}
                    },
                    "minCharacters": 30,
                    "punctuationBoundaries": "。"
                  },
                  "provider": "azure",
                  "speed": 1.1,
                  "voiceId": "andrew"
                }
              ]
            },
            "provider": "azure",
            "speed": 1.1,
            "voiceId": "andrew"
          }
        }
      ],
      "observabilityPlan": {
        "metadata": {},
        "promptName": "string",
        "promptVersion": 1.1,
        "provider": "langfuse",
        "tags": [
          "string"
        ],
        "traceName": "string"
      },
      "server": {
        "backoffPlan": {
          "baseDelaySeconds": 1,
          "excludedStatusCodes": [
            400,
            401,
            403,
            404
          ],
          "maxRetries": 0,
          "type": "fixed"
        },
        "credentialId": "550e8400-e29b-41d4-a716-446655440000",
        "encryptedPaths": [
          "string"
        ],
        "headers": {},
        "staticIpAddressesEnabled": false,
        "timeoutSeconds": 20,
        "url": "string"
      },
      "startSpeakingPlan": {
        "customEndpointingRules": [
          {
            "regex": "string",
            "regexOptions": [
              {
                "enabled": true,
                "type": "ignore-case"
              }
            ],
            "timeoutSeconds": 1.1,
            "type": "assistant"
          }
        ],
        "smartEndpointingEnabled": false,
        "smartEndpointingPlan": {
          "provider": "vapi"
        },
        "transcriptionEndpointingPlan": {
          "onNoPunctuationSeconds": 1.5,
          "onNumberSeconds": 0.5,
          "onPunctuationSeconds": 0.1
        },
        "waitSeconds": 0.4
      },
      "stopSpeakingPlan": {
        "acknowledgementPhrases": [
          "i understand",
          "i see",
          "i got it",
          "i hear you",
          "im listening",
          "im with you",
          "right",
          "okay",
          "ok",
          "sure",
          "alright",
          "got it",
          "understood",
          "yeah",
          "yes",
          "uh-huh",
          "mm-hmm",
          "gotcha",
          "mhmm",
          "ah",
          "yeah okay",
          "yeah sure"
        ],
        "backoffSeconds": 1,
        "interruptionPhrases": [
          "stop",
          "shut",
          "up",
          "enough",
          "quiet",
          "silence",
          "but",
          "dont",
          "not",
          "no",
          "hold",
          "wait",
          "cut",
          "pause",
          "nope",
          "nah",
          "nevermind",
          "never",
          "bad",
          "actually"
        ],
        "numWords": 0,
        "voiceSeconds": 0.2
      },
      "transcriber": {
        "agentContext": "string",
        "agentContextAutoUpdateEnabled": false,
        "confidenceThreshold": 0.4,
        "disablePartialTranscripts": true,
        "endOfTurnConfidenceThreshold": 0.7,
        "endUtteranceSilenceThreshold": 1.1,
        "fallbackPlan": {
          "transcribers": [
            {
              "agentContext": "string",
              "agentContextAutoUpdateEnabled": false,
              "confidenceThreshold": 0.4,
              "disablePartialTranscripts": true,
              "endOfTurnConfidenceThreshold": 0.7,
              "endUtteranceSilenceThreshold": 1.1,
              "formatTurns": true,
              "keytermsPrompt": [
                "string"
              ],
              "language": "multi",
              "languageCodes": [
                "en"
              ],
              "maxTurnSilence": 400,
              "minEndOfTurnSilenceWhenConfident": 160,
              "mode": "max_accuracy",
              "prompt": "string",
              "provider": "assembly-ai",
              "realtimeUrl": "string",
              "speechModel": "universal-streaming-english",
              "vadAssistedEndpointingEnabled": true,
              "wordBoost": [
                "string"
              ],
              "wordFinalizationMaxWaitTime": 160
            }
          ]
        },
        "formatTurns": true,
        "keytermsPrompt": [
          "string"
        ],
        "language": "multi",
        "languageCodes": [
          "en"
        ],
        "maxTurnSilence": 400,
        "minEndOfTurnSilenceWhenConfident": 160,
        "mode": "max_accuracy",
        "prompt": "string",
        "provider": "assembly-ai",
        "realtimeUrl": "string",
        "speechModel": "universal-streaming-english",
        "vadAssistedEndpointingEnabled": true,
        "wordBoost": [
          "string"
        ],
        "wordFinalizationMaxWaitTime": 160
      },
      "voice": {
        "cachingEnabled": true,
        "chunkPlan": {
          "enabled": true,
          "formatPlan": {
            "enabled": true,
            "formattersEnabled": "markdown",
            "numberToDigitsCutoff": 2025,
            "replacements": [
              {
                "key": "string",
                "replaceAllEnabled": false,
                "type": "exact",
                "value": "string"
              }
            ]
          },
          "minCharacters": 30,
          "punctuationBoundaries": "。"
        },
        "fallbackPlan": {
          "voices": [
            {
              "cachingEnabled": true,
              "chunkPlan": {
                "enabled": true,
                "formatPlan": {
                  "enabled": true,
                  "formattersEnabled": "markdown",
                  "numberToDigitsCutoff": 2025,
                  "replacements": [
                    {
                      "key": {},
                      "replaceAllEnabled": {},
                      "type": {},
                      "value": {}
                    }
                  ]
                },
                "minCharacters": 30,
                "punctuationBoundaries": "。"
              },
              "provider": "azure",
              "speed": 1.1,
              "voiceId": "andrew"
            }
          ]
        },
        "provider": "azure",
        "speed": 1.1,
        "voiceId": "andrew"
      },
      "voicemailDetection": "off",
      "voicemailMessage": "string"
    },
    "workflowId": "string",
    "workflowOverrides": {
      "variableValues": {}
    }
  }
}
```