AsyncAPI channel · AssemblyAI
· AssemblyAI Universal Streaming Speech-to-Text API
/v3/ws
Single full-duplex WebSocket channel for a Universal Streaming session.
The client publishes binary PCM audio chunks and JSON control messages,
and subscribes to JSON event messages emitted by the server.
First event sent by the server after the session is established.
Content-Type:
Turn
A streaming transcription turn with word-level timings.
Content-Type:
SpeechStarted
Voice activity detected the start of speech.
Content-Type:
SpeakerRevision
Offline correction to a previously-emitted Turn's speaker labels.
Content-Type:
LLMGatewayResponse
Response from the optional in-band LLM gateway.
Content-Type:
Warning
Non-fatal server warning.
Content-Type:
Error
Server error event (see `StreamingErrorCodes` for the catalog).
Content-Type:
Termination
Final event acknowledging session shutdown.
Content-Type:
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.
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.