cURL
curl --request PATCH \ --url https://api.lava.so/v1/account/fallback \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "fallback_chain": [ { "url": "api.openai.com/v1/chat/completions", "model": "gpt-4o-mini" } ] } '
{ "success": true }
Set or clear the account-level fallback chain. When set, this chain is used as the default fallback for all rewrite requests that do not include an x-lava-fallbacks header. Pass null to clear the setting. Maximum 5 entries.
Bearer token authentication used for standard API calls. Format: 'Bearer YOUR_API_KEY'
Fallback chain entries, or null to clear
Show child attributes
Fallback chain updated
true