Generate Speech
/v1/audio/speechOverview
Generate speech with an exact provider model or tts/auto.
Routing and provider details
Responses stream binary audio unless a supported provider transport explicitly returns JSON. Native voice IDs are accepted for exact models; tts/auto chooses a portable voice. Model-specific formats, languages and limits are exposed in the catalog. Published provider tariffs minus 15% apply before account credits. Reservations precede provider calls and native completion settles usage.
MiniMax speech-2.8, speech-2.6 and speech-02 HD/Turbo support background jobs using the -async model suffix and ?async=true, up to 50,000 characters. The 202 response contains the request ID. Poll GET /v1/audio/speech/{id} with the same API key to download the completed result; it expires after 24 hours. Async requests require a healthy worker and workspace audio storage.
Azure neural and neural-hd-flash accept their corresponding native voice IDs. Alibaba CosyVoice 3.5 requires a provisioned custom voice and a separately configured Beijing credential; Singapore credentials are not interchangeable.
Parameters
asyncquery · stringQueue a supported MiniMax -async model instead of waiting.
Request Body
modelstringRequiredExact provider/model slug or a managed TTS alias. Preview, mutable, compatibility-only, and estimated-price models require exact selection unless tts/auto feature routing explicitly ranks them.
featurestringCase-sensitive TTS routing capability. Valid only with model="tts/auto"; eligible models are tried in feature rank order.
Values: "Acting""Expressiveness""Voice identity""Language stability""Reliability""Extended long-form""Long-form""Acoustic quality"
inputstringRequiredvoicestring | objectRequiredShow nested fields
Option 1: string
Provider-native voice ID/name, or auto where the selected model has a default. resemble/chatterbox-turbo requires a custom DeepInfra voice ID and rejects auto.
Option 2: object
idstringRequiredresponse_formatstringSupported values are model-specific; inspect the selected model's endpoint limits. Gemini 2.5 TTS accepts only wav or pcm.
Values: "mp3""ogg""opus""aac""flac""wav""pcm""ulaw""alaw""json"
Default: "mp3"
speednumberDefault: 1
Minimum 0.25 · Maximum 4
instructionsstringlanguagestringproviderobjectShow nested fields
orderstring[]Show nested fields
string
onlystring[]Show nested fields
string
ignorestring[]Show nested fields
string
modelsstring[]Model ID patterns allowed for managed routes. Supports * wildcards.
Show nested fields
string
sortstringValues: "price""latency""quality""balanced"
cost_qualityintegerBalanced-sort weighting from quality (0) to cost (10).
Minimum 0 · Maximum 10
allow_fallbacksbooleanmax_priceobjectShow nested fields
per_1k_charsnumberMinimum 0
data_regionstring | string[]Route only to endpoints documented as processing in this region: us, eu (which includes EU member states), or a country code such as nl, sg, in or cn. A list matches any of its regions. Endpoints whose region is global or unknown never match; global on its own means no requirement. The request's region narrows the workspace's Data Region and a named router's region policy, and never widens them. Fallbacks keep to it. When no endpoint qualifies, the request is refused with 400 data_region_unavailable, param provider.data_region.
Show nested fields
Option 1: string
string
Option 2: string[]
See the OpenAPI schema for this nested object.
regionstring[]The older name of data_region, with the same meaning.
Show nested fields
string
optionsobjectShow nested fields
alibabaobjectShow nested fields
transportstringHTTP only. File returns Alibaba's hosted WAV; SSE streams base64 24 kHz PCM, which AudioLab can return directly or transcode.
Values: "file""sse"
language_typestringValues: "Auto""Chinese""English""German""Italian""Portuguese""Spanish""Japanese""Korean""French""Russian"
optimize_instructionsbooleanQwen3 TTS Instruct models only. Requires common instructions and asks Alibaba to rewrite them for natural delivery.
modestringWebSocket only. Server commit balances latency and quality; commit requires explicit input_text_buffer.commit events.
Values: "server_commit""commit"
Default: "server_commit"
sample_rateintegerWebSocket only.
Values: 8000160002400048000
Default: 24000
speech_ratenumberWebSocket only. Overrides common speed.
Minimum 0.5 · Maximum 2
volumeintegerWebSocket only.
Minimum 0 · Maximum 100
pitch_ratenumberWebSocket only.
Minimum 0.5 · Maximum 2
bit_rateintegerWebSocket Opus output only, in kbps.
Minimum 6 · Maximum 510
openaiobjectShow nested fields
stream_formatstringNative OpenAI stream envelope. SSE is available only on GPT-4o mini TTS models and is passed through as text/event-stream.
Values: "audio""sse"
Default: "audio"
amazonobjectShow nested fields
language_codestringValues: "arb""cmn-CN""cy-GB""da-DK""de-DE""en-AU""en-GB""en-GB-WLS""en-IN""en-US""es-ES""es-MX""es-US""fr-CA""fr-FR""is-IS""it-IT""ja-JP""hi-IN""ko-KR""nb-NO""nl-NL""pl-PL""pt-BR""pt-PT""ro-RO""ru-RU""sv-SE""tr-TR""en-NZ""en-ZA""ca-ES""de-AT""yue-CN""ar-AE""fi-FI""en-IE""nl-BE""fr-BE""cs-CZ""de-CH""en-SG"
lexicon_namesstring[]Show nested fields
See the OpenAPI schema for this nested object.
sample_rateintegerValid values depend on response_format. Opus is fixed at 48000; μ-law and A-law at 8000; PCM permits 8000 or 16000.
Values: 80001600022050240004410048000
speech_mark_typesstring[]Requires response_format=json and is unavailable on the generative engine.
Show nested fields
See the OpenAPI schema for this nested object.
text_typestringValues: "text""ssml"
Default: "text"
elevenlabsobjectShow nested fields
transportstringDefaults to stream, except WAV defaults to create because ElevenLabs streaming endpoints do not expose WAV.
Values: "create""create_with_timing""stream""stream_with_timing"
enable_loggingbooleanFalse requests ElevenLabs zero-retention mode; Enterprise only.
optimize_streaming_latencyinteger | nullMinimum 0 · Maximum 4
output_formatstringValues: "alaw_8000""mp3_22050_32""mp3_24000_48""mp3_44100_32""mp3_44100_64""mp3_44100_96""mp3_44100_128""mp3_44100_192""opus_48000_32""opus_48000_64""opus_48000_96""opus_48000_128""opus_48000_192""pcm_8000""pcm_16000""pcm_22050""pcm_24000""pcm_32000""pcm_44100""pcm_48000""ulaw_8000""wav_8000""wav_16000""wav_22050""wav_24000""wav_32000""wav_44100""wav_48000"
language_codestring | nullvoice_settingsobject | nullShow nested fields
See the OpenAPI schema for this nested object.
pronunciation_dictionary_locatorsarray | nullShow nested fields
See the OpenAPI schema for this nested object.
seedinteger | nullMinimum 0 · Maximum 4294967295
previous_textstring | nullnext_textstring | nullprevious_request_idsarray | nullShow nested fields
See the OpenAPI schema for this nested object.
next_request_idsarray | nullShow nested fields
See the OpenAPI schema for this nested object.
use_pvc_as_ivcbooleanapply_text_normalizationstringValues: "auto""on""off"
apply_language_text_normalizationbooleanCurrently supported by ElevenLabs for Japanese.
stabilitynumberAudioLab compatibility alias; prefer voice_settings.stability.
Minimum 0 · Maximum 1
similarity_boostnumberAudioLab compatibility alias; prefer voice_settings.similarity_boost.
Minimum 0 · Maximum 1
stylenumberAudioLab compatibility alias; prefer voice_settings.style.
Minimum 0 · Maximum 1
use_speaker_boostbooleanAudioLab compatibility alias; prefer voice_settings.use_speaker_boost.
cartesiaobjectShow nested fields
transportstringValues: "bytes""sse"
Default: "bytes"
output_formatobject | object | objectShow nested fields
See the OpenAPI schema for this nested object.
languagestring | nullShow nested fields
See the OpenAPI schema for this nested object.
pronunciation_dict_idstring | nullSonic 3 and newer, including Sonic 3.5.
generation_configobjectShow nested fields
See the OpenAPI schema for this nested object.
context_idstring | nullSSE only.
add_timestampsboolean | nullSSE only.
add_phoneme_timestampsboolean | nullSSE only.
use_normalized_timestampsboolean | nullSSE only.
deepinfraobjectShow nested fields
transportstringOpenAI-compatible raw audio, native metadata JSON, Kokoro native streaming, or DeepInfra's buffered/streaming ElevenLabs-compatible route.
Values: "openai""native_json""native_stream""elevenlabs""elevenlabs_stream"
Default: "openai"
service_tierstringOpenAI and native transports only.
Values: "default""priority""flex"
versionstringNative transports only; selects a specific DeepInfra model version.
language_codestringISO 639-1 code for ElevenLabs-compatible transports; must match common language when both are supplied.
webhookstringnative_json only; asks DeepInfra to notify this URL when inference completes.
kokoroobjectShow nested fields
See the OpenAPI schema for this nested object.
chatterboxobjectShow nested fields
See the OpenAPI schema for this nested object.
deepgramobjectShow nested fields
encodingstringNative output encoding. It must produce the common response_format together with container.
Values: "linear16""mulaw""alaw""mp3""opus""flac""aac"
containerstringwav/none for linear16, mulaw, and alaw; ogg for Opus; omitted for MP3, FLAC, and AAC.
Values: "none""wav""ogg"
sample_rateintegerConfigurable only for linear16, mu-law, A-law, and FLAC. MP3, Opus, and AAC use fixed provider rates and AudioLab omits this query parameter.
Values: 80001600022050240003200048000
bit_rateintegerMP3 accepts 32000/48000, Opus accepts 4000-650000, and AAC accepts 4000-192000.
Minimum 4000 · Maximum 650000
mip_opt_outbooleanExcludes this request from Deepgram's Model Improvement Program without a PAYG/Growth rate change as of March 5, 2026.
Default: false
tagstring | string[]One or more immutable Deepgram usage-reporting tags.
Show nested fields
See the OpenAPI schema for this nested object.
callbackstringAsynchronously sends generated audio to an HTTP(S) URL on port 80, 443, 8080, or 8443; the AudioLab response is Deepgram's immediate JSON request ID.
callback_methodstringRequires callback.
Values: "POST""PUT""post""put"
Default: "POST"
geminiobjectShow nested fields
transportstringGemini 3.1 supports all four transports. Gemini 2.5 supports unary interactions and generate_content only.
Values: "interactions""interactions_stream""generate_content""stream_generate_content"
Default: "interactions_stream"
speech_configobject[]Show nested fields
See the OpenAPI schema for this nested object.
response_formatobjectShow nested fields
See the OpenAPI schema for this nested object.
storebooleanInteractions only. Explicitly opt in to Google's interaction storage.
Default: false
max_output_tokensintegerMinimum 1 · Maximum 16384
seedintegerMinimum 0 · Maximum 4294967295
stop_sequencesstring[]Show nested fields
See the OpenAPI schema for this nested object.
temperaturenumberMinimum 0 · Maximum 2
top_pnumberMinimum 0 · Maximum 1
humeobjectShow nested fields
transportstringValues: "file""json""stream_file""stream_json"
Default: "stream_file"
versionstringOmit to let Hume automatically select the Octave version.
Values: "1""2"
voice_providerstringAudioLab mapping hint for the common voice field. Names default to HUME_AI. HTTP voice IDs first use CUSTOM_VOICE and retry a zero-byte pre-audio response as HUME_AI. Set this field to pin the mapping; WebSocket voice IDs should always set it explicitly.
Values: "HUME_AI""CUSTOM_VOICE"
contextobject | objectShow nested fields
See the OpenAPI schema for this nested object.
include_timestamp_typesstring[]Octave 2 only; requires json or stream_json so timestamp metadata is preserved.
Show nested fields
See the OpenAPI schema for this nested object.
num_generationsintegerMinimum 1 · Maximum 5
split_utterancesbooleanDefault: true
strip_headersbooleanDefault: false
temperaturenumber | nullMinimum 0.1 · Maximum 1
instant_modebooleanStreaming transports only. Requires a voice and exactly one generation.
trailing_silencenumberApplied to the generated utterance.
Minimum 0
inworldobjectShow nested fields
transportstringDecoded buffered audio, decoded HTTP streaming audio, native JSON, or native newline-delimited streaming JSON.
Values: "buffered""stream""json""stream_json"
Default: "buffered"
audioConfigobjectShow nested fields
See the OpenAPI schema for this nested object.
temperaturenumberTTS 1.5 Max and Mini only. Zero asks Inworld to use its model default; TTS-2 ignores this field, so AudioLab rejects it there.
Minimum 0 · Maximum 2
deliveryModestringTTS-2 only. Controls output stability and variation; TTS 1.5 ignores this field, so AudioLab rejects it there.
Values: "DELIVERY_MODE_UNSPECIFIED""STABLE""BALANCED""CREATIVE"
timestampTypestringWORD and CHARACTER require json or stream_json so alignment metadata is preserved.
Values: "TIMESTAMP_TYPE_UNSPECIFIED""WORD""CHARACTER"
applyTextNormalizationstringValues: "APPLY_TEXT_NORMALIZATION_UNSPECIFIED""ON""OFF"
timestampTransportStrategystringRequires stream_json and a WORD or CHARACTER timestampType.
Values: "TIMESTAMP_TRANSPORT_STRATEGY_UNSPECIFIED""SYNC""ASYNC"
minimaxobjectShow nested fields
transportstringDecoded buffered audio, decoded SSE audio, native JSON, or native SSE.
Values: "buffered""stream""json""sse"
Default: "buffered"
stream_optionsobjectstream or sse only. Decoded stream defaults this to true to prevent duplicate final audio.
Show nested fields
See the OpenAPI schema for this nested object.
voice_settingobjectShow nested fields
See the OpenAPI schema for this nested object.
audio_settingobjectShow nested fields
See the OpenAPI schema for this nested object.
pronunciation_dictobjectShow nested fields
See the OpenAPI schema for this nested object.
timbre_weightsobject[]Requires common voice=auto.
Show nested fields
See the OpenAPI schema for this nested object.
language_booststringValues: "Chinese""Chinese,Yue""English""Arabic""Russian""Spanish""French""Portuguese""German""Turkish""Dutch""Ukrainian""Vietnamese""Indonesian""Japanese""Italian""Korean""Thai""Polish""Romanian""Greek""Czech""Finnish""Hindi""Bulgarian""Danish""Hebrew""Malay""Persian""Slovak""Swedish""Croatian""Filipino""Hungarian""Norwegian""Slovenian""Catalan""Nynorsk""Tamil""Afrikaans""auto"
voice_modifyobjectShow nested fields
See the OpenAPI schema for this nested object.
subtitle_enablebooleanRequires native json or sse so subtitle metadata is preserved.
Default: false
subtitle_typestringword_streaming requires stream or sse.
Values: "sentence""word""word_streaming"
Default: "sentence"
output_formatstringurl is non-streaming, requires json, and is valid upstream for 24 hours.
Values: "hex""url"
Default: "hex"
murfobjectShow nested fields
transportstringstream is available on both models. generate and json use Gen2 Synthesize Speech; json requires response_format=json and preserves Murf metadata.
Values: "stream""generate""json"
Default: "stream"
regionstringStreaming HTTP and WebSocket host. Omit to use MURF_STREAM_BASE_URL.
Values: "global""us-east""us-west""in""ca""kr""me""jp""au""eu-central""uk""sa-east"
formatstringAudio encoding embedded in a native JSON response. Other transports derive this from response_format.
Values: "MP3""FLAC""WAV""OGG""PCM""ULAW""ALAW"
channel_typestringValues: "MONO""STEREO"
Default: "MONO"
sample_rateintegerSynthesize Speech does not accept 16000 Hz. Falcon 2 defaults to 24000; Gen2 defaults to 44100.
Values: 800016000240004410048000
localestringVoice-supported locale from Murf's live voice catalog. Murf uses en-UK for British English.
pitchintegerMinimum -50 · Maximum 50
rateintegerNative percentage rate. Overrides the common speed mapping.
Minimum -50 · Maximum 50
stylestringvariationintegerGen2 only.
Minimum 0 · Maximum 5
audio_durationnumberGen2 generate/json only; requests an approximate output duration in seconds.
Minimum 0
encode_as_base64booleanGen2 generate/json only. Inline Base64 enables Murf's zero-retention mode; AudioLab defaults this to true for generate audio.
word_durations_as_original_textbooleanGen2 generate/json only; English inputs only.
mistralobjectShow nested fields
ref_audiostringStandard base64-encoded one-off reference audio, without a data-URL prefix. Use this while common voice is auto; do not combine it with a saved voice ID.
xaiobjectShow nested fields
output_formatobjectShow nested fields
See the OpenAPI schema for this nested object.
optimize_streaming_latencyinteger0 preserves quality; 1 reduces first-chunk size for lower time-to-first-audio.
Minimum 0 · Maximum 1
text_normalizationbooleanDefault: false
with_timestampsbooleanREST returns XaiTiming JSON; WebSocket audio.delta events include timing fields.
Default: false
metadataobjectResponses
200Generated audio stream. Content-Type reflects response_format.
string
Option 1: object
audio_base64stringRequiredalignmentobject | nullShow nested fields
charactersstring[]Show nested fields
See the OpenAPI schema for this nested object.
character_start_times_secondsnumber[]Show nested fields
See the OpenAPI schema for this nested object.
character_end_times_secondsnumber[]Show nested fields
See the OpenAPI schema for this nested object.
normalized_alignmentobject | nullShow nested fields
charactersstring[]Show nested fields
See the OpenAPI schema for this nested object.
character_start_times_secondsnumber[]Show nested fields
See the OpenAPI schema for this nested object.
character_end_times_secondsnumber[]Show nested fields
See the OpenAPI schema for this nested object.
Option 2: object
audiostringRequiredProvider-encoded audio returned by native_json.
input_character_lengthintegeroutput_formatstringwordsobject[]Show nested fields
idintegerRequiredstartnumberRequiredendnumberRequiredtextstringRequiredrequest_idstringinference_statusobjectShow nested fields
statusstringValues: "unknown""queued""running""succeeded""failed"
runtime_msintegercostnumbertokens_generatedinteger | nulltokens_inputinteger | nulloutput_lengthinteger | nullOption 3: object
request_idstringRequiredDeepgram request ID for asynchronous callback generation.
Option 4: object
generationsobject[]RequiredShow nested fields
audiostringRequireddurationnumberRequiredencodingobjectRequiredShow nested fields
See the OpenAPI schema for this nested object.
file_sizeintegerRequiredgeneration_idstringRequiredsnippetsobject[][]RequiredShow nested fields
See the OpenAPI schema for this nested object.
request_idstring | nullRequiredOption 5: object
audioContentstringusageobjectShow nested fields
processedCharactersCountintegerMinimum 0
modelIdstringtimestampInfoobjectShow nested fields
wordAlignmentobjectShow nested fields
wordsstring[]Show nested fields
See the OpenAPI schema for this nested object.
wordStartTimeSecondsnumber[]Show nested fields
See the OpenAPI schema for this nested object.
wordEndTimeSecondsnumber[]Show nested fields
See the OpenAPI schema for this nested object.
phoneticDetailsobject[]Show nested fields
See the OpenAPI schema for this nested object.
characterAlignmentobjectShow nested fields
charactersstring[]Show nested fields
See the OpenAPI schema for this nested object.
characterStartTimeSecondsnumber[]Show nested fields
See the OpenAPI schema for this nested object.
characterEndTimeSecondsnumber[]Show nested fields
See the OpenAPI schema for this nested object.
Option 6: object
dataobject | nullShow nested fields
audiostringHex audio or a hosted URL according to output_format.
subtitle_filestringstatusintegerValues: 12
trace_idstringextra_infoobjectbase_respobjectShow nested fields
status_codeintegerstatus_msgstringOption 7: object
audioFilestringencodedAudiostringBase64 audio when encode_as_base64 is enabled.
audioLengthInSecondsnumberremainingCharacterCountintegerwordDurationsobject[]Show nested fields
wordstringstartMsintegerendMsintegerwarningstringOption 8: object
audiostringRequiredcontent_typestringRequireddurationnumberRequiredaudio_timestampsobjectRequiredShow nested fields
graph_charsstring[]RequiredShow nested fields
See the OpenAPI schema for this nested object.
graph_timesnumber[][]RequiredShow nested fields
See the OpenAPI schema for this nested object.
Option 9: string
Chunked ElevenLabs JSON timing objects from stream_with_timing.
Native OpenAI, Cartesia, or MiniMax SSE audio, metadata, timestamp, completion, and error events.
Amazon Polly sentence, SSML, viseme, or word speech marks, one JSON object per line.
Native Hume or Inworld streamed-JSON audio, timestamp, usage, and status objects, one JSON object per line.
202Background speech job queued. Poll the returned id.
idstringRequiredstatusstringRequiredValues: "queued"
400Request validation failed.
errorobjectRequiredShow nested fields
codestringRequiredmessagestringRequiredparamstring | nullrequest_idstring | nullmetadataobjectTyped detail for some refusals. budget_exceeded (402): limit (key_budget or workspace_budget) and budget with scope, period, limit, usage and resets_at. key_limit_exceeded (402): limit key_spend_limit. access_denied (403): policy (workspace or key), rule (models, providers or products), product, provider and model.
401Authentication is missing or invalid.
errorobjectRequiredShow nested fields
codestringRequiredmessagestringRequiredparamstring | nullrequest_idstring | nullmetadataobjectTyped detail for some refusals. budget_exceeded (402): limit (key_budget or workspace_budget) and budget with scope, period, limit, usage and resets_at. key_limit_exceeded (402): limit key_spend_limit. access_denied (403): policy (workspace or key), rule (models, providers or products), product, provider and model.
402Credits or billing setup is required.
errorobjectRequiredShow nested fields
codestringRequiredmessagestringRequiredparamstring | nullrequest_idstring | nullmetadataobjectTyped detail for some refusals. budget_exceeded (402): limit (key_budget or workspace_budget) and budget with scope, period, limit, usage and resets_at. key_limit_exceeded (402): limit key_spend_limit. access_denied (403): policy (workspace or key), rule (models, providers or products), product, provider and model.
403Authenticated principal lacks permission.
errorobjectRequiredShow nested fields
codestringRequiredmessagestringRequiredparamstring | nullrequest_idstring | nullmetadataobjectTyped detail for some refusals. budget_exceeded (402): limit (key_budget or workspace_budget) and budget with scope, period, limit, usage and resets_at. key_limit_exceeded (402): limit key_spend_limit. access_denied (403): policy (workspace or key), rule (models, providers or products), product, provider and model.
415Audio format is unsupported.
errorobjectRequiredShow nested fields
codestringRequiredmessagestringRequiredparamstring | nullrequest_idstring | nullmetadataobjectTyped detail for some refusals. budget_exceeded (402): limit (key_budget or workspace_budget) and budget with scope, period, limit, usage and resets_at. key_limit_exceeded (402): limit key_spend_limit. access_denied (403): policy (workspace or key), rule (models, providers or products), product, provider and model.
422Audio could not be processed.
errorobjectRequiredShow nested fields
codestringRequiredmessagestringRequiredparamstring | nullrequest_idstring | nullmetadataobjectTyped detail for some refusals. budget_exceeded (402): limit (key_budget or workspace_budget) and budget with scope, period, limit, usage and resets_at. key_limit_exceeded (402): limit key_spend_limit. access_denied (403): policy (workspace or key), rule (models, providers or products), product, provider and model.
429Rate limit exceeded.
errorobjectRequiredShow nested fields
codestringRequiredmessagestringRequiredparamstring | nullrequest_idstring | nullmetadataobjectTyped detail for some refusals. budget_exceeded (402): limit (key_budget or workspace_budget) and budget with scope, period, limit, usage and resets_at. key_limit_exceeded (402): limit key_spend_limit. access_denied (403): policy (workspace or key), rule (models, providers or products), product, provider and model.
500Internal server error.
errorobjectRequiredShow nested fields
codestringRequiredmessagestringRequiredparamstring | nullrequest_idstring | nullmetadataobjectTyped detail for some refusals. budget_exceeded (402): limit (key_budget or workspace_budget) and budget with scope, period, limit, usage and resets_at. key_limit_exceeded (402): limit key_spend_limit. access_denied (403): policy (workspace or key), rule (models, providers or products), product, provider and model.
502Upstream provider failed after allowed attempts.
errorobjectRequiredShow nested fields
codestringRequiredmessagestringRequiredparamstring | nullrequest_idstring | nullmetadataobjectTyped detail for some refusals. budget_exceeded (402): limit (key_budget or workspace_budget) and budget with scope, period, limit, usage and resets_at. key_limit_exceeded (402): limit key_spend_limit. access_denied (403): policy (workspace or key), rule (models, providers or products), product, provider and model.
503No eligible provider endpoint is currently available, or async processing has no healthy worker polling the durable queue.
errorobjectRequiredShow nested fields
codestringRequiredmessagestringRequiredparamstring | nullrequest_idstring | nullmetadataobjectTyped detail for some refusals. budget_exceeded (402): limit (key_budget or workspace_budget) and budget with scope, period, limit, usage and resets_at. key_limit_exceeded (402): limit key_spend_limit. access_denied (403): policy (workspace or key), rule (models, providers or products), product, provider and model.