---
title: "The settings with what a settings form needs"
method: GET
path: "/v1/contract-check/settings"
tags: ["Contract Check"]
---

# The settings with what a settings form needs

`GET /v1/contract-check/settings`

## Request

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

The data product in force (the stored one, else the newest candidate), the stored settings (null before the first sync suggested them), the candidate data products, the CRM table bound to the product with its match key and field mappings, the CRM table's columns with up to five sample rows, and the contract types seen in the last sync.

## Response `200`

The settings.

- ContractCheckSettingsView
  - `data_product_id` string, uuid, nullable
  - `settings` ContractCheckSettings, nullable: Where each tree property sits in the CRM table, the required attributes per type, and the thresholds.
    - `tree` object, required
      - `key` string, required: The CRM record id column.
      - `site` object, required
        - `column` string, required
        - `pattern` string, nullable: A regular expression whose first capture group cuts the site key out of the value.
      - `site_name` string, nullable
      - `role` object, required
        - `column` string, required
        - `values` object: CRM value to role.
      - `type` string, nullable
      - `legacy_type` string, nullable
      - `active` object, nullable
        - `column` string
        - `values` string[]
      - `status` string, nullable
      - `start` string, nullable
      - `end` string, nullable
      - `partner` string[]: Columns; the first non-empty one wins.
      - `name` string, nullable
      - `number` string, nullable
    - `required` object: Required attributes (field keys) per contract type.
    - `varies` string[]: Fields that differ between sibling contracts by nature.
    - `declined` string[]: The CRM's own words for a field left empty on purpose; such a field is no gap.
    - `thresholds` object
      - `start_gap_years` number
      - `similarity` number: How alike two main documents must be to count as sharing a standard text.
      - `end_coverage` boolean
      - `date_rule_types` string[]
      - `purchase_overrun_years` number
  - `products` object[]
    - `id` string, uuid
    - `name` string
  - `binding` object, nullable: The CRM table bound to the data product.
    - `reference_data_id` string, uuid
    - `match_key` string
    - `fields` object[]
      - `key` string
      - `label` string
      - `column` string
  - `columns` string[]
  - `samples` object[]: Up to five CRM rows.
  - `types` string[]: Contract types seen in the last sync.

## 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/settings/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)
