Create an eval (scorer) on an agent or swarm

Author a first-class eval: code (rule), judge (rubric), match (known answer), or consensus (cross-model agreement, premium).

Request

This endpoint expects an object.
targetobjectRequired
namestringRequired<=120 characters
typeenumRequired
Allowed values:
definitionobjectOptional
descriptionstringOptional
judge_modelstringOptional
thresholdintegerOptional0-100

Response

Eval created

Errors

401
Unauthorized Error