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_sets
POST
/evaluation_sets
1curl -X POST https://api.extend.ai/evaluation_sets \
2 -H "x-extend-api-version: " \
3 -H "Authorization: Bearer <token>" \
4 -H "Content-Type: application/json" \
5 -d '{
6 "name": "My Evaluation Set",
7 "description": "My Evaluation Set Description",
8 "processorId": "processor_id_here"
9}'
Try it
200Successful
1{
2 "success": true,
3 "evaluationSet": {
4 "object": "evaluation_set",
5 "id": "ev_2LcgeY_mp2T5yPaEuq5Lw",
6 "name": "Invoice Processing Test Set",
7 "description": "Q4 2023 vendor invoices for accuracy testing",
8 "processorId": "dp_Xj8mK2pL9nR4vT7qY5wZ",
9 "createdAt": "2024-03-21T15:30:00Z",
10 "updatedAt": "2024-03-21T16:45:00Z"
11 }
12}
Was this page helpful?
Previous

List Evaluation Set Items

Next
Built with
Evaluation sets are collections of 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 in Extend, which items can be added to using the [Create Evaluation Set Item](https://docs.extend.ai/2025-04-21/developers/api-reference/evaluation-set-endpoints/create-evaluation-set-item) endpoint. Note: it is not necessary to create an evaluation set via API. You can also create an evaluation set via the Extend dashboard and take the ID from there.
Create Evaluation Set

Authentication

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

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.
namestringRequired
The name of the evaluation set. Example: `"Invoice Processing Test Set"`
descriptionstringRequired
A description of what this evaluation set is used for. Example: `"Q4 2023 vendor invoices"`
processorIdstringRequired
The ID of the processor to create an evaluation set for. Evaluation sets can in theory be run against any processor, but it is required to associate the evaluation set with a primary processor. Example: `"dp_Xj8mK2pL9nR4vT7qY5wZ"`

Response

Successfully created evaluation set
successboolean
evaluationSetobject
The EvaluationSet object represents an evaluation set in Extend. Evaluation sets are collections of files and expected outputs that are used to evaluate the performance of a given processor in Extend.

Errors

Successfully created evaluation set

Evaluation sets are collections of 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 in Extend, which items can be added to using the Create Evaluation Set Item endpoint.

Note: it is not necessary to create an evaluation set via API. You can also create an evaluation set via the Extend dashboard and take the ID from there.

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 name of the evaluation set.

Example: "Invoice Processing Test Set"

A description of what this evaluation set is used for.

Example: "Q4 2023 vendor invoices"

The ID of the processor to create an evaluation set for. Evaluation sets can in theory be run against any processor, but it is required to associate the evaluation set with a primary processor.

Example: "dp_Xj8mK2pL9nR4vT7qY5wZ"