delete_eval_criterion
Delete a custom evaluation criterion and permanently remove all its historical eval scores. Only proceed after confirming past run scores are expendable.
Instructions
Delete a custom criterion in your account (Pro+ only, DELETE /v1/eval-criteria/:id, 204). Global defaults (account_id IS NULL) are structurally out of scope = 404; other accounts are 404 too. WARNING: all past eval_run score rows for this criterion (eval_scores) are physically deleted at the same time via ON DELETE CASCADE — historical comparisons and score trend analysis become permanently impossible. This is not a tool for an AI agent to call casually while tidying up criteria; only proceed when the user has explicitly confirmed the past run scores are not needed. If you only want to rename, using update_eval_criterion (full replace) with name + rubric + scaleMin + scaleMax preserves the history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| criterionId | Yes | Target criterion id (list_eval_criteria.criteria[].id) |