Skip to content

ReferenceInside a case

Checks

A check compares values read from the documents: within one document, such as a payslip’s totals, and across a case’s documents, such as the same employer and the same net pay from the payslip to the bank statement. Each check names what it compared and where each value was read.

Updated

Ask about this pageRead this page as Markdown

The check object

  • idstring

    The check’s id, starting with chk_.

  • case_idstring

    The case it ran on.

  • namestring

    What it checks, in words.

  • scopeenum

    within one document, or across the case’s documents.

  • resultenum

    passed, failed, warning, or waiting while a document it needs has not arrived.

  • statementstring

    The result in plain words, with the values.

  • comparedarray

    Each value compared: the document, its title, the field’s key and the value as read. Empty while it waits.

  • ran_atstring

    When it last ran, or null while it waits.

Checks run again by themselves when a document arrives or a member corrects a value they read. A failed check across the documents keeps a case from meeting its policy (see Case readiness).

List the case's checks

Reads only

GET/v1/cases/{case_id}/checks

Every check within a document and across the case’s documents: what was compared, where each value was read, and the result in plain words.

Who may
Owner, Admin, Analyst and Viewer; Developer in test mode
CLI
kontiga checks list <case_id>
MCP tool
list_case_checks
Returns
The case’s checks, failed first, each with the values it compared.

Parameters

  • case_idid (case_)Required

    The case whose checks to list. In the path.

curl -X GET https://api.kontiga.com/v1/cases/case_7Kq2Xw9/checks \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

GET /v1/cases/{case_id}/checks

Response, 200 OK
{
  "items": [
    {
      "id": "chk_7Lp3Gs9",
      "object": "check",
      "case_id": "case_7Kq2Xw9",
      "name": "Net pay is steady over three months",
      "scope": "across",
      "result": "waiting",
      "statement": "Waiting for the payslip for August 2026.",
      "compared": [],
      "ran_at": null
    },
    {
      "id": "chk_1Ma4Rf6",
      "object": "check",
      "case_id": "case_7Kq2Xw9",
      "name": "Net pay arrives in the bank statement",
      "scope": "across",
      "result": "passed",
      "statement": "The October payslip's net pay, €3,412.60, was paid into the account by Corrib Freight Ltd on 28 Oct 2026.",
      "compared": [
        {
          "document_id": "doc_4Fp8Ns2",
          "document_title": "Payslip, October 2026",
          "field": "net_pay",
          "value": "3412.60"
        },
        {
          "document_id": "doc_2Rb7Tq5",
          "document_title": "Bank statement, October 2026",
          "field": "credit_amount",
          "value": "3412.60"
        }
      ],
      "ran_at": "2026-11-25T09:48:17Z"
    },
    {
      "id": "chk_5Ve2Jn8",
      "object": "check",
      "case_id": "case_7Kq2Xw9",
      "name": "The employer is the same on every document",
      "scope": "across",
      "result": "passed",
      "statement": "Both payslips and the bank statement name Corrib Freight Ltd.",
      "compared": [
        {
          "document_id": "doc_6Lw3Hc9",
          "document_title": "Payslip, September 2026",
          "field": "employer_name",
          "value": "Corrib Freight Ltd"
        },
        {
          "document_id": "doc_4Fp8Ns2",
          "document_title": "Payslip, October 2026",
          "field": "employer_name",
          "value": "Corrib Freight Ltd"
        },
        {
          "document_id": "doc_2Rb7Tq5",
          "document_title": "Bank statement, October 2026",
          "field": "credit_counterparty",
          "value": "CORRIB FREIGHT LTD"
        }
      ],
      "ran_at": "2026-11-24T18:55:12Z"
    },
    {
      "id": "chk_9Kx3Bd1",
      "object": "check",
      "case_id": "case_7Kq2Xw9",
      "name": "The payslip's totals add up",
      "scope": "within",
      "result": "passed",
      "statement": "Gross pay €4,850.00 less deductions of €1,437.40 gives the net pay of €3,412.60.",
      "compared": [
        {
          "document_id": "doc_4Fp8Ns2",
          "document_title": "Payslip, October 2026",
          "field": "gross_pay",
          "value": "4850.00"
        },
        {
          "document_id": "doc_4Fp8Ns2",
          "document_title": "Payslip, October 2026",
          "field": "total_deductions",
          "value": "1437.40"
        },
        {
          "document_id": "doc_4Fp8Ns2",
          "document_title": "Payslip, October 2026",
          "field": "net_pay",
          "value": "3412.60"
        }
      ],
      "ran_at": "2026-11-25T09:48:17Z"
    }
  ],
  "next_cursor": null
}