Create speech engine

Create a new Speech Engine resource

Headers

xi-api-keystringOptional

Request

This endpoint expects an object.
speech_engineobjectRequired
Speech engine WebSocket configuration
namestringOptionalDefaults to Speech Engine
Name of the speech engine
asrobjectOptional
ASR configuration
ttsobjectOptional
TTS configuration
turnobjectOptional
Turn detection configuration
conversationobjectOptional

Conversation configuration (client events, etc.)

privacyobjectOptional

Privacy settings (recording, retention, zero retention mode)

call_limitsobjectOptional
Concurrency and daily conversation limits for this speech engine
languagestringOptionalDefaults to en
Language for the speech engine
tagslist of stringsOptional
Tags for categorization
overridesobjectOptional
Override settings the client may set during conversation initiation

Response

Successful Response
speech_engine_idstring
The speech engine resource ID
namestring

Human-readable name for the speech engine

speech_engineobject
WebSocket connection settings for the upstream transcript server
asrobject
Automatic speech recognition configuration
ttsobject

Text-to-speech output configuration

turnobject
Turn detection configuration
conversationobject

Conversation-level settings including client events and duration limits

privacyobject
Privacy settings controlling recording, retention, and PII handling
call_limitsobject
Concurrency and daily conversation limits for this speech engine
languagestring

ISO language code used by the speech engine (e.g. ‘en’)

tagslist of strings
Arbitrary tags for categorization and filtering
overridesobject
Override settings the client may set during conversation initiation
metadataobject
Creation and update timestamps with source information

Errors

422
Unprocessable Entity Error