Policy JSON
What It Does
- Retries failed requests up to 3 times on transient errors (429, 500, 502, 503, 504)
- Exponential backoff — waits 1s, 2s, 4s between retries (capped at 5s)
- Denies the request after all retries are exhausted
- Does not retry on client errors (400, 401, 403) — those indicate configuration issues, not transient failures
Example
Request fails with a 429 (rate limit) on first attempt: Decision object (after 3 retries exhausted):Install
Customize
Related
- Circuit Breaker — Standard — Trip the circuit on persistent failures
- Fallback Chain — Route to alternative providers
- RAG Application Starter — Includes retry and fallback configuration
- TealCircuit Documentation — Full API reference

