A criterion grades an answer. A dataset criterion is an LLM judge (llm_judge), an agent judge (agent_judge, an agent that can open the task's files), a Python check (code_verifier, your code returns a pass or fail or a score from 0 to 1) or an exact match (exact_match). A dataset's own criteria grade every dataset task in it; shared criteria live in the organization's library, where a monitor binds them by ID. A Python check on a dataset needs an administrator to turn Python checks on, and a monitor can't use exact match.
Replace a dataset's criteria
The dataset's own criteria, replaced whole: each grades every task in the dataset. They land in the working copy, like a task edit.
path Parameters
datasetIdDataset identifier
Dataset (from the path)
Replace a dataset's criteria › Request Body
removeFromTasksCriterion names to strip from every task's own set in the same write (case and surrounding spaces ignored). Empty for a plain save. Naming a criterion the saved set holds makes it the dataset's (apply to all); naming one it does not hold removes it from every task (remove from all). A set naming a criterion twice, or one its tasks would still carry after the strip, is refused (criterion_name_taken)
Replace a dataset's criteria › Responses
Success
savedSave a Python check
Creates or replaces a shared Python check under an id you choose (a UUID). The code must compile and define verify; monitors using it grade with the new code from their next request.
path Parameters
criterionIdCriterion identifier, a UUID the caller chooses; saving the same id again replaces it
Criterion (from the path)
Save a Python check › Request Body
nameThe criterion's label wherever criteria are listed
codePython 3.13 source defining verify(evidence) that returns Verdict.boolean(passed=…, reasoning=…) or Verdict.float(score=0..1, reasoning=…) from context_verifiers; standard library only besides that
passMarkThe 0..1 score at or above which a Verdict.float passes; a Verdict.boolean ignores it. Shown as a percentage
descriptionThe line a monitor's verifier list shows under the name; null clears it, absent keeps the saved one
Save a Python check › Responses
Success
kindcriterionIdnameCurrent shared criterion display text
descriptionThe line a monitor's verifier list shows under the name; null when its author wrote none
updatedAtWhen the shared criterion last changed
monitorCountMonitors in this organization using this shared criterion
codePython source as it was saved; checked against the save-time bounds when saved, not when read
passMarkThe 0..1 score at or above which a Verdict.float passes; a Verdict.boolean ignores it. Shown as a percentage
Save an agent criterion
Creates or replaces a shared agent criterion (an agent judge) under an id you choose (a UUID). Its model must be one this deployment serves.
path Parameters
criterionIdCriterion identifier, a UUID the caller chooses; saving the same id again replaces it
Criterion (from the path)
Save an agent criterion › Request Body
nameThe criterion's label wherever criteria are listed
instructionsPlain-language instructions the judge sub-agent follows: what to look at in the turn's files and answer, and what makes it pass
modelThe model the judge sub-agent runs on, as the judge catalog names it
outputTypeBOOLEAN: the judge answers Pass or Fail; FLOAT: a 0..1 score that passes at the criterion's pass mark
pythonWhether the judge may run Python on a scratch copy of the turn's files (never the originals, no network)
passMarkThe 0..1 score at or above which a FLOAT verdict passes; a BOOLEAN verdict ignores it. Shown as a percentage
descriptionThe line a monitor's verifier list shows under the name; null clears it, absent keeps the saved one
Save an agent criterion › Responses
Success
kindcriterionIdnameCurrent shared criterion display text
descriptionThe line a monitor's verifier list shows under the name; null when its author wrote none
updatedAtWhen the shared criterion last changed
monitorCountMonitors in this organization using this shared criterion
instructionsInstructions as they were saved; checked against the save-time bounds when saved, not when read
modelThe model the judge sub-agent runs on, as the judge catalog names it
outputTypeBOOLEAN: the judge answers Pass or Fail; FLOAT: a 0..1 score that passes at the criterion's pass mark
pythonWhether the judge may run Python on a scratch copy of the turn's files (never the originals, no network)
passMarkThe 0..1 score at or above which a FLOAT verdict passes; a BOOLEAN verdict ignores it. Shown as a percentage
List shared criteria
The organization's library criteria a monitor can bind (LLM judges, Python and agent criteria), by id order, one page at a time.
query Parameters
searchafterlimitList shared criteria › Responses
Success
nextCursor