Skip to main content

Benchmark Breakdowns

List benchmark runs and business-rules checks, read the accuracy breakdown of one field, the per-document rows of a file comparison, and the progress of a run review.

These reads return the same benchmark views the app shows on Review → Benchmarks. They need the read or reviews:read scope. Documents the person behind the credential cannot see are left out of every per-document answer.

GET/v1/validation/runs/benchmarks
GET/v1/validation/runs/sessions
GET/v1/validation/runs/:id/confusion-matrix/:fieldName
GET/v1/validation/runs/:id/csv-data

Query parameters

baselineintegerIndex of the source the others are compared against. Default: 0
GET/v1/validation/runs/:id/judge-progress

Field breakdown

curl https://api.talonic.com/v1/validation/runs/RUN_ID/confusion-matrix/invoice_total \
  -H "Authorization: Bearer tlnc_..."

Errors

Error responses

400validation_errorbaseline is not a non-negative integer.
401unauthorizedMissing or invalid API key.
404not_foundThe run is not in your workspace.
429rate_limitedToo many requests.

Frequently asked questions

Where do business-rules checks show up?+
In GET /v1/validation/runs/sessions, and directly at the links.run URL returned when you start one.