AsyncAPI channel · Cartesia · Cartesia Realtime WebSocket API (TTS + STT)

/stt/websocket

Realtime speech-to-text without automatic turn detection. The client streams binary audio frames (100ms chunks recommended) and sends text commands (`finalize`, `close`) to control finalization; the server returns incremental and final transcript messages. The connection-level query parameters `model`, `encoding`, and `sample_rate` are required and cannot be changed mid-connection. The `/stt/turns

Provider: Cartesia AsyncAPI: v2.6.0 Spec: Cartesia Realtime WebSocket API (TTS + STT) Operations: 2 Messages: 7

Channel address

/stt/websocket

Operations

publish
sendSttAudioAndCommands
Stream binary audio frames and send finalize/close commands.
receiveSttTranscripts
Receive incremental/final transcripts and control messages.

Messages

SttAudioFrame
Binary audio frame
Content-Type: application/octet-stream
SttFinalizeCommand
Finalize command
Content-Type: text/plain
SttCloseCommand
Close command
Content-Type: text/plain
SttTranscript
Transcript chunk
Content-Type: application/json
SttFlushDone
Finalize acknowledgement
Content-Type: application/json
SttDone
Close acknowledgement
Content-Type: application/json
SttError
Error response
Content-Type: application/json

About AsyncAPI

The AsyncAPI specification describes event-driven APIs the way OpenAPI describes request/response APIs. A channel is the named pipe — a webhook URL, a Kafka topic, a WebSocket route, an MQTT subject — that producers and consumers publish or subscribe to. Each channel carries one or more messages with structured payloads, and an operation declares whether a given party sends or receives on that channel.

Browse every event-driven channel on the APIs.io network or compare with the broader Agent Skill and MCP server surfaces of the same providers.

Work with this as data

Every channel here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for event channels

4 MCP tools reach this
  • find_channelsBrowse and filter every channel in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This channel
curl "https://apis.io/api/v1/channels/stt-websocket"
All event channels
curl "https://apis.io/api/v1/channels?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.