Skip to main content
PUT
/
api
/
governance
/
complexity-analyzer-config
Error
A valid request URL is required to generate request examples
{
  "tier_boundaries": {
    "simple_medium": 123,
    "medium_complex": 123,
    "complex_reasoning": 123
  },
  "keywords": {
    "code_keywords": [
      "<string>"
    ],
    "reasoning_keywords": [
      "<string>"
    ],
    "technical_keywords": [
      "<string>"
    ],
    "simple_keywords": [
      "<string>"
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Use your provider API key or Bifrost authentication token. Virtual keys (prefixed with sk-bf-) can also be passed here.

Body

application/json

Full runtime configuration for complexity routing analysis.

tier_boundaries
object
required

Score thresholds for complexity tier classification. All values must satisfy 0 < simple_medium < medium_complex < complex_reasoning < 1.

keywords
object
required

Editable keyword lists used by the complexity analyzer. Only the four user-facing dimensions are exposed; reasoning_keywords entries drive the reasoning tier override. Matching is normalized to lowercase and duplicates are removed on save.

Response

Complexity analyzer config updated successfully

Full runtime configuration for complexity routing analysis.

tier_boundaries
object
required

Score thresholds for complexity tier classification. All values must satisfy 0 < simple_medium < medium_complex < complex_reasoning < 1.

keywords
object
required

Editable keyword lists used by the complexity analyzer. Only the four user-facing dimensions are exposed; reasoning_keywords entries drive the reasoning tier override. Matching is normalized to lowercase and duplicates are removed on save.