Messages
Websockets
STT Realtime
WebSocket Real-time Speech-to-Text Channel
Through this channel, clients can:
- Send initialization messages to configure recognition parameters
- Send audio data streams for real-time speech recognition
- Send command messages to control recognition flow
- Receive recognition results (partial and final results)
Connection:
- Authentication via header:
X-Api-Key: YOUR_API_KEY - Authentication via query:
?token=YOUR_API_KEY
Message Format:
All messages are in JSON format, containing a type field to identify the message type
WSS
Messages