Skip to main content
PATCH
Update model settings and rates

Authorizations

Authorization
string
header
required

Send a dashboard session token, an account API key (agt_t), or a command-line credential (afc_) as a Bearer token. Each endpoint lists accepted credential types.

Path Parameters

id
string
required

Resource identifier (version 7 universally unique identifier, or UUID).

Body

application/json

PATCH /v1/admin/models/{id} input: a complete replacement of the evidence and the price schedule, and optionally of the inference settings.

metadata
object
required

Label and context evidence.

prices
object[]
required

The whole coding schedule; the saved settings determine whether it can be empty. A range absent here is removed.

Maximum array length: 64
decision
object | null

Omission preserves the saved decision definition and schedule.

inference
object | null

Omission preserves the current inference settings.

Response

OK

Successful model rate update.

id
string
required

Updated row identity.

request_id
string
required

Reference identifier to include when contacting support.

updated
boolean
required

Always true after an update.