Skip to main content
PATCH
Update account inference policy

Authorizations

Authorization
string
header
required

Use a JWT bearer token or a Veryfront API key in the Authorization header.

Path Parameters

account_id
string<uuid>
required

Body

application/json
models
object

Models the account allows and denies. Every project of the account can only narrow them.

default_model
string | null

Default model of projects that set none. It must be allowed by the policy. Null uses the built-in default. Omit to keep the stored value.

Required string length: 1 - 200
Pattern: ^[a-z0-9][a-z0-9._/-]*$

Response

The account inference policy after the update. Requires a signed-in account owner or admin. API keys are rejected regardless of their scopes.

account_id
string<uuid>
required
models
object
required

Models the account allows and denies. Every project of the account inherits them and can only narrow them.

default_model
string | null
required

Default model ID. Null uses the built-in default, mistral/mistral-small-2503. A project default wins over the account default.