Governance

Create model config

Creates a new model configuration with budget and rate limit settings.

post/api/governance/model-configs

Request

Request body

model_namestring required

Name of the model (required). Use * to match all models.

providerstring

Provider name (optional - applies to all providers if not specified)

scope'global' | 'virtual_key' | 'user'

Scope where this limit applies. Defaults to global.

scope_idstring

ID of the scope target (e.g. virtual key ID or user ID). Required when scope is not global.

Response

Model config created successfully

messagestring

Changes

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