Create a sidecar WebSocket audio relay
Authentication
Path parameters
Session identifier.
Headers
Request
WebSocket audio relay configuration. Shared by POST /v1/sessions/{uuid}/websocket-relay and
the websocket block of POST /v1/sessions:connectWebsocket. Audio in both
directions is raw signed 16-bit linear PCM, little-endian and mono, carried
in binary WebSocket frames. Do not include a WAV header.
Audio formats in both directions. from_session is audio sent from the
session to the WebSocket server; to_session is audio sent from the
WebSocket server to the session.
WebSocket relay URL. Both ws:// and wss:// URLs are accepted.
The host must resolve to a permitted public address.
Optional command correlation UUID. Reuse it within 10 minutes only when retrying the same pause, resume, or relative-seek admission; reuse for a different command is rejected. It is not a general idempotency key or a resource name.
If true, the user’s audio is not sent to the WebSocket server until websocket-relay/unmute.
Response
Optional. Set to true on idempotent terminal commands when the session was already in a terminal state at the time the request was received. Absent otherwise.