# Case timeline

> 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/timeline

A case's timeline is everything that happened to it, newest first, each line with its time and who or what did it: a member, the party, the reasoning agent, a workflow or Kontiga itself. A line is never changed afterwards: when something changes, a new line is added with its own time and actor.

Updated November 28, 2026

## The timeline event

- `id` (string): The line's id.
- `at` (string): When it happened.
- `kind` (string): What happened, such as `document.checked` or `case.decided`.
- `group` (enum): The filter it falls under: `case`, `parties`, `documents`, `decision`, `notes` or `expert`.
- `actor` (object): Who or what did it: its `type` (`member`, `api_key`, `end_customer`, `workflow`, `reasoning_agent`, `system` or `kontiga_expert`), its id and its name in words.
- `summary` (string): What happened, in plain words.
- `significance` (enum): `info`, `warning`, `error` or `critical`, when the line needs attention.
- `took_seconds` (number): How long the work took, for a check or an assessment.

## Read a case's timeline

Whatever your workspace calls them on screen, the API, CLI, MCP and webhooks say case and cases. Everything that happened to a case, newest first, with who or what did it: requests, documents, checks, notes, decisions.

`GET /v1/cases/{case_id}/timeline`. Who may: Owner, Admin, Analyst and Viewer; Developer in test mode. CLI: `kontiga cases timeline <case_id> [--group <case|parties|documents|decision|notes|expert>] [--limit <n>]`. MCP tool: `get_case_timeline`.

**Parameters**
- `case_id` (id (case_), required): The case whose timeline to read. In the path.
- `group` (enum): Only the lines of this group. One of `case`, `parties`, `documents`, `decision`, `notes`, `expert`.
- `limit` (integer): How many lines to answer, 1 to 200, newest first.

**Returns** list of timeline events: The case's events, newest first, each with its actor and a summary in plain words.

API:

```bash
curl -X GET "https://api.kontiga.com/v1/cases/case_7Kq2Xw9/timeline?limit=50" \
  -H "Authorization: Bearer $KONTIGA_API_KEY"
```

CLI:

```bash
kontiga cases timeline case_7Kq2Xw9 --limit 50
```

MCP tool `get_case_timeline`:

```json
{
  "name": "get_case_timeline",
  "arguments": {
    "case_id": "case_7Kq2Xw9",
    "limit": 50
  }
}
```

TypeScript:

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

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.cases.timeline("case_7Kq2Xw9", {
  limit: 50,
});
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.cases.timeline("case_7Kq2Xw9", limit=50)
```

Go:

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

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.cases().timeline("case_7Kq2Xw9", CasesTimelineParams.builder()
    .limit(50)
    .build());
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.Cases.TimelineAsync("case_7Kq2Xw9", new CasesTimelineOptions
{
    Limit = 50,
});
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->cases->timeline('case_7Kq2Xw9', [
    'limit' => 50,
]);
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.cases.timeline("case_7Kq2Xw9", limit: 50)
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .cases()
    .timeline("case_7Kq2Xw9".into(), kontiga::cases::TimelineParams {
        limit: 50,
        ..Default::default()
    })
    .await?;
```

Response, 200 OK:

```json
{
  "items": [
    {
      "id": "tle_6Hd2Wq9",
      "at": "2026-11-26T08:41:07Z",
      "kind": "case.decided",
      "group": "decision",
      "actor": { "type": "member", "id": "mem_3Rt8Lp2", "label": "Ines Moreau" },
      "summary": "Approved: payslips match the bank statements; the employer was confirmed by phone.",
      "significance": "info"
    },
    {
      "id": "tle_3Ka8Lm1",
      "at": "2026-11-25T14:22:30Z",
      "kind": "note.added",
      "group": "notes",
      "actor": { "type": "member", "id": "mem_3Rt8Lp2", "label": "Ines Moreau" },
      "summary": "Called the employer on 25 Nov: start date and salary confirmed."
    },
    {
      "id": "tle_9Vb4Rs7",
      "at": "2026-11-24T09:42:10Z",
      "kind": "assessment.completed",
      "group": "decision",
      "actor": { "type": "reasoning_agent", "id": null, "label": "Reasoning agent" },
      "summary": "Sent to a person: the October payslip has a finding on its net pay.",
      "significance": "warning",
      "took_seconds": 7
    },
    {
      "id": "tle_2Np7Xc5",
      "at": "2026-11-24T09:32:01Z",
      "kind": "document.checked",
      "group": "documents",
      "actor": { "type": "system", "id": null, "label": "Kontiga" },
      "summary": "Payslip, October 2026 checked: Review. The net pay was changed after the payslip was made.",
      "significance": "warning",
      "took_seconds": 41
    },
    {
      "id": "tle_8Mt1Gy3",
      "at": "2026-11-24T09:31:20Z",
      "kind": "document.received",
      "group": "documents",
      "actor": { "type": "end_customer", "id": "pty_9Hd4Vb1", "label": "Marta Kowalczyk" },
      "summary": "Payslip, October 2026 received through the link."
    }
  ],
  "next_cursor": null
}
```
