Skip to main content
Learn how to choose the correct streaming wire format for your product and modality. Both Ambient/Form filling and Dictation use JSON text frames only (one JSON object per send).
Do not send raw binary audio frames.
To choose between Ambient and Dictation, refer to Ambient vs Dictation streaming guide.

Ambient/Form filling Wire Format

Outbound GET /ws/stream messages: START_TIME, AUDIO with data, EVENT, and the RU9G end marker. Form filling uses the same Ambient wire format on this socket.

Dictation Wire Format

Outbound GET /ws/transcribe messages: AUDIO with audioData, then EVENT with AUDIO_END. No START_TIME and no RU9G.
To learn about what’s common and different between Ambient/Form filling and Dictation streaming architecture, refer to Streaming architecture for more information.

Stream Ambient Audio

How Ambient streaming works, JSON text rules, and when to use /ws/stream.

Stream Dictation Audio

How Dictation streaming works, prerequisites, and when to use /ws/transcribe.

Audio Capture Best Practices

Capture format, environment, gain, and network readiness before you stream.

Dictation Transcript Frames

Inbound partial and final transcript frames for /ws/transcribe.

Complete the Session

Close the socket, end with REST, and troubleshoot common errors.

Next steps

Open Ambient streaming wire format for /ws/stream message shapes and chunking. Open Dictation streaming wire format for /ws/transcribe message shapes and chunking. Follow Complete the session after streaming to close the socket, end the session, and troubleshoot errors.
Last modified on August 13, 2026