Get / Delete Validation Run
Get validation run detail with accuracy summary or delete a run. Supports GET (read scope) and DELETE (write scope) on the same path.
Retrieve the full details of a validation run including its status, accuracy score, and total comparisons. Or permanently delete a run and its associated results. Use GET to poll a run's status until it reaches completed, then fetch the detailed results.
After creating a validation run, poll this endpoint until the status field transitions from pending or running to completed or failed. Once completed, the accuracy field contains the overall score (0-1) and total_comparisons shows how many field-level comparisons were made.
The response includes links.results which points directly to the per-field results endpoint. Once the run reaches completed status, follow this link to retrieve the granular comparison data including match types, similarity scores, and LLM judge verdicts.
Pair this endpoint with Create Validation Run for the create-then-poll workflow, or with List Validation Runs to find specific runs by recency. Comparing the accuracy values of multiple runs against the same ground-truth dataset is the primary way to track extraction quality over time.
/v1/validation/runs/{id}Response
Response fields (GET)
Response (GET)
{
"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.94,
"total_comparisons": 250,
"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"
}
}Response (DELETE)
{
"deleted": true
}Errors
Error responses