Skip to main content
GET
Rate limit tier: general, 600 requests/min. See Rate limits. Shows, for one document of an eval, each field’s extracted value beside its expected ground-truth value. The extracted values are the ones the eval graded. document_packet_id is the dataset copy’s id, as GET …/evals/{eval_id}/accuracy/ returns it in by_document_packet. It is not the id of the production packet the document was added from. A scalar field’s values are scalars. For a field inside a list or an object, extracted and expected hold one value per row, in row order. has_extraction is false when the eval produced no extraction for the document; its extracted values are then null. A document outside the eval, an unknown eval, or one on another workflow or organization returns 404 NOT_FOUND.

Authorizations

Authorization
string
header
required

API key issued from app.anyformat.ai/api-key. Send as Authorization: Bearer <key>.

Path Parameters

workflow_id
string
required
eval_id
string
required
document_packet_id
string
required

Response

Successful Response

Extracted against expected values for one document of an eval.

document_packet_id
string
required

The dataset copy's document packet id (hyphenated UUID), not the id of the production packet it was added from.

Example:

"069dcc2c-e14c-7606-8000-2ee4fb17b4f9"

first_file_name
string
required

Name of the document's first file.

has_extraction
boolean
required

false when the eval produced no extraction for this document.

fields
FieldValuesV3 · object[]
required

One entry per graded field.