{ "type": "<string>", "language": "<string>", "format": "<string>", "sample_rate": 123, "enable_timestamps": true, "enable_language_detection": true}
{ "type": "<string>", "data": "<string>"}
{ "type": "<string>", "command": "<string>"}
{ "type": "<string>", "request_id": "<string>", "language": "<string>", "format": "<string>", "sample_rate": 123}
No examples found
{ "type": "<string>", "request_id": "<string>"}
{ "type": "<string>", "error": "<string>", "code": "<string>", "request_id": "<string>"}
WebSocket Real-time Speech-to-Text Channel
Through this channel, clients can:
Connection:
X-Api-Key: YOUR_API_KEY
?token=YOUR_API_KEY
Message Format: All messages are in JSON format, containing a type field to identify the message type
type
API Key passed as query parameter, e.g. ?token=YOUR_API_KEY