Evaluation set items are the individual files and expected outputs that are used to evaluate the performance of a given processor in Extend. This endpoint will create a new evaluation set item in Extend, which will be used during an evaluation run.

Body

evaluationSetId
string
required

The ID of the evaluation set to add the item to.

fileId
string
required

The ID of the file to add to the evaluation set.

expectedOutput
object
required

The expected output of the processor when run against the file.

This should be a JSON object conforming to the output type schema of the processor.

Response

success
boolean

A true or false value for whether the evaluation set item was created successfully or not.

evaluationSetItem
EvaluationSetItem

An EvaluationSetItem object representing the newly created evaluation set item. See the EvaluationSetItem object for more details.