Skip to content
For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation

Translations

Connect
WebSocket
/realtime/translations
Models
ConnectClientEvent = RealtimeTranslationSessionUpdateEvent { session, type, event_id } | RealtimeTranslationInputAudioBufferAppendEvent { audio, type, event_id } | RealtimeTranslationSessionCloseEvent { type, event_id }

A Realtime translation client event.

TranslationsClient Secrets

Create translation client secret
client.realtime.translations.clientSecrets.create(body, options?): RealtimeTranslationClientSecretCreateResponse { expires_at, session, value }
POST
/realtime/translations/client_secrets