# Case readiness

> 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/case-readiness

What a case still needs before it is decided, and whether it can be approved now. One rule holds for every case, and the console, the API, the CLI and the MCP server all read it from here.

Updated November 29, 2026

## The approval rule

- **Approve is blocked**, with each reason named in `approval.blockers`, while a screening match waits for a decision or is confirmed, a screening has not run or could not run, or an identity verification waits for a person or is not finished.
- **Approve asks to confirm** while required items are still to come. `approval.confirm` names them; approving without them is your call.
- **It meets your policy** is said only when `approval.policy.passes` is `true`: the case is checked against a policy, nothing falls short of it, every required item is in, no document is at High risk and no check across the documents failed.
- **Reject and Needs attention are never blocked.**

## How items are counted

A count counts items: each document or answer asked for. Required items make the count; optional items are counted apart. An item is in when it is received, accepted, waived or reused. Every screen and every answer counts the same way.

## The readiness object

- `case_id` (string): The case, starting with `case_`.
- `last_change` (object): The newest thing that happened on the case, with its time and kind, such as `follow_up.answered` or `task.created`.
- `parties` (array): Each party with their checklist counts and their request: its state now, whether it was opened again by a later ask, and when it is due.
- `counts` (object): Every party's items together.
  - `required` (number): Required items asked for.
  - `required_in` (number): Required items received, accepted, waived or reused.
  - `optional` (number): Optional items, counted apart.
  - `optional_in` (number): Optional items in.
  - `to_come` (number): Required items not in yet, or asked for again.
  - `needs_redo` (number): Items asked for again.
  - `reused` (number): Items taken from an earlier case of the same person.
- `approval` (object): The approval rule's answer for this case.
  - `allowed` (boolean): `false` while anything in `blockers` holds Approve.
  - `blockers` (array): Each reason Approve is held, with its `kind` (`screening_match`, `confirmed_match`, `not_screened`, `screening_pending`, `identity_review`, `identity_unfinished`), the party and a message in plain words.
  - `confirm` (object): Required items still to come: `needed`, the `message` Approve asks to confirm with, and the items per party.
  - `policy` (object): Whether the case meets its policy (`passes`), what falls short of it in words (`short_of`), the policies it is checked against and their findings not yet reviewed.
  - `meaning` (string): What Approve means here: `It meets your policy.` only when the policy check passes, otherwise the first thing that falls short.
  - `never_blocked` (array): The outcomes no blocker ever holds: `rejected` and `needs_attention`.
- `risk` (object): The case's verdict, `high_risk` once a screening match is confirmed whatever the documents say, with the documents' own verdict beside it and the confirmed match that set it.
- `decision_changes` (array): Each change of a decision already made, newest first: from, to, why, who and when.

## Read what a case still needs

Whatever your workspace calls them on screen, the API, CLI, MCP and webhooks say case and cases. Each party's checklist counted one way (required items make the count, optional ones apart), when the case last changed, and whether it can be approved now or what holds the approval.

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

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

**Returns** case readiness: The counts per party and in all, each party's request state and due time, the last change, and the approval rule's answer: what blocks Approve, what it asks to confirm, and whether the case meets its policy.

API:

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

CLI:

```bash
kontiga cases readiness case_7Kq2Xw9
```

MCP tool `get_case_readiness`:

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

TypeScript:

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

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

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.cases.readiness("case_7Kq2Xw9")
```

Go:

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

Java:

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

.NET:

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

PHP:

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

Ruby:

```ruby
require "kontiga"

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

Rust:

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

Response, 200 OK:

```json
{
  "object": "case_readiness",
  "case_id": "case_7Kq2Xw9",
  "mode": "live",
  "last_change": {
    "at": "2026-11-26T08:03:11Z",
    "kind": "task.created"
  },
  "parties": [
    {
      "party_id": "pty_9Hd4Vb1",
      "person_id": "per_2Nc6Qs8",
      "person_name": "Clara Whelan",
      "request_id": "rqs_8Bv4Hs1",
      "counts": {
        "required": 6,
        "required_in": 5,
        "optional": 1,
        "optional_in": 0,
        "to_come": 1,
        "needs_redo": 0,
        "reused": 0
      },
      "request": {
        "state": "in_progress",
        "due_at": "2026-12-02T10:42:18Z",
        "reopened": true
      }
    }
  ],
  "counts": {
    "required": 6,
    "required_in": 5,
    "optional": 1,
    "optional_in": 0,
    "to_come": 1,
    "needs_redo": 0,
    "reused": 0
  },
  "approval": {
    "allowed": false,
    "blockers": [
      {
        "kind": "screening_match",
        "party_id": "pty_9Hd4Vb1",
        "message": "A possible match for Clara Whelan on the Politically exposed persons list waits for a decision. Review it first."
      }
    ],
    "confirm": {
      "needed": true,
      "message": "Still to come: payslip, August 2026 from Clara Whelan. Approve without it?",
      "missing": [
        {
          "party_id": "pty_9Hd4Vb1",
          "person_name": "Clara Whelan",
          "items": ["Payslip, August 2026"]
        }
      ]
    },
    "policy": {
      "passes": false,
      "short_of": [
        "Not every required item is in yet."
      ],
      "policies": [
        {
          "id": "pol_6Cm3Xr8",
          "name": "Mortgage lending policy"
        }
      ],
      "findings": []
    },
    "meaning": "Not every required item is in yet.",
    "never_blocked": [
      "rejected",
      "needs_attention"
    ]
  },
  "risk": {
    "verdict": "review",
    "documents": "review",
    "confirmed": null
  },
  "decision_changes": []
}
```
