---
title: "Comparisons of document batches, newest first"
method: GET
path: "/v1/compliance/discrepancy-runs"
tags: ["Compliance"]
---

# Comparisons of document batches, newest first

`GET /v1/compliance/discrepancy-runs`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/compliance/discrepancy-runs`
- Auth: HTTP bearer

A comparison finds the facts that documents of a batch state differently. At most the latest 100 runs. Counts and documents consider only documents whose framework is ON.

## Response `200`

The runs.

- object
  - `data` ComplianceDiscrepancyRun[]
    - `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[]
      - `id` string, uuid
      - `filename` string
      - `deleted` boolean
      - `active` boolean: Whether the document's framework is ON.
    - `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

- **2026-10-28** `0a485a46163e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/compliance/discrepancy-runs/get.md)

---

[API](https://skmtc.dev/talonic/apis/talonic-api.md) - [All operations](https://skmtc.dev/talonic/apis/talonic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/talonic/apis/talonic-api/revisions/9f6d53e2ab5e?raw)
