elevenlabs
v1.0.3Convert text to speech, transcribe audio, and dub videos with AI voices
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_speech_history List Speech History
Retrieve a paginated list of your generated audio items with optional filtering by voice, model, date range, and source. Results are ordered by creation date.
| Parameter | Type | Description |
|---|---|---|
date_after_unix | integer | Filter to history items created on or after this date (inclusive). Provide as a Unix timestamp. |
date_before_unix | integer | Filter to history items created before this date (exclusive). Provide as a Unix timestamp. |
model_id | string | Filter results to a specific text-to-speech model. |
page_size | integer | Maximum number of history items to return per request. Useful for controlling response size and pagination. |
sort_direction | string | Order results by creation date in ascending or descending order. |
source | string | Filter results by the source that generated the audio item. |
start_after_history_item_id | string | History item ID to start pagination after. Use this to fetch subsequent pages of results when working with large collections. |
voice_id | string | Filter results to a specific voice. Retrieve available voice IDs from the list voices endpoint. |
get_speech_history_item Get Speech History Item
Retrieves a specific speech synthesis history item by its ID. Use this to access details about a previously generated speech synthesis request.
| Parameter | Type | Description |
|---|---|---|
history_item_id * | string | The unique identifier of the history item to retrieve. You can obtain available history item IDs by calling the list speech history operation. |
delete_history_item Delete History Item
Delete a speech history item by its ID. This removes the item from your speech synthesis history.
| Parameter | Type | Description |
|---|---|---|
history_item_id * | string | The unique identifier of the history item to delete. You can retrieve available history item IDs using the list history items endpoint. |
get_speech_history_audio Get Speech History Audio
Retrieve the audio file associated with a specific speech synthesis history item. Use the history item ID obtained from the speech history list to download the generated audio.
| Parameter | Type | Description |
|---|---|---|
history_item_id * | string | The unique identifier of the speech history item from which to retrieve the audio file. |
download_speech_items Download Speech Items
Download one or more speech history items as audio files. Single items are returned as individual audio files, while multiple items are packaged into a .zip archive.
| Parameter | Type | Description |
|---|---|---|
history_item_ids * | array | List of history item IDs to download. Retrieve available IDs and metadata from the list speech history endpoint. Order is preserved in the output archive. |
output_format | string | Audio file format for transcoding. Specify the desired output format for the downloaded audio files. |
generate_sound Generate Sound
Generate realistic sound effects from text descriptions using advanced AI models. Perfect for video production, voice-overs, and game audio.
| Parameter | Type | Description |
|---|---|---|
text * | string | Detailed text description of the sound effect to generate. Be descriptive about the audio characteristics, environment, and desired qualities. |
duration_seconds | number | Target duration of the generated sound in seconds. If not specified, the optimal duration will be automatically determined from the text description. |
loop | boolean | Enable seamless looping for the generated sound effect. Only supported with the eleven_text_to_sound_v2 model. |
model_id | string | The AI model to use for sound generation. Determines the quality and capabilities of the generated audio. |
output_format | string | Audio codec, sample rate, and bitrate for the generated sound. Higher bitrates and sample rates require appropriate subscription tiers. |
prompt_influence | number | Controls how strictly the generation adheres to the text description. Higher values produce more consistent results but less variation; lower values allow more creative freedom. |
isolate_audio Isolate Audio
Removes background noise and isolates vocals or speech from an audio file. Returns the cleaned audio with background noise suppressed.
| Parameter | Type | Description |
|---|---|---|
audio * | string | Base64-encoded file content for upload. The audio file to process for noise removal and vocal/speech isolation. Accepts binary audio data in common formats. |
isolate_audio_stream Isolate Audio Stream
Removes background noise from audio and streams the isolated vocals or speech. Processes the provided audio file and returns the cleaned result as a stream.
| Parameter | Type | Description |
|---|---|---|
audio * | string | Base64-encoded file content for upload. The audio file to process for isolation. The audio data should be provided in binary format. |
delete_voice_sample Delete Voice Sample
Permanently removes a sample from a voice by its ID. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
sample_id * | string | The unique identifier of the sample to delete from the specified voice. |
voice_id * | string | The unique identifier of the voice containing the sample to delete. |
retrieve_voice_sample_audio Retrieve Voice Sample Audio
Retrieves the audio file associated with a specific sample attached to a voice. Use this to download or access audio data for voice samples.
| Parameter | Type | Description |
|---|---|---|
sample_id * | string | The unique identifier of the sample within the specified voice. You can retrieve available sample IDs by fetching the voice details endpoint. |
voice_id * | string | The unique identifier of the voice containing the sample. You can retrieve available voice IDs from the voices list endpoint. |
generate_speech Generate Speech
Converts text into natural-sounding speech using a selected voice and returns audio in your preferred format. Supports voice customization through stability, similarity, style, and speed controls, with optional pronunciation dictionaries and continuity features for multi-part audio generation.
| Parameter | Type | Description |
|---|---|---|
text * | string | The text content to be converted into speech. |
voice_id * | string | The unique identifier of the voice to use for speech generation. Available voices can be retrieved from the voices endpoint. |
apply_language_text_normalization | boolean | Enables language-specific text normalization for improved pronunciation in supported languages. Currently only supported for Japanese. Warning: may significantly increase request latency. |
apply_text_normalization | string | Controls text normalization behavior. 'auto' lets the system decide, 'on' always applies normalization (e.g., spelling out numbers), and 'off' skips normalization entirely. |
language_code | string | ISO 639-1 language code to enforce a specific language for the model and text normalization. The model must support the specified language or an error will be returned. |
model_id | string | The AI model to use for speech generation. The model must support text-to-speech capability. Defaults to the multilingual v2 model. |
next_request_ids | array | Request IDs of audio samples that follow this generation. Useful for maintaining natural flow when regenerating a sample within a sequence. Maximum of 3 request IDs. Works best with the same model acr… |
output_format | string | The audio format and quality for the generated speech, specified as codec_sample_rate_bitrate. Higher bitrates and sample rates require higher subscription tiers. Defaults to MP3 at 44.1kHz with 128kb… |
previous_request_ids | array | Request IDs of previously generated audio samples to maintain continuity when splitting large tasks. Improves speech flow when combining multiple generations. Maximum of 3 request IDs. Works best with… |
pronunciation_dictionary_locators | array | A list of pronunciation dictionary locators to apply to the text in order. Each locator contains a pronunciation_dictionary_id and version_id. Maximum of 3 locators per request. |
similarity_boost | number | Controls how closely the generated speech adheres to the original voice characteristics. Higher values maintain stronger voice similarity, while lower values allow more variation. |
speed | number | Adjusts speech playback speed. A value of 1.0 is normal speed; values below 1.0 slow down speech, while values above 1.0 speed it up. |
stability | number | Controls voice consistency and emotional range. Lower values (closer to 0) produce more varied emotional expression, while higher values (closer to 1) create more consistent but potentially monotonous… |
style | number | Amplifies the stylistic characteristics of the voice. A value of 0 applies no style exaggeration. Higher values increase style intensity but may increase latency and computational usage. |
generate_speech_with_timestamps Generate Speech with Timestamps
Convert text to speech audio with precise character-level timing information for synchronizing audio playback with text. Returns audio file and timestamp data for each character.
| Parameter | Type | Description |
|---|---|---|
text * | string | The text content to convert into speech audio. |
voice_id * | string | The voice identifier to use for speech generation. Available voices can be retrieved from the voices endpoint. |
apply_language_text_normalization | boolean | Enable language-specific text normalization for proper pronunciation. Currently supported for Japanese only. Warning: may significantly increase request latency. |
apply_text_normalization | string | Text normalization mode: 'auto' applies normalization automatically, 'on' always applies it, 'off' disables it. Normalization handles conversions like spelling out numbers. |
language_code | string | ISO 639-1 language code to enforce language processing and text normalization. The model must support the specified language. |
model_id | string | The AI model identifier to use for text-to-speech conversion. The model must support text-to-speech capability. |
next_request_ids | array | Request IDs of subsequent speech samples to maintain continuity. Useful for regenerating a sample while preserving natural flow with following audio. Maximum of 3 request IDs. Results are best when us… |
output_format | string | Audio output format specified as codec_sample_rate_bitrate (e.g., mp3_44100_128). Higher bitrates and certain formats require higher subscription tiers. |
previous_request_ids | array | Request IDs of previously generated speech samples to maintain continuity. Used when splitting large tasks across multiple requests. Maximum of 3 request IDs. Results are best when using the same mode… |
pronunciation_dictionary_locators | array | List of pronunciation dictionary locators to apply to the text in order. Each locator contains a pronunciation_dictionary_id and version_id. Maximum of 3 locators per request. |
similarity_boost | number | Voice similarity control ranging from 0 to 1. Higher values make the AI adhere more closely to the original voice characteristics. |
speed | number | Speech speed multiplier where 1.0 is normal speed, values below 1.0 slow down speech, and values above 1.0 speed it up. |
stability | number | Voice stability control ranging from 0 (high emotional range) to 1 (monotonous). Lower values produce more expressive speech with greater variation. |
style | number | Style exaggeration level for the voice. Non-zero values amplify the speaker's style but increase computational resources and latency. |
generate_speech_stream Generate Speech Stream
Converts text into streaming audio using a specified voice. Returns audio as a continuous stream in your chosen format, ideal for real-time playback or large content.
| Parameter | Type | Description |
|---|---|---|
text * | string | The text content to convert into speech. |
voice_id * | string | The voice to use for speech generation. Available voices can be retrieved from the voices endpoint. |
apply_language_text_normalization | boolean | Enable language-specific text normalization for proper pronunciation. Currently supported for Japanese only. Warning: significantly increases request latency. |
apply_text_normalization | string | Text normalization mode: 'auto' applies normalization automatically, 'on' always applies it, 'off' disables it. Normalization handles number spelling and similar conversions. |
language_code | string | ISO 639-1 language code to enforce language processing and text normalization. The model must support the specified language. |
model_id | string | The AI model to use for speech generation. Must support text-to-speech capability. Query available models via the models endpoint. |
next_request_ids | array | Request IDs from samples that follow this generation. Maintains natural flow when regenerating a sample within a sequence. Maximum 3 IDs, best results with consistent model. |
output_format | string | Audio output format specified as codec_sample_rate_bitrate (e.g., mp3_44100_128). Higher bitrates and PCM formats require higher subscription tiers. |
previous_request_ids | array | Request IDs from previously generated samples to maintain speech continuity. Improves flow when splitting large tasks across multiple requests. Maximum 3 IDs, best results with consistent model. |
pronunciation_dictionary_locators | array | Pronunciation dictionary locators to apply custom pronunciation rules. Specified as objects with pronunciation_dictionary_id and version_id. Applied in order, maximum 3 per request. |
similarity_boost | number | Voice similarity adherence between 0.0 and 1.0. Controls how closely the generated speech matches the original voice characteristics. |
speed | number | Speech speed multiplier. Use 1.0 for normal speed, values below 1.0 to slow down, and values above 1.0 to speed up. |
stability | number | Voice stability control between 0.0 and 1.0. Lower values increase emotional range and variation; higher values produce more consistent, monotonous speech. |
style | number | Style exaggeration intensity. Amplifies the speaker's original style characteristics. Non-zero values increase computational cost and latency. |
generate_speech_stream_with_timestamps Generate Speech Stream with Timestamps
Converts text to speech audio and returns a stream of JSON objects containing base64-encoded audio chunks with character-level timing information, enabling precise synchronization of audio with text.
| Parameter | Type | Description |
|---|---|---|
text * | string | The text content to convert into speech audio. |
voice_id * | string | The voice identifier to use for speech synthesis. Available voices can be retrieved from the voices endpoint. |
apply_language_text_normalization | boolean | Enable language-specific text normalization for improved pronunciation in supported languages. Currently only supports Japanese. Warning: may significantly increase request latency. |
apply_text_normalization | string | Text normalization mode: 'auto' applies normalization when appropriate, 'on' always applies it, 'off' disables it. Normalization handles conversions like spelling out numbers. |
language_code | string | ISO 639-1 language code to enforce language-specific processing and text normalization. The model must support the specified language. |
model_id | string | The model identifier for speech synthesis. The model must support text-to-speech conversion. Available models can be queried from the models endpoint. |
next_request_ids | array | Request IDs from subsequent speech samples to maintain continuity. Accepts up to 3 IDs applied in order. Useful when regenerating a sample while preserving natural flow with following content. |
output_format | string | Audio output format specified as codec_sample_rate_bitrate (e.g., mp3_44100_128). Higher bitrates and PCM formats require higher subscription tiers. |
previous_request_ids | array | Request IDs from previously generated speech samples to maintain continuity. Accepts up to 3 IDs applied in order. Improves flow when splitting large tasks across multiple requests. |
pronunciation_dictionary_locators | array | Pronunciation dictionary locators to apply custom pronunciation rules. Accepts up to 3 locators applied in order, each containing a pronunciation_dictionary_id and version_id. |
similarity_boost | number | Voice similarity control ranging from 0 to 1, determining how closely the synthesis adheres to the original voice characteristics. |
speed | number | Speech speed multiplier where 1.0 is normal speed, values below 1.0 slow down speech, and values above 1.0 accelerate it. |
stability | number | Voice stability control ranging from 0 (high emotional range) to 1 (monotonous). Lower values produce more expressive speech with greater variation. |
style | number | Style exaggeration level (0 to 1+) that amplifies the speaker's original style. Non-zero values increase computational cost and latency. |
generate_dialogue Generate Dialogue
Converts a list of text and voice ID pairs into multi-voice dialogue audio. Supports up to 10 unique voices per request with configurable audio format, model, stability, and text normalization settings.
| Parameter | Type | Description |
|---|---|---|
inputs * | array | Array of dialogue segments, each containing text and a voice ID. Order is preserved in the output. Maximum of 10 unique voice IDs per request. |
apply_text_normalization | string | Text normalization mode: 'auto' applies normalization based on system decision, 'on' always applies it, 'off' disables it. Normalization handles cases like spelling out numbers. |
language_code | string | ISO 639-1 language code to enforce language for the model and text normalization. Returns an error if the model does not support the specified language. |
model_id | string | Model identifier for text-to-speech conversion. Query available models via GET /v1/models and verify can_do_text_to_speech capability. |
output_format | Audio output format specified as codec_sample_rate_bitrate (e.g., mp3_44100_128). MP3 192kbps requires Creator tier or above; PCM and WAV at 44.1kHz require Pro tier or above. μ-law format is commonl… | |
pronunciation_dictionary_locators | array | List of pronunciation dictionary locators to apply in order. Each locator contains a pronunciation_dictionary_id and version_id. Maximum of 3 locators per request. |
stability | number | Voice stability control between 0.0 and 1.0. Lower values increase emotional range and variation; higher values produce more monotonous, consistent speech. |
generate_dialogue_stream Generate Dialogue Stream
Converts a list of text and voice ID pairs into multi-voice dialogue speech and streams the audio. Useful for creating conversations, interviews, or multi-speaker content with different voices.
| Parameter | Type | Description |
|---|---|---|
inputs * | array | Array of dialogue turns, each containing text to speak and the voice ID to use. Order matters—items are processed sequentially to create the dialogue flow. Maximum of 10 unique voice IDs per request… |
apply_text_normalization | string | Text normalization mode: 'auto' applies normalization automatically based on content (e.g., spelling out numbers), 'on' always applies normalization, 'off' disables it entirely. |
language_code | string | ISO 639-1 language code to enforce language processing and text normalization. If the selected model doesn't support the specified language, an error will be returned. |
model_id | string | Model identifier for text-to-speech processing. The model must support text-to-speech capability. Query available models via GET /v1/models and check the can_do_text_to_speech property. |
output_format | string | Audio output format specified as codec_sample_rate_bitrate (e.g., mp3_44100_128). Some formats require higher subscription tiers: MP3 192kbps requires Creator tier or above, PCM 44.1kHz requires Pro t… |
pronunciation_dictionary_locators | array | List of pronunciation dictionary locators to apply in order. Each locator contains a pronunciation_dictionary_id and version_id. Maximum of 3 locators per request. |
stability | number | Voice stability control between 0.0 and 1.0. Lower values increase emotional range and variability; higher values produce more consistent, monotonous speech. |
generate_dialogue_stream_with_timestamps Generate Dialogue Stream with Timestamps
Converts text and voice ID pairs into streamed dialogue audio with precise timestamps. Returns a continuous stream of JSON objects containing base64-encoded audio chunks and their corresponding timing information.
| Parameter | Type | Description |
|---|---|---|
inputs * | array | Array of dialogue turn objects, each pairing text content with a voice ID. Processed in order to create sequential dialogue. Maximum of 10 unique voice IDs per request. |
apply_text_normalization | string | Controls text normalization behavior. 'auto' lets the system decide, 'on' always normalizes (e.g., converts numbers to words), 'off' disables normalization. |
language_code | string | ISO 639-1 language code to enforce language processing and text normalization. The selected model must support the specified language. |
model_id | string | The TTS model to use for synthesis. Query available models via GET /v1/models and verify can_do_text_to_speech capability. |
output_format | string | Audio codec, sample rate, and bitrate configuration. Format is codec_sample_rate_bitrate (e.g., mp3_44100_128). Higher bitrates and PCM formats require elevated subscription tiers. |
pronunciation_dictionary_locators | array | Ordered list of pronunciation dictionary references to apply custom pronunciations. Applied sequentially in the order provided. Maximum of 3 locators per request. |
stability | number | Controls voice consistency and emotional variation. Lower values (closer to 0) produce greater emotional range and variability. Higher values (closer to 1) produce more consistent, monotonous delivery… |
generate_dialogue_with_timestamps Generate Dialogue with Timestamps
Generate dialogue from text with precise character-level timing information for audio-text synchronization. Each dialogue turn is converted to speech using specified voice IDs and returned with exact timestamp markers.
| Parameter | Type | Description |
|---|---|---|
inputs * | array | List of dialogue turns, each containing text to be spoken and the voice ID to use for that turn. Maximum of 10 unique voice IDs per request. Turns are processed in order. |
apply_text_normalization | string | Text normalization mode: 'auto' applies normalization based on system decision, 'on' always applies it, 'off' disables it. Normalization handles cases like spelling out numbers. |
language_code | string | ISO 639-1 language code to enforce language for the model and text normalization. If the model does not support the specified language, an error will be returned. |
model_id | string | The text-to-speech model to use for generation. Must support text-to-speech capability. Query available models via GET /v1/models to verify can_do_text_to_speech property. |
output_format | Audio codec, sample rate, and bitrate format. Format is specified as codec_sample_rate_bitrate (e.g., mp3_44100_128). Higher bitrates and certain formats require higher subscription tiers. | |
pronunciation_dictionary_locators | array | Custom pronunciation dictionary rules to apply to the text in order. Each locator references a specific dictionary version. Maximum of 3 locators per request. |
stability | number | Voice stability control affecting emotional range and consistency. Lower values produce broader emotional variation; higher values result in more monotonous, emotionally limited speech. |
convert_voice Convert Voice
Transform audio from one voice to another while preserving the original emotion, timing, and delivery characteristics. The input audio's content and emotional qualities control the output speech generation.
| Parameter | Type | Description |
|---|---|---|
audio * | string | Base64-encoded file content for upload. The source audio file containing the content and emotional expression to transfer to the target voice. |
voice_id * | string | The target voice to apply to the audio. Use the voices endpoint to discover available voices and their characteristics. |
model_id | string | The speech-to-speech model to use for conversion. Query available models to verify speech conversion support via the can_do_voice_conversion property. |
output_format | string | Audio encoding format specified as codec_sample_rate_bitrate (e.g., mp3_44100_128). Higher bitrates and PCM formats require higher subscription tiers. |
remove_background_noise | boolean | Enable background noise removal from the input audio using audio isolation. Only applicable when using the Voice Changer model. |
similarity_boost | number | Controls how closely the voice matches the original. Higher values increase similarity. Range: 0.0 to 1.0 |
stability | number | Controls the stability of the voice. Higher values produce more consistent output. Range: 0.0 to 1.0 |
style | number | Controls the style exaggeration of the voice. Range: 0.0 to 1.0 |
use_speaker_boost | boolean | Whether to apply speaker boost for enhanced clarity and presence |
convert_speech_to_speech_stream Convert Speech to Speech Stream
Convert audio from one voice to another with streaming output, maintaining full control over emotion, timing, and delivery. The input audio's content and emotional characteristics drive the generated speech in the target voice.
| Parameter | Type | Description |
|---|---|---|
audio * | string | Base64-encoded file content for upload. The source audio file containing the content and emotional characteristics that will control the generated speech output. |
voice_id * | string | The target voice identifier to apply to the input audio. Use the voices endpoint to discover available voices. |
model_id | string | The model identifier to use for voice conversion. Verify the model supports speech-to-speech conversion via the can_do_voice_conversion property. |
output_format | string | Audio encoding format for the response, specified as codec_sample_rate_bitrate. Higher bitrates and sample rates may require elevated subscription tiers. |
remove_background_noise | boolean | Enable background noise removal from the input audio using audio isolation. Only applicable when using the Voice Changer model. |
similarity_boost | number | Controls how closely the voice matches the original. Higher values increase similarity. Range: 0.0 to 1.0 |
stability | number | Controls the stability of the voice. Higher values produce more consistent output. Range: 0.0 to 1.0 |
style | number | Controls the style exaggeration of the voice. Range: 0.0 to 1.0 |
use_speaker_boost | boolean | Whether to apply speaker boost for enhanced clarity and presence |
generate_voice_previews Generate Voice Previews
Generate multiple voice preview samples based on a text description to help you select a custom voice. Each preview includes a unique voice ID and audio sample that can be used to create the final voice.
| Parameter | Type | Description |
|---|---|---|
voice_description * | string | Detailed description of the desired voice characteristics. The system uses this to generate voice previews matching your specifications. |
loudness | number | Volume level of the generated voice samples, ranging from quietest to loudest. A value of 0 corresponds to approximately -24 LUFS. |
output_format | string | Audio codec, sample rate, and bitrate for the generated preview samples. Higher bitrates and sample rates provide better quality but require higher subscription tiers. |
quality | number | Voice quality level that balances output fidelity with variety. Higher values produce more consistent, polished voices with less variation across previews. |
should_enhance | boolean | Automatically expand and refine the voice description using AI to add detail and improve generation quality. Useful for simple or brief descriptions. |
create_voice Create Voice
Create a persistent voice from a previously generated voice preview. This endpoint finalizes a voice design by converting a generated_voice_id (obtained from design or remix operations) into a named voice asset.
| Parameter | Type | Description |
|---|---|---|
generated_voice_id * | string | The ID of the generated voice preview to finalize. Obtain this from the response of POST /v1/text-to-voice/design or POST /v1/text-to-voice/:voice_id/remix operations. |
voice_description * | string | A detailed description of the voice characteristics and use case. Must be between 20 and 1000 characters. |
voice_name * | string | The name for the new voice being created. |
labels | object | Optional metadata tags to associate with the created voice for organization and filtering purposes. |
design_voice Design Voice
Generate voice design previews based on a detailed description. Returns multiple voice options with audio samples that can be used to create a custom voice.
| Parameter | Type | Description |
|---|---|---|
voice_description * | string | Detailed description of the desired voice characteristics. Used to guide voice generation and should include personality, tone, and acoustic qualities. |
loudness | number | Volume level adjustment for the generated voice, where -1 is quietest and 1 is loudest. A value of 0 corresponds to approximately -24 LUFS. |
model_id | string | AI model version to use for voice generation. Different models may produce varying quality and multilingual support. |
output_format | string | Audio codec, sample rate, and bitrate for the generated voice samples. Higher bitrates and sample rates require appropriate subscription tiers. |
quality | number | Quality level for voice generation, where higher values produce better output but with less variation across previews. |
should_enhance | boolean | Automatically enhance the voice description with AI-generated details to improve voice generation quality and variety. Expands simple prompts into more comprehensive descriptions. |
stream_previews | boolean | When enabled, voice previews are streamed separately via the stream endpoint instead of being included in the response. Useful for reducing response payload size. |
remix_voice Remix Voice
Generate voice previews by remixing an existing voice based on a descriptive prompt. Returns multiple voice preview options with generated voice IDs that can be used to create new voices.
| Parameter | Type | Description |
|---|---|---|
voice_description * | string | Detailed description of the voice modifications to apply. Be specific about desired characteristics such as pitch, tone, pace, or emotional qualities. |
voice_id * | string | The ID of the voice to remix. Use the voices list endpoint to discover available voices. |
loudness | number | Volume level of the generated voice, ranging from -1 (quietest) to 1 (loudest), with 0 corresponding to approximately -24 LUFS. |
output_format | string | Audio output format specified as codec_sample_rate_bitrate. MP3 at 192kbps requires Creator tier or higher. PCM at 44.1kHz requires Pro tier or higher. μ-law format is compatible with Twilio. |
stream_previews | boolean | When true, returns only generated voice IDs without audio previews in the response. Audio can then be streamed separately via the stream endpoint. |
stream_voice_preview Stream Voice Preview
Stream audio data for a voice preview that was previously generated using the voice design endpoint. This operation returns the audio content as a continuous stream.
| Parameter | Type | Description |
|---|---|---|
generated_voice_id * | string | The unique identifier of the generated voice preview to stream. |
get_subscription_info Get Subscription Info
Retrieves detailed information about the user's current subscription, including plan details, billing status, and entitlements.
get_user Get User Info
Retrieves the authenticated user's profile information and account details.
list_voices List Voices
Retrieve a paginated list of available voices with advanced filtering, sorting, and search capabilities. Supports filtering by voice type, category, fine-tuning state, and collection membership.
| Parameter | Type | Description |
|---|---|---|
category | string | Filter voices by their creation category or source. |
collection_id | string | Filter voices to only those belonging to a specific collection by its ID. |
fine_tuning_state | string | Filter professional voice clones by their fine-tuning state. Only applicable to professional voices. |
include_total_count | boolean | Include the total count of matching voices in the response. Note that this count is a live snapshot and may change between requests. Use the has_more flag for pagination instead. Only enable when you… |
next_page_token | string | Token for retrieving the next page of results. Use this with the has_more flag from the previous response to implement reliable pagination. |
page_size | integer | Maximum number of voices to return per page. Must not exceed 100. Note that page 0 may include additional default voices. |
sort | string | Field to sort results by. Use 'created_at_unix' for chronological ordering or 'name' for alphabetical ordering. Note that 'created_at_unix' may not be available for older voices. |
sort_direction | string | Direction to sort results in. Use 'asc' for ascending or 'desc' for descending order. |
voice_ids | array | Retrieve specific voices by their IDs. Accepts up to 100 voice IDs in a single request. |
voice_type | string | Filter voices by type. 'non-default' includes all voices except default voices. 'saved' includes non-default voices plus any default voices added to collections. |
get_default_voice_settings Get Default Voice Settings
Retrieve the default voice settings for all voices, including similarity boost (Clarity + Similarity Enhancement) and stability parameters that control voice characteristics.
get_voice_settings Get Voice Settings
Retrieve the configuration settings for a specific voice, including similarity boost (Clarity + Similarity Enhancement) and stability parameters that control voice quality characteristics.
| Parameter | Type | Description |
|---|---|---|
voice_id * | string | The unique identifier of the voice whose settings you want to retrieve. Use the list voices endpoint to discover available voice IDs. |
get_voice Get Voice
Retrieve detailed metadata for a specific voice, including its properties and configuration. Use this to get information about a voice before using it for text-to-speech synthesis.
| Parameter | Type | Description |
|---|---|---|
voice_id * | string | The unique identifier of the voice to retrieve. You can list all available voices to discover valid IDs. |
delete_voice Delete Voice
Permanently deletes a voice by its ID. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
voice_id * | string | The unique identifier of the voice to delete. You can retrieve available voice IDs from the list voices endpoint. |
configure_voice_settings Configure Voice Settings
Configure voice parameters for a specific voice, including stability, similarity, style, and speed adjustments. These settings control how the voice is generated and how closely it adheres to the original voice characteristics.
| Parameter | Type | Description |
|---|---|---|
voice_id * | string | The unique identifier of the voice to configure. Use the list voices endpoint to discover available voice IDs. |
similarity_boost | number | Controls how closely the generated voice matches the original voice characteristics. Higher values enforce stricter adherence to the original voice, while lower values allow more deviation. |
speed | number | Adjusts speech playback speed relative to normal rate. Use 1.0 for default speed, values below 1.0 to slow down, and values above 1.0 to speed up. |
stability | number | Controls voice consistency and emotional range. Lower values (closer to 0) produce more varied emotional expression, while higher values (closer to 1) result in more consistent but potentially monoton… |
style | number | Amplifies the stylistic characteristics of the original speaker. Non-zero values increase computational resource usage and may increase latency. |
create_voice_sample Create Voice Sample
Create a new voice in VoiceLab by uploading audio samples for voice cloning. The voice will be added to your collection and available for use in voice synthesis.
| Parameter | Type | Description |
|---|---|---|
files * | array | Base64-encoded file content for upload. Audio file paths for voice cloning samples. Provide multiple recordings to improve voice quality and consistency. Order does not affect processing. |
name * | string | The display name for this voice, shown in selection dropdowns and voice management interfaces. |
description | string | Optional metadata describing the voice characteristics, tone, and intended use cases. |
labels | Categorical metadata for voice classification. Supports language code, accent variant, gender, and age range to help organize and filter voices. | |
remove_background_noise | boolean | Enable background noise removal using audio isolation processing. Only use if your samples contain background noise, as it may degrade quality for clean recordings. |
update_voice Update Voice
Update the name, description, labels, and audio samples of a voice you created. Optionally apply background noise removal to improve audio quality.
| Parameter | Type | Description |
|---|---|---|
name * | string | The display name for this voice, shown in voice selection dropdowns. |
voice_id * | string | The unique identifier of the voice to update. |
description | string | A brief description of the voice characteristics, tone, and intended use cases. |
files | array | Base64-encoded file content for upload. Audio files to add to the voice. Supported formats include MP3, WAV, and other common audio formats. |
labels | Metadata labels describing the voice. Supported keys include language (ISO 639-1 code), accent (BCP 47 tag), gender, and age. | |
remove_background_noise | boolean | Enable automatic background noise removal from audio samples using audio isolation. Only use if samples contain background noise, as it may degrade quality otherwise. |
generate_podcast Generate Podcast
Generate a podcast by converting source content into audio using AI-powered text-to-speech. Supports both conversational (two-voice dialogue) and bulletin (monologue) formats with customizable quality, duration, language, and styling options.
| Parameter | Type | Description |
|---|---|---|
mode * | The podcast format type. 'conversation' generates dialogue between two voices (host and guest), while 'bulletin' generates a single-voice monologue. | |
model_id * | string | The voice model to use for audio generation. Query GET /v1/models to see all available models. |
source * | The content source for podcast generation. Can be a URL, text content, or other supported source formats. | |
apply_text_normalization | string | Controls text normalization behavior. 'auto' lets the system decide, 'on' always normalizes, 'apply_english' normalizes assuming English text, and 'off' disables normalization. |
callback_url | string | Webhook URL for conversion status notifications. The service will POST status updates when the project and chapters complete processing, including success/error details. |
duration_scale | string | Target podcast length. Controls the amount of content included in the generated podcast. |
highlights | array | Key themes or highlights summarizing the podcast content. Each highlight should be a brief phrase between 10-70 characters. |
instructions_prompt | string | Custom instructions to guide the podcast generation style, tone, and content treatment. Use this to enforce accuracy, adjust formality, or specify audience appropriateness. |
intro | string | Optional opening text to prepend to the podcast. Useful for branding or context-setting. |
language | string | Two-letter ISO 639-1 language code for the podcast content and voice generation. |
outro | string | Optional closing text to append to the podcast. Useful for calls-to-action or sign-offs. |
quality_preset | string | Audio output quality level. Higher quality settings provide better audio fidelity with improved processing. |
apply_pronunciation_dictionaries Apply Pronunciation Dictionaries
Apply pronunciation dictionaries to a Studio project. The operation automatically marks affected text for reconversion when dictionaries are added or removed.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the Studio project to which pronunciation dictionaries will be applied. |
pronunciation_dictionary_locators * | array | An ordered list of pronunciation dictionary references to apply to the project. Each reference must include the dictionary ID and its version ID. Multiple dictionaries can be specified as separate for… |
invalidate_affected_text | boolean | Whether to automatically mark text in the project for reconversion when dictionaries are applied or removed. |
list_projects List Projects
Retrieve a list of all Studio projects with their metadata. Use this to discover available projects and their details.
create_studio_project Create Studio Project
Creates a new Studio project for audio content generation. Projects can be initialized as blank, from a document, or from a URL, with customizable voices, audio quality, and metadata.
| Parameter | Type | Description |
|---|---|---|
name * | string | The name of the Studio project used for identification and display purposes. |
apply_text_normalization | string | Controls text normalization behavior: 'auto' decides automatically, 'on' always applies, 'apply_english' applies with English assumption, 'off' disables normalization. |
author | string | The author name to include as metadata in downloaded audio files. |
auto_assign_voices | boolean | Whether to automatically assign voices to phrases during project creation. This is an alpha feature. |
auto_convert | boolean | Whether to automatically convert the project to audio immediately upon creation. |
callback_url | string | A webhook URL that receives conversion status notifications for the project and its chapters. Notifications include success/error status with project and chapter IDs. |
content_blocks | array | List of block objects, each with 'sub_type' (e.g., 'p', 'h1', 'h2') and 'nodes' (list of node objects) |
content_chapters | array | List of chapter objects, each with 'name' (string) and 'blocks' (list of block objects) |
content_nodes | array | List of TTS node objects, each with 'type' ('tts_node'), 'text' (string), and 'voice_id' (string) |
content_type | string | The type of content in this project (e.g., Book, Article, Screenplay). |
create_publishing_read | boolean | Whether to create a corresponding read for direct publishing in draft state alongside the project. |
default_model_id | string | The model ID to use for audio generation in this project. Query GET /v1/models to list available models. |
default_paragraph_voice_id | string | The voice ID to use as the default voice for new paragraphs in this project. |
default_title_voice_id | string | The voice ID to use as the default voice for new titles in this project. |
description | string | A description of the Studio project's content and purpose. |
fiction | string | Whether the content is fiction or non-fiction. |
from_document | string | Base64-encoded file content for upload. An optional .epub, .pdf, .txt or similar file can be provided. If provided, we will initialize the Studio project with its content. If this is set, 'from_url' a… |
genres | array | A list of genres associated with this project for categorization and discovery. |
isbn_number | string | The ISBN number of the project to include as metadata in downloaded audio files. |
language | string | The primary language of the project content as a two-letter ISO 639-1 language code. |
mature_content | boolean | Whether this project contains mature content that may not be suitable for all audiences. |
original_publication_date | string | The original publication date of the content in YYYY-MM-DD or YYYY format. |
pronunciation_dict_ids | array | List of pronunciation_dictionary_id values |
pronunciation_dict_versions | array | List of version_id values corresponding to each pronunciation_dictionary_id (must be same length as pronunciation_dict_ids) |
quality_preset | string | The output quality level for generated audio, ranging from standard (128kbps) to ultra lossless (705.6kbps, fully lossless). |
similarity_boost | number | Controls how closely the voice matches the original. Higher values increase similarity. Range: 0.0 to 1.0 |
source_type | string | The initialization type for the project: blank (empty), book (from document), article, genfm, video, or screenplay. |
stability | number | Controls the stability of the voice. Higher values produce more consistent output. Range: 0.0 to 1.0 |
style | number | Controls the style exaggeration of the voice. Range: 0.0 to 1.0 |
target_audience | string | The intended audience demographic for this project's content. |
use_speaker_boost | boolean | Whether to apply speaker boost for enhanced clarity and presence |
volume_normalization | boolean | Whether to apply postprocessing to normalize audio volume to audiobook standards when downloading the project. |
get_project Get Project
Retrieve detailed information about a specific Studio project. Returns comprehensive project metadata including configuration, settings, and other project-specific details.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the Studio project to retrieve. |
share_id | string | Optional share identifier to access a shared version of the project. |
update_studio_project Update Studio Project
Updates a Studio project with new metadata, voice settings, and audio processing preferences. Changes apply to the project configuration and affect how new content is generated and exported.
| Parameter | Type | Description |
|---|---|---|
default_paragraph_voice_id * | string | The voice ID to use as the default voice for newly created paragraph sections. |
default_title_voice_id * | string | The voice ID to use as the default voice for newly created title sections. |
name * | string | The display name of the Studio project used for identification and organization. |
project_id * | string | The unique identifier of the Studio project to update. |
author | string | Optional author name that will be embedded as metadata in exported MP3 files when the project or chapters are downloaded. |
isbn_number | string | Optional ISBN number that will be embedded as metadata in exported MP3 files when the project or chapters are downloaded. |
volume_normalization | boolean | When enabled, applies audio postprocessing to downloaded files to ensure compliance with audiobook volume normalization standards. |
delete_project Delete Project
Permanently deletes a Studio project and all associated data. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the Studio project to delete. |
update_project_content Update Project Content
Updates the content of a Studio project. Optionally converts the project to audio format during the update.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the Studio project to update. |
auto_convert | boolean | Whether to automatically convert the Studio project to audio format. Defaults to false if not specified. |
content_blocks | array | List of block objects, each with 'sub_type' (e.g., 'p', 'h1', 'h2') and 'nodes' (list of node objects) |
content_chapters | array | List of chapter objects, each with 'name' (string) and 'blocks' (list of block objects) |
content_nodes | array | List of TTS node objects, each with 'type' ('tts_node'), 'text' (string), and 'voice_id' (string) |
from_document | string | Base64-encoded file content for upload. An optional .epub, .pdf, .txt or similar file can be provided. If provided, we will initialize the Studio project with its content. If this is set, 'from_url' a… |
convert_studio_project Convert Studio Project
Initiates conversion of a Studio project and all of its associated chapters. This operation processes the entire project structure for conversion.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the Studio project to convert. |
list_snapshots List Snapshots
Retrieves a list of all snapshots for a specified Studio project. Snapshots capture the state of a project at a point in time.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the Studio project for which to retrieve snapshots. |
get_snapshot Get Project Snapshot
Retrieves a specific project snapshot by its ID. Use this to access saved project state and configuration data.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the Studio project containing the snapshot. |
project_snapshot_id * | string | The unique identifier of the project snapshot to retrieve. |
stream_project_snapshot_audio Stream Project Snapshot Audio
Stream audio from a Studio project snapshot. Optionally convert the audio to MPEG format during streaming.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the Studio project containing the snapshot. |
project_snapshot_id * | string | The unique identifier of the project snapshot whose audio should be streamed. |
convert_to_mpeg | boolean | Whether to convert the streamed audio to MPEG format. Defaults to false, streaming in the original format. |
download_snapshot_archive Download Snapshot Archive
Downloads a compressed archive containing all audio files from a specific Studio project snapshot. Returns the archive as a binary stream ready for download.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the Studio project containing the snapshot to archive. |
project_snapshot_id * | string | The unique identifier of the project snapshot to archive and download. |
list_chapters List Chapters
Retrieves all chapters for a specified Studio project. Returns a list of chapters with their metadata and properties.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the Studio project whose chapters you want to retrieve. |
create_chapter Create Chapter
Creates a new chapter in a Studio project, either as a blank chapter or populated from a URL source.
| Parameter | Type | Description |
|---|---|---|
name * | string | The display name for the chapter used for identification and organization within the project. |
project_id * | string | The unique identifier of the Studio project where the chapter will be created. |
get_chapter Get Chapter
Retrieves detailed information about a specific chapter within a Studio project.
| Parameter | Type | Description |
|---|---|---|
chapter_id * | string | The unique identifier of the chapter to retrieve. |
project_id * | string | The unique identifier of the Studio project containing the chapter. |
update_chapter Update Chapter
Updates an existing chapter in a Studio project, including its name and content blocks.
| Parameter | Type | Description |
|---|---|---|
blocks * | array | An ordered array of content blocks that comprise the chapter. Each block defines a section of content within the chapter. |
chapter_id * | string | The unique identifier of the chapter to update. |
project_id * | string | The unique identifier of the Studio project containing the chapter. |
name | string | The display name of the chapter for identification purposes. |
delete_chapter Delete Chapter
Permanently deletes a chapter from a Studio project. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
chapter_id * | string | The unique identifier of the chapter to delete. |
project_id * | string | The unique identifier of the Studio project containing the chapter to delete. |
convert_chapter Convert Chapter
Initiates the conversion process for a specific chapter within a Studio project. This asynchronous operation transforms the chapter content into the desired output format.
| Parameter | Type | Description |
|---|---|---|
chapter_id * | string | The unique identifier of the chapter to be converted. |
project_id * | string | The unique identifier of the Studio project containing the chapter to convert. |
list_chapter_snapshots List Chapter Snapshots
Retrieves all snapshots for a chapter, which are audio versions automatically created whenever the chapter is converted. Each snapshot can be downloaded as audio.
| Parameter | Type | Description |
|---|---|---|
chapter_id * | string | The unique identifier of the chapter for which to retrieve snapshots. |
project_id * | string | The unique identifier of the Studio project containing the chapter. |
get_chapter_snapshot Get Chapter Snapshot
Retrieves a specific chapter snapshot from a Studio project. Use this to access saved states or versions of a chapter.
| Parameter | Type | Description |
|---|---|---|
chapter_id * | string | The unique identifier of the chapter within the project. |
chapter_snapshot_id * | string | The unique identifier of the specific chapter snapshot to retrieve. |
project_id * | string | The unique identifier of the Studio project containing the chapter. |
get_chapter_snapshot_audio Get Chapter Snapshot Audio Stream
Retrieve and stream audio from a chapter snapshot. Use the list snapshots endpoint to discover available snapshots for a chapter.
| Parameter | Type | Description |
|---|---|---|
chapter_id * | string | The unique identifier of the chapter within the project. |
chapter_snapshot_id * | string | The unique identifier of the chapter snapshot to stream. |
project_id * | string | The unique identifier of the Studio project containing the chapter. |
convert_to_mpeg | boolean | Whether to convert the streamed audio to MPEG format. Defaults to false, returning the original audio format. |
list_muted_tracks List Muted Tracks
Retrieves a list of chapter IDs that have muted tracks in a Studio project. Use this to identify which chapters contain audio that has been muted.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the Studio project to query for muted tracks. |
get_dubbing_resource Get Dubbing Resource
Retrieves the dubbing resource for a given dubbing project ID that was created with studio enabled. Use this to access the generated dubbing output and associated metadata.
| Parameter | Type | Description |
|---|---|---|
dubbing_id * | string | The unique identifier of the dubbing project created from the dubbing endpoint with studio mode enabled. |
add_dubbing_language Add Dubbing Language
Add a supported language to a dubbing project resource. The language is registered but does not automatically generate transcripts, translations, or audio content.
| Parameter | Type | Description |
|---|---|---|
dubbing_id * | string | The unique identifier of the dubbing project to which the language will be added. |
language | string | The target language code in ElevenLabs Turbo V2/V2.5 format to add to the dubbing resource. |
create_segment Create Segment
Creates a new segment for a speaker in a dubbing project with specified start and end times across all available languages. The segment is created without automatically generating transcripts, translations, or audio content.
| Parameter | Type | Description |
|---|---|---|
dubbing_id * | string | The unique identifier of the dubbing project containing the speaker. |
end_time * | number | The end time of the segment in seconds (relative to the media timeline). Must be greater than the start time. |
speaker_id * | string | The unique identifier of the speaker within the dubbing project. |
start_time * | number | The start time of the segment in seconds (relative to the media timeline). |
translations | object | Optional translations for the segment content, organized by language code. Specify translations for any languages beyond the default project language. |
update_segment_language Update Segment Language
Modify the text and/or timing of a specific segment in a particular language within a dubbing project. Changes are applied only to the specified language and do not automatically trigger dub regeneration.
| Parameter | Type | Description |
|---|---|---|
dubbing_id * | string | The unique identifier of the dubbing project containing the segment to modify. |
language * | string | The language identifier for which the segment content should be modified. |
segment_id * | string | The unique identifier of the segment within the dubbing project to be updated. |
end_time | number | The end time of the segment in seconds. Defines when the segment ends in the audio timeline. |
start_time | number | The start time of the segment in seconds. Defines when the segment begins in the audio timeline. |
reassign_segments Reassign Segments
Reassign one or more segments in a dubbing project to a different speaker. This operation changes the speaker attribution for the specified segments.
| Parameter | Type | Description |
|---|---|---|
dubbing_id * | string | The unique identifier of the dubbing project containing the segments to reassign. |
segment_ids * | array | Array of segment identifiers to reassign to the target speaker. Order is preserved as provided. |
speaker_id * | string | The unique identifier of the speaker to assign the segments to. |
delete_dubbing_segment Delete Dubbing Segment
Removes a single segment from a dubbing project. This operation permanently deletes the specified segment and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
dubbing_id * | string | The unique identifier of the dubbing project containing the segment to be deleted. |
segment_id * | string | The unique identifier of the segment to be deleted from the dubbing project. |
regenerate_segment_transcriptions Regenerate Segment Transcriptions
Regenerate transcriptions for specified segments within a dubbing project. This operation updates only the transcription text and does not affect existing translations or dubs.
| Parameter | Type | Description |
|---|---|---|
dubbing_id * | string | The unique identifier of the dubbing project containing the segments to transcribe. |
segments * | array | An array of segment identifiers to regenerate transcriptions for. Order is preserved as provided. |
translate_dubbing_segments Translate Dubbing Segments
Regenerate translations for specified segments and languages in a dubbing project. Automatically transcribes any missing transcriptions but does not regenerate dubs.
| Parameter | Type | Description |
|---|---|---|
dubbing_id * | string | The unique identifier of the dubbing project to translate. |
languages * | array | List of target language codes to translate for each specified segment. Only these languages will be generated. |
segments * | array | List of segment identifiers to translate. Only these segments will be processed; order is preserved as provided. |
regenerate_dubs Regenerate Dubs
Regenerate dubs for specified segments and languages in a dubbing project. Automatically transcribes and translates any missing transcriptions and translations.
| Parameter | Type | Description |
|---|---|---|
dubbing_id * | string | The unique identifier of the dubbing project to regenerate dubs for. |
languages * | array | List of language codes to dub for each segment. Only the specified languages will be processed; order is preserved as provided. |
segments * | array | List of segment identifiers to dub. Only the specified segments will be processed; order is preserved as provided. |
update_speaker Update Speaker
Update speaker metadata in a dubbing project, including voice selection and styling. Supports both ElevenLabs library voices and voice cloning options.
| Parameter | Type | Description |
|---|---|---|
dubbing_id * | string | The unique identifier of the dubbing project containing the speaker. |
speaker_id * | string | The unique identifier of the speaker to update. |
languages | array | List of language codes to apply these speaker changes to. If empty or omitted, changes apply to all languages in the project. |
speaker_name | string | The display name to assign to this speaker. |
voice_id | string | The voice identifier, either from the ElevenLabs voice library or a cloning option ('track-clone' or 'clip-clone'). |
voice_style | number | The voice style intensity for supported models. Valid range is 0.0 to 1.0, defaults to 1.0. |
add_speaker Add Speaker
Add a new speaker to a dubbing project with a specified voice and optional styling. Each speaker represents a distinct voice track within the dubbing resource.
| Parameter | Type | Description |
|---|---|---|
dubbing_id * | string | The unique identifier of the dubbing project to which the speaker will be added. |
speaker_name | string | A human-readable label for this speaker to identify it within the dubbing project. |
voice_id | string | The voice identifier to use for this speaker. Can be a voice from the ElevenLabs voice library or a special clone type for custom voice cloning. |
voice_style | number | The voice style intensity for models that support style control. Valid range is 0.0 to 1.0, with 1.0 as the default. |
list_similar_voices List Similar Voices
Retrieve the top 10 voices from the ElevenLabs library that are most similar to a specified speaker in a dubbing project. Results include voice IDs, names, descriptions, and sample audio recordings where available.
| Parameter | Type | Description |
|---|---|---|
dubbing_id * | string | The unique identifier of the dubbing project containing the speaker. |
speaker_id * | string | The unique identifier of the speaker within the dubbing project to find similar voices for. |
render_dubbing Render Dubbing
Generate output media for a specific language in a dubbing project using the current Studio state. All segments must be dubbed before rendering to be included in the output; renders are processed asynchronously.
| Parameter | Type | Description |
|---|---|---|
dubbing_id * | string | The unique identifier of the dubbing project to render. |
language * | string | The target language code for rendering (e.g., 'es' for Spanish). Use 'original' to render the source track. |
render_type * | string | The output format for the rendered media. |
normalize_volume | boolean | Whether to apply volume normalization to the rendered audio. |
list_dubs List Dubs
Retrieve a list of dubs you have access to, with filtering and sorting options. Results can be filtered by status, creator, and ordered by specified fields.
| Parameter | Type | Description |
|---|---|---|
dubbing_status | string | Filter results by the current processing state of the dub. |
filter_by_creator | string | Filter results by creator: show only your dubs, dubs shared by others, or all dubs you have access to. |
order_by | string | Specify which field to use for ordering the results. |
order_direction | string | Specify the sort direction for the ordered results. |
page_size | integer | Maximum number of dubs to return per request. Defaults to 100 if not specified. |
dub_media Dub Media
Dubs an audio or video file into a target language with automatic speaker detection and voice synthesis. Supports advanced options for quality control, voice customization, and manual transcript editing.
| Parameter | Type | Description |
|---|---|---|
csv_file | string | Base64-encoded file content for upload. CSV file containing transcription and translation metadata for manual dubbing mode. Used to override automatic transcription and provide custom timing and speak… |
csv_fps | number | Frames per second value to use when parsing timecodes in the CSV file. If omitted, FPS will be automatically inferred from the timecode data. |
disable_voice_cloning | boolean | Whether to use similar voices from the ElevenLabs Voice Library instead of cloning the original speaker's voice. Requires 'add_voice_from_voice_library' workspace permission and consumes available cus… |
drop_background_audio | boolean | Whether to remove background audio from the final dub. Recommended for content like speeches or monologues where background noise should not be preserved. |
dubbing_studio | boolean | Whether to prepare the output for editing in the dubbing studio interface or as a dubbing resource for further processing. |
end_time | integer | End time in seconds at which to stop dubbing the source file. Useful for processing only a segment of the content. |
highest_resolution | boolean | Whether to process and output the video at the highest available resolution. May increase processing time and resource usage. |
mode | string | Processing mode for the dubbing job. Use 'automatic' for standard processing or 'manual' when providing a custom CSV transcript. Manual mode is experimental and not recommended for production use. |
name | string | Human-readable name for the dubbing project to help organize and identify the job. |
num_speakers | integer | Number of distinct speakers to use in the dubbing. Set to 0 to automatically detect the speaker count from the source audio. |
source_lang | string | Language code of the source content using ISO 639-1 or ISO 639-3 format. Set to 'auto' to automatically detect the language. |
source_url | string | URL pointing to the source video or audio file to be dubbed. Must be publicly accessible. |
start_time | integer | Start time in seconds from which to begin dubbing the source file. Useful for processing only a segment of the content. |
target_accent | string | Optional accent preference to apply when selecting voices and informing translation dialect. This is an experimental feature. |
target_lang | string | Language code for the target dub using ISO 639-1 or ISO 639-3 format. Determines which language the content will be dubbed into. |
use_profanity_filter | boolean | Whether to censor profanities in transcripts by replacing them with '[censored]'. This is a beta feature. |
watermark | boolean | Whether to add a watermark overlay to the output video file. |
get_dubbing Get Dubbing
Retrieve metadata about a dubbing project, including its current processing status and completion state.
| Parameter | Type | Description |
|---|---|---|
dubbing_id * | string | The unique identifier of the dubbing project to retrieve metadata for. |
delete_dubbing Delete Dubbing
Permanently deletes a dubbing project and all associated data. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
dubbing_id * | string | The unique identifier of the dubbing project to delete. |
download_dubbed_audio Download Dubbed Audio
Download the dubbed audio file in MP3 or MP4 format for a specific language. Returns the original automatic dub result; for edited dubs created in Dubbing Studio, use the render endpoint instead.
| Parameter | Type | Description |
|---|---|---|
dubbing_id * | string | The unique identifier of the dubbing project containing the dubbed content. |
language_code * | string | The language code specifying which dubbed audio track to retrieve. |
get_transcript_dubbing Get Dubbing Transcripts
Retrieve the transcript for a specific language in a dubbing project. Supports multiple output formats including subtitle formats (SRT, WebVTT) and JSON transcripts.
| Parameter | Type | Description |
|---|---|---|
dubbing_id * | string | The unique identifier of the dubbing project containing the transcript to retrieve. |
format_type * | string | The output format for the transcript. Use 'srt' or 'webvtt' for subtitle formats, or 'json' for a full transcript (JSON format is not yet supported for Dubbing Studio). |
language_code * | string | The language for which to retrieve the transcript. Use 'source' to fetch the original media transcript, or provide an ISO 639 language code. |
list_models List Models
Retrieves a list of all available models that can be used for API operations.
create_audio_project Create Audio Project
Creates an Audio Native enabled project with optional automatic conversion to audio. Returns a project ID and embeddable HTML snippet for audio playback.
| Parameter | Type | Description |
|---|---|---|
name * | string | The name of the audio project. |
apply_text_normalization | string | Controls text normalization behavior. 'auto' lets the system decide, 'on' always applies normalization, 'apply_english' applies normalization assuming English text, and 'off' disables normalization. |
author | string | The author name displayed in the audio player and at the start of the article. Uses the default author from Player settings if not specified. |
auto_convert | boolean | Whether to automatically convert the project content to audio upon creation. |
file | string | Base64-encoded file content for upload. Either txt or HTML input file containing the article content. HTML should be formatted as follows '<html><body><div><p>Your content</… |
model_id | string | The TTS model ID used by the player. Uses the default model from Player settings if not specified. |
player_colors | string | Player colors as a comma-separated pair of hex color codes in format 'text_color,background_color' (e.g., '#FFFFFF,#000000'). If not provided, default colors set in Player settings are used. |
pronunciation_dictionary_locators | array | A list of pronunciation dictionary locators, each containing a pronunciation_dictionary_id and version_id pair. Multiple dictionaries can be applied to customize pronunciation of specific terms. |
voice_id | string | The voice ID used for text-to-speech synthesis. Uses the default voice from Player settings if not specified. |
get_audio_native_settings Get Audio Native Settings
Retrieve player settings and configuration for an Audio Native project. Use this to access the current settings applied to a specific project.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the Studio project for which to retrieve Audio Native settings. |
update_audio_native_content Update Audio Native Content
Updates content for an Audio-Native project with optional automatic conversion and publishing. Use this to modify project content and trigger downstream processing workflows.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the Studio project to update. |
auto_convert | boolean | Automatically convert the project to audio format after content update. |
auto_publish | boolean | Automatically publish a new project snapshot after conversion completes. Only applies when auto_convert is enabled. |
file | string | Base64-encoded file content for upload. Either txt or HTML input file containing the article content. HTML should be formatted as follows '<html><body><div><p>Your content</… |
update_audio_native_content_from_url Update Audio Native Content from URL
Extracts content from a provided URL, updates the matching AudioNative project, and queues it for conversion and auto-publishing.
| Parameter | Type | Description |
|---|---|---|
url * | string | The web page URL from which to extract content for the AudioNative project. |
author | string | Optional author name to display in the player and insert at the start of the article. Uses the default author from Player settings if not provided. |
find_similar_voices Find Similar Voices
Find voices from the library that are similar to a provided audio sample. Returns a ranked list of matching voices based on similarity scoring.
| Parameter | Type | Description |
|---|---|---|
audio_file | string | Base64-encoded file content for upload. Audio sample file to match against library voices. Used as the reference for similarity comparison. |
similarity_threshold | number | Similarity threshold for filtering results. Lower values return more similar voices. Valid range is 0 to 2. |
top_k | integer | Maximum number of similar voices to return. If similarity_threshold is also specified, fewer voices may be returned. Valid range is 1 to 100. |
get_character_usage_metrics Get Character Usage Metrics
Retrieve character usage metrics for the current user or entire workspace over a specified time period. Results can be aggregated by time interval and broken down by various dimensions such as voice, user, or API key.
| Parameter | Type | Description |
|---|---|---|
end_unix * | integer | End of the usage window as a UTC Unix timestamp in milliseconds. Use 23:59:59 of the last day to include it in the results. |
start_unix * | integer | Start of the usage window as a UTC Unix timestamp in milliseconds. Use 00:00:00 of the first day to include it in the results. |
aggregation_bucket_size | integer | Custom aggregation interval in seconds. When specified, overrides the default daily aggregation. |
breakdown_type | string | Dimension to break down usage metrics by. The 'user' breakdown requires include_workspace_metrics to be true. |
include_workspace_metrics | boolean | Include usage statistics for the entire workspace in addition to user-specific metrics. |
metric | string | The usage metric to aggregate and return in the results. |
create_pronunciation_dictionary Create Pronunciation Dictionary
Creates a new pronunciation dictionary from a lexicon .PLS file. The dictionary can be configured with access permissions for workspace collaboration.
| Parameter | Type | Description |
|---|---|---|
name * | string | The name of the pronunciation dictionary used for identification and reference within the system. |
description | string | An optional description of the pronunciation dictionary to provide additional context about its contents or purpose. |
file | string | Base64-encoded file content for upload. A lexicon .pls file which we will use to initialize the project with. |
workspace_access | string | The workspace access level that determines permissions for other users to interact with this dictionary. If not provided, defaults to no access. |
create_pronunciation_dictionary_from_rules Create Pronunciation Dictionary from Rules
Creates a new pronunciation dictionary from provided rules. The dictionary can be configured with access permissions for workspace collaboration.
| Parameter | Type | Description |
|---|---|---|
name * | string | The name of the pronunciation dictionary used for identification and reference purposes. |
alias_rules | array | List of alias rules. Each rule is a dict with 'string_to_replace' (str) and 'alias' (str) keys. |
description | string | An optional description of the pronunciation dictionary to provide additional context about its contents or purpose. |
phoneme_rules | array | List of phoneme rules. Each rule is a dict with 'string_to_replace' (str), 'phoneme' (str), and 'alphabet' (str) keys. |
workspace_access | string | The access level for workspace users. Determines whether users can administer, edit, comment on, or only view the dictionary. Defaults to no access if not specified. |
get_pronunciation_dictionary Get Pronunciation Dictionary
Retrieve metadata for a specific pronunciation dictionary by its ID. Returns configuration details and properties of the pronunciation dictionary.
| Parameter | Type | Description |
|---|---|---|
pronunciation_dictionary_id * | string | The unique identifier of the pronunciation dictionary to retrieve metadata for. |
update_pronunciation_dictionary Update Pronunciation Dictionary
Partially update a pronunciation dictionary by modifying its name or archive status without affecting the version. Only specified fields will be updated.
| Parameter | Type | Description |
|---|---|---|
pronunciation_dictionary_id * | string | The unique identifier of the pronunciation dictionary to update. |
archived | boolean | Set whether the pronunciation dictionary should be archived. Archived dictionaries are retained but no longer active. |
name | string | A human-readable name for the pronunciation dictionary used for identification and organization purposes. |
replace_pronunciation_rules Replace Pronunciation Rules
Replace all pronunciation rules in a dictionary with a new set of rules. Rules can define phonetic aliases or phoneme mappings using specified alphabets.
| Parameter | Type | Description |
|---|---|---|
pronunciation_dictionary_id * | string | The unique identifier of the pronunciation dictionary to update. |
rules * | array | An ordered list of pronunciation rules to apply. Each rule maps a string to either an alias (another string) or a phoneme (with a specified alphabet such as IPA). All existing rules will be replaced w… |
add_pronunciation_rules Add Pronunciation Rules
Add or update pronunciation rules in a dictionary. Rules with duplicate string_to_replace values will replace existing rules.
| Parameter | Type | Description |
|---|---|---|
pronunciation_dictionary_id * | string | The unique identifier of the pronunciation dictionary to modify. |
rules * | array | An ordered list of pronunciation rules to add or update. Each rule must be either an alias rule (mapping one string to another alias) or a phoneme rule (mapping a string to a phoneme in a specified al… |
delete_pronunciation_rules Delete Pronunciation Rules
Remove one or more pronunciation rules from a pronunciation dictionary. Specify the dictionary ID and provide the list of rule strings to be deleted.
| Parameter | Type | Description |
|---|---|---|
pronunciation_dictionary_id * | string | The unique identifier of the pronunciation dictionary from which rules will be removed. |
rule_strings * | array | An array of rule strings to remove from the pronunciation dictionary. Each string represents a rule to be deleted. Order is not significant. |
download_pronunciation_dictionary_version Download Pronunciation Dictionary Version
Download a PLS (Pronunciation Lexicon Specification) file containing the rules for a specific version of a pronunciation dictionary.
| Parameter | Type | Description |
|---|---|---|
dictionary_id * | string | The unique identifier of the pronunciation dictionary to retrieve. |
version_id * | string | The unique identifier of the specific version of the pronunciation dictionary to download. |
list_pronunciation_dictionaries List Pronunciation Dictionaries
Retrieve a paginated list of pronunciation dictionaries you have access to, with sorting and filtering options. Returns metadata for each dictionary including creation date and name.
| Parameter | Type | Description |
|---|---|---|
page_size | integer | Maximum number of pronunciation dictionaries to return per request. Must be between 1 and 100. |
sort | string | Field to sort the results by. Choose between creation time or alphabetical name ordering. |
sort_direction | string | Direction to sort the results in. Use ascending for oldest-first or newest-first, descending for newest-first or Z-to-A ordering. |
list_service_account_api_keys List Service Account API Keys
Retrieve all API keys associated with a specific service account. Use this to view and manage authentication credentials for programmatic access.
| Parameter | Type | Description |
|---|---|---|
service_account_user_id * | string | The unique identifier of the service account for which to retrieve API keys. |
create_service_account_api_key Create Service Account API Key
Generate a new API key for a service account with specified permissions and optional usage limits. The created key can be used to authenticate requests to the XI API on behalf of the service account.
| Parameter | Type | Description |
|---|---|---|
name * | string | A human-readable name for the API key to help identify its purpose or usage context. |
permissions * | The set of permissions to grant this API key, controlling which XI API operations it can perform. | |
service_account_user_id * | string | The unique identifier of the service account for which to create the API key. |
character_limit | integer | Optional monthly character limit for this API key. When set, requests that would exceed this limit will be rejected, preventing unexpected usage charges. |
revoke_service_account_api_key Revoke Service Account API Key
Revoke and permanently delete an API key associated with a service account. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
api_key_id * | string | The unique identifier of the API key to be revoked and deleted. |
service_account_user_id * | string | The unique identifier of the service account that owns the API key to be deleted. |
list_auth_connections List Auth Connections
Retrieve all authentication connections configured for the workspace. Returns a list of all connected auth providers and their configurations.
delete_auth_connection Delete Auth Connection
Delete an authentication connection from the workspace. This removes the stored credentials and configuration for the specified auth connection.
| Parameter | Type | Description |
|---|---|---|
auth_connection_id * | string | The unique identifier of the authentication connection to delete. |
list_service_accounts List Service Accounts
Retrieve all service accounts configured in the workspace. Service accounts are used for programmatic access and automation within the workspace.
list_groups List Groups
Retrieve all groups in the workspace. Returns a complete list of groups available to the authenticated user.
find_group Find Group
Searches for user groups in the workspace by name. Returns matching group(s) or an empty result if no groups are found.
| Parameter | Type | Description |
|---|---|---|
name * | string | The name of the user group to search for. The search will match against group names in the workspace. |
remove_group_member Remove Group Member
Remove a member from a user group. Requires `group_members_manage` permission to perform this action.
| Parameter | Type | Description |
|---|---|---|
email * | string | The email address of the workspace member to remove from the group. |
group_id * | string | The unique identifier of the group from which the member will be removed. |
add_group_member Add Group Member
Adds a workspace member to a user group. Requires group_members_manage permission.
| Parameter | Type | Description |
|---|---|---|
email * | string | The email address of the workspace member to add to the group. |
group_id * | string | The unique identifier of the group to which the member will be added. |
send_workspace_invite Send Workspace Invite
Sends an email invitation to join the workspace. The recipient will be prompted to create an account if needed, and upon acceptance will be added as a workspace user consuming one available seat. Requires WORKSPACE_MEMBERS_INVITE permission.
| Parameter | Type | Description |
|---|---|---|
email * | string | The email address of the user to invite to the workspace. |
group_ids | array | List of group IDs to assign the invited user to. Groups determine access permissions and organizational structure within the workspace. |
seat_type | string | The permission level to assign the invited user within the workspace. |
send_workspace_invitations Send Workspace Invitations
Send email invitations to multiple users to join your workspace. Invitees must have email addresses from verified domains, and accepted invitations will add them as workspace users consuming available seats.
| Parameter | Type | Description |
|---|---|---|
emails * | array | List of email addresses to invite. All emails must belong to verified domains associated with your workspace. |
group_ids | array | List of group IDs to assign the invited users to upon acceptance. Groups organize users and manage permissions within the workspace. |
seat_type | string | The permission level to assign to invited users within the workspace. |
revoke_workspace_invitation Revoke Workspace Invitation
Revoke an existing workspace invitation by email address. The invitation will remain visible in the recipient's inbox but will no longer be activatable to join the workspace. Only workspace members with WORKSPACE_MEMBERS_INVITE permission can perform this action.
| Parameter | Type | Description |
|---|---|---|
email * | string | The email address of the invitation recipient whose invitation should be revoked. |
get_resource Get Resource
Retrieves metadata for a specific resource by its ID and type. Use this to fetch detailed information about any resource in your workspace.
| Parameter | Type | Description |
|---|---|---|
resource_id * | string | The unique identifier of the resource to retrieve. |
resource_type * | string | The category of the resource. Determines which resource type's metadata will be returned. |
grant_resource_access Grant Resource Access
Grant or update a role on a workspace resource for a user, service account, group, or API key. This operation overrides any existing role the principal has on the resource. You must have admin access to the resource to perform this action.
| Parameter | Type | Description |
|---|---|---|
resource_id * | string | The unique identifier of the resource to share. |
resource_type * | string | The category of resource being shared. Determines the type of object referenced by resource_id. |
role * | string | The access level to grant to the principal. Determines what actions the principal can perform on the resource. |
group_id | string | The unique identifier of the group to grant access to. Use the special value 'default' to target the default permissions principals have on this resource. |
user_email | string | The email address of the user or service account to grant access to. The principal must already exist in your workspace. |
workspace_api_key_id | string | The unique identifier of the workspace API key to grant access to. This is the key ID found in workspace settings, not the API key credential itself. Access will be granted to the service account asso… |
revoke_resource_access Revoke Resource Access
Removes all access permissions for a user, service account, group, or workspace API key to a workspace resource. The requester must have admin access to the resource.
| Parameter | Type | Description |
|---|---|---|
resource_id * | string | The unique identifier of the workspace resource to revoke access from. |
resource_type * | string | The category of the workspace resource being modified. |
group_id | string | The identifier of the group to revoke access from. Use 'default' to target default permissions principals have on this resource. |
user_email | string | The email address of the user or service account to revoke access from. The user or service account must exist in your workspace. |
workspace_api_key_id | string | The identifier of the workspace API key to revoke access from. This is the key ID found in workspace settings, not the authentication key itself. Access will be revoked from the service account associ… |
list_workspace_webhooks List Workspace Webhooks
Retrieve all webhooks configured for a workspace. Optionally include active usage statistics for each webhook (admin-only feature).
| Parameter | Type | Description |
|---|---|---|
include_usages | boolean | Include active usage statistics for each webhook. Only accessible to workspace administrators. |
transcribe_audio Transcribe Audio
Transcribe audio or video files to text with support for speaker diarization, multi-channel processing, and entity detection. Supports synchronous responses or asynchronous webhook delivery with optional custom metadata for request tracking.
| Parameter | Type | Description |
|---|---|---|
model_id * | string | The transcription model to use. Choose between scribe_v1 (standard) or scribe_v2 (enhanced with additional features like verbatim control). |
additional_formats | array | List of additional output formats to generate alongside the default transcript. Each format can optionally include speaker labels and timestamps. Maximum of 10 formats per request. |
cloud_storage_url | string | HTTPS URL of the audio or video file to transcribe. The file must be publicly accessible and under 2GB. Supports cloud storage URLs (S3, Google Cloud Storage, Cloudflare R2) and pre-signed URLs with a… |
diarization_threshold | number | Sensitivity threshold for speaker diarization (only applies when diarize is true and num_speakers is not specified). Higher values reduce speaker fragmentation but increase the risk of merging distinc… |
diarize | boolean | Whether to perform speaker diarization to identify and label which speaker is talking at each point in the transcript. |
entity_detection | Entity detection configuration to identify and extract entities from the transcript. Accepts 'all' for all entity types, specific entity type names, or a list of types/categories (pii, phi, pci, other… | |
entity_redaction | Entity types or categories to redact from the transcript text. Accepts the same format as entity_detection ('all', specific categories like 'pii' or 'phi', or a list of entity types). Must be a subset… | |
file | string | Base64-encoded file content for upload. The file to transcribe. All major audio and video formats are supported. Exactly one of the file or cloud_storage_url parameters must be provided. The file size… |
keyterms | array | List of domain-specific words or phrases to bias the model toward recognizing with higher accuracy. Each keyterm must be under 50 characters and contain at most 5 words. Maximum 1000 keyterms per requ… |
language_code | string | ISO-639-1 or ISO-639-3 language code of the audio content. Providing the language can improve transcription accuracy; if omitted, language is automatically detected. |
no_verbatim | boolean | Whether to remove filler words, false starts, and non-speech sounds from the transcript for a cleaner output. Only supported with the scribe_v2 model. |
num_speakers | integer | Maximum number of speakers expected in the audio. Helps the model predict speaker transitions more accurately. If not specified, the model uses its maximum supported speaker count (up to 32). |
tag_audio_events | boolean | Whether to identify and tag audio events such as laughter, footsteps, and other non-speech sounds in the transcript. |
timestamps_granularity | string | Timestamp precision level in the transcript. 'word' provides timestamps for each word, 'character' provides character-level timestamps within words, and 'none' omits timestamps. |
use_multi_channel | boolean | Whether to transcribe multi-channel audio independently, treating each channel as a separate speaker. Supports up to 5 channels; each word in the response includes a channel_index field indicating its… |
webhook | boolean | Whether to process the request asynchronously and deliver results via configured webhooks. When enabled, the request returns immediately without the transcription result. |
webhook_id | string | ID of a specific webhook endpoint to receive the transcription result. Only valid when webhook is true. If omitted, results are sent to all configured speech-to-text webhooks. |
webhook_metadata | Custom metadata to include in webhook responses for request correlation and tracking. Must be a JSON object with maximum depth of 2 levels and total size under 16KB. Useful for associating results wit… |
get_transcript Get Transcript
Retrieve a previously generated transcript by its unique identifier. Use this operation to access transcription results after they have been processed.
| Parameter | Type | Description |
|---|---|---|
transcription_id * | string | The unique identifier of the transcript to retrieve. |
delete_transcript Delete Transcript
Permanently delete a transcript by its unique ID. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
transcription_id * | string | The unique identifier of the transcript to delete. |
list_evaluation_criteria List Evaluation Criteria
Retrieve all available evaluation criteria for speech-to-text assessment. Use this to understand the metrics and standards available for evaluating transcription quality.
get_evaluation_criterion Get Evaluation Criterion
Retrieve a specific evaluation criterion by its ID for speech-to-text evaluation tasks. Use this to fetch detailed information about a criterion used in assessment workflows.
| Parameter | Type | Description |
|---|---|---|
criterion_id * | string | The unique identifier of the evaluation criterion to retrieve. |
update_eval_criterion Update Evaluation Criterion
Update an existing evaluation criterion for speech-to-text assessment. Modify the criterion name, evaluation criteria details, and associated fields.
| Parameter | Type | Description |
|---|---|---|
criterion_id * | string | The unique identifier of the evaluation criterion to update. |
fields * | array | An array of field identifiers or definitions associated with this evaluation criterion. Specifies which fields are evaluated. |
criteria | array | An array of evaluation criteria details. Order and structure should match the evaluation framework requirements. |
name | string | The name of the evaluation criterion. Must be between 1 and 200 characters. |
delete_evaluation_criterion Delete Evaluation Criterion
Delete a specific evaluation criterion from the speech-to-text evaluation system. This operation permanently removes the criterion and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
criterion_id * | string | The unique identifier of the evaluation criterion to delete. |
list_evaluations List Evaluations
Retrieve a list of speech-to-text evaluations with filtering, sorting, and pagination options. Filter by agent, evaluation criterion, status, and creation date range.
| Parameter | Type | Description |
|---|---|---|
agent_id | string | Filter evaluations by the agent ID that created or is associated with the evaluation. |
created_after | string | Filter evaluations created on or after this date. Use ISO 8601 format. |
created_before | string | Filter evaluations created on or before this date. Use ISO 8601 format. |
eval_criterion_id | string | Filter evaluations by the evaluation criterion ID used to assess performance. |
page_size | integer | Number of evaluations to return per page for pagination. |
sort_by | string | Sort results by a specific field (e.g., created_at, status, agent_id). |
sort_dir | string | Sort direction for results: ascending or descending order. |
status | string | Filter evaluations by their current status (e.g., pending, completed, failed). |
create_evaluation Create Evaluation
Trigger a new evaluation for a speech-to-text transcript by specifying the transcript, evaluating agent, and evaluation criteria. Optionally provide custom labels and agent name for context.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | The unique identifier of the agent performing the evaluation. |
eval_criterion_id * | string | The unique identifier of the evaluation criterion to apply during the evaluation. |
transcript_id * | string | The unique identifier of the transcript to be evaluated. |
agent_name | string | The display name of the agent performing the evaluation for reference purposes. |
labels | object | Custom labels or metadata to attach to the evaluation as key-value pairs. |
get_evaluation Get Evaluation
Retrieve detailed information about a specific speech-to-text evaluation by its unique identifier.
| Parameter | Type | Description |
|---|---|---|
evaluation_id * | string | The unique identifier of the evaluation to retrieve. |
list_human_agents List Human Agents
Retrieve a paginated list of human agents available for speech-to-text evaluation tasks. Use pagination to control the number of results returned per request.
| Parameter | Type | Description |
|---|---|---|
page_size | integer | Number of human agents to return per page. Controls pagination size for the results. |
get_human_agent Get Human Agent
Retrieve detailed information about a specific human agent in the speech-to-text evaluation system. Use this to access agent profiles and evaluation data.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | The unique identifier of the human agent to retrieve. |
delete_human_agent Delete Human Agent
Remove a human agent from the speech-to-text evaluation system. This operation permanently deletes the agent and their associated routing configuration.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | The unique identifier of the human agent to delete. |
list_evaluation_analytics List Evaluation Analytics
Retrieve analytics data for speech-to-text evaluations, optionally filtered by creation date range. Use this to analyze evaluation metrics and performance trends over time.
| Parameter | Type | Description |
|---|---|---|
created_after | string | Filter results to include only evaluations created on or after this date. Specify in ISO 8601 format. |
created_before | string | Filter results to include only evaluations created on or before this date. Specify in ISO 8601 format. |
get_criterion_analytics Get Criterion Analytics
Retrieve analytics data for a specific evaluation criterion, with optional filtering by creation date range. Use this to analyze performance metrics and insights for a particular criterion.
| Parameter | Type | Description |
|---|---|---|
criterion_id * | string | The unique identifier of the evaluation criterion to retrieve analytics for. |
created_after | string | Filter analytics to include only records created on or after this date. Specify in ISO 8601 format. |
created_before | string | Filter analytics to include only records created on or before this date. Specify in ISO 8601 format. |
get_agent_analytics Get Agent Analytics
Retrieve analytics data for a specific human agent in the speech-to-text evaluation system. Optionally filter results by creation date range.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | The unique identifier of the human agent for which to retrieve analytics. |
created_after | string | Filter to include only analytics created on or after this date. Specify in ISO 8601 format. |
created_before | string | Filter to include only analytics created on or before this date. Specify in ISO 8601 format. |
align_audio_to_text Align Audio to Text
Synchronize an audio file with a text transcript to extract precise timing information for each character and word. Supports all major audio formats up to 1GB in size.
| Parameter | Type | Description |
|---|---|---|
file * | string | Base64-encoded file content for upload. The audio file to align with the transcript. Supports all major audio formats with a maximum file size of 1GB. |
text * | string | The text transcript to align with the audio. Can be in any text format; diarization (speaker identification) is not currently supported. |
enabled_spooled_file | boolean | Enable streaming processing for large files that cannot fit in memory. When true, the file is streamed to the server and processed in chunks. |
get_agent_conversation_signed_link Get Agent Conversation Signed Link
Generate a signed URL to initiate a conversation with an authorized agent. The signed URL provides secure access to start a new conversation session.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | The unique identifier of the agent with which to start the conversation. |
branch_id | string | The specific branch variant of the agent to use for the conversation. |
include_conversation_id | boolean | Whether to include a unique conversation ID in the response. When enabled, the signed URL can only be used once. |
initiate_outbound_call Initiate Outbound Call
Initiate an outbound phone call through Twilio with AI agent capabilities, including voice synthesis, language support, and optional call recording.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | Unique identifier of the AI agent that will handle the call. |
agent_phone_number_id * | string | Identifier of the Twilio phone number resource to use as the caller. |
to_number * | string | The destination phone number to call in E.164 format or standard phone number format. |
call_recording_enabled | boolean | Whether Twilio should record the audio of this call for compliance, quality assurance, or archival purposes. |
dynamic_variables | object | Key-value pairs of custom variables that can be referenced in the agent's prompt or system instructions to personalize the conversation. |
first_message | string | Optional initial message the agent will speak when the call connects. If omitted, the agent waits for the caller to speak first. |
language | string | Language code for the agent's automatic speech recognition and text-to-speech processing. |
prompt | object | Configuration object specifying the LLM model and system prompt that defines the agent's behavior and knowledge. |
similarity_boost | number | Controls how closely the generated speech matches the target voice characteristics. |
soft_timeout_config | object | Configuration for soft timeout feedback, allowing the agent to provide immediate responses (e.g., acknowledgments) while processing longer LLM responses. |
source | string | The platform or integration through which the call was initiated. |
speed | number | Controls the playback speed of generated speech, where higher values increase speech rate. |
stability | number | Controls the consistency of the generated speech, with higher values producing more stable output. |
user_id | string | Identifier for the end user or customer participating in this call, used for tracking and attribution by the agent owner. |
voice_id | string | Identifier for the text-to-speech voice to use for agent responses. |
initiate_twilio_call Initiate Twilio Call
Initiate a Twilio voice call with an AI agent and return TwiML configuration for call routing. Supports both inbound and outbound call directions with customizable agent behavior, voice settings, and conversation parameters.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | Unique identifier of the AI agent that will handle this call. |
from_number * | string | The phone number initiating the call (caller ID for outbound, destination for inbound). |
to_number * | string | The phone number receiving the call (destination for outbound, caller ID for inbound). |
direction | string | Direction of the call flow. Inbound calls originate from external parties; outbound calls are initiated by the system. |
dynamic_variables | object | Custom key-value variables that can be passed to the agent prompt for dynamic personalization or context injection during the conversation. |
first_message | string | Opening message the agent will speak when the call connects. If empty, the agent waits for the caller to speak first. |
language | string | Language code for automatic speech recognition (ASR) and text-to-speech (TTS) processing during the call. |
prompt | object | Configuration object containing the LLM model identifier and system prompt that defines the agent's behavior and knowledge domain. |
similarity_boost | number | Controls how closely the generated speech matches the target voice characteristics. |
soft_timeout_config | object | Configuration for soft timeout feedback, allowing the agent to provide immediate acknowledgment messages while processing longer LLM responses. |
source | string | Channel or platform through which this call was initiated, used for analytics and routing decisions. |
speed | number | Controls the playback speed of generated speech, where higher values increase speech rate. |
stability | number | Controls the consistency of generated speech output, affecting how natural and varied the voice sounds. |
user_id | string | Identifier for the end user or customer participating in this call, used by the agent owner for tracking and analytics. |
voice_id | string | Identifier for the text-to-speech voice model to use for agent responses. |
initiate_whatsapp_call Initiate WhatsApp Call
Initiate an outbound voice call to a WhatsApp user through a configured WhatsApp Business Account. The call uses a pre-approved permission request template and connects to an AI agent for conversation.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | The ID of the AI agent that will handle the conversation during the call. |
whatsapp_call_permission_request_template_language_code * | string | The language code of the call permission request template (e.g., 'en_US', 'es_ES'). |
whatsapp_call_permission_request_template_name * | string | The name of the WhatsApp-approved call permission request template to use for initiating the call. |
whatsapp_phone_number_id * | string | The WhatsApp Business Account phone number ID that will be used to make the outbound call. |
whatsapp_user_id * | string | The WhatsApp user ID of the recipient who will receive the outbound call. |
dynamic_variables | object | Dynamic variables that can be passed to customize the agent's behavior and responses during the call. |
first_message | string | The initial message the agent will speak when the call connects. If empty, the agent will wait for the user to speak first. |
language | string | The language code for the agent's automatic speech recognition and text-to-speech (e.g., 'en-US', 'es-ES'). |
prompt | object | The system prompt that defines the agent's behavior, personality, and instructions for handling the conversation. |
similarity_boost | number | The similarity boost parameter for speech synthesis, controlling how closely the voice matches the selected voice ID. |
soft_timeout_config | object | Configuration for soft timeout feedback, allowing the agent to send intermediate messages while processing longer LLM responses to keep the conversation feeling responsive. |
source | string | The source or channel through which the call was initiated. |
speed | number | The speed parameter for speech synthesis, controlling how fast the agent speaks. |
stability | number | The stability parameter for speech synthesis, controlling consistency of the generated voice. |
user_id | string | The ID of the end user initiating this call, used by the agent owner for tracking and identifying conversation participants. |
voice_id | string | The voice ID to use for text-to-speech synthesis during the call. |
send_whatsapp_message Send WhatsApp Message
Send an outbound message to a WhatsApp user using a predefined template with optional AI agent configuration for interactive conversations.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | The ID of the AI agent that will handle the conversation if this message initiates an interactive session. |
template_language_code * | string | The language code for the template (e.g., 'en', 'es', 'fr'). Must match the template's supported languages. |
template_name * | string | The name of the WhatsApp message template to use for this outbound message. |
template_params * | array | An ordered array of parameter values to substitute into the template placeholders. Order and format must match the template definition. |
whatsapp_phone_number_id * | string | The WhatsApp phone number ID associated with your business account that will send the message. |
whatsapp_user_id * | string | The WhatsApp user ID (recipient) who will receive the message. |
dynamic_variables | object | Additional dynamic variables to be substituted into the template or used by the agent during the conversation. |
first_message | string | The initial message the agent will send to start the conversation. If empty, the agent waits for the user to send the first message. |
language | string | The language for the agent's automatic speech recognition (ASR) and text-to-speech (TTS) processing. |
prompt | object | Configuration object containing the LLM model and system prompt that defines the agent's behavior and capabilities. |
similarity_boost | number | Controls how closely the generated speech matches the selected voice characteristics. |
soft_timeout_config | object | Configuration for soft timeout feedback, allowing the agent to send intermediate messages (e.g., acknowledgments) while processing longer responses. |
source | string | The channel or platform through which this conversation was initiated. |
speed | number | Controls the speed of generated speech playback. |
stability | number | Controls the consistency of the generated speech, ranging from low variability to high variability. |
user_id | string | Identifier for the end user participating in this conversation, used by the agent owner for tracking and analytics. |
voice_id | string | The voice ID to use for text-to-speech synthesis when the agent responds with audio. |
create_agent_route Create Agent Route
Create Agent
list_agent_summaries List Agent Summaries
Retrieve summaries for the specified agents. Provide a list of agent IDs to get their summary information.
| Parameter | Type | Description |
|---|---|---|
agent_ids * | array | List of agent IDs to retrieve summaries for. Order is not significant. Each ID should be a valid agent identifier. |
get_agent Get Agent
Retrieve the configuration and settings for a specific agent. Optionally specify a particular version or branch to retrieve.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | The unique identifier of the agent to retrieve. |
branch_id | string | The specific branch of the agent to retrieve. If not provided, the default branch is used. |
version_id | string | The specific version of the agent to retrieve. If not provided, the latest version is used. |
update_agent_settings Update Agent Settings
Updates agent settings including conversation configuration, platform settings, workflow structure, metadata, and versioning. Changes are applied to the specified agent or branch.
delete_agent Delete Agent
Permanently delete an agent and remove it from the system. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | The unique identifier of the agent to delete. |
get_agent_widget_config Get Agent Widget Configuration
Retrieve the widget configuration for a specific agent, including settings needed to embed or display the agent's conversational interface.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | The unique identifier of the agent whose widget configuration you want to retrieve. |
conversation_signature | string | An optional expiring token that enables WebSocket conversation initiation. Generate tokens using the conversation signed URL endpoint. |
upload_agent_avatar Upload Agent Avatar
Upload and set a profile image for an agent that will be displayed in the chat widget.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | The unique identifier of the agent to update with the new avatar image. |
avatar_file * | string | Base64-encoded file content for upload. An image file to use as the agent's avatar. The file will be processed and stored for display in the widget. |
list_agents List Agents
Retrieve a paginated list of your agents with their metadata. Results can be filtered by archived status and creator, and sorted by name or creation date.
| Parameter | Type | Description |
|---|---|---|
archived | boolean | Filter results to show only archived or active agents. |
created_by_user_id | string | Filter agents by the user ID of their creator. Use '@me' to refer to the authenticated user. Takes precedence over other ownership filters. |
page_size | integer | Maximum number of agents to return per request. Must be between 1 and 100. |
sort_by | string | Field to sort results by. Choose between agent name or creation timestamp. |
sort_direction | string | Order direction for sorting results in ascending or descending sequence. |
get_knowledge_base_size Get Knowledge Base Size
Retrieves the total number of pages stored in an agent's knowledge base. Use this to understand the size and scope of the knowledge base associated with a specific agent.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | The unique identifier of the agent whose knowledge base size you want to retrieve. |
estimate_agent_llm_cost Estimate Agent LLM Cost
Estimates the expected number of LLM tokens required for an agent based on prompt length, knowledge base content, and RAG configuration. Use this to forecast token consumption and associated costs before deployment.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | The unique identifier of the agent for which to calculate expected LLM token usage. |
number_of_pages | integer | The total number of pages in PDF documents or URLs indexed in the agent's Knowledge Base. Used to estimate token consumption for RAG retrieval and context injection. |
prompt_length | integer | The length of the input prompt in characters. Used to estimate token consumption for the prompt component. |
rag_enabled | boolean | Whether Retrieval-Augmented Generation (RAG) is enabled for the agent. When enabled, additional tokens are consumed for knowledge base retrieval and context augmentation. |
duplicate_agent Duplicate Agent
Create a new agent by duplicating an existing agent. The new agent will have the same configuration as the source agent, with an optional custom name.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | The unique identifier of the agent to duplicate. |
name | string | An optional custom name for the duplicated agent to help identify it. |
simulate_agent_conversation Simulate Agent Conversation
Simulate a conversation between an AI agent and a simulated user to test agent behavior, responses, and conversation flow. Useful for validating agent configurations, prompts, and tool integrations before deployment.
simulate_conversation_stream Simulate Conversation Stream
Simulate a conversation between an agent and a simulated user with streamed responses. The response streams partial message lists that should be concatenated, concluding with a final message containing conversation analysis.
create_agent_test Create Agent Test
Creates a new test case for evaluating agent responses. Tests can validate response quality, tool usage, or simulate multi-turn conversations with configurable success criteria.
get_agent_test Get Agent Test
Retrieves a specific agent response test by its ID. Use this to fetch details about a previously created test.
| Parameter | Type | Description |
|---|---|---|
test_id * | string | The unique identifier of the agent response test to retrieve. |
update_agent_test Update Agent Test
Updates an agent response test configuration by ID. Allows modification of test criteria, success/failure examples, dynamic variables, and simulation settings.
delete_agent_test Delete Agent Test
Deletes an agent response test by its ID. This removes the test configuration and associated test data from the system.
| Parameter | Type | Description |
|---|---|---|
test_id * | string | The unique identifier of the agent response test to delete. |
fetch_agent_response_test_summaries Fetch Agent Response Test Summaries
Retrieve summaries for multiple agent response tests by their IDs. Returns a mapping of test IDs to their corresponding test summary data.
| Parameter | Type | Description |
|---|---|---|
test_ids * | array | List of unique test IDs to retrieve summaries for. Each ID identifies a specific agent response test. |
list_agent_tests List Agent Tests
Retrieve a paginated list of agent response tests with optional filtering by test type and custom sorting. Supports organizing results with folders displayed first if needed.
| Parameter | Type | Description |
|---|---|---|
page_size | integer | Maximum number of tests to return per request. Must be between 1 and 100. |
sort_mode | string | Determines the sort order for results. Use 'folders_first' to display folders before tests, or 'default' for standard ordering. |
types | array | Filter results to include only tests and folders matching the specified types. When provided, only items of these types are returned. |
list_test_invocations List Test Invocations
Retrieve a paginated list of test invocations for a specific agent. Supports optional pagination control to manage result set size.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | The unique identifier of the agent whose test invocations should be retrieved. |
page_size | integer | Maximum number of test invocations to return per request. Defaults to 30 if not specified. |
run_agent_tests Run Agent Tests
Execute a suite of tests against a conversational AI agent with optional configuration overrides. Tests validate agent behavior, quality, and compliance against specified criteria.
get_test_invocation Get Test Invocation
Retrieves a specific test invocation by its ID. Use this to fetch details about a test invocation that was previously executed.
| Parameter | Type | Description |
|---|---|---|
test_invocation_id * | string | The unique identifier of the test invocation to retrieve. This ID is provided when tests are executed. |
resubmit_tests Resubmit Tests
Resubmit specific test runs from a completed test invocation to re-evaluate agent performance with potentially updated configurations. Allows selective resubmission of individual test cases within a test batch.
list_conversations List Conversations
Retrieve all conversations for agents owned by the user, with extensive filtering options by agent, call metrics, ratings, evaluation results, and conversation metadata.
| Parameter | Type | Description |
|---|---|---|
agent_id | string | Filter conversations to a specific agent by its unique identifier. |
branch_id | string | Filter conversations by branch ID. |
call_duration_max_secs | integer | Filter conversations with a maximum call duration in seconds. |
call_duration_min_secs | integer | Filter conversations with a minimum call duration in seconds. |
call_successful | string | Filter conversations by the result of the success evaluation. |
conversation_initiation_source | string | Filter conversations by their initiation source (SDK, integration, or communication platform). |
data_collection_params | array | Filter by data collection fields using comparison operators. Format: id:op:value where op is one of eq, neq, gt, gte, lt, lte, in, exists, or missing. For 'in' operator, pipe-delimit multiple values.… |
evaluation_params | array | Filter by evaluation criteria results. Specify as criteria_id:result pairs; parameter can be repeated for multiple criteria. |
has_feedback_comment | boolean | Filter to only conversations that include user feedback comments. |
main_languages | array | Filter conversations by detected main language using language codes. Specify multiple languages as separate array items. |
page_size | integer | Maximum number of conversations to return per request. Cannot exceed 100. |
rating_max | integer | Filter conversations with a maximum overall rating on a scale of 1-5. |
rating_min | integer | Filter conversations with a minimum overall rating on a scale of 1-5. |
summary_mode | string | Include or exclude transcript summaries in the response. |
tool_names | array | Filter conversations by the names of tools used during the call. Specify multiple tool names as separate array items. |
user_id | string | Filter conversations by the user ID who initiated them. |
list_conversation_users List Conversation Users
Retrieve a paginated list of distinct users from conversations, with options to filter by agent and branch, and sort by contact recency or conversation frequency.
| Parameter | Type | Description |
|---|---|---|
agent_id | string | The ID of the agent to filter conversations by. |
branch_id | string | Filter conversations to a specific branch by its ID. |
page_size | integer | Maximum number of users to return per page. Valid range is 1 to 100. |
sort_by | string | Field to sort results by. Choose between most recent contact time or total conversation count. |
get_conversation Get Conversation
Retrieve the full details and history of a specific conversation by its ID. Use this to access conversation metadata, messages, and related information.
| Parameter | Type | Description |
|---|---|---|
conversation_id * | string | The unique identifier of the conversation to retrieve. |
delete_conversation Delete Conversation
Permanently delete a conversation and all associated data. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
conversation_id * | string | The unique identifier of the conversation to delete. |
get_conversation_audio Get Conversation Audio
Retrieve the audio recording of a specific conversation. Returns the audio file associated with the conversation ID.
| Parameter | Type | Description |
|---|---|---|
conversation_id * | string | The unique identifier of the conversation whose audio recording you want to retrieve. |
submit_conversation_feedback Submit Conversation Feedback
Submit feedback for a conversation to indicate user satisfaction. Feedback can be positive ('like') or negative ('dislike').
| Parameter | Type | Description |
|---|---|---|
conversation_id * | string | The unique identifier of the conversation to provide feedback for. |
feedback | string | The feedback sentiment for the conversation, either positive or negative. |
search_conversation_messages Search Conversation Messages
Search conversation transcripts using full-text and fuzzy matching with optional filtering by agent, user, call metrics, ratings, language, and other conversation attributes.
| Parameter | Type | Description |
|---|---|---|
text_query * | string | The search query text to match against conversation messages using full-text and fuzzy search algorithms. |
agent_id | string | Filter results to conversations handled by a specific agent. |
branch_id | string | Filter conversations by branch ID. |
call_duration_max_secs | integer | Filter conversations with a maximum duration in seconds. |
call_duration_min_secs | integer | Filter conversations with a minimum duration in seconds. |
call_successful | string | Filter results by the outcome of the conversation (success, failure, or unknown). |
conversation_initiation_source | string | Filter conversations by their initiation source (SDK, integration, or communication platform). |
data_collection_params | array | Filter by data collection fields using comparison operators. Format: id:operator:value where operator is eq, neq, gt, gte, lt, lte, in, exists, or missing. Use pipe-delimited values for 'in' operator… |
evaluation_params | array | Filter by evaluation criteria results. Specify as criteria_id:result pairs (repeatable parameter). |
has_feedback_comment | boolean | Include only conversations that have user feedback comments. |
main_languages | array | Filter conversations by detected primary language using language codes (repeatable parameter). |
page_size | integer | Number of results to return per page. |
rating_max | integer | Filter conversations with a maximum overall rating on a scale of 1-5. |
rating_min | integer | Filter conversations with a minimum overall rating on a scale of 1-5. |
summary_mode | string | Include or exclude transcript summaries in the response. |
tool_names | array | Filter conversations by the names of tools used during the call (repeatable parameter). |
user_id | string | Filter conversations by the user ID who initiated them. |
search_conversation_messages_semantic Search Conversation Messages Semantically
Search conversation transcripts using semantic similarity to find relevant messages based on meaning and intent rather than exact keyword matches. Returns the most contextually relevant messages from conversation history.
| Parameter | Type | Description |
|---|---|---|
text_query * | string | The search query text to match against conversation messages using semantic similarity. Accepts natural language queries describing intent, topics, or specific requests. |
agent_id | string | Filter results to messages from a specific agent. If omitted, searches across all agents in the conversation. |
page_size | integer | Number of results to return per page. Controls pagination size for large result sets. |
list_phone_numbers List Phone Numbers
Retrieve all phone numbers associated with your account. Returns a complete list of configured phone numbers available for use in voice conversations.
import_phone_number Import Phone Number
Import a phone number from your provider configuration (Twilio or SIP trunk) to enable inbound and outbound calling capabilities.
| Parameter | Type | Description |
|---|---|---|
label * | string | A descriptive label for this phone number to identify it in your system. |
phone_number * | string | The phone number to import in E.164 format or provider-specific format. |
inbound_trunk_config | object | SIP trunk configuration for inbound call routing, including server address, port, and authentication credentials. |
outbound_trunk_config | object | SIP trunk configuration for outbound call routing, including server address, port, and authentication credentials. |
provider | string | The telecommunications provider to import from. Defaults to Twilio if not specified. |
region_config | object | Additional Twilio region configuration settings to optimize call routing and compliance for specific geographic regions. |
sid | string | Your Twilio Account SID for authentication. Required when provider is set to Twilio. |
token | string | Your Twilio Auth Token for authentication. Required when provider is set to Twilio. |
get_phone_number Get Phone Number
Retrieve details for a specific phone number by its ID. Returns the phone number configuration and associated metadata.
| Parameter | Type | Description |
|---|---|---|
phone_number_id * | string | The unique identifier of the phone number to retrieve. |
update_phone_number Update Phone Number
Update the routing configuration and credentials for a phone number, including assigned agent, SIP trunk settings, and security policies.
| Parameter | Type | Description |
|---|---|---|
address * | string | Hostname or IP address where SIP INVITE requests are routed. |
inbound_trunk_configCredentialsUsername * | string | Username credential for inbound SIP trunk authentication. |
outbound_trunk_configCredentialsUsername * | string | Username credential for outbound SIP trunk authentication. |
phone_number_id * | string | The unique identifier of the phone number to update. |
agent_id | string | The ID of the agent to assign to this phone number for handling incoming calls. |
allowed_addresses | array | List of IP addresses or CIDR blocks permitted to use this trunk. Each entry can be a single IP address or a CIDR notation block. |
allowed_numbers | array | List of phone numbers authorized to use this trunk. |
headers | object | Custom SIP X-* headers to include in INVITE requests. Useful for identifying calls or passing metadata to the SIP provider. |
label | string | A human-readable label or name for this phone number. |
livekit_stack | string | LiveKit media server stack configuration for call handling. |
media_encryption | string | Media encryption policy for outbound calls. Controls whether RTP traffic is encrypted. |
password | string | Password credential for outbound SIP trunk authentication. If omitted, the existing password remains unchanged. |
remote_domains | array | List of remote SIP server domains used for validating TLS certificates during secure connections. |
transport | string | SIP transport protocol for signaling. Auto-detection attempts to select the optimal protocol. |
delete_phone_number Delete Phone Number
Delete a phone number from your ConvAI account by its ID. This action is permanent and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
phone_number_id * | string | The unique identifier of the phone number to delete. |
calculate_llm_expected_cost Calculate LLM Expected Cost
Calculate the expected cost of using various LLM models based on prompt length, knowledge base size, and RAG configuration. Returns a list of available models with their associated usage costs.
| Parameter | Type | Description |
|---|---|---|
number_of_pages * | integer | The total number of pages in PDF documents or URLs indexed in the agent's knowledge base. Used to estimate retrieval and processing costs when RAG is enabled. |
prompt_length * | integer | The length of the input prompt in characters. This determines the token consumption for the initial request. |
rag_enabled * | boolean | Whether Retrieval-Augmented Generation (RAG) is enabled. When enabled, the cost calculation includes knowledge base retrieval and context augmentation overhead. |
list_llms List Available LLMs
Retrieve a list of available LLM models that can be used with agents, including their capabilities and deprecation status. The response is filtered based on your deployment's data residency and workspace compliance requirements (e.g., HIPAA).
upload_file Upload File
Upload an image or PDF file to a conversation. Returns a unique file ID for referencing the file in subsequent conversation messages.
| Parameter | Type | Description |
|---|---|---|
conversation_id * | string | The unique identifier of the conversation to which the file will be uploaded. |
file * | string | Base64-encoded file content for upload. The image or PDF file to upload. Supported formats include common image types (JPEG, PNG, etc.) and PDF documents. |
delete_conversation_file Delete Conversation File
Remove a file upload from a conversation. This operation is only available if the file has not yet been used within the conversation.
| Parameter | Type | Description |
|---|---|---|
conversation_id * | string | The unique identifier of the conversation containing the file to be deleted. |
file_id * | string | The unique identifier of the file upload to be removed from the conversation. |
get_conversation_live_count Get Conversation Live Count
Retrieve the current count of active ongoing conversations. Optionally filter results to a specific agent.
| Parameter | Type | Description |
|---|---|---|
agent_id | string | Filter the live count to conversations handled by a specific agent. Omit to get the total count across all agents. |
get_knowledge_base_summaries Get Knowledge Base Summaries
Retrieve summaries for multiple knowledge base documents by their IDs. Useful for quickly accessing document metadata and content previews without loading full documents.
| Parameter | Type | Description |
|---|---|---|
document_ids * | array | List of knowledge base document IDs to retrieve summaries for. IDs must be valid document identifiers from your knowledge base. |
list_knowledge_bases List Knowledge Bases
Retrieve a paginated list of available knowledge base documents with filtering and sorting options. Results can be filtered by creator, document type, and sorted by various fields.
| Parameter | Type | Description |
|---|---|---|
created_by_user_id | string | Filter results to documents created by a specific user. Use '@me' to refer to the authenticated user. Takes precedence over ownership filters. |
folders_first | boolean | Whether to display folder documents before other document types in the results. |
page_size | integer | Maximum number of documents to return per page. Defaults to 30 documents. |
sort_by | string | Field to sort results by. Choose from document name, creation date, last update date, or file size. |
sort_direction | string | Order direction for sorting results in ascending or descending sequence. |
types | array | Filter results to only include documents of specified types. Provide as an array of type identifiers. |
create_knowledge_base_document_from_url Create Knowledge Base Document from URL
Create a knowledge base document by scraping and indexing content from a specified webpage. The agent will use this document to access and reference the webpage content when interacting with users.
| Parameter | Type | Description |
|---|---|---|
url * | string | The complete URL of the webpage to scrape and add to the knowledge base. Must be a valid, publicly accessible web address. |
name | string | A human-readable label for this document within the knowledge base. Helps identify and organize the document for agent reference. |
upload_knowledge_base_document Upload Knowledge Base Document
Upload a file to create a new knowledge base document that the agent can access and reference when interacting with users.
| Parameter | Type | Description |
|---|---|---|
file * | string | Base64-encoded file content for upload. The file content to upload as a knowledge base document. Accepts binary file formats for documentation. |
name | string | A human-readable name for the document. If not provided, a default name will be generated. |
add_text_document Add Text Document
Add a text document to the knowledge base. The document will be indexed and made available for retrieval and analysis.
| Parameter | Type | Description |
|---|---|---|
text * | string | The text content to be added to the knowledge base. This will be indexed for search and retrieval. |
name | string | A human-readable name for the document. If not provided, a default name will be generated. |
create_folder Create Folder
Create a new folder in the knowledge base for organizing and grouping related documents together.
| Parameter | Type | Description |
|---|---|---|
name * | string | A human-readable name for the folder. Used to identify and organize document groups within the knowledge base. |
retrieve_knowledge_base_document Retrieve Knowledge Base Document
Retrieve detailed information about a specific document from the agent's knowledge base. Use the documentation ID returned when the document was added to access its content and metadata.
| Parameter | Type | Description |
|---|---|---|
documentation_id * | string | The unique identifier of the document to retrieve from the knowledge base. |
agent_id | string | Optional agent identifier to scope the knowledge base query to a specific agent. |
rename_document Rename Document
Rename a document in the knowledge base by updating its display name.
| Parameter | Type | Description |
|---|---|---|
documentation_id * | string | The unique identifier of the document to rename. This ID is provided when the document is initially added to the knowledge base. |
name * | string | A human-readable name for the document. Must be at least one character long. |
delete_knowledge_base_document Delete Knowledge Base Document
Permanently delete a document or folder from the knowledge base. Optionally force deletion even if the document is in use by agents, which will also remove it from dependent agents and delete all child documents in non-empty folders.
| Parameter | Type | Description |
|---|---|---|
documentation_id * | string | The unique identifier of the document or folder to delete from the knowledge base. |
force | boolean | Force deletion of the document or folder even if it is currently used by agents. When enabled, the document will be removed from all dependent agents, and all child documents and folders within non-em… |
get_rag_index_overview Get RAG Index Overview
Retrieves metadata about RAG (Retrieval-Augmented Generation) indexes used by the knowledge base, including total size and other index statistics.
batch_compute_rag_indexes Batch Compute RAG Indexes
Computes and retrieves RAG (Retrieval-Augmented Generation) indexes for multiple knowledge base documents in a single batch operation. Supports up to 100 documents per request for efficient index creation and retrieval.
| Parameter | Type | Description |
|---|---|---|
items * | array | Array of RAG index requests for knowledge base documents. Each item specifies a document to index. Order is preserved in the response. |
refresh_knowledge_base_document Refresh Knowledge Base Document
Manually refresh a URL-based document in the knowledge base by re-fetching its content from the source URL. Use this to update stale or outdated document content.
| Parameter | Type | Description |
|---|---|---|
documentation_id * | string | The unique identifier of the document in the knowledge base to refresh. This ID is provided when the document is initially added. |
list_rag_indexes List RAG Indexes
Retrieve all RAG indexes associated with a specified knowledge base document. Returns metadata about each index configured for the document.
| Parameter | Type | Description |
|---|---|---|
documentation_id * | string | The unique identifier of the knowledge base document for which to retrieve RAG indexes. |
index_knowledge_base_document Index Knowledge Base Document
Trigger or retrieve the RAG indexing status for a knowledge base document. If the document hasn't been indexed yet, this operation initiates the indexing task; otherwise, it returns the current indexing status.
| Parameter | Type | Description |
|---|---|---|
documentation_id * | string | The unique identifier of the document in the knowledge base that you want to index or check the indexing status for. |
model * | string | The embedding model to use for RAG indexing. This determines how the document content will be vectorized for semantic search. |
delete_rag_index Delete RAG Index
Delete a RAG index associated with a knowledge base document. This removes the indexed data used for retrieval-augmented generation on that document.
| Parameter | Type | Description |
|---|---|---|
documentation_id * | string | The unique identifier of the knowledge base document whose RAG index will be deleted. |
rag_index_id * | string | The unique identifier of the RAG index to delete for the specified document. |
list_dependent_agents List Dependent Agents
Retrieve a list of agents that depend on a specific knowledge base document. Supports filtering by dependency type (direct, transitive, or all) with pagination.
| Parameter | Type | Description |
|---|---|---|
documentation_id * | string | The unique identifier of the knowledge base document for which to retrieve dependent agents. |
dependent_type | string | Filter results by dependency relationship type. Use 'direct' for agents directly referencing this document, 'transitive' for agents indirectly depending on it, or 'all' to include both. |
page_size | integer | Maximum number of agents to return per request. Must be between 1 and 100. |
retrieve_knowledge_base_document_content Retrieve Knowledge Base Document Content
Retrieve the complete content of a document stored in the knowledge base. Use the documentation ID returned when the document was added to access its full text.
| Parameter | Type | Description |
|---|---|---|
documentation_id * | string | The unique identifier of the document in the knowledge base, provided when the document was initially added. |
get_knowledge_base_source_file_url Get Knowledge Base Source File URL
Retrieve a signed URL to download the original source file of a document stored in the knowledge base. The URL is temporary and can be used to access the file directly.
| Parameter | Type | Description |
|---|---|---|
documentation_id * | string | The unique identifier of the knowledge base document. This ID is provided when the document is initially added to the knowledge base. |
retrieve_knowledge_base_chunk Retrieve Knowledge Base Chunk
Retrieve a specific chunk from a knowledge base document used by the RAG system. Returns the chunk content and metadata for the specified documentation and chunk identifiers.
| Parameter | Type | Description |
|---|---|---|
chunk_id * | string | The unique identifier of the specific chunk within the document. Chunks are sequential segments of a document created during RAG processing. |
documentation_id * | string | The unique identifier of the document in the knowledge base. This ID is provided when the document is initially added to the knowledge base. |
embedding_model | string | The embedding model used to generate and retrieve the chunk. Determines the vector representation used for semantic search and retrieval. |
move_knowledge_base_document Move Knowledge Base Document
Moves a knowledge base document from its current location to a specified folder. If no destination folder is provided, the document is moved to the root folder.
| Parameter | Type | Description |
|---|---|---|
document_id * | string | The unique identifier of the document to move within the knowledge base. |
move_to | string | The destination folder identifier where the document should be moved. Omit this parameter to move the document to the root folder. |
move_knowledge_base_entities Move Knowledge Base Entities
Moves multiple documents or folders within a knowledge base to a specified destination folder. If no destination is provided, entities are moved to the root folder.
| Parameter | Type | Description |
|---|---|---|
document_ids * | array | The IDs of the documents or folders to move. Accepts between 1 and 20 entity IDs in a single operation. |
move_to | string | The destination folder ID where entities will be moved. Omit this parameter to move entities to the root folder. |
list_tools List Tools
Retrieve all available tools in the workspace with optional filtering by creator, type, and sorting capabilities.
| Parameter | Type | Description |
|---|---|---|
created_by_user_id | string | Filter results to tools created by a specific user. Use '@me' to refer to the authenticated user. Takes precedence over ownership filters. |
page_size | integer | Maximum number of tools to return per request. Must be between 1 and 100. |
sort_by | string | Field to sort results by. Choose between tool name or creation timestamp. |
sort_direction | string | Order direction for sorting results in ascending or descending sequence. |
types | array | Filter results to include only tools of specified types. Provide as an array of tool type values. |
create_tool Create Tool
Register a new tool in the workspace to make it available for use in conversations. The tool configuration defines its name, description, parameters, and execution behavior.
get_tool Get Tool
Retrieve a specific tool available in the workspace by its ID. Use this to fetch tool details and configuration.
| Parameter | Type | Description |
|---|---|---|
tool_id * | string | The unique identifier of the tool to retrieve. |
update_tool Update Tool
Update the configuration of an existing tool in the workspace. Modify tool settings and behavior by providing updated configuration parameters.
delete_tool Delete Tool
Delete a tool from the workspace. Optionally force deletion to remove the tool from all dependent agents and branches regardless of current usage.
| Parameter | Type | Description |
|---|---|---|
tool_id * | string | The unique identifier of the tool to delete. |
force | boolean | Force deletion of the tool even if it is currently used by agents or branches. When enabled, the tool will be automatically removed from all dependent agents and branches. |
list_dependent_agents_tool List Dependent Agents for Tool
Retrieve a paginated list of agents that depend on a specific tool. Use this to understand tool usage and impact across your agent ecosystem.
| Parameter | Type | Description |
|---|---|---|
tool_id * | string | The unique identifier of the tool for which to retrieve dependent agents. |
page_size | integer | Maximum number of agents to return per request. Useful for pagination control. |
create_workspace_secret Create Workspace Secret
Create a new secret for the Convai workspace. Secrets are securely stored credentials or sensitive values that can be referenced in workspace configurations.
| Parameter | Type | Description |
|---|---|---|
name * | string | A unique identifier for the secret within the workspace. Used to reference the secret in configurations and workflows. |
type * | string | The category or classification of the secret (e.g., API key, password, token, connection string). Determines how the secret is handled and validated. |
value * | string | The sensitive value to be securely stored. This value is encrypted and not returned in subsequent API responses. |
update_secret Update Secret
Update an existing secret in the Convai workspace. Modify the secret's type, name, or value by providing the secret ID and updated details.
| Parameter | Type | Description |
|---|---|---|
name * | string | The display name or label for the secret. |
secret_id * | string | The unique identifier of the secret to update. |
type * | string | The type or category of the secret (e.g., API key, password, token). |
value * | string | The secret value or credential data to store. |
delete_secret Delete Secret
Delete a workspace secret. The secret must not be in use by any active configurations before deletion.
| Parameter | Type | Description |
|---|---|---|
secret_id * | string | The unique identifier of the secret to delete. |
submit_batch_calls Submit Batch Calls
Submit a batch call request to schedule multiple outbound calls to recipients. Supports scheduling, concurrency limits, and WhatsApp permission request templates.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | Unique identifier of the conversational AI agent to use for the calls. |
call_name * | string | Display name or identifier for this batch call campaign. |
recipients * | array | List of recipient phone numbers or contact identifiers to call. Order is preserved for sequential processing. |
whatsapp_call_permission_request_template_language_code * | string | Language code for the WhatsApp permission request template (e.g., en, es, fr). Must match a supported language for the specified template. |
whatsapp_call_permission_request_template_name * | string | Name of the WhatsApp message template to use for requesting call permissions from recipients. |
agent_phone_number_id | string | Phone number identifier associated with the agent making the calls. Required for certain call routing configurations. |
scheduled_time_unix | integer | Unix timestamp (seconds since epoch) for when to start executing the batch calls. If omitted, calls begin immediately. |
target_concurrency_limit | integer | Maximum number of simultaneous calls allowed in this batch. When set, this limit takes precedence over workspace or agent-level capacity settings. |
timezone | string | Timezone identifier (e.g., America/New_York, Europe/London) for interpreting scheduled_time_unix in local context. |
list_batch_calls List Batch Calls
Retrieve all batch calls for the current workspace with pagination support. Use limit and last_doc parameters to control result set size and navigate through pages.
| Parameter | Type | Description |
|---|---|---|
last_doc | string | Cursor token for pagination. Provide the last document identifier from a previous request to retrieve the next page of results. |
limit | integer | Maximum number of batch calls to return per request. Controls pagination size for the result set. |
get_batch_call Get Batch Call
Retrieve detailed information about a specific batch call, including all recipients and their call status.
| Parameter | Type | Description |
|---|---|---|
batch_id * | string | The unique identifier of the batch call to retrieve. |
delete_batch_call Delete Batch Call
Permanently delete a batch call and all associated recipient records. Note that conversation history will be retained even after deletion.
| Parameter | Type | Description |
|---|---|---|
batch_id * | string | The unique identifier of the batch call to delete. |
cancel_batch_call Cancel Batch Call
Cancel a running batch call and set all recipients to cancelled status. This operation terminates the batch calling process immediately.
| Parameter | Type | Description |
|---|---|---|
batch_id * | string | The unique identifier of the batch call to cancel. |
retry_batch_call Retry Batch Call
Retry a failed batch call by re-attempting to reach recipients who did not respond or experienced call failures. This operation allows you to reprocess a specific batch without creating a new batch call.
| Parameter | Type | Description |
|---|---|---|
batch_id * | string | The unique identifier of the batch call to retry. This specifies which batch's failed and no-response recipients should be called again. |
initiate_outbound_sip_call Initiate Outbound SIP Call
Initiates an outbound call through a SIP trunk with an AI agent. The agent can be configured with custom voice settings, initial messaging, and LLM behavior to handle the conversation.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | Unique identifier of the AI agent that will handle the outbound call. |
agent_phone_number_id * | string | Unique identifier of the phone number resource associated with the agent for this call. |
to_number * | string | The destination phone number to call in E.164 format or standard phone number format. |
dynamic_variables | object | Custom variables that can be passed to the agent and used within the prompt or conversation context for dynamic behavior. |
first_message | string | The initial message the agent will speak when the call connects. If empty, the agent waits for the caller to speak first. |
language | string | The language code for the agent's automatic speech recognition (ASR) and text-to-speech (TTS) processing. |
prompt | object | Configuration for the LLM behavior, including the model selection and system prompt that defines the agent's personality and capabilities. |
similarity_boost | number | Controls how closely the generated speech matches the selected voice ID, balancing between voice similarity and speech quality. |
soft_timeout_config | object | Configuration for soft timeout feedback, allowing the agent to provide immediate responses (e.g., acknowledgments) while processing longer LLM responses. |
source | string | The source or channel through which the call was initiated, used for analytics and tracking purposes. |
speed | number | Controls the speed of the generated speech, where lower values slow down speech and higher values speed it up. |
stability | number | Controls the consistency of the generated speech, ranging from low variability to high variability in tone and delivery. |
user_id | string | Identifier for the end user or customer participating in this call, used by the agent owner for tracking and user identification. |
voice_id | string | The voice ID to use for text-to-speech synthesis. Determines the voice characteristics of the agent's spoken responses. |
list_mcp_servers List MCP Servers
Retrieve all MCP server configurations available in the workspace. Returns a list of configured MCP servers with their settings and connection details.
register_mcp_server Register MCP Server
Register a new MCP (Model Context Protocol) server in your workspace to enable tool execution through that server. Configure authentication, approval policies, and execution behavior for all tools provided by this server.
get_mcp_server Get MCP Server
Retrieve a specific MCP server configuration from your workspace. Use this to access detailed settings and metadata for a configured MCP server.
| Parameter | Type | Description |
|---|---|---|
mcp_server_id * | string | The unique identifier of the MCP server to retrieve. |
configure_mcp_server Configure MCP Server
Update configuration settings for an MCP server, including approval policies, audio behavior, execution modes, and authentication. Changes apply to all tools provided by this server.
| Parameter | Type | Description |
|---|---|---|
mcp_server_id * | string | The unique identifier of the MCP server to configure. |
secret_id * | string | The secret identifier for credentials or API keys used to authenticate with this MCP server. |
approval_policy | string | The approval workflow mode for tool execution from this server. Controls whether tools require manual approval before execution. |
auth_connection | Optional authentication connection configuration for establishing secure communication with this MCP server. | |
disable_compression | boolean | When enabled, disables HTTP compression for requests to this MCP server to reduce processing overhead. |
disable_interruptions | boolean | When enabled, prevents user interruptions during tool execution, overriding the server's default setting. |
execution_mode | string | Determines the execution timing for tools from this server. Immediate executes right away, post_tool_speech waits for narration, and async runs in the background. |
force_pre_tool_speech | boolean | When enabled, forces the system to speak tool descriptions aloud before execution, overriding the server's default setting. |
request_headers | object | HTTP headers to include in all requests sent to this MCP server, such as custom authentication or tracking headers. |
tool_call_sound | string | The sound effect to play during tool execution for all tools from this server. |
tool_call_sound_behavior | string | Controls when the tool call sound plays during execution. |
delete_mcp_server Delete MCP Server
Remove a specific MCP server configuration from the workspace. This action permanently deletes the server and its associated settings.
| Parameter | Type | Description |
|---|---|---|
mcp_server_id * | string | The unique identifier of the MCP server to delete. |
list_mcp_server_tools List MCP Server Tools
Retrieve all tools available for a specific MCP server configuration. Returns a complete list of tools that can be invoked through the specified MCP server.
| Parameter | Type | Description |
|---|---|---|
mcp_server_id * | string | The unique identifier of the MCP server for which to retrieve available tools. |
approve_mcp_server_tool Approve MCP Server Tool
Grant approval for a specific MCP tool when the server is configured to use per-tool approval mode. This enables fine-grained control over which tools are available for use.
| Parameter | Type | Description |
|---|---|---|
mcp_server_id * | string | The unique identifier of the MCP Server to which the tool approval applies. |
tool_description * | string | A human-readable description of what the MCP tool does and its purpose. |
tool_name * | string | The name of the MCP tool being approved for use. |
approval_policy | string | The approval policy that determines whether this tool requires explicit approval before each use or is automatically approved. |
input_schema | object | The input schema that defines the parameters and structure expected by the MCP tool, as defined on the MCP server before any ElevenLabs processing. |
revoke_mcp_server_tool_approval Revoke MCP Server Tool Approval
Revoke approval for a specific MCP tool on a server when using per-tool approval mode. This removes the tool from the approved list, preventing its use until re-approved.
| Parameter | Type | Description |
|---|---|---|
mcp_server_id * | string | The unique identifier of the MCP Server from which to revoke tool approval. |
tool_name * | string | The name of the MCP tool to revoke approval for. |
create_tool_config_override Create Tool Config Override
Create configuration overrides for a specific MCP tool, allowing fine-grained control over tool execution behavior, audio feedback, and input handling independent of server-level settings.
| Parameter | Type | Description |
|---|---|---|
mcp_server_id * | string | The unique identifier of the MCP server containing the tool to configure. |
tool_name * | string | The exact name of the MCP tool within the server to apply these configuration overrides to. |
assignments | array | Dynamic variable assignments that will be available to this MCP tool during execution. Order is preserved as specified. |
disable_interruptions | boolean | When enabled, prevents user interruptions during this tool's execution, overriding the server's default setting. |
execution_mode | string | Determines when this tool executes relative to speech output: immediately, after tool speech completes, or asynchronously. |
force_pre_tool_speech | boolean | When enabled, forces the system to speak a message before executing this tool, overriding the server's default setting. |
input_overrides | object | JSON path mappings to override specific input parameters for this tool, allowing selective input transformation or substitution. |
tool_call_sound | string | The sound effect to play when this tool is invoked, overriding the server's default sound setting. |
tool_call_sound_behavior | string | Controls when the tool call sound plays: automatically based on context or always when the tool executes. |
get_tool_config_override Get Tool Config Override
Retrieve configuration overrides for a specific MCP tool within an MCP server. Use this to fetch customized tool settings that differ from default configurations.
| Parameter | Type | Description |
|---|---|---|
mcp_server_id * | string | The unique identifier of the MCP server containing the tool. |
tool_name * | string | The name of the MCP tool for which to retrieve configuration overrides. |
override_mcp_tool_config Override MCP Tool Config
Override configuration settings for a specific MCP tool, allowing fine-grained control over behavior like speech timing, interruptions, and execution mode independent of server-level defaults.
| Parameter | Type | Description |
|---|---|---|
mcp_server_id * | string | The unique identifier of the MCP server containing the tool to configure. |
tool_name * | string | The name of the MCP tool whose configuration overrides should be updated. |
assignments | array | Dynamic variable assignments to pass to this MCP tool during execution. Order is preserved if significant for the tool's logic. |
disable_interruptions | boolean | Prevent user interruptions during this tool's execution, overriding the server's default setting. |
execution_mode | string | Specify when this tool executes: immediately, after speech completes, or asynchronously. |
force_pre_tool_speech | boolean | Force the system to speak before executing this tool, overriding the server's default setting. |
input_overrides | object | JSON path mappings that override specific input fields for this tool, allowing selective parameter customization. |
tool_call_sound | string | The sound to play when this tool is invoked, overriding the server's default sound. |
tool_call_sound_behavior | string | Control when the tool call sound plays: automatically based on context or always when the tool executes. |
get_whatsapp_account Get WhatsApp Account
Retrieve details for a specific WhatsApp account using its phone number ID. Returns account configuration and status information.
| Parameter | Type | Description |
|---|---|---|
phone_number_id * | string | The unique identifier for the WhatsApp phone number associated with the account. |
update_whatsapp_account Update WhatsApp Account
Update configuration settings for a WhatsApp account, including agent assignment and messaging capabilities. Changes take effect immediately.
| Parameter | Type | Description |
|---|---|---|
phone_number_id * | string | The unique identifier for the WhatsApp phone number account to update. |
assigned_agent_id | string | The ID of the agent to assign to this WhatsApp account for handling conversations. |
enable_audio_message_response | boolean | Enable or disable automatic audio message response capability for this WhatsApp account. |
enable_messaging | boolean | Enable or disable messaging functionality for this WhatsApp account. |
delete_whatsapp_account Delete WhatsApp Account
Permanently delete a WhatsApp account and remove it from the ConvAI platform. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
phone_number_id * | string | The unique identifier for the WhatsApp phone number account to delete. |
list_whatsapp_accounts List WhatsApp Accounts
Retrieve all WhatsApp accounts associated with your ConvAI workspace. This operation returns a complete list of configured WhatsApp business accounts available for messaging and automation.
list_agent_branches List Agent Branches
Retrieves a list of branches for a specified agent. Optionally includes archived branches and supports result limiting.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | The unique identifier of the agent whose branches should be retrieved. |
include_archived | boolean | Whether to include archived branches in the results. Defaults to excluding archived branches. |
limit | integer | Maximum number of branches to return in the response. Must be between 2 and 100 inclusive. |
create_agent_branch Create Agent Branch
Create a new branch from a specified version of an agent's main branch. Branches allow you to develop and test agent configurations independently before merging changes back to the main branch.
get_agent_branch Get Agent Branch
Retrieve detailed information about a specific agent branch, including its configuration and settings.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | The unique identifier of the agent that contains the branch. |
branch_id * | string | The unique identifier of the branch to retrieve. |
update_branch Update Branch
Update agent branch properties including name, archival status, and access control permissions. Allows modification of branch configuration and protection levels.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | The unique identifier of the agent that owns the branch. |
branch_id * | string | The unique identifier of the branch to update. |
is_archived | boolean | Whether to archive the branch. Archived branches are hidden from normal operations but retain their data. |
name | string | New name for the branch. Must be unique within the agent. |
protection_status | string | The access control level required to modify the branch. |
merge_branch Merge Branch
Merge a source branch into a target branch, optionally archiving the source branch after the merge completes.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | The unique identifier of the agent containing the branches to merge. |
source_branch_id * | string | The unique identifier of the source branch to merge from. |
target_branch_id * | string | The unique identifier of the target branch to merge into. Must be the main branch. |
archive_source_branch | boolean | Whether to archive the source branch after a successful merge. |
deploy_agent Deploy Agent
Create or update deployments for an agent, specifying which branches to deploy and how to distribute traffic across them.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | The unique identifier of the agent for which to create or update deployments. |
requests * | array | An ordered list of deployment configurations, each specifying a branch and its traffic allocation strategy. Order may affect deployment precedence. |
create_agent_draft Create Agent Draft
Create a new draft version of an agent with specified configuration, platform settings, and workflow structure. Drafts allow you to develop and test agent changes before publishing.
delete_agent_draft Delete Agent Draft
Delete a draft version of an agent. This removes the unpublished changes associated with the specified agent and branch.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | The unique identifier of the agent whose draft should be deleted. |
branch_id * | string | The identifier of the agent branch containing the draft to delete. |
list_environment_variables List Environment Variables
Retrieve all environment variables configured in your workspace with optional filtering by label or variable type. Results are paginated for efficient data retrieval.
| Parameter | Type | Description |
|---|---|---|
label | string | Filter results to return only environment variables matching this exact label value. |
page_size | integer | Maximum number of environment variables to return per request. Useful for pagination when working with large variable sets. |
type | string | Filter results by variable type to narrow down to specific categories of environment variables. |
create_environment_variable Create Environment Variable
Create a new environment variable for the workspace with environment-specific values. Environment variables enable dynamic configuration management across different deployment environments.
| Parameter | Type | Description |
|---|---|---|
label * | string | A unique identifier label for this environment variable within the workspace. Used to reference the variable in configurations and deployments. |
type * | string | The type or category of the environment variable, determining how it will be processed and used within the workspace. |
values * | object | A mapping of environment names to their corresponding values. Must include at least a 'production' key with its associated value for production deployments. |
get_environment_variable Get Environment Variable
Retrieve a specific environment variable by its unique identifier. Use this to fetch configuration values stored in your environment.
| Parameter | Type | Description |
|---|---|---|
env_var_id * | string | The unique identifier of the environment variable to retrieve. |
update_environment_variable Update Environment Variable
Update an environment variable's values across different environments. Set values to null to remove a specific environment (production environment cannot be removed).
| Parameter | Type | Description |
|---|---|---|
env_var_id * | string | The unique identifier of the environment variable to update. |
values * | object | A mapping of environment names to their values. Set an environment's value to null to remove it from the variable (production environment is required and cannot be removed). |
generate_composition_plan Generate Composition Plan
Generate a detailed composition plan from a text prompt, specifying musical structure, styles, and duration for music generation.
| Parameter | Type | Description |
|---|---|---|
negative_global_styles * | array | Array of musical styles and directions to exclude from the entire composition. Specify in English for optimal results. |
positive_global_styles * | array | Array of musical styles and directions that should be emphasized throughout the entire composition. Specify in English for optimal results. |
prompt * | string | Text prompt describing the desired composition, musical style, mood, and any specific creative direction. |
sections * | array | Array of song sections defining the structure and progression of the composition. Order matters and determines the sequence of sections in the final output. |
model_id | string | The AI model version to use for generating the composition plan. |
music_length_ms | integer | Target duration for the composition in milliseconds. If omitted, the model will automatically determine an appropriate length based on the prompt. |
compose_song Compose Song
Generate a complete song from either a text prompt or a detailed composition plan, with control over musical style, structure, and audio output format.
| Parameter | Type | Description |
|---|---|---|
composition_planNegative_global_styles * | array | Array of musical styles and directions to exclude from the entire song. Specify in English for optimal results. |
composition_planPositive_global_styles * | array | Array of musical styles and directions to include throughout the entire song. Specify in English for optimal results. |
composition_planSections * | array | Ordered array defining the song structure, including individual sections with their characteristics and durations. |
music_promptNegative_global_styles * | array | Array of musical styles and directions to exclude from the entire song. Specify in English for optimal results. |
music_promptPositive_global_styles * | array | Array of musical styles and directions to include throughout the entire song. Specify in English for optimal results. |
music_promptSections * | array | Ordered array defining the song structure, including individual sections with their characteristics and durations. |
force_instrumental | boolean | When enabled, ensures the generated song contains no vocals and is purely instrumental. Only applicable with prompt-based generation. |
model_id | string | AI model version to use for music generation. |
music_length_ms | integer | Target song duration in milliseconds. Only used with prompt-based generation. The model will adjust to fit this duration if provided. |
output_format | string | Audio output format specified as codec_sample_rate_bitrate (e.g., mp3 at 44.1kHz with 128kbps bitrate). Higher bitrates and PCM formats require appropriate subscription tier. |
prompt | string | Simple text description of the song to generate. Cannot be combined with composition_plan. Use this for quick, straightforward song generation. |
respect_sections_durations | boolean | Controls section duration enforcement in composition plans. When true, strictly respects each section's specified duration. When false, allows duration adjustments for improved quality and latency whi… |
use_phonetic_names | boolean | When enabled, proper names in the prompt are phonetically spelled for improved lyrical pronunciation while preserving original names in word-level timestamps. |
compose_song_detailed Compose Song Detailed
Generate a complete song with detailed metadata from either a text prompt or a structured composition plan. Returns audio file and optional word-level timestamps.
| Parameter | Type | Description |
|---|---|---|
composition_planNegative_global_styles * | array | Musical styles and directions to exclude from the entire song when using composition_plan. Use English language for optimal results. |
composition_planPositive_global_styles * | array | Musical styles and directions to include throughout the entire song when using composition_plan. Use English language for optimal results. |
composition_planSections * | array | Ordered array of song sections for composition_plan, each with duration, style, and lyrical content specifications. Order determines playback sequence. |
music_promptNegative_global_styles * | array | Musical styles and directions to exclude from the entire song. Use English language for optimal results. |
music_promptPositive_global_styles * | array | Musical styles and directions to include throughout the entire song. Use English language for optimal results. |
music_promptSections * | array | Ordered array of song sections, each with duration, style, and lyrical content specifications. Order determines playback sequence. |
force_instrumental | boolean | When enabled, ensures the generated song contains no vocals. Only works with prompt-based generation. |
model_id | string | AI model version to use for music generation. |
music_length_ms | integer | Target song duration in milliseconds. Only applicable with prompt-based generation. If omitted, the model automatically determines length based on prompt content. |
output_format | string | Audio output format specified as codec, sample rate, and bitrate. Higher bitrates and sample rates may require elevated subscription tiers. |
prompt | string | Text-based prompt describing the song to generate. Mutually exclusive with composition_plan. Provide creative direction, mood, genre, and lyrical themes. |
respect_sections_durations | boolean | Controls section duration enforcement in composition_plan. When true, strictly respects each section's specified duration. When false, allows duration flexibility for improved quality and latency whil… |
use_phonetic_names | boolean | When enabled, proper names in the prompt are phonetically spelled for improved lyrical pronunciation while preserving original names in word timestamps. |
with_timestamps | boolean | When enabled, the response includes precise word-level timestamps indicating when each lyric occurs in the generated audio. |
compose_music Compose Music
Generate and stream composed music from either a text prompt or a detailed composition plan. Supports various audio formats and customizable musical styles.
| Parameter | Type | Description |
|---|---|---|
composition_planNegative_global_styles * | array | Musical styles and directions to exclude from the entire composition. Use English language for best results. |
composition_planPositive_global_styles * | array | Musical styles and directions to include throughout the entire composition. Use English language for best results. |
composition_planSections * | array | Ordered array defining distinct sections of the song, each with its own musical characteristics and transitions. |
music_promptNegative_global_styles * | array | Musical styles and directions to exclude from the entire composition. Use English language for best results. |
music_promptPositive_global_styles * | array | Musical styles and directions to include throughout the entire composition. Use English language for best results. |
music_promptSections * | array | Ordered array defining distinct sections of the song, each with its own musical characteristics and transitions. |
force_instrumental | boolean | When enabled, ensures the generated composition contains no vocals. Only applicable with prompt-based generation. |
model_id | string | The generative model version to use for music composition. |
music_length_ms | integer | Target duration for the generated composition in milliseconds. Only applicable when using prompt-based generation. If omitted, the model determines length based on the prompt. |
output_format | string | Audio output format specified as codec, sample rate, and bitrate. Higher bitrates and sample rates may require elevated subscription tiers. |
prompt | string | Simple text description to generate a song from. Mutually exclusive with composition_plan. Use English for optimal results. |
use_phonetic_names | boolean | When enabled, proper names in the prompt are phonetically spelled for improved lyrical pronunciation while preserving original names in word-level timestamps. |
upload_song Upload Song
Upload a music file for use in inpainting workflows. This operation is restricted to enterprise clients with access to the inpainting feature.
| Parameter | Type | Description |
|---|---|---|
file * | string | Base64-encoded file content for upload. The audio file to upload in binary format. |
extract_composition_plan | boolean | Whether to generate and return the composition plan for the uploaded song. Enabling this increases response latency. |
separate_song_stems Separate Song Stems
Separate an audio file into individual musical stems (vocals, drums, bass, etc.). This operation may have high latency depending on audio file length.
| Parameter | Type | Description |
|---|---|---|
file * | string | Base64-encoded file content for upload. The audio file to separate into individual stems. Provide the binary audio data. |
output_format | string | Output format for the separated stems, specified as codec_sample_rate_bitrate. MP3 192kbps requires Creator tier or above; PCM 44.1kHz requires Pro tier or above. μ-law format is commonly used for Tw… |
stem_variation_id | string | The stem separation model variation to use. Two-stem splits into vocals and instruments; six-stem provides more granular separation. |
create_voice_pvc Create PVC Voice
Creates a new PVC voice with metadata. Voice samples can be added later to train the voice model.
| Parameter | Type | Description |
|---|---|---|
language * | string | The language code for the voice samples and voice model training. |
name * | string | The display name for this voice, shown in voice selection dropdowns and UI. |
description | string | Optional description providing context about the voice characteristics and intended use cases. |
labels | object | Optional metadata labels to categorize and describe the voice. Supports language, accent, gender, and age attributes. |
update_voice_pvc Update Voice PVC
Update metadata for a PVC (Professional Voice Clone) voice, including name, language, description, and classification labels.
| Parameter | Type | Description |
|---|---|---|
voice_id * | string | The unique identifier of the voice to update. |
description | string | Detailed description of the voice characteristics and intended use cases. |
labels | object | Classification labels for the voice including language, accent, gender, and age characteristics. |
language | string | Language code of the voice samples (e.g., 'en' for English). |
name | string | Display name for the voice as shown in voice selection interfaces. |
add_voice_samples Add Voice Samples
Add audio samples to a PVC (Personal Voice Clone) to enhance voice quality and training data. Optionally remove background noise from samples to improve voice clarity.
| Parameter | Type | Description |
|---|---|---|
files * | array | Base64-encoded file content for upload. Audio files to add to the voice. Provide one or more audio files in supported formats to expand the voice training dataset. |
voice_id * | string | The unique identifier of the PVC voice to add samples to. Use the voices list endpoint to retrieve available voice IDs. |
remove_background_noise | boolean | Enable automatic background noise removal from audio samples using audio isolation. Disable if samples contain minimal background noise, as processing may reduce quality. |
update_voice_sample Update Voice Sample
Update a PVC voice sample by applying noise removal, selecting speakers, adjusting trim times, or changing the file name. Changes are applied to the specified sample within a voice model.
| Parameter | Type | Description |
|---|---|---|
sample_id * | string | The unique identifier of the voice sample to update. |
voice_id * | string | The unique identifier of the voice model containing the sample to update. |
file_name | string | The name to assign to the audio file for PVC training purposes. |
remove_background_noise | boolean | Enable background noise removal using audio isolation. Only apply if the sample contains background noise, as it may degrade quality otherwise. |
selected_speaker_ids | array | List of speaker IDs to use for PVC training. Sending a new list will replace any previously selected speakers for this sample. |
trim_end_time | integer | The end time of the audio segment to use for PVC training, specified in milliseconds from the beginning of the file. |
trim_start_time | integer | The start time of the audio segment to use for PVC training, specified in milliseconds from the beginning of the file. |
remove_voice_sample Remove Voice Sample
Remove a sample from a PVC (Professional Voice Clone) voice. This permanently deletes the specified sample, which cannot be undone.
| Parameter | Type | Description |
|---|---|---|
sample_id * | string | The unique identifier of the sample to be deleted from the voice. |
voice_id * | string | The unique identifier of the PVC voice from which to remove the sample. |
get_voice_sample_audio Get Voice Sample Audio
Retrieve the first 30 seconds of audio from a voice sample, with optional background noise removal using audio isolation technology.
| Parameter | Type | Description |
|---|---|---|
sample_id * | string | The unique identifier of the specific voice sample to retrieve. |
voice_id * | string | The unique identifier of the voice whose sample audio you want to retrieve. |
remove_background_noise | boolean | Enable background noise removal using audio isolation. Note: applying this to samples without background noise may degrade audio quality. |
get_voice_sample_waveform Get Voice Sample Waveform
Retrieve the visual waveform representation of a specific voice sample. This waveform can be used to visualize the audio characteristics of the sample.
| Parameter | Type | Description |
|---|---|---|
sample_id * | string | The unique identifier of the voice sample whose waveform you want to retrieve. |
voice_id * | string | The unique identifier of the voice whose sample waveform you want to retrieve. |
get_speaker_separation_status Get Speaker Separation Status
Retrieve the current status of speaker separation processing for a voice sample and list any detected speakers if the process is complete.
| Parameter | Type | Description |
|---|---|---|
sample_id * | string | The unique identifier of the voice sample undergoing speaker separation analysis. |
voice_id * | string | The unique identifier of the voice whose sample is being analyzed. |
separate_speakers Separate Speakers
Initiate speaker separation processing for an audio sample, which identifies and isolates individual speakers within the sample.
| Parameter | Type | Description |
|---|---|---|
sample_id * | string | The unique identifier of the audio sample to be processed for speaker separation. |
voice_id * | string | The unique identifier of the voice to be used for the separation process. |
get_speaker_audio Get Speaker Audio
Retrieve the isolated audio track for a specific speaker from a voice sample. This operation extracts and returns only the audio corresponding to the designated speaker.
| Parameter | Type | Description |
|---|---|---|
sample_id * | string | The unique identifier of the sample within the specified voice. |
speaker_id * | string | The unique identifier of the speaker whose audio should be extracted. Use the speakers list endpoint for the voice and sample to discover available speaker IDs. |
voice_id * | string | The unique identifier of the voice. Use the voices list endpoint to discover available voice IDs. |
train_voice Train Voice
Start a PVC (Personal Voice Cloning) training process for a specified voice. This initiates the model training that enables voice customization and optimization.
| Parameter | Type | Description |
|---|---|---|
voice_id * | string | The unique identifier of the voice to train. You can retrieve available voices from the voices list endpoint. |
model_id | string | The AI model version to use for training. Specifies which voice conversion model architecture to apply during the training process. |
submit_voice_verification Submit Voice Verification
Submit verification documents for manual review of a PVC (Premium Voice Clone) voice. This process validates the voice identity before it can be used in production.
| Parameter | Type | Description |
|---|---|---|
files * | array | Base64-encoded file content for upload. Array of verification document files to submit for manual review. Documents should be in a supported format and clearly demonstrate voice ownership or authoriza… |
voice_id * | string | The unique identifier of the voice to be verified. Use the voices list endpoint to retrieve available voice IDs. |
extra_text | string | Optional additional context or information to support the verification request, such as clarification about the voice or usage intent. |