List Ground-Truth Datasets
List ground-truth datasets used for measuring extraction accuracy. Each dataset contains manually verified document-field value pairs.
Validation runs measure extraction accuracy against ground-truth datasets. Manage datasets and runs, and retrieve per-document and per-field accuracy results. Create a ground-truth set, then run validations to compare extracted values against expected values.
GET
/v1/validation/ground-truthResponse
Response fields
dataarrayArray of ground-truth dataset objects.
data[].idstringDataset UUID.
data[].namestringDataset name.
data[].user_schema_idstring | nullSchema scope for this dataset, if any.
data[].entry_countinteger | nullNumber of document-field value pairs in the dataset.
data[].created_atstringISO 8601 creation timestamp.
data[].updated_atstringISO 8601 last update timestamp.
data[].linksobjectRelated resource URLs (self).
Response
{
"data": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "Invoice Validation Set",
"user_schema_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"entry_count": 50,
"created_at": "2024-08-01T00:00:00.000Z",
"updated_at": "2024-08-01T00:00:00.000Z",
"links": {
"self": "/v1/validation/ground-truth/a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
}
]
}Errors
Error responses
401unauthorizedMissing or invalid API key.
429rate_limitedToo many requests. Retry after the period indicated in the Retry-After header.