xAI Docs release notes
No pages were added or removed. Documentation updates across five developer pages:
Voice agent
- Documented audio transport options: codec (
format) is separate from wire path (transport). Input/output can use"json"(default, base64) or"binary"(raw codec bytes on WebSocket binary frames), with dual-accept for input and strict output at response boundaries. - Added Opus (
audio/opus) as a supported codec (24 kHz mono, one raw packet per payload). - Expanded session parameter tables for
audio.input.transport/audio.output.transportand codec types. - Updated send/receive examples for binary PCM (and Opus) without base64.
- Documented Web Search and X Search tool parameters for voice sessions (domains, location, handles, date windows, image/video understanding), including invalid-config error behavior.
Security (Zero Data Retention)
- Reworked the ZDR FAQ: clearer default 30-day retention language and a strong guidance note that most customers should not enable ZDR.
- Replaced “How it works” / “Considerations” with a full features not supported under ZDR table (request logging, stored image/video outputs, voice history, Batch, Collections, deferred completions, Files, stateful Responses API).
- Documented self-serve enable/disable in Console Team Settings (admin steps, file/collection cleanup, acknowledgments) and how to confirm ZDR is active (settings badge, team picker,
x-zero-data-retentionheader, audit logs).
Tools (advanced usage)
- Corrected agentic tool-calling examples so server-side tool items (
web_search_call,x_search_call, etc.) log type-specific fields (e.g.action) instead of client-stylename/arguments.
API reference & SIP
- Auth (secret rotation): clarified that
oldSecretExpireTimedefaults to 24 hours from now when not set for non-expired keys. - Voice agent SIP: clarified that provisioning xAI phone numbers via API is not supported; webhook signing secret is returned in the response for Direct SIP / BYO trunk setup.