Stream real-time transcription with AssemblyAI v3 using current model IDs and message event names

domain: assemblyai.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Connect to the AssemblyAI v3 WebSocket endpoint: wss://streaming.assemblyai.com/v3/ws with your API key and the speech_model query parameter set to a supported identifier: universal-streaming-english, universal-streaming-multilingual, or u3-rt-pro.
  2. On connection, receive the Begin message containing the session_id and token expiry; log these for debugging.
  3. Stream raw audio frames to the WebSocket; handle SpeechStarted messages that signal audio activity before a transcript is ready.
  4. Receive Turn messages containing the transcript string, end_of_turn boolean, and utterance details for each completed speech segment.
  5. Send a terminate_session message and wait for the Termination confirmation message before closing the WebSocket connection.

Known gotchas

Related routes

Transcribe real-time audio with AssemblyAI Universal-Streaming via the v3 WebSocket endpoint
assemblyai.com · 5 steps · unrated
Onboard a model to Fiddler and stream production events for real-time ML monitoring
docs.fiddler.ai · 5 steps · unrated
Stream real-time CNC machine state and cycle events out of MachineMetrics using Workflow webhooks
machinemetrics.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans