Optionalchannels?: numberThe channel count (1 for mono, 2 for stereo). Required for raw PCM audio; ignored for WAV.
Optionalconversation_Prior turns from the same conversation, oldest first, most recent last. A single string is treated as one turn. Capped at 100 turns and 4096 characters in total — over-cap context is trimmed (oldest turns dropped first), not rejected.
Optionalkeyterms_Terms to bias the decoder towards. Whitespace is stripped and empty terms are dropped. Maximum 2048 characters in total — longer lists are rejected.
Optionallanguage_ISO 639-1 codes for the language(s) of the audio — a single-element
array (e.g. ["es"]) for monolingual audio, or several codes (e.g.
["en", "es"]) for multilingual audio. Ignored when prompt is set.
Defaults to English.
Optionalmodel?: SyncSpeechModelThe sync speech model to route to, sent as the X-AAI-Model header.
Defaults to "universal-3-5-pro".
Optionalprompt?: stringCustom transcription instruction. Maximum 4096 characters — longer prompts are rejected.
Optionalsample_The source sample rate in Hz. Required for raw PCM audio; ignored for WAV.
Optionaltimestamps?: booleanWhether to compute per-word start/end timestamps. When true,
words carry accurate timestamps at a small latency cost. Defaults to
false: no timestamps are returned.
Options for a synchronous transcription request.
sample_rateandchannelsare required only for raw PCM audio — WAV carries them in its header.modelis sent as theX-AAI-Modelrouting header and is never included in the request body.