AsyncAPI channel · xAI
· xAI Realtime WebSocket APIs
realtime/client
Client-to-server events for the voice agent: session configuration, conversation item creation, response requests, and input audio buffer management.
Channel address
realtime/client
Operations
publish
realtimeSendClientEvent
Send a client event to the voice agent.
Messages
RtSessionUpdate
Configure the voice session.
Content-Type:
RtConversationItemCreate
Add a message or function output to the conversation.
Content-Type:
RtResponseCreate
Request the model to generate a response.
Content-Type:
RtInputAudioBufferAppend
Append base64-encoded audio to the input buffer.
Content-Type:
RtInputAudioBufferCommit
Mark the end of audio input for manual turn detection.
Content-Type:
RtInputAudioBufferClear
Discard uncommitted audio from the input buffer.
Content-Type:
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.