invariance_eval_case_create_from_run
Create an eval case in a suite from a production run, capturing its input and output as the expected result.
Instructions
Snapshot an existing production run as a new eval case in a suite (captures the run's input + output as expected).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | CreateEvalCaseFromRunRequest as a JSON object string. Required: source_run_id (string). Optional: name (string), source_finding_id / source_signal_id (string — provenance; their evidence is copied into the case metadata), expected (object), assertions (array), mutations (array), metadata (object). Example: {"source_run_id":"run_abc123","source_signal_id":"sig_1"} | |
| suite_id | Yes |