Fallback Retry Policy
The Fallback Retry Policy API configures how the Allternit LLM gateway retries failed requests and whether it sends a cross-providerfallbackModels chain to the Gizzi runtime. The actual retry orchestration lives in the gateway failover layer; this API owns the durable configuration.
All fallback retry policy endpoints require the caller to be an organization owner or admin.
Base URL
Endpoints
Policy fields
Retryable statuses:
refusal, error, rate_limited, budget_exceeded, dlp_blocked, client_disconnected, timeout.
Get the policy
Response
Update the policy
Response
Alerts when a provider fails
When a provider fails 4 or more times within 60 seconds, the gateway routes requests away from it for 30 seconds and opens anllm_provider_cooldown attention item. When every provider in the chain is cooling down, it opens an llm_chain_exhausted item and tries the provider whose cooldown ends first. There is one open item per provider.
Provider health is operator data. The items go to the user set in ALLTERNIT_OPS_ALERT_OWNER. On a single-user runtime (Desktop, or a bot’s computer) without that variable, they go to that user. On a shared runtime without it, the gateway only logs the event.
Error codes
Related pages
- Fallback Credits — credit primary-provider failures resolved by fallbacks
- Admin Analytics — monitor request volume and status breakdowns
- Latency Budgets — set and monitor model latency budgets