---
title: "The Data quality page"
method: GET
path: "/v1/contract-desk/quality"
tags: ["Contract Desk"]
---

# The Data quality page

`GET /v1/contract-desk/quality`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/contract-desk/quality`
- Auth: HTTP bearer

The required values of the contracts whose documents Talonic holds: how many are in order and how the open ones split by state, summed over the attributes; the attributes with the most open values first (at most the configured number; `attributes_total` counts them all); contracts with and without documents (`active_without_documents`: active CRM contracts without documents, the ones a `documents_missing` item names); and the link report of the last build. Each listed attribute carries, per open state with values, the key of the To do batch holding exactly those values (`batches`). Requires scope `read`.

## Response `200`

The Data quality figures.

- ContractDeskQuality
  - `values` object
    - `required` integer
    - `ok` integer
    - `open` integer
    - `mismatch` integer
    - `crm_missing` integer
    - `doc_missing` integer
    - `both_missing` integer
    - `declined` integer: Left empty on purpose in the CRM with a suggestion waiting.
  - `attributes` object[]
    - `field_key` string
    - `label` string
    - `required` integer
    - `ok` integer
    - `open` integer
    - `mismatch` integer
    - `crm_missing` integer
    - `doc_missing` integer
    - `both_missing` integer
    - `declined` integer
    - `batches` object: Per open state with a count above 0, the key of the To do batch holding exactly those values (`GET /v1/contract-desk/todo/items?batch=`); a state without values is left out.
      - `mismatch` string
      - `crm_missing` string
      - `doc_missing` string
      - `both_missing` string
      - `declined` string
  - `attributes_total` integer
  - `documents` object
    - `contracts` integer
    - `with_documents` integer
    - `active_without_documents` integer
  - `link` object, nullable: The link report of the last build, as `GET /v1/contract-desk/status` answers it.
  - `available` object: Which parts of this answer the workspace's data backs; `documents` always counts.
    - `values` boolean: False where no system of record gives values to compare: `values` and `attributes` are then empty because nothing is counted, not because every value is in order.
    - `links` boolean: False where the contracts are the Contracts app's own: `link` then compares nothing.

## Other responses

- `403`: The key lacks the `read` scope, or its person may not see every document the index names.
- `404`: The workspace has not added the app, or is not in the pilot.

## Changes

- **2026-12-04** `907c112dbe85`: 1 info
  - added the optional property `available` to the response with the `200` status
- **2026-11-19** `27b968c6df42`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/contract-desk/quality/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)
