Update an evaluation item
update_evaluation_itemReplace one evaluation item's expected output (evaluations group). The file pairing cannot change — delete and re-add for that.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | Item ID (evi_...). | |
| environment | Yes | "TEST" = the Test (development) environment, "PRODUCTION" = live. Must match a granted target from get_me (an API key pins one environment). | |
| workspaceId | Yes | Target workspace (ws_...). Must be a granted workspace — get_me lists the accepted values. | |
| expectedOutput | Yes | Ground truth matching the evaluated resource type. Extractor sets: { value: { <fields matching the extractor's schema> } }. Classifier sets: { id, type, confidence? } (the winning classification). Splitter sets: { splits: [{ identifier?, classificationId?, startPage, endPage }] }. | |
| evaluationSetId | Yes | Evaluation set ID (ev_...). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| file | Yes | ||
| expectedOutput | No | ||
| evaluationSetId | No |