Skip to main content
POST
Update Evaluator
Criteria not included in the request will be permanently deleted. Always send the full list of criteria you want to keep, not just the changes. See Evaluator — criteria.
tag cannot be changed after creation.
To update an existing criterion, include its id. To add a new one, omit id. Providing an id that does not belong to this evaluator returns 400.
Non-strict criteria weights must still sum to exactly 100 after the update. See Evaluator — weights.
Returns 404 if the evaluator is not found.

Authorizations

x-api-key
string
header
required

Body

application/json

Request body for updating an evaluator. All fields except evaluator_id are optional — omit any field to leave it unchanged.

evaluator_id
string<uuid>
required

The evaluator to update.

description
string | null

New description. Max 250 characters. Omit to leave unchanged.

Maximum string length: 250
language
string

New language code for the evaluator. Omit to leave unchanged. See Evaluator — language.

context
string | null

Updated AI context prompt. Max 1000 characters. Omit to leave unchanged. See Evaluator — context.

Maximum string length: 1000
criteria
object[]

Full replacement list of criteria using merge-by-ID logic. Criteria not included will be permanently deleted. Min 1, max 10.

Response

200 - application/json

Evaluator updated successfully.

data
object