# Checks

> Kontiga is document fraud detection by Bynn Intelligence for insurers, letting agents, lenders and HR screening teams: every document is compared with a proprietary library of more than 300 million original documents, gathered over 20 years.

Documentation index: https://kontiga.com/llms.txt

Section: Reference. URL: https://kontiga.com/docs/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 November 28, 2026

## The check object

- `id` (string): The check's id, starting with `chk_`.
- `case_id` (string): The case it ran on.
- `name` (string): What it checks, in words.
- `scope` (enum): `within` one document, or `across` the case's documents.
- `result` (enum): `passed`, `failed`, `warning`, or `waiting` while a document it needs has not arrived.
- `statement` (string): The result in plain words, with the values.
- `compared` (array): Each value compared: the document, its title, the field's key and the value as read. Empty while it waits.
- `ran_at` (string): 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](https://kontiga.com/docs/case-readiness#the-approval-rule)).

## List the case's 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.

`GET /v1/cases/{case_id}/checks`. Who may: Owner, Admin, Analyst and Viewer; Developer in test mode. CLI: `kontiga checks list <case_id>`. MCP tool: `list_case_checks`.

**Parameters**
- `case_id` (id (case_), required): The case whose checks to list. In the path.

**Returns** list of checks: The case's checks, failed first, each with the values it compared.

API:

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

CLI:

```bash
kontiga checks list case_7Kq2Xw9
```

MCP tool `list_case_checks`:

```json
{
  "name": "list_case_checks",
  "arguments": {
    "case_id": "case_7Kq2Xw9"
  }
}
```

TypeScript:

```typescript
import Kontiga from "@kontiga/sdk";

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.checks.list("case_7Kq2Xw9");
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.checks.list("case_7Kq2Xw9")
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.Checks.List(ctx, "case_7Kq2Xw9")
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.checks().list("case_7Kq2Xw9");
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.Checks.ListAsync("case_7Kq2Xw9");
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->checks->list('case_7Kq2Xw9');
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.checks.list("case_7Kq2Xw9")
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .checks()
    .list("case_7Kq2Xw9".into())
    .await?;
```

Response, 200 OK:

```json
{
  "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
}
```
