Sets the workspace's provider fallbacks. Fields you leave out keep their current value. Needs the admin or developer role.
Request#
| Field | Type | Required | Description |
|---|---|---|---|
fallback_voice_id |
string or null | No | A voice ID. null turns the voice fallback off. |
llm_fallback_model |
string or null | No | A model name. null turns the LLM fallback off. |
stt_fallback_provider |
string or null | No | deepgram, assemblyai, soniox, azure or openai. null turns it off. |
llm_fallback_timeout_ms |
integer | No | 500 to 30000. |
Example request#
curl -X PUT https://api.tried.com.au/workspace/reliability \
-H "Authorization: Bearer $TRIED_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"fallback_voice_id": "11labs-Rachel",
"llm_fallback_model": "gpt-4.1",
"stt_fallback_provider": "assemblyai",
"llm_fallback_timeout_ms": 3000
}'const res = await fetch("https://api.tried.com.au/workspace/reliability", {
method: "PUT",
headers: {
Authorization: `Bearer ${process.env.TRIED_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"fallback_voice_id": "11labs-Rachel",
"llm_fallback_model": "gpt-4.1",
"stt_fallback_provider": "assemblyai",
"llm_fallback_timeout_ms": 3000
}),
});
const reliability = await res.json();import os, requests
res = requests.put(
"https://api.tried.com.au/workspace/reliability",
headers={"Authorization": f"Bearer {os.environ['TRIED_API_KEY']}"},
json={
"fallback_voice_id": "11labs-Rachel",
"llm_fallback_model": "gpt-4.1",
"stt_fallback_provider": "assemblyai",
"llm_fallback_timeout_ms": 3000,
},
)
reliability = res.json()Response#
200 OK
{
"fallback_voice_id": "11labs-Rachel",
"llm_fallback_model": "gpt-4.1",
"stt_fallback_provider": "assemblyai",
"llm_fallback_timeout_ms": 3000
}Returns the full reliability settings after the change.
Errors#
| Status | When |
|---|---|
400 |
Validation failed, for example a stt_fallback_provider outside the list or llm_fallback_timeout_ms: Number must be greater than or equal to 500. |
401 |
Missing or invalid API key. |
403 |
The key's IP allowlist or scopes reject the request. This route needs the admin scope. A dashboard user without the right role gets Requires role: admin or developer. API keys act as admin. |
429 |
Rate limit exceeded. See Rate limits. |
See Errors for the body format.
You can also change these through the reliability object of Update workspace settings, which needs the admin role.