Frames you send
object
required
First frame. Must carry
"v2": true, and may set voice and language for
the connection.object
One sentence of a turn. Carries
context_id and continue.object
Drops a turn — queued and in-flight — and replies
cancelled instead of
end.object
Keepalive. Answered with
pong.Frames you receive
object
Sample rate, channels, encoding, session id. Arrives after your
start.object
Base64 PCM, tagged with its
context_id.object
Exactly one per closed turn.
object
Sent instead of
end when a turn was cancelled.