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. Gated exactly like the save it rehearses: a proxy admin, or a team admin naming their own team. Nothing is created, routed, or billed.

post/auto_router/validate_complexity_router_config

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