cURL
curl --request POST \ --url https://api-prod.extend.app/evaluation_set_items/:id \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "expectedOutput": {} }'
{ "success": true, "evaluationSetItem": { "object": "evaluation_set_item", "id": "eval_item_1234", "evaluationSetId": "eval_set_1234", "fileId": "file_1234", "expectedOutput": { // Output object - see “Processor output types” for details }, "createdAt": "2024-01-01T00:00:00Z", "updatedAt": "2024-01-01T00:00:00Z" } }
Update an evaluation set item by ID.