OpenAPI 3.1.02026-08-226994571.1 MB
1e929292ddd5
Fallback Management
Create Fallback
Create or update fallbacks for a specific model.
This endpoint allows you to configure fallback models separately from the general config. Fallbacks are triggered when a model call fails after retries.
Example Request:
{
"model": "gpt-3.5-turbo",
"fallback_models": ["gpt-4", "claude-3-haiku"],
"fallback_type": "general"
}
Fallback Types:
- general: Standard fallbacks for any error (default)
- context_window: Fallbacks specifically for context window exceeded errors
- content_policy: Fallbacks specifically for content policy violations
post/fallback
Request body
Response
Successful Response