GET

/v1/schemas/fal/audio/xai/grok-voice/realtime?kind=output

kind outputactivity audiohash 40683966…extracted Sep 17, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.

upstream-spec

Source trace
8f1443b00cc030aaf1181486a2d11b4e0f29125779bdaccbcb2e9fb3e7b0c5dc
{
  "fetchedAt": 1789621307,
  "extractorVersion": "1",
  "verifiedAt": null
}

Response body

5 properties · 1 required · 6 $defs
propertytypedescriptionconstraints
type*stringxAI realtime event type (e.g. 'session.update', 'input_audio_buffer.append', 'response.create', 'response.output_audio.delta'). Events are relayed verbatim in both directions.
promptstringSystem instructions describing the agent's persona and conversation context. Uses Grok's default persona when omitted.length ≤ 20000 · nullable
turn_detectionGrokTurnDetectionConfigurationxAI server-side voice activity detection (server_vad) tuning.nullable
toolsGrokToolsConfigurationTyped xAI tools supported by this app's convenience configuration.nullable
voiceenumBuilt-in xAI voice for the agent's speech. Uses Grok's default voice when omitted.carina | zagan | helix | orion | luna | iris · +22 more · nullable

Types

6 $defs

GrokRemoteMCPToolobject

A caller-selected remote MCP server that xAI will connect to.

server_descriptionstringDescription of the capabilities exposed by this server.length ≤ 2000 · nullable
enabledbooleanFalse omits this server.default: true
authorizationstringSensitive authorization value forwarded only to xAI.format: password · nullable
headersobjectSensitive MCP request headers forwarded only to xAI.nullable
allowed_toolsstring[]Optional allow-list of tool names exposed from this server.items ≥ 1 · nullable
server_url*stringCaller-selected HTTP(S) MCP endpoint. xAI makes the remote connection and supports Streaming HTTP/SSE transports. Use at your own risk; fal does not connect to or SSRF-fetch this URL.length ≥ 1 · format: uri
server_label*stringLabel xAI uses to identify and prefix this server's tools.length ≥ 1 · length ≤ 128

GrokSearchLocationobject

countrystringCountry used to localize web-search results.length ≥ 1 · length ≤ 128 · nullable
citystringCity used to localize web-search results.length ≥ 1 · length ≤ 128 · nullable
timezonestringIANA timezone name, for example America/New_York.length ≥ 1 · length ≤ 128 · nullable
regionstringRegion used to localize web-search results.length ≥ 1 · length ≤ 128 · nullable

GrokToolsConfigurationobject

Typed xAI tools supported by this app's convenience configuration.

x_searchGrokXSearchToolxAI-managed X search; off unless enabled is set true.
web_searchGrokWebSearchToolxAI-managed web search; off unless enabled is set true.
mcp_serversGrokRemoteMCPTool[]Remote MCP servers that xAI connects to and executes.

GrokTurnDetectionConfigurationobject

xAI server-side voice activity detection (server_vad) tuning.

thresholdnumberVAD activation threshold; higher values require louder audio.0.1 ≤ n ≤ 0.9 · nullable
prefix_padding_msintegerAudio retained before detected speech, in milliseconds.0 ≤ n ≤ 10000 · nullable
idle_timeout_msintegerIdle time after an assistant response before xAI starts a proactive turn, in milliseconds.n ≥ 0 · nullable
silence_duration_msintegerSilence duration that ends a detected turn, in milliseconds.0 ≤ n ≤ 10000 · nullable

GrokWebSearchToolobject

Configuration for one xAI web_search tool declaration.

enabledbooleanWhether to include web_search in session.tools. Disabled by default; set true to let the agent search the web.default: false
enable_image_understandingbooleanAllow the agent to inspect images found during web search.nullable
locationGrokSearchLocationOptional location used to localize search results.nullable
excluded_domainsstring[]Exclude results from at most five domains, without protocol or path.items ≥ 1 · items ≤ 5 · nullable
allowed_domainsstring[]Restrict results to at most five domains, without protocol or path.items ≥ 1 · items ≤ 5 · nullable

GrokXSearchToolobject

Configuration for one xAI x_search tool declaration.

from_datestringEarliest post date, as ISO YYYY-MM-DD.format: date · nullable
enabledbooleanWhether to include x_search in session.tools. Disabled by default; set true to let the agent search X posts.default: false
enable_video_understandingbooleanAllow the agent to inspect videos found on X.nullable
enable_image_understandingbooleanAllow the agent to inspect images found on X.nullable
excluded_x_handlesstring[]Exclude posts from at most 20 X handles.items ≥ 1 · items ≤ 20 · nullable
allowed_x_handlesstring[]Restrict results to posts from at most 20 X handles.items ≥ 1 · items ≤ 20 · nullable
to_datestringLatest post date, as ISO YYYY-MM-DD.format: date · nullable

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"fal","endpointId":"xai/grok-voice/realtime","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}