AsyncAPI channel · xAI · xAI Realtime WebSocket APIs

stt/audio

Client streams audio to the STT server. Audio is sent as binary WebSocket frames containing raw PCM (16-bit signed little-endian), mu-law, or A-law samples matching the `encoding` query parameter. Recommended chunk size for 16 kHz PCM is ~100 ms (3,200 bytes).

Provider: xAI AsyncAPI: v2.6.0 Spec: xAI Realtime WebSocket APIs Operations: 1 Messages: 1

Channel address

stt/audio

Operations

publish
sttSendAudioChunk
Stream a chunk of raw audio to the STT engine.

Messages

SttAudioChunk
A binary WebSocket frame carrying raw audio samples.
Content-Type: application/octet-stream

About AsyncAPI

The AsyncAPI specification describes event-driven APIs the way OpenAPI describes request/response APIs. A channel is the named pipe — a webhook URL, a Kafka topic, a WebSocket route, an MQTT subject — that producers and consumers publish or subscribe to. Each channel carries one or more messages with structured payloads, and an operation declares whether a given party sends or receives on that channel.

Browse every event-driven channel on the APIs.io network or compare with the broader Naftiko capability, Agent Skill, and MCP server surfaces of the same providers.