GET
/
ws
/
stream
Streams audio to the speech service via WebSocket.
curl --request GET \
  --url https://sdp.suki-stage.com/ws/stream \
  --header 'ambient_session_id: <ambient_session_id>' \
  --header 'sdp_suki_token: <sdp_suki_token>'
"<string>"

Headers

Sec-WebSocket-Protocol
string

Required FOR BROWSER CLIENTS ONLY. Sent during WebSocket handshake. Format: 'SukiAmbientAuth <ambient_session_id> <sdp_suki_token>'

sdp_suki_token
string
required

Required FOR NON-BROWSER CLIENTS ONLY: The SDP Suki token. Sent as a standard header with the initial upgrade request.

ambient_session_id
string
required

Required FOR NON-BROWSER CLIENTS ONLY: The ambient session ID. Sent as a standard header with the initial upgrade request.

Response

101
application/json

Switching Protocols - Indicates successful WebSocket handshake." // Standard successful WS upgrade response

The response is of type string.