Router Settings

Get Router Fields

Get router settings field definitions without values.

Returns only the field metadata (type, description, default, options) without populating field_value. This is useful for UI components that need to know what fields to render, but will get the actual values from a different endpoint.

Returns:

  • fields: List of all configurable router settings with their metadata (type, description, default, options) The routing_strategy field includes available options extracted from the Router class Note: field_value will be None for all fields
  • routing_strategy_descriptions: Descriptions for each routing strategy option
get/router/fields

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/router/fields
  • Auth: API key in header x-litellm-api-key

Response

Successful Response

routing_strategy_descriptionsobject required

Descriptions for each routing strategy option

routing_group_strategiesstring[] required

Strategies supported when constructing a routing group

Changes

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