WebSocket endpoint for real-time audio streaming during ambient sessions
Use this API to stream audio to the speech service via WebSocket connection. To stream audio, you must first establish an authenticated WebSocket connection. The authentication method you use depends on your client type.Documentation Index
Fetch the complete documentation index at: https://developer.suki.ai/llms.txt
Use this file to discover all available pages before exploring further.
Sec-WebSocket-Protocol header during the WebSocket handshake.
The header must specify the SukiAmbientAuth protocol, followed by the session ID and the token in the following format:
sdp_suki_token: Your Suki token.
ambient_session_id: The ID for the current .
Required FOR BROWSER CLIENTS ONLY. Sent during WebSocket handshake. Format: 'SukiAmbientAuth <ambient_session_id> <sdp_suki_token>'
Required FOR NON-BROWSER CLIENTS ONLY: The SDP Suki token. Sent as a standard header with the initial upgrade request.
Required FOR NON-BROWSER CLIENTS ONLY: The ambient session ID. Sent as a standard header with the initial upgrade request.
Switching Protocols - Indicates successful WebSocket handshake." // Standard successful WS upgrade response
The response is of type string.