Enabling diarization
Diarization is available on the WebSocket streaming endpoint. Set both fields intranscribeConfig:
Set
includeWordTimestamps together with enableSpeakerDiarization — speaker labels are attached to word timestamps, not to the turn-level transcript.Reading speaker labels
Each word inwordTimestamps carries a speaker identifier:
Numbering varies by provider: AssemblyAI starts at 0, Soniox at 1.
speaker value. Words may occasionally arrive without a label; treat those as unattributed rather than assuming a speaker.
Model support
Next steps
WebSocket API Reference
Full message and configuration schema for the streaming endpoint.
Turn Detection
Detect when a speaker has finished talking.