Skip to main content
POST
Create Extract Eval Dataset

Authorizations

x-api-key
string
header
required

Headers

Pulse-Version
string
default:2

Body

application/json

An extract dataset to create: a named list of documents, each with one ground truth, the config that parses them and the schema their extractions fill.

name
string
required

A label for the dataset. It need not be unique.

Required string length: 1 - 200
parse_config
ParseConfig { model, storage, page_range, 3 more } · object
required

How every document is parsed before extraction. It is the config of POST /parse, checked the same way.

input_schema
Input Schema · object
required

The fields to extract. Checked as config.input_schema is on POST /extract.

documents
ExtractDocumentInput · object[]
required

1 to 1,000 documents.

Required array length: 1 - 1000 elements

Response

The dataset, with the ids Pulse assigned to it and to each document.

An extract dataset: its request, with an id for the dataset and for each document.

dataset_id
string
required

The dataset's id, eval-dataset-<uuid>.

name
string
required

A label for the dataset. It need not be unique.

parse_config
ParseConfig { model, storage, page_range, 3 more } · object
required

The config as Pulse read it, with its defaults shown, as a saved config is answered.

input_schema
Input Schema · object
required

As sent.

documents
ExtractDocument · object[]
required

The documents, in the order sent.

created_at
string
required

When the dataset was created.