model management

Validate Complexity Router Config

Validate a complexity-router config without saving it.

Runs the same check every write path runs (the router's own pydantic model), so a form can show the backend's exact verdict while the operator is still editing rather than after a rejected save. Uses the same team opt-in and model-access checks as configuration writes for members. Nothing is created, routed, or billed.

post/auto_router/validate_complexity_router_config

Request

  • Base URL: https://apiclaw.biz (the document declares no server; this is the origin it was published from)
  • URL: https://apiclaw.biz/auto_router/validate_complexity_router_config
  • Auth: API key in header x-litellm-api-key

Request body

complexity_router_configobject required
team_idstring nullable

Team the router is being created for. Required for a team admin, who may only validate their own team's routers

Response

Successful Response

validboolean required
errorstring nullable

Changes

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