elevenlabs

v1.0.3
com.mcparmory/elevenlabs Checked 4 days ago Published 6 months ago

Convert 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.

ParameterTypeDescription
date_after_unixintegerFilter to history items created on or after this date (inclusive). Provide as a Unix timestamp.
date_before_unixintegerFilter to history items created before this date (exclusive). Provide as a Unix timestamp.
model_idstringFilter results to a specific text-to-speech model.
page_sizeintegerMaximum number of history items to return per request. Useful for controlling response size and pagination.
sort_directionstringOrder results by creation date in ascending or descending order.
sourcestringFilter results by the source that generated the audio item.
start_after_history_item_idstringHistory item ID to start pagination after. Use this to fetch subsequent pages of results when working with large collections.
voice_idstringFilter 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.

ParameterTypeDescription
history_item_id *stringThe 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.

ParameterTypeDescription
history_item_id *stringThe 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.

ParameterTypeDescription
history_item_id *stringThe 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.

ParameterTypeDescription
history_item_ids *arrayList 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_formatstringAudio 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.

ParameterTypeDescription
text *stringDetailed text description of the sound effect to generate. Be descriptive about the audio characteristics, environment, and desired qualities.
duration_secondsnumberTarget duration of the generated sound in seconds. If not specified, the optimal duration will be automatically determined from the text description.
loopbooleanEnable seamless looping for the generated sound effect. Only supported with the eleven_text_to_sound_v2 model.
model_idstringThe AI model to use for sound generation. Determines the quality and capabilities of the generated audio.
output_formatstringAudio codec, sample rate, and bitrate for the generated sound. Higher bitrates and sample rates require appropriate subscription tiers.
prompt_influencenumberControls 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.

ParameterTypeDescription
audio *stringBase64-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.

ParameterTypeDescription
audio *stringBase64-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.

ParameterTypeDescription
sample_id *stringThe unique identifier of the sample to delete from the specified voice.
voice_id *stringThe 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.

ParameterTypeDescription
sample_id *stringThe unique identifier of the sample within the specified voice. You can retrieve available sample IDs by fetching the voice details endpoint.
voice_id *stringThe 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.

ParameterTypeDescription
text *stringThe text content to be converted into speech.
voice_id *stringThe unique identifier of the voice to use for speech generation. Available voices can be retrieved from the voices endpoint.
apply_language_text_normalizationbooleanEnables language-specific text normalization for improved pronunciation in supported languages. Currently only supported for Japanese. Warning: may significantly increase request latency.
apply_text_normalizationstringControls text normalization behavior. 'auto' lets the system decide, 'on' always applies normalization (e.g., spelling out numbers), and 'off' skips normalization entirely.
language_codestringISO 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_idstringThe AI model to use for speech generation. The model must support text-to-speech capability. Defaults to the multilingual v2 model.
next_request_idsarrayRequest 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_formatstringThe 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_idsarrayRequest 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_locatorsarrayA 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_boostnumberControls how closely the generated speech adheres to the original voice characteristics. Higher values maintain stronger voice similarity, while lower values allow more variation.
speednumberAdjusts 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.
stabilitynumberControls 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…
stylenumberAmplifies 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.

ParameterTypeDescription
text *stringThe text content to convert into speech audio.
voice_id *stringThe voice identifier to use for speech generation. Available voices can be retrieved from the voices endpoint.
apply_language_text_normalizationbooleanEnable language-specific text normalization for proper pronunciation. Currently supported for Japanese only. Warning: may significantly increase request latency.
apply_text_normalizationstringText normalization mode: 'auto' applies normalization automatically, 'on' always applies it, 'off' disables it. Normalization handles conversions like spelling out numbers.
language_codestringISO 639-1 language code to enforce language processing and text normalization. The model must support the specified language.
model_idstringThe AI model identifier to use for text-to-speech conversion. The model must support text-to-speech capability.
next_request_idsarrayRequest 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_formatstringAudio output format specified as codec_sample_rate_bitrate (e.g., mp3_44100_128). Higher bitrates and certain formats require higher subscription tiers.
previous_request_idsarrayRequest 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_locatorsarrayList 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_boostnumberVoice similarity control ranging from 0 to 1. Higher values make the AI adhere more closely to the original voice characteristics.
speednumberSpeech speed multiplier where 1.0 is normal speed, values below 1.0 slow down speech, and values above 1.0 speed it up.
stabilitynumberVoice stability control ranging from 0 (high emotional range) to 1 (monotonous). Lower values produce more expressive speech with greater variation.
stylenumberStyle 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.

ParameterTypeDescription
text *stringThe text content to convert into speech.
voice_id *stringThe voice to use for speech generation. Available voices can be retrieved from the voices endpoint.
apply_language_text_normalizationbooleanEnable language-specific text normalization for proper pronunciation. Currently supported for Japanese only. Warning: significantly increases request latency.
apply_text_normalizationstringText normalization mode: 'auto' applies normalization automatically, 'on' always applies it, 'off' disables it. Normalization handles number spelling and similar conversions.
language_codestringISO 639-1 language code to enforce language processing and text normalization. The model must support the specified language.
model_idstringThe AI model to use for speech generation. Must support text-to-speech capability. Query available models via the models endpoint.
next_request_idsarrayRequest 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_formatstringAudio output format specified as codec_sample_rate_bitrate (e.g., mp3_44100_128). Higher bitrates and PCM formats require higher subscription tiers.
previous_request_idsarrayRequest 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_locatorsarrayPronunciation 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_boostnumberVoice similarity adherence between 0.0 and 1.0. Controls how closely the generated speech matches the original voice characteristics.
speednumberSpeech speed multiplier. Use 1.0 for normal speed, values below 1.0 to slow down, and values above 1.0 to speed up.
stabilitynumberVoice stability control between 0.0 and 1.0. Lower values increase emotional range and variation; higher values produce more consistent, monotonous speech.
stylenumberStyle 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.

ParameterTypeDescription
text *stringThe text content to convert into speech audio.
voice_id *stringThe voice identifier to use for speech synthesis. Available voices can be retrieved from the voices endpoint.
apply_language_text_normalizationbooleanEnable language-specific text normalization for improved pronunciation in supported languages. Currently only supports Japanese. Warning: may significantly increase request latency.
apply_text_normalizationstringText normalization mode: 'auto' applies normalization when appropriate, 'on' always applies it, 'off' disables it. Normalization handles conversions like spelling out numbers.
language_codestringISO 639-1 language code to enforce language-specific processing and text normalization. The model must support the specified language.
model_idstringThe model identifier for speech synthesis. The model must support text-to-speech conversion. Available models can be queried from the models endpoint.
next_request_idsarrayRequest 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_formatstringAudio output format specified as codec_sample_rate_bitrate (e.g., mp3_44100_128). Higher bitrates and PCM formats require higher subscription tiers.
previous_request_idsarrayRequest 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_locatorsarrayPronunciation 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_boostnumberVoice similarity control ranging from 0 to 1, determining how closely the synthesis adheres to the original voice characteristics.
speednumberSpeech speed multiplier where 1.0 is normal speed, values below 1.0 slow down speech, and values above 1.0 accelerate it.
stabilitynumberVoice stability control ranging from 0 (high emotional range) to 1 (monotonous). Lower values produce more expressive speech with greater variation.
stylenumberStyle 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.

ParameterTypeDescription
inputs *arrayArray 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_normalizationstringText normalization mode: 'auto' applies normalization based on system decision, 'on' always applies it, 'off' disables it. Normalization handles cases like spelling out numbers.
language_codestringISO 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_idstringModel identifier for text-to-speech conversion. Query available models via GET /v1/models and verify can_do_text_to_speech capability.
output_formatAudio 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_locatorsarrayList of pronunciation dictionary locators to apply in order. Each locator contains a pronunciation_dictionary_id and version_id. Maximum of 3 locators per request.
stabilitynumberVoice 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.

ParameterTypeDescription
inputs *arrayArray 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_normalizationstringText normalization mode: 'auto' applies normalization automatically based on content (e.g., spelling out numbers), 'on' always applies normalization, 'off' disables it entirely.
language_codestringISO 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_idstringModel 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_formatstringAudio 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_locatorsarrayList of pronunciation dictionary locators to apply in order. Each locator contains a pronunciation_dictionary_id and version_id. Maximum of 3 locators per request.
stabilitynumberVoice 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.

ParameterTypeDescription
inputs *arrayArray 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_normalizationstringControls text normalization behavior. 'auto' lets the system decide, 'on' always normalizes (e.g., converts numbers to words), 'off' disables normalization.
language_codestringISO 639-1 language code to enforce language processing and text normalization. The selected model must support the specified language.
model_idstringThe TTS model to use for synthesis. Query available models via GET /v1/models and verify can_do_text_to_speech capability.
output_formatstringAudio 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_locatorsarrayOrdered list of pronunciation dictionary references to apply custom pronunciations. Applied sequentially in the order provided. Maximum of 3 locators per request.
stabilitynumberControls 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.

ParameterTypeDescription
inputs *arrayList 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_normalizationstringText normalization mode: 'auto' applies normalization based on system decision, 'on' always applies it, 'off' disables it. Normalization handles cases like spelling out numbers.
language_codestringISO 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_idstringThe 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_formatAudio 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_locatorsarrayCustom pronunciation dictionary rules to apply to the text in order. Each locator references a specific dictionary version. Maximum of 3 locators per request.
stabilitynumberVoice 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.

ParameterTypeDescription
audio *stringBase64-encoded file content for upload. The source audio file containing the content and emotional expression to transfer to the target voice.
voice_id *stringThe target voice to apply to the audio. Use the voices endpoint to discover available voices and their characteristics.
model_idstringThe speech-to-speech model to use for conversion. Query available models to verify speech conversion support via the can_do_voice_conversion property.
output_formatstringAudio encoding format specified as codec_sample_rate_bitrate (e.g., mp3_44100_128). Higher bitrates and PCM formats require higher subscription tiers.
remove_background_noisebooleanEnable background noise removal from the input audio using audio isolation. Only applicable when using the Voice Changer model.
similarity_boostnumberControls how closely the voice matches the original. Higher values increase similarity. Range: 0.0 to 1.0
stabilitynumberControls the stability of the voice. Higher values produce more consistent output. Range: 0.0 to 1.0
stylenumberControls the style exaggeration of the voice. Range: 0.0 to 1.0
use_speaker_boostbooleanWhether 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.

ParameterTypeDescription
audio *stringBase64-encoded file content for upload. The source audio file containing the content and emotional characteristics that will control the generated speech output.
voice_id *stringThe target voice identifier to apply to the input audio. Use the voices endpoint to discover available voices.
model_idstringThe model identifier to use for voice conversion. Verify the model supports speech-to-speech conversion via the can_do_voice_conversion property.
output_formatstringAudio encoding format for the response, specified as codec_sample_rate_bitrate. Higher bitrates and sample rates may require elevated subscription tiers.
remove_background_noisebooleanEnable background noise removal from the input audio using audio isolation. Only applicable when using the Voice Changer model.
similarity_boostnumberControls how closely the voice matches the original. Higher values increase similarity. Range: 0.0 to 1.0
stabilitynumberControls the stability of the voice. Higher values produce more consistent output. Range: 0.0 to 1.0
stylenumberControls the style exaggeration of the voice. Range: 0.0 to 1.0
use_speaker_boostbooleanWhether 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.

ParameterTypeDescription
voice_description *stringDetailed description of the desired voice characteristics. The system uses this to generate voice previews matching your specifications.
loudnessnumberVolume level of the generated voice samples, ranging from quietest to loudest. A value of 0 corresponds to approximately -24 LUFS.
output_formatstringAudio codec, sample rate, and bitrate for the generated preview samples. Higher bitrates and sample rates provide better quality but require higher subscription tiers.
qualitynumberVoice quality level that balances output fidelity with variety. Higher values produce more consistent, polished voices with less variation across previews.
should_enhancebooleanAutomatically 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.

ParameterTypeDescription
generated_voice_id *stringThe 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 *stringA detailed description of the voice characteristics and use case. Must be between 20 and 1000 characters.
voice_name *stringThe name for the new voice being created.
labelsobjectOptional 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.

ParameterTypeDescription
voice_description *stringDetailed description of the desired voice characteristics. Used to guide voice generation and should include personality, tone, and acoustic qualities.
loudnessnumberVolume level adjustment for the generated voice, where -1 is quietest and 1 is loudest. A value of 0 corresponds to approximately -24 LUFS.
model_idstringAI model version to use for voice generation. Different models may produce varying quality and multilingual support.
output_formatstringAudio codec, sample rate, and bitrate for the generated voice samples. Higher bitrates and sample rates require appropriate subscription tiers.
qualitynumberQuality level for voice generation, where higher values produce better output but with less variation across previews.
should_enhancebooleanAutomatically enhance the voice description with AI-generated details to improve voice generation quality and variety. Expands simple prompts into more comprehensive descriptions.
stream_previewsbooleanWhen 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.

ParameterTypeDescription
voice_description *stringDetailed description of the voice modifications to apply. Be specific about desired characteristics such as pitch, tone, pace, or emotional qualities.
voice_id *stringThe ID of the voice to remix. Use the voices list endpoint to discover available voices.
loudnessnumberVolume level of the generated voice, ranging from -1 (quietest) to 1 (loudest), with 0 corresponding to approximately -24 LUFS.
output_formatstringAudio 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_previewsbooleanWhen 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.

ParameterTypeDescription
generated_voice_id *stringThe 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.

ParameterTypeDescription
categorystringFilter voices by their creation category or source.
collection_idstringFilter voices to only those belonging to a specific collection by its ID.
fine_tuning_statestringFilter professional voice clones by their fine-tuning state. Only applicable to professional voices.
include_total_countbooleanInclude 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_tokenstringToken for retrieving the next page of results. Use this with the has_more flag from the previous response to implement reliable pagination.
page_sizeintegerMaximum number of voices to return per page. Must not exceed 100. Note that page 0 may include additional default voices.
sortstringField 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_directionstringDirection to sort results in. Use 'asc' for ascending or 'desc' for descending order.
voice_idsarrayRetrieve specific voices by their IDs. Accepts up to 100 voice IDs in a single request.
voice_typestringFilter 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.

ParameterTypeDescription
voice_id *stringThe 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.

ParameterTypeDescription
voice_id *stringThe 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.

ParameterTypeDescription
voice_id *stringThe 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.

ParameterTypeDescription
voice_id *stringThe unique identifier of the voice to configure. Use the list voices endpoint to discover available voice IDs.
similarity_boostnumberControls 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.
speednumberAdjusts 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.
stabilitynumberControls 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…
stylenumberAmplifies 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.

ParameterTypeDescription
files *arrayBase64-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 *stringThe display name for this voice, shown in selection dropdowns and voice management interfaces.
descriptionstringOptional metadata describing the voice characteristics, tone, and intended use cases.
labelsCategorical metadata for voice classification. Supports language code, accent variant, gender, and age range to help organize and filter voices.
remove_background_noisebooleanEnable 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.

ParameterTypeDescription
name *stringThe display name for this voice, shown in voice selection dropdowns.
voice_id *stringThe unique identifier of the voice to update.
descriptionstringA brief description of the voice characteristics, tone, and intended use cases.
filesarrayBase64-encoded file content for upload. Audio files to add to the voice. Supported formats include MP3, WAV, and other common audio formats.
labelsMetadata labels describing the voice. Supported keys include language (ISO 639-1 code), accent (BCP 47 tag), gender, and age.
remove_background_noisebooleanEnable automatic background noise removal from audio samples using audio isolation. Only use if samples contain background noise, as it may degrade quality otherwise.

add_shared_voice Add Shared Voice

Add a shared voice from another user to your personal voice collection. The voice will be displayed in your voice dropdown with a custom name you assign.

ParameterTypeDescription
new_name *stringThe display name for this voice in your voice collection. This name will appear in your voice selection dropdown.
public_user_id *stringThe public user ID of the ElevenLabs user who owns the shared voice.
voice_id *stringThe unique identifier of the voice to add to your collection.
bookmarkedbooleanWhether to bookmark this voice for quick access in your collection.

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.

ParameterTypeDescription
mode *The podcast format type. 'conversation' generates dialogue between two voices (host and guest), while 'bulletin' generates a single-voice monologue.
model_id *stringThe 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_normalizationstringControls text normalization behavior. 'auto' lets the system decide, 'on' always normalizes, 'apply_english' normalizes assuming English text, and 'off' disables normalization.
callback_urlstringWebhook URL for conversion status notifications. The service will POST status updates when the project and chapters complete processing, including success/error details.
duration_scalestringTarget podcast length. Controls the amount of content included in the generated podcast.
highlightsarrayKey themes or highlights summarizing the podcast content. Each highlight should be a brief phrase between 10-70 characters.
instructions_promptstringCustom instructions to guide the podcast generation style, tone, and content treatment. Use this to enforce accuracy, adjust formality, or specify audience appropriateness.
introstringOptional opening text to prepend to the podcast. Useful for branding or context-setting.
languagestringTwo-letter ISO 639-1 language code for the podcast content and voice generation.
outrostringOptional closing text to append to the podcast. Useful for calls-to-action or sign-offs.
quality_presetstringAudio 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.

ParameterTypeDescription
project_id *stringThe unique identifier of the Studio project to which pronunciation dictionaries will be applied.
pronunciation_dictionary_locators *arrayAn 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_textbooleanWhether 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.

ParameterTypeDescription
name *stringThe name of the Studio project used for identification and display purposes.
apply_text_normalizationstringControls text normalization behavior: 'auto' decides automatically, 'on' always applies, 'apply_english' applies with English assumption, 'off' disables normalization.
authorstringThe author name to include as metadata in downloaded audio files.
auto_assign_voicesbooleanWhether to automatically assign voices to phrases during project creation. This is an alpha feature.
auto_convertbooleanWhether to automatically convert the project to audio immediately upon creation.
callback_urlstringA webhook URL that receives conversion status notifications for the project and its chapters. Notifications include success/error status with project and chapter IDs.
content_blocksarrayList of block objects, each with 'sub_type' (e.g., 'p', 'h1', 'h2') and 'nodes' (list of node objects)
content_chaptersarrayList of chapter objects, each with 'name' (string) and 'blocks' (list of block objects)
content_nodesarrayList of TTS node objects, each with 'type' ('tts_node'), 'text' (string), and 'voice_id' (string)
content_typestringThe type of content in this project (e.g., Book, Article, Screenplay).
create_publishing_readbooleanWhether to create a corresponding read for direct publishing in draft state alongside the project.
default_model_idstringThe model ID to use for audio generation in this project. Query GET /v1/models to list available models.
default_paragraph_voice_idstringThe voice ID to use as the default voice for new paragraphs in this project.
default_title_voice_idstringThe voice ID to use as the default voice for new titles in this project.
descriptionstringA description of the Studio project's content and purpose.
fictionstringWhether the content is fiction or non-fiction.
from_documentstringBase64-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…
genresarrayA list of genres associated with this project for categorization and discovery.
isbn_numberstringThe ISBN number of the project to include as metadata in downloaded audio files.
languagestringThe primary language of the project content as a two-letter ISO 639-1 language code.
mature_contentbooleanWhether this project contains mature content that may not be suitable for all audiences.
original_publication_datestringThe original publication date of the content in YYYY-MM-DD or YYYY format.
pronunciation_dict_idsarrayList of pronunciation_dictionary_id values
pronunciation_dict_versionsarrayList of version_id values corresponding to each pronunciation_dictionary_id (must be same length as pronunciation_dict_ids)
quality_presetstringThe output quality level for generated audio, ranging from standard (128kbps) to ultra lossless (705.6kbps, fully lossless).
similarity_boostnumberControls how closely the voice matches the original. Higher values increase similarity. Range: 0.0 to 1.0
source_typestringThe initialization type for the project: blank (empty), book (from document), article, genfm, video, or screenplay.
stabilitynumberControls the stability of the voice. Higher values produce more consistent output. Range: 0.0 to 1.0
stylenumberControls the style exaggeration of the voice. Range: 0.0 to 1.0
target_audiencestringThe intended audience demographic for this project's content.
use_speaker_boostbooleanWhether to apply speaker boost for enhanced clarity and presence
volume_normalizationbooleanWhether 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.

ParameterTypeDescription
project_id *stringThe unique identifier of the Studio project to retrieve.
share_idstringOptional 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.

ParameterTypeDescription
default_paragraph_voice_id *stringThe voice ID to use as the default voice for newly created paragraph sections.
default_title_voice_id *stringThe voice ID to use as the default voice for newly created title sections.
name *stringThe display name of the Studio project used for identification and organization.
project_id *stringThe unique identifier of the Studio project to update.
authorstringOptional author name that will be embedded as metadata in exported MP3 files when the project or chapters are downloaded.
isbn_numberstringOptional ISBN number that will be embedded as metadata in exported MP3 files when the project or chapters are downloaded.
volume_normalizationbooleanWhen 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.

ParameterTypeDescription
project_id *stringThe 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.

ParameterTypeDescription
project_id *stringThe unique identifier of the Studio project to update.
auto_convertbooleanWhether to automatically convert the Studio project to audio format. Defaults to false if not specified.
content_blocksarrayList of block objects, each with 'sub_type' (e.g., 'p', 'h1', 'h2') and 'nodes' (list of node objects)
content_chaptersarrayList of chapter objects, each with 'name' (string) and 'blocks' (list of block objects)
content_nodesarrayList of TTS node objects, each with 'type' ('tts_node'), 'text' (string), and 'voice_id' (string)
from_documentstringBase64-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.

ParameterTypeDescription
project_id *stringThe 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.

ParameterTypeDescription
project_id *stringThe 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.

ParameterTypeDescription
project_id *stringThe unique identifier of the Studio project containing the snapshot.
project_snapshot_id *stringThe 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.

ParameterTypeDescription
project_id *stringThe unique identifier of the Studio project containing the snapshot.
project_snapshot_id *stringThe unique identifier of the project snapshot whose audio should be streamed.
convert_to_mpegbooleanWhether 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.

ParameterTypeDescription
project_id *stringThe unique identifier of the Studio project containing the snapshot to archive.
project_snapshot_id *stringThe 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.

ParameterTypeDescription
project_id *stringThe 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.

ParameterTypeDescription
name *stringThe display name for the chapter used for identification and organization within the project.
project_id *stringThe 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.

ParameterTypeDescription
chapter_id *stringThe unique identifier of the chapter to retrieve.
project_id *stringThe 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.

ParameterTypeDescription
blocks *arrayAn ordered array of content blocks that comprise the chapter. Each block defines a section of content within the chapter.
chapter_id *stringThe unique identifier of the chapter to update.
project_id *stringThe unique identifier of the Studio project containing the chapter.
namestringThe 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.

ParameterTypeDescription
chapter_id *stringThe unique identifier of the chapter to delete.
project_id *stringThe 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.

ParameterTypeDescription
chapter_id *stringThe unique identifier of the chapter to be converted.
project_id *stringThe 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.

ParameterTypeDescription
chapter_id *stringThe unique identifier of the chapter for which to retrieve snapshots.
project_id *stringThe 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.

ParameterTypeDescription
chapter_id *stringThe unique identifier of the chapter within the project.
chapter_snapshot_id *stringThe unique identifier of the specific chapter snapshot to retrieve.
project_id *stringThe 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.

ParameterTypeDescription
chapter_id *stringThe unique identifier of the chapter within the project.
chapter_snapshot_id *stringThe unique identifier of the chapter snapshot to stream.
project_id *stringThe unique identifier of the Studio project containing the chapter.
convert_to_mpegbooleanWhether 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.

ParameterTypeDescription
project_id *stringThe 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.

ParameterTypeDescription
dubbing_id *stringThe 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.

ParameterTypeDescription
dubbing_id *stringThe unique identifier of the dubbing project to which the language will be added.
languagestringThe 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.

ParameterTypeDescription
dubbing_id *stringThe unique identifier of the dubbing project containing the speaker.
end_time *numberThe end time of the segment in seconds (relative to the media timeline). Must be greater than the start time.
speaker_id *stringThe unique identifier of the speaker within the dubbing project.
start_time *numberThe start time of the segment in seconds (relative to the media timeline).
translationsobjectOptional 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.

ParameterTypeDescription
dubbing_id *stringThe unique identifier of the dubbing project containing the segment to modify.
language *stringThe language identifier for which the segment content should be modified.
segment_id *stringThe unique identifier of the segment within the dubbing project to be updated.
end_timenumberThe end time of the segment in seconds. Defines when the segment ends in the audio timeline.
start_timenumberThe 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.

ParameterTypeDescription
dubbing_id *stringThe unique identifier of the dubbing project containing the segments to reassign.
segment_ids *arrayArray of segment identifiers to reassign to the target speaker. Order is preserved as provided.
speaker_id *stringThe 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.

ParameterTypeDescription
dubbing_id *stringThe unique identifier of the dubbing project containing the segment to be deleted.
segment_id *stringThe 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.

ParameterTypeDescription
dubbing_id *stringThe unique identifier of the dubbing project containing the segments to transcribe.
segments *arrayAn 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.

ParameterTypeDescription
dubbing_id *stringThe unique identifier of the dubbing project to translate.
languages *arrayList of target language codes to translate for each specified segment. Only these languages will be generated.
segments *arrayList 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.

ParameterTypeDescription
dubbing_id *stringThe unique identifier of the dubbing project to regenerate dubs for.
languages *arrayList of language codes to dub for each segment. Only the specified languages will be processed; order is preserved as provided.
segments *arrayList 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.

ParameterTypeDescription
dubbing_id *stringThe unique identifier of the dubbing project containing the speaker.
speaker_id *stringThe unique identifier of the speaker to update.
languagesarrayList of language codes to apply these speaker changes to. If empty or omitted, changes apply to all languages in the project.
speaker_namestringThe display name to assign to this speaker.
voice_idstringThe voice identifier, either from the ElevenLabs voice library or a cloning option ('track-clone' or 'clip-clone').
voice_stylenumberThe 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.

ParameterTypeDescription
dubbing_id *stringThe unique identifier of the dubbing project to which the speaker will be added.
speaker_namestringA human-readable label for this speaker to identify it within the dubbing project.
voice_idstringThe 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_stylenumberThe 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.

ParameterTypeDescription
dubbing_id *stringThe unique identifier of the dubbing project containing the speaker.
speaker_id *stringThe 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.

ParameterTypeDescription
dubbing_id *stringThe unique identifier of the dubbing project to render.
language *stringThe target language code for rendering (e.g., 'es' for Spanish). Use 'original' to render the source track.
render_type *stringThe output format for the rendered media.
normalize_volumebooleanWhether 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.

ParameterTypeDescription
dubbing_statusstringFilter results by the current processing state of the dub.
filter_by_creatorstringFilter results by creator: show only your dubs, dubs shared by others, or all dubs you have access to.
order_bystringSpecify which field to use for ordering the results.
order_directionstringSpecify the sort direction for the ordered results.
page_sizeintegerMaximum 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.

ParameterTypeDescription
csv_filestringBase64-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_fpsnumberFrames 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_cloningbooleanWhether 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_audiobooleanWhether to remove background audio from the final dub. Recommended for content like speeches or monologues where background noise should not be preserved.
dubbing_studiobooleanWhether to prepare the output for editing in the dubbing studio interface or as a dubbing resource for further processing.
end_timeintegerEnd time in seconds at which to stop dubbing the source file. Useful for processing only a segment of the content.
highest_resolutionbooleanWhether to process and output the video at the highest available resolution. May increase processing time and resource usage.
modestringProcessing 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.
namestringHuman-readable name for the dubbing project to help organize and identify the job.
num_speakersintegerNumber of distinct speakers to use in the dubbing. Set to 0 to automatically detect the speaker count from the source audio.
source_langstringLanguage code of the source content using ISO 639-1 or ISO 639-3 format. Set to 'auto' to automatically detect the language.
source_urlstringURL pointing to the source video or audio file to be dubbed. Must be publicly accessible.
start_timeintegerStart time in seconds from which to begin dubbing the source file. Useful for processing only a segment of the content.
target_accentstringOptional accent preference to apply when selecting voices and informing translation dialect. This is an experimental feature.
target_langstringLanguage 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_filterbooleanWhether to censor profanities in transcripts by replacing them with '[censored]'. This is a beta feature.
watermarkbooleanWhether 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.

ParameterTypeDescription
dubbing_id *stringThe 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.

ParameterTypeDescription
dubbing_id *stringThe 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.

ParameterTypeDescription
dubbing_id *stringThe unique identifier of the dubbing project containing the dubbed content.
language_code *stringThe 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.

ParameterTypeDescription
dubbing_id *stringThe unique identifier of the dubbing project containing the transcript to retrieve.
format_type *stringThe 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 *stringThe 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.

ParameterTypeDescription
name *stringThe name of the audio project.
apply_text_normalizationstringControls text normalization behavior. 'auto' lets the system decide, 'on' always applies normalization, 'apply_english' applies normalization assuming English text, and 'off' disables normalization.
authorstringThe 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_convertbooleanWhether to automatically convert the project content to audio upon creation.
filestringBase64-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_idstringThe TTS model ID used by the player. Uses the default model from Player settings if not specified.
player_colorsstringPlayer 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_locatorsarrayA 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_idstringThe 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.

ParameterTypeDescription
project_id *stringThe 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.

ParameterTypeDescription
project_id *stringThe unique identifier of the Studio project to update.
auto_convertbooleanAutomatically convert the project to audio format after content update.
auto_publishbooleanAutomatically publish a new project snapshot after conversion completes. Only applies when auto_convert is enabled.
filestringBase64-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.

ParameterTypeDescription
url *stringThe web page URL from which to extract content for the AudioNative project.
authorstringOptional 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.

list_voices_shared List Shared Voices

Retrieves a paginated list of shared voices with optional filtering by category, demographics, language, use cases, and other attributes. Useful for discovering available voices for text-to-speech applications.

ParameterTypeDescription
accentstringFilter voices by accent.
agestringFilter voices by age group.
categorystringFilter voices by category type.
featuredbooleanWhen enabled, returns only voices marked as featured.
genderstringFilter voices by gender.
include_custom_ratesbooleanWhen enabled, includes voices that have custom pricing rates.
include_live_moderatedbooleanWhen enabled, includes voices that are live moderated.
languagestringFilter voices by language code.
localestringFilter voices by locale code.
min_notice_period_daysintegerFilter voices that require a minimum notice period before use, specified in days.
owner_idstringFilter voices by the public owner ID of the voice creator.
pageintegerPage number for pagination, starting from 0.
page_sizeintegerMaximum number of voices to return per page. Limited to 100 voices maximum.
reader_app_enabledbooleanWhen enabled, returns only voices that are enabled for the reader app.
sortstringSort results by the specified criteria.
use_casesarrayFilter voices by one or more use cases. Multiple use cases can be specified to find voices suitable for specific applications.

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.

ParameterTypeDescription
audio_filestringBase64-encoded file content for upload. Audio sample file to match against library voices. Used as the reference for similarity comparison.
similarity_thresholdnumberSimilarity threshold for filtering results. Lower values return more similar voices. Valid range is 0 to 2.
top_kintegerMaximum 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.

ParameterTypeDescription
end_unix *integerEnd 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 *integerStart 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_sizeintegerCustom aggregation interval in seconds. When specified, overrides the default daily aggregation.
breakdown_typestringDimension to break down usage metrics by. The 'user' breakdown requires include_workspace_metrics to be true.
include_workspace_metricsbooleanInclude usage statistics for the entire workspace in addition to user-specific metrics.
metricstringThe 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.

ParameterTypeDescription
name *stringThe name of the pronunciation dictionary used for identification and reference within the system.
descriptionstringAn optional description of the pronunciation dictionary to provide additional context about its contents or purpose.
filestringBase64-encoded file content for upload. A lexicon .pls file which we will use to initialize the project with.
workspace_accessstringThe 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.

ParameterTypeDescription
name *stringThe name of the pronunciation dictionary used for identification and reference purposes.
alias_rulesarrayList of alias rules. Each rule is a dict with 'string_to_replace' (str) and 'alias' (str) keys.
descriptionstringAn optional description of the pronunciation dictionary to provide additional context about its contents or purpose.
phoneme_rulesarrayList of phoneme rules. Each rule is a dict with 'string_to_replace' (str), 'phoneme' (str), and 'alphabet' (str) keys.
workspace_accessstringThe 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.

ParameterTypeDescription
pronunciation_dictionary_id *stringThe 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.

ParameterTypeDescription
pronunciation_dictionary_id *stringThe unique identifier of the pronunciation dictionary to update.
archivedbooleanSet whether the pronunciation dictionary should be archived. Archived dictionaries are retained but no longer active.
namestringA 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.

ParameterTypeDescription
pronunciation_dictionary_id *stringThe unique identifier of the pronunciation dictionary to update.
rules *arrayAn 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.

ParameterTypeDescription
pronunciation_dictionary_id *stringThe unique identifier of the pronunciation dictionary to modify.
rules *arrayAn 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.

ParameterTypeDescription
pronunciation_dictionary_id *stringThe unique identifier of the pronunciation dictionary from which rules will be removed.
rule_strings *arrayAn 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.

ParameterTypeDescription
dictionary_id *stringThe unique identifier of the pronunciation dictionary to retrieve.
version_id *stringThe 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.

ParameterTypeDescription
page_sizeintegerMaximum number of pronunciation dictionaries to return per request. Must be between 1 and 100.
sortstringField to sort the results by. Choose between creation time or alphabetical name ordering.
sort_directionstringDirection 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.

ParameterTypeDescription
service_account_user_id *stringThe 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.

ParameterTypeDescription
name *stringA 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 *stringThe unique identifier of the service account for which to create the API key.
character_limitintegerOptional 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.

ParameterTypeDescription
api_key_id *stringThe unique identifier of the API key to be revoked and deleted.
service_account_user_id *stringThe 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.

ParameterTypeDescription
auth_connection_id *stringThe 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.

ParameterTypeDescription
name *stringThe 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.

ParameterTypeDescription
email *stringThe email address of the workspace member to remove from the group.
group_id *stringThe 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.

ParameterTypeDescription
email *stringThe email address of the workspace member to add to the group.
group_id *stringThe 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.

ParameterTypeDescription
email *stringThe email address of the user to invite to the workspace.
group_idsarrayList of group IDs to assign the invited user to. Groups determine access permissions and organizational structure within the workspace.
seat_typestringThe 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.

ParameterTypeDescription
emails *arrayList of email addresses to invite. All emails must belong to verified domains associated with your workspace.
group_idsarrayList of group IDs to assign the invited users to upon acceptance. Groups organize users and manage permissions within the workspace.
seat_typestringThe 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.

ParameterTypeDescription
email *stringThe 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.

ParameterTypeDescription
resource_id *stringThe unique identifier of the resource to retrieve.
resource_type *stringThe 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.

ParameterTypeDescription
resource_id *stringThe unique identifier of the resource to share.
resource_type *stringThe category of resource being shared. Determines the type of object referenced by resource_id.
role *stringThe access level to grant to the principal. Determines what actions the principal can perform on the resource.
group_idstringThe 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_emailstringThe email address of the user or service account to grant access to. The principal must already exist in your workspace.
workspace_api_key_idstringThe 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.

ParameterTypeDescription
resource_id *stringThe unique identifier of the workspace resource to revoke access from.
resource_type *stringThe category of the workspace resource being modified.
group_idstringThe identifier of the group to revoke access from. Use 'default' to target default permissions principals have on this resource.
user_emailstringThe 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_idstringThe 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).

ParameterTypeDescription
include_usagesbooleanInclude 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.

ParameterTypeDescription
model_id *stringThe transcription model to use. Choose between scribe_v1 (standard) or scribe_v2 (enhanced with additional features like verbatim control).
additional_formatsarrayList 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_urlstringHTTPS 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_thresholdnumberSensitivity 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…
diarizebooleanWhether to perform speaker diarization to identify and label which speaker is talking at each point in the transcript.
entity_detectionEntity 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_redactionEntity 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…
filestringBase64-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…
keytermsarrayList 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_codestringISO-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_verbatimbooleanWhether 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_speakersintegerMaximum 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_eventsbooleanWhether to identify and tag audio events such as laughter, footsteps, and other non-speech sounds in the transcript.
timestamps_granularitystringTimestamp precision level in the transcript. 'word' provides timestamps for each word, 'character' provides character-level timestamps within words, and 'none' omits timestamps.
use_multi_channelbooleanWhether 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…
webhookbooleanWhether to process the request asynchronously and deliver results via configured webhooks. When enabled, the request returns immediately without the transcription result.
webhook_idstringID 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_metadataCustom 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.

ParameterTypeDescription
transcription_id *stringThe unique identifier of the transcript to retrieve.

delete_transcript Delete Transcript

Permanently delete a transcript by its unique ID. This action cannot be undone.

ParameterTypeDescription
transcription_id *stringThe 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.

ParameterTypeDescription
criterion_id *stringThe 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.

ParameterTypeDescription
criterion_id *stringThe unique identifier of the evaluation criterion to update.
fields *arrayAn array of field identifiers or definitions associated with this evaluation criterion. Specifies which fields are evaluated.
criteriaarrayAn array of evaluation criteria details. Order and structure should match the evaluation framework requirements.
namestringThe 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.

ParameterTypeDescription
criterion_id *stringThe 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.

ParameterTypeDescription
agent_idstringFilter evaluations by the agent ID that created or is associated with the evaluation.
created_afterstringFilter evaluations created on or after this date. Use ISO 8601 format.
created_beforestringFilter evaluations created on or before this date. Use ISO 8601 format.
eval_criterion_idstringFilter evaluations by the evaluation criterion ID used to assess performance.
page_sizeintegerNumber of evaluations to return per page for pagination.
sort_bystringSort results by a specific field (e.g., created_at, status, agent_id).
sort_dirstringSort direction for results: ascending or descending order.
statusstringFilter 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.

ParameterTypeDescription
agent_id *stringThe unique identifier of the agent performing the evaluation.
eval_criterion_id *stringThe unique identifier of the evaluation criterion to apply during the evaluation.
transcript_id *stringThe unique identifier of the transcript to be evaluated.
agent_namestringThe display name of the agent performing the evaluation for reference purposes.
labelsobjectCustom 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.

ParameterTypeDescription
evaluation_id *stringThe 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.

ParameterTypeDescription
page_sizeintegerNumber 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.

ParameterTypeDescription
agent_id *stringThe 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.

ParameterTypeDescription
agent_id *stringThe 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.

ParameterTypeDescription
created_afterstringFilter results to include only evaluations created on or after this date. Specify in ISO 8601 format.
created_beforestringFilter 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.

ParameterTypeDescription
criterion_id *stringThe unique identifier of the evaluation criterion to retrieve analytics for.
created_afterstringFilter analytics to include only records created on or after this date. Specify in ISO 8601 format.
created_beforestringFilter 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.

ParameterTypeDescription
agent_id *stringThe unique identifier of the human agent for which to retrieve analytics.
created_afterstringFilter to include only analytics created on or after this date. Specify in ISO 8601 format.
created_beforestringFilter 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.

ParameterTypeDescription
file *stringBase64-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 *stringThe text transcript to align with the audio. Can be in any text format; diarization (speaker identification) is not currently supported.
enabled_spooled_filebooleanEnable streaming processing for large files that cannot fit in memory. When true, the file is streamed to the server and processed in chunks.

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.

ParameterTypeDescription
agent_id *stringUnique identifier of the AI agent that will handle the call.
agent_phone_number_id *stringIdentifier of the Twilio phone number resource to use as the caller.
to_number *stringThe destination phone number to call in E.164 format or standard phone number format.
call_recording_enabledbooleanWhether Twilio should record the audio of this call for compliance, quality assurance, or archival purposes.
dynamic_variablesobjectKey-value pairs of custom variables that can be referenced in the agent's prompt or system instructions to personalize the conversation.
first_messagestringOptional initial message the agent will speak when the call connects. If omitted, the agent waits for the caller to speak first.
languagestringLanguage code for the agent's automatic speech recognition and text-to-speech processing.
promptobjectConfiguration object specifying the LLM model and system prompt that defines the agent's behavior and knowledge.
similarity_boostnumberControls how closely the generated speech matches the target voice characteristics.
soft_timeout_configobjectConfiguration for soft timeout feedback, allowing the agent to provide immediate responses (e.g., acknowledgments) while processing longer LLM responses.
sourcestringThe platform or integration through which the call was initiated.
speednumberControls the playback speed of generated speech, where higher values increase speech rate.
stabilitynumberControls the consistency of the generated speech, with higher values producing more stable output.
user_idstringIdentifier for the end user or customer participating in this call, used for tracking and attribution by the agent owner.
voice_idstringIdentifier 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.

ParameterTypeDescription
agent_id *stringUnique identifier of the AI agent that will handle this call.
from_number *stringThe phone number initiating the call (caller ID for outbound, destination for inbound).
to_number *stringThe phone number receiving the call (destination for outbound, caller ID for inbound).
directionstringDirection of the call flow. Inbound calls originate from external parties; outbound calls are initiated by the system.
dynamic_variablesobjectCustom key-value variables that can be passed to the agent prompt for dynamic personalization or context injection during the conversation.
first_messagestringOpening message the agent will speak when the call connects. If empty, the agent waits for the caller to speak first.
languagestringLanguage code for automatic speech recognition (ASR) and text-to-speech (TTS) processing during the call.
promptobjectConfiguration object containing the LLM model identifier and system prompt that defines the agent's behavior and knowledge domain.
similarity_boostnumberControls how closely the generated speech matches the target voice characteristics.
soft_timeout_configobjectConfiguration for soft timeout feedback, allowing the agent to provide immediate acknowledgment messages while processing longer LLM responses.
sourcestringChannel or platform through which this call was initiated, used for analytics and routing decisions.
speednumberControls the playback speed of generated speech, where higher values increase speech rate.
stabilitynumberControls the consistency of generated speech output, affecting how natural and varied the voice sounds.
user_idstringIdentifier for the end user or customer participating in this call, used by the agent owner for tracking and analytics.
voice_idstringIdentifier 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.

ParameterTypeDescription
agent_id *stringThe ID of the AI agent that will handle the conversation during the call.
whatsapp_call_permission_request_template_language_code *stringThe language code of the call permission request template (e.g., 'en_US', 'es_ES').
whatsapp_call_permission_request_template_name *stringThe name of the WhatsApp-approved call permission request template to use for initiating the call.
whatsapp_phone_number_id *stringThe WhatsApp Business Account phone number ID that will be used to make the outbound call.
whatsapp_user_id *stringThe WhatsApp user ID of the recipient who will receive the outbound call.
dynamic_variablesobjectDynamic variables that can be passed to customize the agent's behavior and responses during the call.
first_messagestringThe initial message the agent will speak when the call connects. If empty, the agent will wait for the user to speak first.
languagestringThe language code for the agent's automatic speech recognition and text-to-speech (e.g., 'en-US', 'es-ES').
promptobjectThe system prompt that defines the agent's behavior, personality, and instructions for handling the conversation.
similarity_boostnumberThe similarity boost parameter for speech synthesis, controlling how closely the voice matches the selected voice ID.
soft_timeout_configobjectConfiguration for soft timeout feedback, allowing the agent to send intermediate messages while processing longer LLM responses to keep the conversation feeling responsive.
sourcestringThe source or channel through which the call was initiated.
speednumberThe speed parameter for speech synthesis, controlling how fast the agent speaks.
stabilitynumberThe stability parameter for speech synthesis, controlling consistency of the generated voice.
user_idstringThe ID of the end user initiating this call, used by the agent owner for tracking and identifying conversation participants.
voice_idstringThe 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.

ParameterTypeDescription
agent_id *stringThe ID of the AI agent that will handle the conversation if this message initiates an interactive session.
template_language_code *stringThe language code for the template (e.g., 'en', 'es', 'fr'). Must match the template's supported languages.
template_name *stringThe name of the WhatsApp message template to use for this outbound message.
template_params *arrayAn ordered array of parameter values to substitute into the template placeholders. Order and format must match the template definition.
whatsapp_phone_number_id *stringThe WhatsApp phone number ID associated with your business account that will send the message.
whatsapp_user_id *stringThe WhatsApp user ID (recipient) who will receive the message.
dynamic_variablesobjectAdditional dynamic variables to be substituted into the template or used by the agent during the conversation.
first_messagestringThe initial message the agent will send to start the conversation. If empty, the agent waits for the user to send the first message.
languagestringThe language for the agent's automatic speech recognition (ASR) and text-to-speech (TTS) processing.
promptobjectConfiguration object containing the LLM model and system prompt that defines the agent's behavior and capabilities.
similarity_boostnumberControls how closely the generated speech matches the selected voice characteristics.
soft_timeout_configobjectConfiguration for soft timeout feedback, allowing the agent to send intermediate messages (e.g., acknowledgments) while processing longer responses.
sourcestringThe channel or platform through which this conversation was initiated.
speednumberControls the speed of generated speech playback.
stabilitynumberControls the consistency of the generated speech, ranging from low variability to high variability.
user_idstringIdentifier for the end user participating in this conversation, used by the agent owner for tracking and analytics.
voice_idstringThe 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.

ParameterTypeDescription
agent_ids *arrayList 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.

ParameterTypeDescription
agent_id *stringThe unique identifier of the agent to retrieve.
branch_idstringThe specific branch of the agent to retrieve. If not provided, the default branch is used.
version_idstringThe 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.

ParameterTypeDescription
agent_id *stringThe 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.

ParameterTypeDescription
agent_id *stringThe unique identifier of the agent whose widget configuration you want to retrieve.
conversation_signaturestringAn 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.

ParameterTypeDescription
agent_id *stringThe unique identifier of the agent to update with the new avatar image.
avatar_file *stringBase64-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.

ParameterTypeDescription
archivedbooleanFilter results to show only archived or active agents.
created_by_user_idstringFilter agents by the user ID of their creator. Use '@me' to refer to the authenticated user. Takes precedence over other ownership filters.
page_sizeintegerMaximum number of agents to return per request. Must be between 1 and 100.
sort_bystringField to sort results by. Choose between agent name or creation timestamp.
sort_directionstringOrder 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.

ParameterTypeDescription
agent_id *stringThe 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.

ParameterTypeDescription
agent_id *stringThe unique identifier of the agent for which to calculate expected LLM token usage.
number_of_pagesintegerThe 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_lengthintegerThe length of the input prompt in characters. Used to estimate token consumption for the prompt component.
rag_enabledbooleanWhether 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.

ParameterTypeDescription
agent_id *stringThe unique identifier of the agent to duplicate.
namestringAn 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.

ParameterTypeDescription
test_id *stringThe 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.

ParameterTypeDescription
test_id *stringThe 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.

ParameterTypeDescription
test_ids *arrayList 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.

ParameterTypeDescription
page_sizeintegerMaximum number of tests to return per request. Must be between 1 and 100.
sort_modestringDetermines the sort order for results. Use 'folders_first' to display folders before tests, or 'default' for standard ordering.
typesarrayFilter 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.

ParameterTypeDescription
agent_id *stringThe unique identifier of the agent whose test invocations should be retrieved.
page_sizeintegerMaximum 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.

ParameterTypeDescription
test_invocation_id *stringThe 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.

ParameterTypeDescription
agent_idstringFilter conversations to a specific agent by its unique identifier.
branch_idstringFilter conversations by branch ID.
call_duration_max_secsintegerFilter conversations with a maximum call duration in seconds.
call_duration_min_secsintegerFilter conversations with a minimum call duration in seconds.
call_successfulstringFilter conversations by the result of the success evaluation.
conversation_initiation_sourcestringFilter conversations by their initiation source (SDK, integration, or communication platform).
data_collection_paramsarrayFilter 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_paramsarrayFilter by evaluation criteria results. Specify as criteria_id:result pairs; parameter can be repeated for multiple criteria.
has_feedback_commentbooleanFilter to only conversations that include user feedback comments.
main_languagesarrayFilter conversations by detected main language using language codes. Specify multiple languages as separate array items.
page_sizeintegerMaximum number of conversations to return per request. Cannot exceed 100.
rating_maxintegerFilter conversations with a maximum overall rating on a scale of 1-5.
rating_minintegerFilter conversations with a minimum overall rating on a scale of 1-5.
summary_modestringInclude or exclude transcript summaries in the response.
tool_namesarrayFilter conversations by the names of tools used during the call. Specify multiple tool names as separate array items.
user_idstringFilter 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.

ParameterTypeDescription
agent_idstringThe ID of the agent to filter conversations by.
branch_idstringFilter conversations to a specific branch by its ID.
page_sizeintegerMaximum number of users to return per page. Valid range is 1 to 100.
sort_bystringField 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.

ParameterTypeDescription
conversation_id *stringThe unique identifier of the conversation to retrieve.

delete_conversation Delete Conversation

Permanently delete a conversation and all associated data. This action cannot be undone.

ParameterTypeDescription
conversation_id *stringThe 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.

ParameterTypeDescription
conversation_id *stringThe 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').

ParameterTypeDescription
conversation_id *stringThe unique identifier of the conversation to provide feedback for.
feedbackstringThe 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.

ParameterTypeDescription
text_query *stringThe search query text to match against conversation messages using full-text and fuzzy search algorithms.
agent_idstringFilter results to conversations handled by a specific agent.
branch_idstringFilter conversations by branch ID.
call_duration_max_secsintegerFilter conversations with a maximum duration in seconds.
call_duration_min_secsintegerFilter conversations with a minimum duration in seconds.
call_successfulstringFilter results by the outcome of the conversation (success, failure, or unknown).
conversation_initiation_sourcestringFilter conversations by their initiation source (SDK, integration, or communication platform).
data_collection_paramsarrayFilter 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_paramsarrayFilter by evaluation criteria results. Specify as criteria_id:result pairs (repeatable parameter).
has_feedback_commentbooleanInclude only conversations that have user feedback comments.
main_languagesarrayFilter conversations by detected primary language using language codes (repeatable parameter).
page_sizeintegerNumber of results to return per page.
rating_maxintegerFilter conversations with a maximum overall rating on a scale of 1-5.
rating_minintegerFilter conversations with a minimum overall rating on a scale of 1-5.
summary_modestringInclude or exclude transcript summaries in the response.
tool_namesarrayFilter conversations by the names of tools used during the call (repeatable parameter).
user_idstringFilter 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.

ParameterTypeDescription
text_query *stringThe search query text to match against conversation messages using semantic similarity. Accepts natural language queries describing intent, topics, or specific requests.
agent_idstringFilter results to messages from a specific agent. If omitted, searches across all agents in the conversation.
page_sizeintegerNumber 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.

ParameterTypeDescription
label *stringA descriptive label for this phone number to identify it in your system.
phone_number *stringThe phone number to import in E.164 format or provider-specific format.
inbound_trunk_configobjectSIP trunk configuration for inbound call routing, including server address, port, and authentication credentials.
outbound_trunk_configobjectSIP trunk configuration for outbound call routing, including server address, port, and authentication credentials.
providerstringThe telecommunications provider to import from. Defaults to Twilio if not specified.
region_configobjectAdditional Twilio region configuration settings to optimize call routing and compliance for specific geographic regions.
sidstringYour Twilio Account SID for authentication. Required when provider is set to Twilio.
tokenstringYour 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.

ParameterTypeDescription
phone_number_id *stringThe 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.

ParameterTypeDescription
address *stringHostname or IP address where SIP INVITE requests are routed.
inbound_trunk_configCredentialsUsername *stringUsername credential for inbound SIP trunk authentication.
outbound_trunk_configCredentialsUsername *stringUsername credential for outbound SIP trunk authentication.
phone_number_id *stringThe unique identifier of the phone number to update.
agent_idstringThe ID of the agent to assign to this phone number for handling incoming calls.
allowed_addressesarrayList 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_numbersarrayList of phone numbers authorized to use this trunk.
headersobjectCustom SIP X-* headers to include in INVITE requests. Useful for identifying calls or passing metadata to the SIP provider.
labelstringA human-readable label or name for this phone number.
livekit_stackstringLiveKit media server stack configuration for call handling.
media_encryptionstringMedia encryption policy for outbound calls. Controls whether RTP traffic is encrypted.
passwordstringPassword credential for outbound SIP trunk authentication. If omitted, the existing password remains unchanged.
remote_domainsarrayList of remote SIP server domains used for validating TLS certificates during secure connections.
transportstringSIP 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.

ParameterTypeDescription
phone_number_id *stringThe 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.

ParameterTypeDescription
number_of_pages *integerThe 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 *integerThe length of the input prompt in characters. This determines the token consumption for the initial request.
rag_enabled *booleanWhether 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.

ParameterTypeDescription
conversation_id *stringThe unique identifier of the conversation to which the file will be uploaded.
file *stringBase64-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.

ParameterTypeDescription
conversation_id *stringThe unique identifier of the conversation containing the file to be deleted.
file_id *stringThe 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.

ParameterTypeDescription
agent_idstringFilter 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.

ParameterTypeDescription
document_ids *arrayList 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.

ParameterTypeDescription
created_by_user_idstringFilter results to documents created by a specific user. Use '@me' to refer to the authenticated user. Takes precedence over ownership filters.
folders_firstbooleanWhether to display folder documents before other document types in the results.
page_sizeintegerMaximum number of documents to return per page. Defaults to 30 documents.
sort_bystringField to sort results by. Choose from document name, creation date, last update date, or file size.
sort_directionstringOrder direction for sorting results in ascending or descending sequence.
typesarrayFilter 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.

ParameterTypeDescription
url *stringThe complete URL of the webpage to scrape and add to the knowledge base. Must be a valid, publicly accessible web address.
namestringA 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.

ParameterTypeDescription
file *stringBase64-encoded file content for upload. The file content to upload as a knowledge base document. Accepts binary file formats for documentation.
namestringA 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.

ParameterTypeDescription
text *stringThe text content to be added to the knowledge base. This will be indexed for search and retrieval.
namestringA 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.

ParameterTypeDescription
name *stringA 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.

ParameterTypeDescription
documentation_id *stringThe unique identifier of the document to retrieve from the knowledge base.
agent_idstringOptional 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.

ParameterTypeDescription
documentation_id *stringThe unique identifier of the document to rename. This ID is provided when the document is initially added to the knowledge base.
name *stringA 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.

ParameterTypeDescription
documentation_id *stringThe unique identifier of the document or folder to delete from the knowledge base.
forcebooleanForce 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.

ParameterTypeDescription
items *arrayArray 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.

ParameterTypeDescription
documentation_id *stringThe 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.

ParameterTypeDescription
documentation_id *stringThe 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.

ParameterTypeDescription
documentation_id *stringThe unique identifier of the document in the knowledge base that you want to index or check the indexing status for.
model *stringThe 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.

ParameterTypeDescription
documentation_id *stringThe unique identifier of the knowledge base document whose RAG index will be deleted.
rag_index_id *stringThe 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.

ParameterTypeDescription
documentation_id *stringThe unique identifier of the knowledge base document for which to retrieve dependent agents.
dependent_typestringFilter 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_sizeintegerMaximum 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.

ParameterTypeDescription
documentation_id *stringThe 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.

ParameterTypeDescription
documentation_id *stringThe 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.

ParameterTypeDescription
chunk_id *stringThe unique identifier of the specific chunk within the document. Chunks are sequential segments of a document created during RAG processing.
documentation_id *stringThe unique identifier of the document in the knowledge base. This ID is provided when the document is initially added to the knowledge base.
embedding_modelstringThe 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.

ParameterTypeDescription
document_id *stringThe unique identifier of the document to move within the knowledge base.
move_tostringThe 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.

ParameterTypeDescription
document_ids *arrayThe IDs of the documents or folders to move. Accepts between 1 and 20 entity IDs in a single operation.
move_tostringThe 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.

ParameterTypeDescription
created_by_user_idstringFilter results to tools created by a specific user. Use '@me' to refer to the authenticated user. Takes precedence over ownership filters.
page_sizeintegerMaximum number of tools to return per request. Must be between 1 and 100.
sort_bystringField to sort results by. Choose between tool name or creation timestamp.
sort_directionstringOrder direction for sorting results in ascending or descending sequence.
typesarrayFilter 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.

ParameterTypeDescription
tool_id *stringThe 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.

ParameterTypeDescription
tool_id *stringThe unique identifier of the tool to delete.
forcebooleanForce 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.

ParameterTypeDescription
tool_id *stringThe unique identifier of the tool for which to retrieve dependent agents.
page_sizeintegerMaximum 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.

ParameterTypeDescription
name *stringA unique identifier for the secret within the workspace. Used to reference the secret in configurations and workflows.
type *stringThe category or classification of the secret (e.g., API key, password, token, connection string). Determines how the secret is handled and validated.
value *stringThe 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.

ParameterTypeDescription
name *stringThe display name or label for the secret.
secret_id *stringThe unique identifier of the secret to update.
type *stringThe type or category of the secret (e.g., API key, password, token).
value *stringThe 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.

ParameterTypeDescription
secret_id *stringThe 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.

ParameterTypeDescription
agent_id *stringUnique identifier of the conversational AI agent to use for the calls.
call_name *stringDisplay name or identifier for this batch call campaign.
recipients *arrayList of recipient phone numbers or contact identifiers to call. Order is preserved for sequential processing.
whatsapp_call_permission_request_template_language_code *stringLanguage 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 *stringName of the WhatsApp message template to use for requesting call permissions from recipients.
agent_phone_number_idstringPhone number identifier associated with the agent making the calls. Required for certain call routing configurations.
scheduled_time_unixintegerUnix timestamp (seconds since epoch) for when to start executing the batch calls. If omitted, calls begin immediately.
target_concurrency_limitintegerMaximum number of simultaneous calls allowed in this batch. When set, this limit takes precedence over workspace or agent-level capacity settings.
timezonestringTimezone 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.

ParameterTypeDescription
last_docstringCursor token for pagination. Provide the last document identifier from a previous request to retrieve the next page of results.
limitintegerMaximum 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.

ParameterTypeDescription
batch_id *stringThe 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.

ParameterTypeDescription
batch_id *stringThe 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.

ParameterTypeDescription
batch_id *stringThe 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.

ParameterTypeDescription
batch_id *stringThe 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.

ParameterTypeDescription
agent_id *stringUnique identifier of the AI agent that will handle the outbound call.
agent_phone_number_id *stringUnique identifier of the phone number resource associated with the agent for this call.
to_number *stringThe destination phone number to call in E.164 format or standard phone number format.
dynamic_variablesobjectCustom variables that can be passed to the agent and used within the prompt or conversation context for dynamic behavior.
first_messagestringThe initial message the agent will speak when the call connects. If empty, the agent waits for the caller to speak first.
languagestringThe language code for the agent's automatic speech recognition (ASR) and text-to-speech (TTS) processing.
promptobjectConfiguration for the LLM behavior, including the model selection and system prompt that defines the agent's personality and capabilities.
similarity_boostnumberControls how closely the generated speech matches the selected voice ID, balancing between voice similarity and speech quality.
soft_timeout_configobjectConfiguration for soft timeout feedback, allowing the agent to provide immediate responses (e.g., acknowledgments) while processing longer LLM responses.
sourcestringThe source or channel through which the call was initiated, used for analytics and tracking purposes.
speednumberControls the speed of the generated speech, where lower values slow down speech and higher values speed it up.
stabilitynumberControls the consistency of the generated speech, ranging from low variability to high variability in tone and delivery.
user_idstringIdentifier for the end user or customer participating in this call, used by the agent owner for tracking and user identification.
voice_idstringThe 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.

ParameterTypeDescription
mcp_server_id *stringThe 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.

ParameterTypeDescription
mcp_server_id *stringThe unique identifier of the MCP server to configure.
secret_id *stringThe secret identifier for credentials or API keys used to authenticate with this MCP server.
approval_policystringThe approval workflow mode for tool execution from this server. Controls whether tools require manual approval before execution.
auth_connectionOptional authentication connection configuration for establishing secure communication with this MCP server.
disable_compressionbooleanWhen enabled, disables HTTP compression for requests to this MCP server to reduce processing overhead.
disable_interruptionsbooleanWhen enabled, prevents user interruptions during tool execution, overriding the server's default setting.
execution_modestringDetermines 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_speechbooleanWhen enabled, forces the system to speak tool descriptions aloud before execution, overriding the server's default setting.
request_headersobjectHTTP headers to include in all requests sent to this MCP server, such as custom authentication or tracking headers.
tool_call_soundstringThe sound effect to play during tool execution for all tools from this server.
tool_call_sound_behaviorstringControls 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.

ParameterTypeDescription
mcp_server_id *stringThe 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.

ParameterTypeDescription
mcp_server_id *stringThe 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.

ParameterTypeDescription
mcp_server_id *stringThe unique identifier of the MCP Server to which the tool approval applies.
tool_description *stringA human-readable description of what the MCP tool does and its purpose.
tool_name *stringThe name of the MCP tool being approved for use.
approval_policystringThe approval policy that determines whether this tool requires explicit approval before each use or is automatically approved.
input_schemaobjectThe 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.

ParameterTypeDescription
mcp_server_id *stringThe unique identifier of the MCP Server from which to revoke tool approval.
tool_name *stringThe 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.

ParameterTypeDescription
mcp_server_id *stringThe unique identifier of the MCP server containing the tool to configure.
tool_name *stringThe exact name of the MCP tool within the server to apply these configuration overrides to.
assignmentsarrayDynamic variable assignments that will be available to this MCP tool during execution. Order is preserved as specified.
disable_interruptionsbooleanWhen enabled, prevents user interruptions during this tool's execution, overriding the server's default setting.
execution_modestringDetermines when this tool executes relative to speech output: immediately, after tool speech completes, or asynchronously.
force_pre_tool_speechbooleanWhen enabled, forces the system to speak a message before executing this tool, overriding the server's default setting.
input_overridesobjectJSON path mappings to override specific input parameters for this tool, allowing selective input transformation or substitution.
tool_call_soundstringThe sound effect to play when this tool is invoked, overriding the server's default sound setting.
tool_call_sound_behaviorstringControls 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.

ParameterTypeDescription
mcp_server_id *stringThe unique identifier of the MCP server containing the tool.
tool_name *stringThe 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.

ParameterTypeDescription
mcp_server_id *stringThe unique identifier of the MCP server containing the tool to configure.
tool_name *stringThe name of the MCP tool whose configuration overrides should be updated.
assignmentsarrayDynamic variable assignments to pass to this MCP tool during execution. Order is preserved if significant for the tool's logic.
disable_interruptionsbooleanPrevent user interruptions during this tool's execution, overriding the server's default setting.
execution_modestringSpecify when this tool executes: immediately, after speech completes, or asynchronously.
force_pre_tool_speechbooleanForce the system to speak before executing this tool, overriding the server's default setting.
input_overridesobjectJSON path mappings that override specific input fields for this tool, allowing selective parameter customization.
tool_call_soundstringThe sound to play when this tool is invoked, overriding the server's default sound.
tool_call_sound_behaviorstringControl 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.

ParameterTypeDescription
phone_number_id *stringThe 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.

ParameterTypeDescription
phone_number_id *stringThe unique identifier for the WhatsApp phone number account to update.
assigned_agent_idstringThe ID of the agent to assign to this WhatsApp account for handling conversations.
enable_audio_message_responsebooleanEnable or disable automatic audio message response capability for this WhatsApp account.
enable_messagingbooleanEnable 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.

ParameterTypeDescription
phone_number_id *stringThe 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.

ParameterTypeDescription
agent_id *stringThe unique identifier of the agent whose branches should be retrieved.
include_archivedbooleanWhether to include archived branches in the results. Defaults to excluding archived branches.
limitintegerMaximum 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.

ParameterTypeDescription
agent_id *stringThe unique identifier of the agent that contains the branch.
branch_id *stringThe 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.

ParameterTypeDescription
agent_id *stringThe unique identifier of the agent that owns the branch.
branch_id *stringThe unique identifier of the branch to update.
is_archivedbooleanWhether to archive the branch. Archived branches are hidden from normal operations but retain their data.
namestringNew name for the branch. Must be unique within the agent.
protection_statusstringThe 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.

ParameterTypeDescription
agent_id *stringThe unique identifier of the agent containing the branches to merge.
source_branch_id *stringThe unique identifier of the source branch to merge from.
target_branch_id *stringThe unique identifier of the target branch to merge into. Must be the main branch.
archive_source_branchbooleanWhether 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.

ParameterTypeDescription
agent_id *stringThe unique identifier of the agent for which to create or update deployments.
requests *arrayAn 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.

ParameterTypeDescription
agent_id *stringThe unique identifier of the agent whose draft should be deleted.
branch_id *stringThe 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.

ParameterTypeDescription
labelstringFilter results to return only environment variables matching this exact label value.
page_sizeintegerMaximum number of environment variables to return per request. Useful for pagination when working with large variable sets.
typestringFilter 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.

ParameterTypeDescription
label *stringA unique identifier label for this environment variable within the workspace. Used to reference the variable in configurations and deployments.
type *stringThe type or category of the environment variable, determining how it will be processed and used within the workspace.
values *objectA 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.

ParameterTypeDescription
env_var_id *stringThe 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).

ParameterTypeDescription
env_var_id *stringThe unique identifier of the environment variable to update.
values *objectA 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.

ParameterTypeDescription
negative_global_styles *arrayArray of musical styles and directions to exclude from the entire composition. Specify in English for optimal results.
positive_global_styles *arrayArray of musical styles and directions that should be emphasized throughout the entire composition. Specify in English for optimal results.
prompt *stringText prompt describing the desired composition, musical style, mood, and any specific creative direction.
sections *arrayArray of song sections defining the structure and progression of the composition. Order matters and determines the sequence of sections in the final output.
model_idstringThe AI model version to use for generating the composition plan.
music_length_msintegerTarget 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.

ParameterTypeDescription
composition_planNegative_global_styles *arrayArray of musical styles and directions to exclude from the entire song. Specify in English for optimal results.
composition_planPositive_global_styles *arrayArray of musical styles and directions to include throughout the entire song. Specify in English for optimal results.
composition_planSections *arrayOrdered array defining the song structure, including individual sections with their characteristics and durations.
music_promptNegative_global_styles *arrayArray of musical styles and directions to exclude from the entire song. Specify in English for optimal results.
music_promptPositive_global_styles *arrayArray of musical styles and directions to include throughout the entire song. Specify in English for optimal results.
music_promptSections *arrayOrdered array defining the song structure, including individual sections with their characteristics and durations.
force_instrumentalbooleanWhen enabled, ensures the generated song contains no vocals and is purely instrumental. Only applicable with prompt-based generation.
model_idstringAI model version to use for music generation.
music_length_msintegerTarget song duration in milliseconds. Only used with prompt-based generation. The model will adjust to fit this duration if provided.
output_formatstringAudio 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.
promptstringSimple text description of the song to generate. Cannot be combined with composition_plan. Use this for quick, straightforward song generation.
respect_sections_durationsbooleanControls 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_namesbooleanWhen 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.

ParameterTypeDescription
composition_planNegative_global_styles *arrayMusical styles and directions to exclude from the entire song when using composition_plan. Use English language for optimal results.
composition_planPositive_global_styles *arrayMusical styles and directions to include throughout the entire song when using composition_plan. Use English language for optimal results.
composition_planSections *arrayOrdered array of song sections for composition_plan, each with duration, style, and lyrical content specifications. Order determines playback sequence.
music_promptNegative_global_styles *arrayMusical styles and directions to exclude from the entire song. Use English language for optimal results.
music_promptPositive_global_styles *arrayMusical styles and directions to include throughout the entire song. Use English language for optimal results.
music_promptSections *arrayOrdered array of song sections, each with duration, style, and lyrical content specifications. Order determines playback sequence.
force_instrumentalbooleanWhen enabled, ensures the generated song contains no vocals. Only works with prompt-based generation.
model_idstringAI model version to use for music generation.
music_length_msintegerTarget song duration in milliseconds. Only applicable with prompt-based generation. If omitted, the model automatically determines length based on prompt content.
output_formatstringAudio output format specified as codec, sample rate, and bitrate. Higher bitrates and sample rates may require elevated subscription tiers.
promptstringText-based prompt describing the song to generate. Mutually exclusive with composition_plan. Provide creative direction, mood, genre, and lyrical themes.
respect_sections_durationsbooleanControls 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_namesbooleanWhen enabled, proper names in the prompt are phonetically spelled for improved lyrical pronunciation while preserving original names in word timestamps.
with_timestampsbooleanWhen 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.

ParameterTypeDescription
composition_planNegative_global_styles *arrayMusical styles and directions to exclude from the entire composition. Use English language for best results.
composition_planPositive_global_styles *arrayMusical styles and directions to include throughout the entire composition. Use English language for best results.
composition_planSections *arrayOrdered array defining distinct sections of the song, each with its own musical characteristics and transitions.
music_promptNegative_global_styles *arrayMusical styles and directions to exclude from the entire composition. Use English language for best results.
music_promptPositive_global_styles *arrayMusical styles and directions to include throughout the entire composition. Use English language for best results.
music_promptSections *arrayOrdered array defining distinct sections of the song, each with its own musical characteristics and transitions.
force_instrumentalbooleanWhen enabled, ensures the generated composition contains no vocals. Only applicable with prompt-based generation.
model_idstringThe generative model version to use for music composition.
music_length_msintegerTarget 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_formatstringAudio output format specified as codec, sample rate, and bitrate. Higher bitrates and sample rates may require elevated subscription tiers.
promptstringSimple text description to generate a song from. Mutually exclusive with composition_plan. Use English for optimal results.
use_phonetic_namesbooleanWhen 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.

ParameterTypeDescription
file *stringBase64-encoded file content for upload. The audio file to upload in binary format.
extract_composition_planbooleanWhether 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.

ParameterTypeDescription
file *stringBase64-encoded file content for upload. The audio file to separate into individual stems. Provide the binary audio data.
output_formatstringOutput 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_idstringThe 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.

ParameterTypeDescription
language *stringThe language code for the voice samples and voice model training.
name *stringThe display name for this voice, shown in voice selection dropdowns and UI.
descriptionstringOptional description providing context about the voice characteristics and intended use cases.
labelsobjectOptional 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.

ParameterTypeDescription
voice_id *stringThe unique identifier of the voice to update.
descriptionstringDetailed description of the voice characteristics and intended use cases.
labelsobjectClassification labels for the voice including language, accent, gender, and age characteristics.
languagestringLanguage code of the voice samples (e.g., 'en' for English).
namestringDisplay 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.

ParameterTypeDescription
files *arrayBase64-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 *stringThe unique identifier of the PVC voice to add samples to. Use the voices list endpoint to retrieve available voice IDs.
remove_background_noisebooleanEnable 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.

ParameterTypeDescription
sample_id *stringThe unique identifier of the voice sample to update.
voice_id *stringThe unique identifier of the voice model containing the sample to update.
file_namestringThe name to assign to the audio file for PVC training purposes.
remove_background_noisebooleanEnable background noise removal using audio isolation. Only apply if the sample contains background noise, as it may degrade quality otherwise.
selected_speaker_idsarrayList of speaker IDs to use for PVC training. Sending a new list will replace any previously selected speakers for this sample.
trim_end_timeintegerThe end time of the audio segment to use for PVC training, specified in milliseconds from the beginning of the file.
trim_start_timeintegerThe 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.

ParameterTypeDescription
sample_id *stringThe unique identifier of the sample to be deleted from the voice.
voice_id *stringThe 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.

ParameterTypeDescription
sample_id *stringThe unique identifier of the specific voice sample to retrieve.
voice_id *stringThe unique identifier of the voice whose sample audio you want to retrieve.
remove_background_noisebooleanEnable 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.

ParameterTypeDescription
sample_id *stringThe unique identifier of the voice sample whose waveform you want to retrieve.
voice_id *stringThe 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.

ParameterTypeDescription
sample_id *stringThe unique identifier of the voice sample undergoing speaker separation analysis.
voice_id *stringThe 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.

ParameterTypeDescription
sample_id *stringThe unique identifier of the audio sample to be processed for speaker separation.
voice_id *stringThe 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.

ParameterTypeDescription
sample_id *stringThe unique identifier of the sample within the specified voice.
speaker_id *stringThe 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 *stringThe 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.

ParameterTypeDescription
voice_id *stringThe unique identifier of the voice to train. You can retrieve available voices from the voices list endpoint.
model_idstringThe 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.

ParameterTypeDescription
files *arrayBase64-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 *stringThe unique identifier of the voice to be verified. Use the voices list endpoint to retrieve available voice IDs.
extra_textstringOptional additional context or information to support the verification request, such as clarification about the voice or usage intent.