SpyBara
Go Premium

Documentation 2026-10-22 23:59 UTC to 2026-10-23 23:57 UTC

3 files changed +33 −7. View all changes and history on the product overview
2026
Sat 31 23:59 Fri 30 23:58 Thu 29 23:01 Wed 28 23:01 Tue 27 23:58 Mon 26 22:57 Sun 25 22:58 Sat 24 23:59 Fri 23 23:57 Thu 22 23:59 Wed 21 23:02 Tue 20 23:01 Mon 19 23:59 Sun 18 23:57 Sat 17 23:58 Fri 16 22:57 Thu 15 23:58 Wed 14 23:01 Tue 13 23:59 Mon 12 23:02 Sun 11 23:58 Sat 10 23:59 Fri 9 23:59 Thu 8 23:58 Wed 7 23:59 Tue 6 22:57 Mon 5 22:59 Sun 4 23:58 Sat 3 23:58 Fri 2 23:57 Thu 1 23:57
Details

139 139 

140When using the Speech to Speech API over SIP, phone keypresses (DTMF tones) are automatically buffered and flushed to the model as text input. The client receives `input_audio_buffer.dtmf_event_received` events as an audit trail of each keypress.140When using the Speech to Speech API over SIP, phone keypresses (DTMF tones) are automatically buffered and flushed to the model as text input. The client receives `input_audio_buffer.dtmf_event_received` events as an audit trail of each keypress.

141 141 

142To let the agent press keys itself, for example to navigate a phone menu, add `{"type": "function", "name": "send_dtmf"}` without `parameters` to `tools` in `session.update`; the API supplies the schema and sends the tones, so do not reply to `send_dtmf` function calls.

143 

142### Flush triggers144### Flush triggers

143 145 

144Buffered digits are submitted to the model when any of the following occurs:146Buffered digits are submitted to the model when any of the following occurs:

Details

86 86 

87## Supported Languages87## Supported Languages

88 88 

89`grok-voice-transcribe-2.0` transcribes 38+ languages, including every language listed below. It detects the spoken language automatically and follows switches partway through a recording, so `language` is optional. When you know what's being spoken, set `language` to its code and the model leans toward that language when the audio is ambiguous.89`grok-voice-transcribe-2.0` transcribes 38+ languages, including every language listed below.

90 

91* The model detects the spoken language automatically.

92* It follows language switches partway through a recording, so `language` is optional.

93* When you know what's being spoken, set `language` to its code. The model then leans toward that language when the audio is ambiguous.

90 94 

91| Language | Code | | Language | Code |95| Language | Code | | Language | Code |

92|----------|------|-|----------|------|96|----------|------|-|----------|------|


110| Hungarian | `hu` | | Urdu | `ur` |114| Hungarian | `hu` | | Urdu | `ur` |

111| Indonesian | `id` | | Vietnamese | `vi` |115| Indonesian | `id` | | Vietnamese | `vi` |

112 116 

113Spanish, Portuguese, and Arabic also accept regional codes. `es` means Mexican Spanish (`es-MX`), `pt` means Brazilian Portuguese (`pt-BR`), and `ar` means Egyptian Arabic (`ar-EG`). Pass `es-ES` or `pt-PT` for the European variants, or `ar-AE` or `ar-SA` for Emirati or Saudi Arabic.117Spanish, Portuguese, and Arabic also accept regional codes:

118 

119| Language | Base code | Regional codes |

120|----------|-----------|----------------|

121| Spanish | `es` (Mexican Spanish, `es-MX`) | `es-ES` (European Spanish) |

122| Portuguese | `pt` (Brazilian Portuguese, `pt-BR`) | `pt-PT` (European Portuguese) |

123| Arabic | `ar` (Egyptian Arabic, `ar-EG`) | `ar-AE` (Emirati Arabic), `ar-SA` (Saudi Arabic) |

124 

125Text formatting (`format=true`) writes spoken numbers, currencies, and units in their written form. It works in these languages:

126 

127* Arabic

128* Chinese (Mandarin)

129* English

130* French

131* German

132* Japanese

133* Portuguese

134* Russian

135* Spanish

136* Swedish

137* Vietnamese

114 138 

115Text formatting (`format=true`) writes spoken numbers, currencies, and units in their written form in Arabic, Chinese (Mandarin), English, French, German, Japanese, Portuguese, Russian, Spanish, Swedish, and Vietnamese. Formatting follows the `language` code, so pass both. In other languages, `format=true` has no effect.139Formatting follows the `language` code, so pass both. In other languages, `format=true` has no effect.

116 140 

117## Request Body141## Request Body

118 142 


206 230 

207* **Max file size:** 500 MB231* **Max file size:** 500 MB

208* **Channels:** Mono, stereo, or up to 8 channels (with `multichannel=true`)232* **Channels:** Mono, stereo, or up to 8 channels (with `multichannel=true`)

209* **Sample rates:** 8000, 16000, 22050, 24000, 44100, 48000 Hz233* **Sample rates:** `8000`, `16000`, `22050`, `24000`, `44100`, `48000` Hz

210 234 

211## Streaming Speech-to-Text (WebSocket)235## Streaming Speech-to-Text (WebSocket)

212 236 

rate-limits.md +3 −3

Details

41| grok-4.20-0309-non-reasoning | T0: 37, T1: 50, T2: 75, T3: 125, T4: 208 | T0: 10M, T1: 15M, T2: 25M, T3: 45M, T4: 85M |41| grok-4.20-0309-non-reasoning | T0: 37, T1: 50, T2: 75, T3: 125, T4: 208 | T0: 10M, T1: 15M, T2: 25M, T3: 45M, T4: 85M |

42| grok-build-0.1 | T0: 37, T1: 50, T2: 75, T3: 125, T4: 208 | T0: 10M, T1: 15M, T2: 25M, T3: 45M, T4: 85M |42| grok-build-0.1 | T0: 37, T1: 50, T2: 75, T3: 125, T4: 208 | T0: 10M, T1: 15M, T2: 25M, T3: 45M, T4: 85M |

43| grok-4.20-multi-agent-0309 | T0: 9, T1: 12, T2: 18, T3: 31, T4: 56 | T0: 2.5M, T1: 3.7M, T2: 6.2M, T3: 11M, T4: 21M |43| grok-4.20-multi-agent-0309 | T0: 9, T1: 12, T2: 18, T3: 31, T4: 56 | T0: 2.5M, T1: 3.7M, T2: 6.2M, T3: 11M, T4: 21M |

44| grok-imagine-image-quality | T0: 6, T1: 12, T2: 25, T3: 50, T4: 100 | — |

45| grok-imagine-image | T0: 6, T1: 12, T2: 25, T3: 50, T4: 100 | — |44| grok-imagine-image | T0: 6, T1: 12, T2: 25, T3: 50, T4: 100 | — |

46| grok-imagine-image-2.0 | T0: 6, T1: 12, T2: 25, T3: 50, T4: 100 | — |45| grok-imagine-image-2.0 | T0: 6, T1: 12, T2: 25, T3: 50, T4: 100 | — |

47| grok-imagine-video-1.5 | T0: 10, T1: 20, T2: 39, T3: 79, T4: 158 | — |46| grok-imagine-image-quality | T0: 6, T1: 12, T2: 25, T3: 50, T4: 100 | — |

48| grok-imagine-video-1.5-lite | T0: 10, T1: 20, T2: 39, T3: 79, T4: 158 | — |

49| grok-imagine-video | T0: 10, T1: 20, T2: 39, T3: 79, T4: 158 | — |47| grok-imagine-video | T0: 10, T1: 20, T2: 39, T3: 79, T4: 158 | — |

48| grok-imagine-video-1.5-lite | T0: 10, T1: 20, T2: 39, T3: 79, T4: 158 | — |

49| grok-imagine-video-1.5 | T0: 10, T1: 20, T2: 39, T3: 79, T4: 158 | — |

50 50 

51**Voice & Audio**51**Voice & Audio**

52 52