WebSocket
Handshake
Headers
Query parameters
Target language as an ISO 639 code (e.g. de, es, fr, zh).
Source language as an ISO 639 code. When omitted the server auto-detects the spoken language.
This parameter controls text normalization with three modes: ‘auto’, ‘on’, and ‘off’. When set to ‘auto’, the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With ‘on’, text normalization will always be applied, while with ‘off’, it will be skipped.
Optional client-defined session identifier for tracking purposes.
When enable_zrm is set to true, zero retention mode will be used for the request. Sensitive content (transcripts, translations, and TTS text) is not written to application logs or session history. Zero retention mode may only be used by enterprise customers.
Send
Receive
Base64-encoded audio of the translated speech.
An input message could not be handled; check the message format.
Translation failed for a segment; the session continues.
Audio output for a segment failed or was dropped; the session continues.
The workspace is out of credits; the session is closed.
The workspace has a payment issue or is suspended; the session is closed.
The workspace has not accepted terms required for this feature; the session is closed.