Update Evaluation Set Item

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 extractor, classifier, or splitter has changed.

Authentication

AuthorizationBearer

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

Path parameters

evaluationSetIdstringRequired

The ID of the evaluation set.

Example: "ev_2LcgeY_mp2T5yPaEuq5Lw"

itemIdstringRequired

The ID of the evaluation set item.

Example: "evi_kR9mNP12Qw4yTv8BdR3H"

Headers

x-extend-api-version"2026-02-09"Optional

API version to use for the request. If you’re using an SDK, you can ignore this parameter. If you are not using an SDK and 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.

Request

This endpoint expects an object.
expectedOutputobjectRequired
The expected output of the extractor, classifier, or splitter when run against the file. This must conform to the output schema of the entity associated with the evaluation set.

Response

Successfully updated evaluation set item
objectenum

The type of object. In this case, it will always be "evaluation_set_item".

Allowed values:
idstring

The ID of the evaluation set item.

Example: "evi_kR9mNP12Qw4yTv8BdR3H"

evaluationSetIdstring

The ID of the evaluation set that this item belongs to.

Example: "ev_2LcgeY_mp2T5yPaEuq5Lw"

fileobject
A summary of the file associated with the evaluation set item.
expectedOutputobject
The expected output that will be used to evaluate the performance of the extractor, classifier, or splitter associated with the evaluation set. This must conform to the output schema of the entity associated with the evaluation set.

Errors