Decide Flagged Values
Accept a flagged value so its suggested correction replaces the extracted one, reject a flag, or decide up to 500 flags of one run in a single call.
A review of a run checks each extracted value against its document and flags the ones that look wrong, with a suggested value. Accepting a flag writes the suggested value into the run's results and marks it as reviewed by the person behind your credential; rejecting it keeps the extracted value. Only flags marked incorrect or missing can be accepted.
These writes need the reviews:write scope and the workspace edit permission. Send an Idempotency-Key header (up to 64 characters) on this write. A retry with the same key and body returns the first response with Idempotent-Replayed: true and changes nothing; the same key with a different body is refused with 422 idempotency_key_reused.
/v1/validation/runs/:id/judge-accept/v1/validation/runs/:id/judge-reject/v1/validation/runs/:id/judge-bulkBody
accepted or rejected.Accept a flag
curl -X POST https://api.talonic.com/v1/validation/runs/RUN_ID/judge-accept \
-H "Authorization: Bearer tlnc_..." -H "Content-Type: application/json" \
-H "Idempotency-Key: accept-RES_ID" \
-d '{"result_id": "RES_ID"}'Errors
Error responses
reason says which.