v1

latestOpenAPI 3.1.0Apache 2.02026-07-264001921002.3 KB
Governance

Update pricing override

Updates an existing pricing override. Omitted fields are merged from the existing record. The patch field is always replaced in full when provided.

put/api/governance/pricing-overrides/{id}

Path parameters

idstring required

Pricing override ID

Request body

namestring

Human-readable label

scope_kind'global' | 'provider' | 'provider_key' | 'virtual_key' | 'virtual_key_provider' | 'virtual_key_provider_key'
virtual_key_idstring

Required for virtual_key* scopes

provider_idstring

Required for provider and virtual_key_provider scopes

provider_key_idstring

Required for provider_key and virtual_key_provider_key scopes

match_type'exact' | 'wildcard'
patternstring

Model name or wildcard prefix ending with * (e.g. "claude-3*")

request_typesPricingOverrideRequestType[]

Request types this override applies to.

Response

Pricing override updated successfully

messagestring