---
title: "One contract with its decisions"
method: GET
path: "/v1/contract-check/contracts/{id}"
tags: ["Contract Check"]
---

# One contract with its decisions

`GET /v1/contract-check/contracts/{id}`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/contract-check/contracts/{id}`
- Auth: HTTP bearer

The contract as the last sync built it (CRM facts, its documents and, per attribute, the Talonic value, the CRM value and each document's own value), the decisions on it and the attributes required for its type. Documents the key's person may not see are left out; when the main document is hidden, the contract shows only its CRM facts and no decisions.

## Path parameters

- `id` string, required

## Response `200`

The contract.

- object
  - `contract` ContractCheckContract
    - `id` string
    - `crm_key` string: The CRM record id in lower case.
    - `site_key` string
    - `site_name` string, nullable
    - `role` 'purchase' | 'sale' | 'intercompany' | 'unassigned'
    - `type` string, nullable
    - `legacy_type` string, nullable
    - `name` string, nullable
    - `number` string, nullable
    - `partner` string, nullable
    - `status` string, nullable
    - `active` boolean
    - `start` string, date, nullable
    - `end` string, date, nullable
    - `product_row_id` string, nullable: Null when Talonic holds no documents for the contract (CRM only).
    - `document_ids` string[]
    - `doc_names` object: Readable name per document id.
    - `anchor_document_id` string, uuid, nullable: The main document.
    - `attrs` ContractCheckAttr[]
      - `key` string
      - `label` string
      - `type` string
      - `current` string, nullable: What Talonic holds: the value of the latest document that states one.
      - `crm` string, nullable: What the CRM holds.
      - `doc_values` object[]: Each document's own value, main document first.
        - `document_id` string, uuid
        - `value` string, nullable
        - `quoted` boolean: A passage of the document backs the value.
      - `source_document_id` string, uuid, nullable: The document the Talonic value comes from.
      - `source_pipeline_document_id` string, uuid, nullable
    - `text_group` string, nullable: The group of sibling contracts sharing a standard text; null when none.
    - `text_similarity` number, nullable
  - `decisions` ContractCheckDecision[]
    - `id` string, uuid
    - `crm_key` string
    - `field_key` string
    - `verdict` 'crm_ok' | 'crm_update' | 'not_maintained'
    - `value` string, nullable
    - `status` 'active' | 'suggested' | 'resolved': `suggested` waits for a person with the right to decide; `resolved` was closed later.
    - `resolved_by` 'sync' | 'drift' | 'accepted', nullable: `sync` the CRM took the value; `drift` both sides moved away from it; `accepted` a suggestion was accepted.
    - `by` string
    - `at` string, date-time
    - `reason` string, nullable
  - `required` string[]: The field keys required for the contract's type.

## Other responses

- `401`: Missing or invalid API key.
- `403`: The API key does not have the required scope.
- `404`: The requested resource was not found.

## Changes

- **2026-11-26** `622d429de7ea`: 1 info
  - endpoint added

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