run_verifier
Run a verifier on agent output to get a pass/fail judgment with reasoning.
verifier_id resolves to an active verifier: UUID string,
accessible user-scope name (owned or one unambiguous grant), or
platform alias system:<name> for platform-managed judges (no
criterion/config leakage via list/get).
inputs keys must match the version's input_fields exactly
(no missing or extra). media_url is required for text_image
and image contracts, forbidden for text. Caller-shape errors
return a 400 with no row written; judge runtime errors persist a row
with status="error" and an error_code of runtime_error,
verifier_unavailable, or timeout.
Provenance fields (skill_id, skill_version,
skill_ref, run_id) are optional and stamped onto the row.
skill_id is access-checked: a skill the caller cannot see
surfaces as NotFound.
Returns: {verifier_run_id, verifier_id, version, status, passed, reasoning, duration_ms, created_at} on success, plus error_code
and error_message on error. passed is null on errors. On a
successful run that you attributed to a skill you own, the result
also carries skill_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | Yes | Field values for the verifier, keyed by the version's input field names (exact match, no missing or extra keys). | |
| run_id | No | Optional caller-supplied run identifier to correlate this run, for provenance. | |
| version | No | Pin to a specific version number; omit to use the latest version. | |
| skill_id | No | Optional id of the skill this run is associated with, for provenance; a skill you cannot see is rejected. | |
| media_url | No | Public image URL to judge; required for image and text+image verifiers, rejected for text-only ones. | |
| skill_ref | No | Optional free-form skill label (slug or name) to stamp on the run, for provenance. | |
| verifier_id | Yes | The verifier to act on, identified by its UUID or, for a verifier you own, its name. | |
| skill_version | No | Optional skill version number to stamp on the run, for provenance. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||