Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions fern/assistants/assistant-hooks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@ Perform multiple actions—say a message, call a function, and transfer the call
Use `"oneOf": ["pipeline-error"]` as a catch-all filter for any pipeline-related error reason.
</Note>

If the call is ending because the voice failed and no [fallback voice](/voice-fallback-plan) is left, the hook's actions still run to the end. Tools such as `transferCall`, `endCall`, and functions run, and a `say` that plays an audio file still plays. A `say` with text is silent, because it uses the failed voice. If the hooks don't run, for example while voicemail detection is still active, the call ends with the reason that triggered the hooks.

## Example: Handle speech interruptions

Respond when the assistant's speech is interrupted by the customer:
Expand Down
38 changes: 37 additions & 1 deletion fern/assistants/keypad-input-settings.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Vapi collects the keys the caller presses and processes them when one of these h

Set the timeout to 0 when input should only be processed after the caller enters a delimiter. With a timeout of 0, always configure at least one delimiter, or the input is never processed.

When Vapi processes the collected keys, it adds them to the conversation as a user message, for example, `User's Keypad Entry: 1234`. If the assistant is speaking at that moment, it stops and responds to the entry. The entry is available to the model and is saved in the call's messages and transcript when transcript artifacts are enabled. See [Handle sensitive input](#handle-sensitive-input) before collecting confidential values.
When Vapi processes the collected keys, it adds them to the conversation as a user message, for example, `User's Keypad Entry: 1234`. If the assistant is speaking at that moment, it stops and responds to the entry, unless [`triggerResponseEnabled`](#add-entries-without-a-reply) is `false`. The entry is available to the model and is saved in the call's messages and transcript when transcript artifacts are enabled. See [Handle sensitive input](#handle-sensitive-input) before collecting confidential values.

Keypad input works on phone calls on Twilio, Telnyx, Vonage, Vapi numbers, and BYO SIP trunks. It doesn't work on web calls or WebSocket calls.

Expand Down Expand Up @@ -58,6 +58,8 @@ Configure caller keypad input with `keypadInputPlan` when you create or update a
| `enabled` | boolean | Enables caller keypad input. Default is `false`. |
| `timeoutSeconds` | number | Processes the collected input after 1–10 seconds pass with no new key. Default is 2 seconds. Set it to `0` to wait for a delimiter. |
| `delimiters` | array of strings | Processes input when the caller enters one of these keys. Each item must be `#`, `*`, or `""`. Default is `["#", "*"]`. Use an empty array to process input on the timeout only; `#` and `*` are then included in the entry like any other key. Don't combine an empty array with a timeout of `0`, because the input is never processed. |
| `triggerResponseEnabled` | boolean | Controls whether a finished entry makes the assistant reply. Default is `true`. Set it to `false` to add the entry to the conversation without a reply. |
| `variableName` | string | Stores each finished entry in a call variable with this name. The value keeps leading zeros, and a later entry replaces the earlier one. The name must start with a letter, contain only letters, numbers, and underscores, and be 1–40 characters. Not supported on GPT-Live assistants. |

This example processes input after 2 seconds or when the caller enters `#`:

Expand All @@ -71,6 +73,40 @@ This example processes input after 2 seconds or when the caller enters `#`:
}
```

## Add entries without a reply

By default, a finished entry interrupts the assistant and makes it reply. Set `triggerResponseEnabled` to `false` to add the entry to the conversation without a reply, so the assistant keeps talking. The model reads the entry on the caller's next turn, including when the entry arrives while Vapi is still detecting the end of that turn.

## Use an entry in a transfer

Set `variableName` to store each finished entry as a call variable. Reference it as `{{variableName}}` in a transfer destination, for example in `sipHeaders`, so the model doesn't have to repeat the digits. The value also appears in the call's `artifact.variableValues`.

This plan adds entries without a reply and stores them in `account_id`:

```json
{
"keypadInputPlan": {
"enabled": true,
"timeoutSeconds": 0,
"delimiters": ["#"],
"triggerResponseEnabled": false,
"variableName": "account_id"
}
}
```

This SIP transfer destination sends the stored entry in a header:

```json
{
"type": "sip",
"sipUri": "sip:support@example.com",
"sipHeaders": {
"x-account-id": "{{account_id}}"
}
}
```

## Handle sensitive input

Keypad input can collect general caller data, but sensitive values need additional controls. For payment information, follow the [PCI compliance guide](/security-and-privacy/pci) to isolate collection and prevent sensitive artifacts from being recorded or logged.
Expand Down
2 changes: 2 additions & 0 deletions fern/calls/call-ended-reason.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ Each voice provider has specific error codes. Common patterns:

**Supported providers:** ElevenLabs, Cartesia, Deepgram, Azure, OpenAI, Rime AI, Smallest AI, Neuphonic, Hume, Sesame, Inworld, Minimax, WellSaid, Custom Voice.

A [custom voice](/customization/custom-voices/custom-tts) ends the call with `pipeline-error-custom-voice-failed` when your voice server returns an HTTP error or doesn't respond, and no fallback voice is left. Your server owns these failures, so they are not reported as Vapi faults.

## Pipeline errors: transcriber (STT)

Common transcriber error patterns:
Expand Down
18 changes: 18 additions & 0 deletions fern/changelog/2026-11-23.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# What's New: Week of November 23, 2026

## New models and transcribers

1. **GPT-6.1 Terra**: OpenAI's [GPT-6.1 Terra](/providers/model/openai) model (`gpt-6.1-terra`) is now available, with tool calls, parallel tool calls, and structured outputs. Its default reasoning effort is `low`, and `minimal` isn't supported.
2. **ElevenLabs Scribe v3 Live**: [ElevenLabs transcribers](/providers/transcriber/elevenlabs) now support Scribe v3 Live (`scribe_v3_live`), shown as Beta in the Dashboard. Set `language` to `multi` to transcribe callers who switch languages during a call, and use the new `languages` list to hint which languages to expect. Scribe v3 Live accepts `keyterms`, up to 50 terms of 20 characters each.

## Features

3. **Keypad entries without a reply**: [Keypad input](/documentation/assistants/conversation-behavior/keypad-input-settings) has two new settings in `keypadInputPlan`, both off by default. Set `triggerResponseEnabled` to `false` to add the caller's keypad entry to the conversation without the assistant replying right away; the assistant sees it on the caller's next turn. Set `variableName` to save each entry as a call variable, with leading zeros kept, so you can use it in a transfer destination such as a SIP header.
4. **Interruptions in Japanese, Chinese, Cantonese, and Thai**: Callers speaking Japanese, Chinese, Cantonese, or Thai can now interrupt the assistant when the [stop speaking plan's](/customization/speech-configuration) `numWords` is 2 or more. Words in these languages are now counted individually, instead of a whole sentence counting as one word.

## Fixes and improvements

5. **Assistant turns after a voice fallback**: Fixed missing assistant turns in transcripts and conversation history when calls using ElevenLabs with `modelOutputInMessagesEnabled` enabled switch to a non-ElevenLabs [fallback voice](/voice-fallback-plan).
6. **Fallback voice recovery**: The [fallback voice](/voice-fallback-plan) now takes over in more cases: when a message fails partway through, when no audio arrives within 3 seconds, when audio stalls mid-reply, when Deepgram or ElevenLabs fails to connect three times in a row, and when a voice fails before an outbound call is answered. A message that failed is spoken again on the fallback voice, and a first message that already started playing isn't repeated.
7. **Custom voice server errors**: When a [custom voice](/customization/custom-voices/custom-tts) server returns an HTTP error or doesn't respond, the voice now fails and the fallback voice takes over. Without a fallback voice, the call ends with `pipeline-error-custom-voice-failed`. Before, the caller heard the error as noise or the voice went silent.
8. **Soniox default model**: [Soniox transcribers](/providers/transcriber/soniox) with no `model` set now use `stt-rt-v6` instead of `stt-rt-v5`. Assistants that set v4 or v5 are unchanged.
4 changes: 3 additions & 1 deletion fern/customization/custom-tts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,8 @@ Transfer-Encoding: chunked
````
</CodeBlocks>

If your server returns a 4xx or 5xx status, or doesn't respond, Vapi doesn't play the response body. The voice fails, and the [fallback voice](/voice-fallback-plan) takes over if you configured one. Without a fallback voice, the call ends with `pipeline-error-custom-voice-failed`.

## Audio format requirements

### PCM specifications
Expand Down Expand Up @@ -479,7 +481,7 @@ console.error('Test error:', error);

<AccordionGroup>
<Accordion title="Request timeouts">
**Symptoms:** VAPI doesn't receive your audio response, calls may drop
**Symptoms:** VAPI doesn't receive your audio response. The call switches to a fallback voice, or ends with `pipeline-error-custom-voice-failed` if no fallback voice is left

**Common causes:**
- TTS processing takes longer than configured timeout
Expand Down
2 changes: 2 additions & 0 deletions fern/customization/speech-configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ The Stop Speaking Plan defines when the assistant stops talking after detecting

- **Words to Stop Speaking**: Define how many words the customer needs to say before the assistant stops talking. If you want immediate reaction, set this to 0. Increase it to avoid interruptions by brief acknowledgments like "okay" or "right". **Example:** While setting an appointment with a clinic, set `numWords` to 2-3 words to allow customers to finish brief clarifications without triggering interruptions.

In Japanese, Chinese, Cantonese, and Thai, which are written without spaces between words, Vapi counts each word separately, so callers can interrupt when `numWords` is 2 or more. Partial transcripts in these languages are counted conservatively, so an interruption can trigger slightly later than in languages that use spaces.

- **Voice Activity Detection**: Adjust how long the customer needs to be speaking before the assistant stops. The default is 0.2 seconds, but you can tweak this to balance responsiveness and avoid false triggers.
**Example:** For a banking call center, setting a higher `voiceSeconds` value ensures accuracy by reducing false positives. This avoids interruptions caused by background sounds, even if it slightly delays the detection of speech onset. This tradeoff is essential to ensure the assistant processes only correct and intended information.

Expand Down
6 changes: 3 additions & 3 deletions fern/observability/monitoring-quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Notifiers are alert channels (email, Slack, or webhook) that send notifications
<Step title="Configure the notifier">
1. Choose a notifier type: **Email**, **Slack**, or **Webhook**
2. For email: enter the recipient email address
3. For Slack: paste your Slack webhook URL
3. For Slack: paste your Slack webhook URL. It must use `https://` and resolve to a public address.
4. For webhook: enter your endpoint URL
5. Give the notifier a name (e.g., "Engineering Slack Channel")
6. Click **Save**
Expand Down Expand Up @@ -175,9 +175,9 @@ When a webhook notifier is attached to a trigger, Vapi sends a single `POST` req
| `message.type` | Always `issue.created`. This is the only monitoring event Vapi emits (see [below](#one-webhook-per-issue)). |
| `message.timestamp` | When the alert was sent, in milliseconds since the Unix epoch. |
| `message.orgId` | The organization that owns the monitor and issue. |
| `message.issue.totalCalls` | Calls evaluated in the window. |
| `message.issue.totalCalls` | Calls evaluated in the window. It covers the same assistants and window as `failingCalls`. |
| `message.issue.failingCalls` | Calls that matched the Insight during the evaluation that created the issue. Your failure rate for that evaluation is `failingCalls / totalCalls`. The `callsCount` returned by `GET /monitoring/issue/:id` can increase as later evaluations add affected calls to the active issue. |
| `message.issue.evaluationStartAt` | Start of the evaluation window. |
| `message.issue.evaluationStartAt` | Start of the evaluation window. The window ends at the trigger's scheduled run time, and a relative start in the Insight's `timeRange`, such as `-1h`, is measured back from that time. |
| `message.monitor.category` | `technical`, `infrastructure`, `effectiveness`, or `compliance`. The payload shape is identical across categories, so this field is how you tell them apart. |
| `message.monitor.trigger.insight.name` | Human-readable name of the metric that breached, for display. |
| `message.monitor.trigger.insight.id` | Stable ID of the configured Insight. Match on this rather than `name` for routing logic. |
Expand Down
2 changes: 1 addition & 1 deletion fern/providers/cloud/cloudflare.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ See these [instructions](https://developers.cloudflare.com/r2/api/s3/tokens/) fo

Setting | Description
------------------------ | -------------------------------------------------------
Cloudflare Account ID | Your customer account id for Cloudflare
Cloudflare Account ID | Your customer account id for Cloudflare (this is a string of 32 hexadecimal characters)
Cloudflare Account Email | The email address associated with the account id
Cloudflare API Key/Token | The value of an API Key/Token generated for the account (Cloudflare uses the terms API Key and API Token interchangeably)
Bucket Name | The name of the bucket in R2 to upload recordings to
Expand Down
2 changes: 1 addition & 1 deletion fern/providers/cloud/supabase.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Setting | Description
------------------------- | -------------------------------------------------------
Bucket Name | The name of the bucket in Supabase Storage to upload recordings to
Storage Region | The region of the Supabase project
Storage Endpoint | The endpoint of the Supabase Storage to upload recordings to
Storage Endpoint | The endpoint of the Supabase Storage to upload recordings to. It must resolve to a public address; Vapi doesn't connect to a localhost, private network, or link-local address.
Bucket Path Prefix | An optional path prefix for recordings uploaded to the bucket. Supports [LiquidJS Date format](https://liquidjs.com/filters/date.html) templating - for example, `{{ "now" \| date: "%Y/%m/%d" }}` renders as YYYY/MM/DD.
Storage Access Key ID | The access key id for Supabase Storage
Storage Secret Access Key | The secret access key for Supabase Storage, associated with the access key id
Expand Down
5 changes: 3 additions & 2 deletions fern/providers/model/openai.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ For additional API configuration options, review the [`OpenAIModel` fields](/api

| Model | Model ID |
| --- | --- |
| GPT 6.1 Terra | `gpt-6.1-terra` |
| GPT 6 Luna | `gpt-6-luna` |
| GPT 5.6 Sol | `gpt-5.6-sol` |
| GPT 5.6 Terra | `gpt-5.6-terra` |
Expand Down Expand Up @@ -114,7 +115,7 @@ Each model accepts only the efforts OpenAI supports for it:

| Model | Accepted values |
| --- | --- |
| GPT 6 Luna | `none`, `low`, `medium`, `high`, `xhigh` |
| GPT 6.1 Terra, GPT 6 Luna | `none`, `low`, `medium`, `high`, `xhigh` |
| GPT 5.6 Sol, GPT 5.6 Terra, GPT 5.6 Luna | `none`, `low`, `medium`, `high`, `xhigh` |
| GPT 5.4, GPT 5.4 Mini, GPT 5.2 | `none`, `low`, `medium`, `high`, `xhigh` |
| GPT 5, GPT 5 Mini, GPT 5 Nano | `minimal`, `low`, `medium`, `high` |
Expand Down Expand Up @@ -142,7 +143,7 @@ For latency-sensitive assistants, you can run supported OpenAI models in OpenAI'
| `auto` | Uses the service tier configured for your OpenAI project. |
| `default` | Standard processing and billing. |

`serviceTier` applies only to models that support fast processing: `gpt-6-luna`, `gpt-5.6-sol`, `gpt-5.6-terra`, `gpt-5.6-luna`, and `gpt-5.5`. It is ignored for other models. When unset, Vapi uses the service tier configured for your OpenAI project. See [OpenAI's pricing](https://openai.com/api/pricing) for fast-tier rates, and the [`OpenAIModel` fields](/api-reference/assistants/create#request.body.model.OpenAI) in the Create Assistant API reference.
The `serviceTier` field applies only to models that support fast processing: `gpt-6.1-terra`, `gpt-6-luna`, `gpt-5.6-sol`, `gpt-5.6-terra`, `gpt-5.6-luna`, and `gpt-5.5`. It is ignored for other models. When unset, Vapi uses the service tier configured for your OpenAI project. See [OpenAI's pricing](https://openai.com/api/pricing) for fast-tier rates, and the [`OpenAIModel` fields](/api-reference/assistants/create#request.body.model.OpenAI) in the Create Assistant API reference.

```bash
curl -X PATCH "https://api.vapi.ai/assistant/ASSISTANT_ID" \
Expand Down
4 changes: 4 additions & 0 deletions fern/providers/transcriber/assembly-ai.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ This guide details how to setup AssemblyAI as a transcriber for your assistant.
</Step>
</Steps>

### VAD-assisted endpointing

When AssemblyAI detects the end of a turn while Vapi's voice activity detection still hears the caller, Vapi waits for the caller to stop before ending the turn. This reduces replies during short pauses, but replies can be slightly slower. It's on by default. To turn it off, set `transcriber.vadAssistedEndpointingEnabled` to `false`, or turn off **VAD-assisted endpointing** in the transcriber's advanced settings in the Dashboard. The setting has no effect when `startSpeakingPlan.smartEndpointingPlan` is set.

### Supported languages

Vapi supports AssemblyAI's English and multilingual Universal-Streaming modes, plus the Universal 3.5 Pro and Universal 3.6 Pro models.
Expand Down
26 changes: 25 additions & 1 deletion fern/providers/transcriber/elevenlabs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,17 @@ For additional API configuration options, review the [`ElevenLabsTranscriber` fi
| Scribe v1 | `scribe_v1` |
| Scribe v2 | `scribe_v2` |
| Scribe v2 Realtime | `scribe_v2_realtime` |
| Scribe v3 Live | `scribe_v3_live` |

### Keyterms

To help Scribe recognize names, product terms, and other words it might mishear, list them in `transcriber.keyterms`. Keyterms work with Scribe v2 and Scribe v2 Realtime. Vapi rejects `keyterms` on Scribe v1.
To help Scribe recognize names, product terms, and other words it might mishear, list them in `transcriber.keyterms`. Keyterms work with Scribe v2, Scribe v2 Realtime, and Scribe v3 Live. Vapi rejects `keyterms` on Scribe v1.

| Model | Maximum terms | Maximum characters per term |
| --- | --- | --- |
| Scribe v2 | 100 | 50 |
| Scribe v2 Realtime | 50 | 20 |
| Scribe v3 Live | 50 | 20 |

Each term can be at most five words and can't contain `<`, `>`, `{`, `}`, `[`, `]`, or `\`. Sending keyterms adds ElevenLabs' keyterm prompting rate to the transcriber cost.

Expand All @@ -62,6 +64,28 @@ curl -X PATCH "https://api.vapi.ai/assistant/ASSISTANT_ID" \

For more on improving recognition of specific terms, see [Keywords and keyterm prompting](/customization/custom-keywords#elevenlabs-keyterms).

### Multilingual transcription

Scribe v3 Live can transcribe callers who switch between languages. Set `transcriber.language` to `multi` for automatic code-switching, or set it to one primary language code.

To hint at other languages callers might speak, list them in `transcriber.languages` as ISO 639-1 codes. Vapi removes duplicate codes. In assistant overrides, send an empty array (`[]`) to clear hints inherited from the assistant.

```bash
curl -X PATCH "https://api.vapi.ai/assistant/ASSISTANT_ID" \
-H "Authorization: Bearer $VAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"transcriber": {
"provider": "11labs",
"model": "scribe_v3_live",
"language": "multi",
"languages": ["en", "es"]
}
}'
```

The `multi` language value and the `languages` field work only with Scribe v3 Live. Vapi rejects them on other Scribe models.

### Supported languages

The following languages are supported by the current Scribe models and accepted by Vapi. See [ElevenLabs' speech-to-text documentation](https://elevenlabs.io/docs/overview/capabilities/speech-to-text/#supported-languages) for provider details.
Expand Down
Loading
Loading