Compliance
Compare a batch of documents for discrepancies
Changed onStarts a comparison and returns at once; the run waits for every document's text, then makes one model call (or, with the external decider, waits as a task).
post/v1/compliance/discrepancy-runs
Request
- Base URLhttps://api.talonic.com
- AuthHTTP bearer
Request body
object required
document_ids, string[] required
The configured maximum (20 by default) applies on top.
Response
The run.
Compliance Discrepancy Run required
id, string uuid
status, 'pending' | 'processing' | 'waiting' | 'completed' | 'error'
waiting: offered to the workspace's own agent. A processing run older than the staleness limit reads error.
error, string nullable
documents, object[]
discrepancy_count, integer
Discrepancies at least two active documents still disagree on.
active_document_count, integer
decided_by, string nullable
The external agent's label when the platform's model did not compare.
created_at, string date-time
finished_at, string date-time nullable
Changes
- info
endpoint added
- info