Fallback Management

Get Fallback

Get fallback configuration for a specific model.

Parameters:

  • model: The model name to get fallbacks for
  • fallback_type: Type of fallback to retrieve (query parameter)

Example:

GET /fallback/gpt-3.5-turbo?fallback_type=general
get/fallback/{model}

Request

  • Base URL: https://docs.litellm.com.cn (the document declares no server; this is the origin it was published from)
  • URL: https://docs.litellm.com.cn/fallback/{model}
  • Auth: API key in header x-litellm-api-key

Path parameters

modelstring required

Query parameters

fallback_type'general' | 'context_window' | 'content_policy'

Response

Successful Response

modelstring required

The model name

fallback_modelsstring[] required

List of fallback model names

fallback_typestring required

Type of fallback

Changes

No recorded changes to this operation across all 1 revision of this API.