Skip to main content

Lifecycle

The server responds with ready, then one or more audio and text messages, and finally end_of_stream. See WebSocket Lifecycle for connection behavior, reusable sockets, browser tokens, and errors.

Client Messages

setup

text

end_of_stream

Server Messages

ready

audio

text

Terminal messages

Error

Headers

x-api-key
string
required

Your Gradium API key

Response

101

WebSocket connection established