suggest criteria
suggest_criteriaTurn written failure critiques into up to five draft judge criteria for review. Use after grading fails with reasons to bootstrap criteria you can align and approve.
Instructions
Clusters the workspace's written failure critiques into up to 5 DRAFT judge criteria, one per failure mode — use it after grading a batch of fails with reasons to bootstrap criteria you then review and align. POST /v1/criteria/suggest (API-key scope: evals:write). SPENDS MONEY: this starts billable work on the workspace wallet. Returns: { created: [<criterion objects, same snake_case shape as GET /v1/criteria: id, name, description, judge_prompt, judge_model, status ('draft'), source ('assist_suggested'), unit, population, population_family, online_*, tier, trust, fail_grades_needed, pass_grades_needed, tpr_ci, tnr_ci, drift_*, tpr, tnr, kappa, alignment_n, aligned_at, created_at>], critiques_used: , skipped_duplicates: <int, proposed drafts whose name already existed> }. Notes: A body-less POST (or invalid JSON) is valid and uses the default judge — there is no 400 for a missing body. Requires an OWNER/ADMIN minting user (403). 400 when fewer than 10 FAIL grades carry a critique (message includes the current count); only the 200 most recent critiques are considered. 400 if the model returns no parseable JSON array ('try again'). SPENDS THE WALLET: one metered clustering call (billed under assist:suggest). Drafts are never trusted by any gate until a human reviews them and runs an alignment; an existing criterion with the same name is skipped, never overwritten. Function maxDuration is 300s.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| judge_model | No | Model used for the single clustering call (and set as judge_model on every draft). Defaults to the platform's recommended judge (Qwen/Qwen3-235B-A22B-Instruct-2507). Must be a model available in the workspace's playground catalog, else 400. Whitespace-only values fall back to the default. |