List Validation Runs
List validation runs with GET /v1/validation/runs. Each run scores a job run against a golden sample dataset; poll status and drill into per-field results.
A validation run is a benchmark: it compares the structured output of one job run (a Structuring Run in the platform) against a golden sample dataset and produces per-field comparison records. GET /v1/validation/runs lists the newest 100 validation runs for your organization, most recent first. This is Benchmarks — accuracy measurement after the fact — not the in-pipeline validation checks that gate results before delivery.
Each run carries a status from the lifecycle pending → queued → processing → completed (or failed). Runs created through the public API execute in the request and come back already completed or failed; only runs created from older clients can still sit in pending. There is no running status.
accuracy is the run's weighted score across all fields and documents (0-1) and total_comparisons is the number of document-field pairs compared; both are null until the run completes. field_accuracy carries the per-field breakdown (match-type counts and a per-field score), and matched_documents / unmatched_golden / unmatched_dataset show how many documents were paired. For row-level detail, fetch [GET /v1/validation/runs/{id}/results](get-validation-results).
The list includes every validation run in the organization, not only API-created ones: benchmarks launched from the platform (golden-sample comparisons, CSV comparisons, unified and LLM-judge runs) appear here too, serialized to the same shape. Use dataspace_run_id to correlate a run with the job it scored and golden_sample_id to correlate it with its dataset; both come back null on run types that do not use them (a CSV comparison has no job run, for example).
created_at descending, with no pagination. Delete obsolete runs with DELETE /v1/validation/runs/{id} if older runs you still need fall outside the window./v1/validation/runsRequest
curl https://api.talonic.com/v1/validation/runs \
-H "Authorization: Bearer tlnc_..."Response
Response fields
Response
{
"data": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "Q1 Invoice accuracy check",
"status": "completed",
"dataspace_run_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"golden_sample_id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"accuracy": 0.9412,
"total_comparisons": 68,
"matched_documents": 17,
"unmatched_golden": 0,
"unmatched_dataset": 2,
"field_accuracy": { "invoice_number": { "total": 17, "exact": 17, "partial": 0, "mismatch": 0, "missing_actual": 0, "missing_expected": 0, "both_empty": 0, "accuracy": 1 } },
"error_message": null,
"created_at": "2024-09-14T10:32:00.000Z",
"completed_at": "2024-09-14T10:35:00.000Z",
"links": {
"self": "/v1/validation/runs/a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"results": "/v1/validation/runs/a1b2c3d4-e5f6-7890-abcd-ef1234567890/results"
}
}
]
}Errors
Error responses