GuidesAPI ReferenceProcessor Changelog
GuidesAPI ReferenceProcessor Changelog
    • Getting Started
    • API Versioning
    • SDKs
  • Processor Endpoints
    • POSTRun Processor
    • GETList Processor Runs
    • GETGet Processor Run
    • POSTCancel Processor Run
    • DELDelete Processor Run
    • GETGet Batch Processor Run
    • POSTCreate Processor
    • POSTUpdate Processor
    • POSTPublish Processor Version
    • GETGet Processor Version
    • GETList Processor Versions
  • Workflow Endpoints
    • POSTRun Workflow
    • GETGet Workflow Run
    • GETList Workflow Runs
    • POSTUpdate Workflow Run
    • POSTCancel Workflow Run
    • DELDelete Workflow Run
    • POSTCreate Workflow
    • POSTBatch Run Workflow
    • POSTCorrect Workflow Run Outputs
  • Parse Endpoints
    • POSTParse File
    • POSTParse File Async
    • GETGet Parser Run
    • DELDelete Parser Run
  • File Endpoints
    • POSTUpload File
    • GETGet File
    • DELDelete File
    • GETList Files
    • POSTCreate File
  • Evaluation Set Endpoints
    • GETGet Evaluation Set
    • GETList Evaluation Sets
    • POSTCreate Evaluation Set
    • GETList Evaluation Set Items
    • POSTCreate Evaluation Set Item
    • POSTUpdate Evaluation Set Item
    • POSTBulk Create Evaluation Set Items
LogoLogo
Evaluation Set Endpoints

POST
https://api.extend.ai/evaluation_set_items/:id
POST
/evaluation_set_items/:id
1curl -X POST https://api.extend.ai/evaluation_set_items/evaluation_set_item_id_here \
2 -H "x-extend-api-version: " \
3 -H "Authorization: Bearer <token>" \
4 -H "Content-Type: application/json" \
5 -d '{
6 "expectedOutput": {
7 "value": {}
8 }
9}'
Try it
200Successful
1{
2 "success": true,
3 "evaluationSetItem": {
4 "object": "evaluation_set_item",
5 "id": "evi_kR9mNP12Qw4yTv8BdR3H",
6 "evaluationSetId": "ev_2LcgeY_mp2T5yPaEuq5Lw",
7 "fileId": "file_xK9mLPqRtN3vS8wF5hB2cQ",
8 "expectedOutput": {
9 "value": {}
10 }
11 }
12}
Was this page helpful?
Previous

Bulk Create Evaluation Set Items

Next
Built with
If you need to change the expected output for a given evaluation set item, you can use this endpoint to update the item. This can be useful if you need to correct an error in the expected output or if the output of the processor has changed.
Update Evaluation Set Item

Authentication

AuthorizationBearer
Bearer authentication of the form `Bearer <token>`, where token is your auth token.

Path parameters

idstringRequired
The ID of the evaluation set item to update. Example: `"evi_kR9mNP12Qw4yTv8BdR3H"`

Headers

x-extend-api-version"2025-04-21"OptionalDefaults to 2025-04-21
API version to use for the request. If you do not specify a version, you will either receive a `400 Bad Request` or be set to a previous legacy version. See [API Versioning](/developers/api-versioning) for more details.

Request

This endpoint expects an object.
expectedOutputobject or map from strings to objects or objectRequired
The expected output of the processor when run against the file

Response

Successfully updated evaluation set item
successboolean
evaluationSetItemobject
The EvaluationSetItem object represents an item in an evaluation set in Extend. Items are the individual files and expected outputs that are used to evaluate the performance of a given processor in Extend.

Errors

The expected output of the processor when run against the file
Successfully updated evaluation set item

Bearer authentication of the form Bearer <token>, where token is your auth token.

API version to use for the request. If you do not specify a version, you will either receive a 400 Bad Request or be set to a previous legacy version. See API Versioning for more details.

The ID of the evaluation set item to update.

Example: "evi_kR9mNP12Qw4yTv8BdR3H"