# Notes and tasks

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

Notes are what the team writes on a case for itself: a phone call, a doubt, a decision taken outside Kontiga. A note given to a member is a task, with a due time and a reminder. The end customer never sees either, and a note is never deleted.

Updated November 28, 2026

## The note object

- `id` (string): The note's id, starting with `nte_`.
- `case_id` (string): The case it is on.
- `document_id` (string): The document it is about, or `null` for the case as a whole.
- `author` (object): Who wrote it: a member, a Kompis, the reasoning agent or the system, with a `label` in words.
- `content` (string): What the note says, 1 to 5,000 characters.
- `note_type` (enum): `general`, `verification`, `risk`, `compliance`, `support` or `technical`.
- `importance_level` (enum): `normal`, `important`, `urgent` or `critical`.
- `created_at` (string): When it was written, in UTC.
- `task` (object): When the note is a task: who does it, who gave it, its status and its times. `null` for a plain note.
  - `assignee` (object): The member who does it.
  - `assigned_by` (object): The member who gave it.
  - `status` (enum): `pending`, `in_progress`, `need_more_info`, `completed`, `rejected` or `cancelled`.
  - `due_at` (string): When it is due, in the future when it is set, or `null`.
  - `remind_at` (string): When the assignee is reminded, before the due time, or `null`.

**A note that is a task**

```json
{
  "id": "nte_6Yh2Fs9",
  "object": "note",
  "mode": "live",
  "case_id": "case_7Kq2Xw9",
  "document_id": "doc_4Fp8Ns2",
  "author": {
    "type": "member",
    "id": "mem_3Rt8Lp2",
    "label": "Tomas Lindqvist"
  },
  "content": "Read the expert's finding on the October payslip before we approve.",
  "note_type": "risk",
  "importance_level": "important",
  "created_at": "2026-11-26T08:03:11Z",
  "task": {
    "assignee": {
      "id": "mem_8Gd2Nw4",
      "name": "Ines Moreau"
    },
    "assigned_by": {
      "id": "mem_3Rt8Lp2",
      "name": "Tomas Lindqvist"
    },
    "status": "pending",
    "due_at": "2026-11-27T17:00:00Z",
    "remind_at": "2026-11-27T09:00:00Z",
    "updated_at": "2026-11-26T08:03:11Z"
  }
}
```

## List the case's notes

The notes the team wrote on a case, newest first. The end customer never sees them.

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

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

**Returns** list of notes: The notes, newest first, each with its author, type and importance.

API:

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

CLI:

```bash
kontiga notes list case_7Kq2Xw9
```

MCP tool `list_case_notes`:

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

TypeScript:

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

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

Python:

```python
from kontiga import Kontiga

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

Go:

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

Java:

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

.NET:

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

PHP:

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

Ruby:

```ruby
require "kontiga"

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

Rust:

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

Response, 200 OK:

```json
{
  "items": [
    {
      "id": "nte_6Yh2Fs9",
      "object": "note",
      "mode": "live",
      "case_id": "case_7Kq2Xw9",
      "document_id": "doc_4Fp8Ns2",
      "author": {
        "type": "member",
        "id": "mem_3Rt8Lp2",
        "label": "Tomas Lindqvist"
      },
      "content": "Read the expert's finding on the October payslip before we approve.",
      "note_type": "risk",
      "importance_level": "important",
      "created_at": "2026-11-26T08:03:11Z",
      "task": {
        "assignee": {
          "id": "mem_8Gd2Nw4",
          "name": "Ines Moreau"
        },
        "assigned_by": {
          "id": "mem_3Rt8Lp2",
          "name": "Tomas Lindqvist"
        },
        "status": "pending",
        "due_at": "2026-11-27T17:00:00Z",
        "remind_at": "2026-11-27T09:00:00Z",
        "updated_at": "2026-11-26T08:03:11Z"
      }
    },
    {
      "id": "nte_3Vb8Kq1",
      "object": "note",
      "mode": "live",
      "case_id": "case_7Kq2Xw9",
      "document_id": null,
      "author": {
        "type": "member",
        "id": "mem_3Rt8Lp2",
        "label": "Tomas Lindqvist"
      },
      "content": "Called Corrib Freight Ltd's payroll team. They confirm Clara Whelan has worked there since 1 Sep 2026 as a logistics planner, on a permanent contract.",
      "note_type": "verification",
      "importance_level": "normal",
      "created_at": "2026-11-26T07:58:40Z",
      "task": null
    }
  ],
  "next_cursor": null
}
```

## Add a note

Write a note on a case for the team. The end customer never sees it.

`POST /v1/cases/{case_id}/notes`. Who may: Owner, Admin and Analyst; Developer in test mode. CLI: `kontiga notes add <case_id> --content <text> [--note-type <general|verification|risk|compliance|support|technical>] [--importance-level <normal|important|urgent|critical>] [--document-id <document_id>] [--assignee-id <member_id>] [--due-at <time>] [--remind-at <time>]`. MCP tool: `add_case_note`.

**Parameters**
- `case_id` (id (case_), required): The case to write on. In the path.
- `content` (string, required): What the note says, up to 5,000 characters.
- `note_type` (enum, default "general"): What kind of note it is. `general` when left out. One of `general`, `verification`, `risk`, `compliance`, `support`, `technical`.
- `importance_level` (enum, default "normal"): How much it matters. `normal` when left out. One of `normal`, `important`, `urgent`, `critical`.
- `document_id` (id (doc_)): A document of the case the note is about.
- `assignee_id` (id (mem_)): A member who can see the case. With an assignee, the note is a task for them.
- `due_at` (string): When the task is due. It must be in the future.
- `remind_at` (string): When to remind the assignee. It must be before `due_at`.

**Returns** note: The note, added to the case and its timeline; a task when it has an assignee.

API:

```bash
curl -X POST https://api.kontiga.com/v1/cases/case_7Kq2Xw9/notes \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "content": "Read the expert'\''s finding on the October payslip before we approve.",
    "note_type": "risk",
    "importance_level": "important",
    "document_id": "doc_4Fp8Ns2",
    "assignee_id": "mem_8Gd2Nw4",
    "due_at": "2026-11-27T17:00:00Z",
    "remind_at": "2026-11-27T09:00:00Z"
  }'
```

CLI:

```bash
kontiga notes add case_7Kq2Xw9 \
  --content 'Read the expert'\''s finding on the October payslip before we approve.' --note-type risk --importance-level important --document-id doc_4Fp8Ns2 --assignee-id mem_8Gd2Nw4 --due-at 2026-11-27T17:00:00Z --remind-at 2026-11-27T09:00:00Z
```

MCP tool `add_case_note`:

```json
{
  "name": "add_case_note",
  "arguments": {
    "case_id": "case_7Kq2Xw9",
    "content": "Read the expert's finding on the October payslip before we approve.",
    "note_type": "risk",
    "importance_level": "important",
    "document_id": "doc_4Fp8Ns2",
    "assignee_id": "mem_8Gd2Nw4",
    "due_at": "2026-11-27T17:00:00Z",
    "remind_at": "2026-11-27T09:00:00Z"
  }
}
```

TypeScript:

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

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.notes.create("case_7Kq2Xw9", {
  content: "Read the expert's finding on the October payslip before we approve.",
  note_type: "risk",
  importance_level: "important",
  document_id: "doc_4Fp8Ns2",
  assignee_id: "mem_8Gd2Nw4",
  due_at: "2026-11-27T17:00:00Z",
  remind_at: "2026-11-27T09:00:00Z",
});
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.notes.create(
    "case_7Kq2Xw9",
    content="Read the expert's finding on the October payslip before we approve.",
    note_type="risk",
    importance_level="important",
    document_id="doc_4Fp8Ns2",
    assignee_id="mem_8Gd2Nw4",
    due_at="2026-11-27T17:00:00Z",
    remind_at="2026-11-27T09:00:00Z",
)
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.Notes.Create(ctx, "case_7Kq2Xw9", &kontiga.NotesCreateParams{
	Content:         "Read the expert's finding on the October payslip before we approve.",
	NoteType:        "risk",
	ImportanceLevel: "important",
	DocumentId:      "doc_4Fp8Ns2",
	AssigneeId:      "mem_8Gd2Nw4",
	DueAt:           "2026-11-27T17:00:00Z",
	RemindAt:        "2026-11-27T09:00:00Z",
})
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.notes().create("case_7Kq2Xw9", NotesCreateParams.builder()
    .content("Read the expert's finding on the October payslip before we approve.")
    .noteType("risk")
    .importanceLevel("important")
    .documentId("doc_4Fp8Ns2")
    .assigneeId("mem_8Gd2Nw4")
    .dueAt("2026-11-27T17:00:00Z")
    .remindAt("2026-11-27T09:00:00Z")
    .build());
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.Notes.CreateAsync("case_7Kq2Xw9", new NotesCreateOptions
{
    Content = "Read the expert's finding on the October payslip before we approve.",
    NoteType = "risk",
    ImportanceLevel = "important",
    DocumentId = "doc_4Fp8Ns2",
    AssigneeId = "mem_8Gd2Nw4",
    DueAt = "2026-11-27T17:00:00Z",
    RemindAt = "2026-11-27T09:00:00Z",
});
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->notes->create('case_7Kq2Xw9', [
    'content' => 'Read the expert\'s finding on the October payslip before we approve.',
    'note_type' => 'risk',
    'importance_level' => 'important',
    'document_id' => 'doc_4Fp8Ns2',
    'assignee_id' => 'mem_8Gd2Nw4',
    'due_at' => '2026-11-27T17:00:00Z',
    'remind_at' => '2026-11-27T09:00:00Z',
]);
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.notes.create(
  "case_7Kq2Xw9",
  content: "Read the expert's finding on the October payslip before we approve.",
  note_type: "risk",
  importance_level: "important",
  document_id: "doc_4Fp8Ns2",
  assignee_id: "mem_8Gd2Nw4",
  due_at: "2026-11-27T17:00:00Z",
  remind_at: "2026-11-27T09:00:00Z"
)
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .notes()
    .create("case_7Kq2Xw9".into(), kontiga::notes::CreateParams {
        content: "Read the expert's finding on the October payslip before we approve.".into(),
        note_type: "risk".into(),
        importance_level: "important".into(),
        document_id: "doc_4Fp8Ns2".into(),
        assignee_id: "mem_8Gd2Nw4".into(),
        due_at: "2026-11-27T17:00:00Z".into(),
        remind_at: "2026-11-27T09:00:00Z".into(),
        ..Default::default()
    })
    .await?;
```

Response, 201 Created:

```json
{
  "id": "nte_6Yh2Fs9",
  "object": "note",
  "mode": "live",
  "case_id": "case_7Kq2Xw9",
  "document_id": "doc_4Fp8Ns2",
  "author": {
    "type": "member",
    "id": "mem_3Rt8Lp2",
    "label": "Tomas Lindqvist"
  },
  "content": "Read the expert's finding on the October payslip before we approve.",
  "note_type": "risk",
  "importance_level": "important",
  "created_at": "2026-11-26T08:03:11Z",
  "task": {
    "assignee": {
      "id": "mem_8Gd2Nw4",
      "name": "Ines Moreau"
    },
    "assigned_by": {
      "id": "mem_3Rt8Lp2",
      "name": "Tomas Lindqvist"
    },
    "status": "pending",
    "due_at": "2026-11-27T17:00:00Z",
    "remind_at": "2026-11-27T09:00:00Z",
    "updated_at": "2026-11-26T08:03:11Z"
  }
}
```

## Move a task on

Change a task's status: looking into it, need more information, completed, rejected or cancelled. Each change lands on the case's timeline.

`POST /v1/notes/{note_id}/task/status`. Who may: Owner, Admin and Analyst; Developer in test mode. CLI: `kontiga tasks status <note_id> --status <pending|in_progress|need_more_info|completed|rejected|cancelled>`. MCP tool: `set_task_status`.

**Parameters**
- `note_id` (id (nte_), required): The note that holds the task. In the path.
- `status` (enum, required): The task's new status. Its assignee, its author, an owner or an admin may change it. One of `pending`, `in_progress`, `need_more_info`, `completed`, `rejected`, `cancelled`.

**Returns** note: The note with its task in the new status.

API:

```bash
curl -X POST https://api.kontiga.com/v1/notes/nte_6Yh2Fs9/task/status \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "status": "completed"
  }'
```

CLI:

```bash
kontiga tasks status nte_6Yh2Fs9 --status completed
```

MCP tool `set_task_status`:

```json
{
  "name": "set_task_status",
  "arguments": {
    "note_id": "nte_6Yh2Fs9",
    "status": "completed"
  }
}
```

TypeScript:

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

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.tasks.setStatus("nte_6Yh2Fs9", {
  status: "completed",
});
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.tasks.set_status("nte_6Yh2Fs9", status="completed")
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.Tasks.SetStatus(ctx, "nte_6Yh2Fs9", &kontiga.TasksSetStatusParams{
	Status: "completed",
})
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.tasks().setStatus("nte_6Yh2Fs9", TasksSetStatusParams.builder()
    .status("completed")
    .build());
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.Tasks.SetStatusAsync("nte_6Yh2Fs9", new TasksSetStatusOptions
{
    Status = "completed",
});
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->tasks->setStatus('nte_6Yh2Fs9', [
    'status' => 'completed',
]);
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.tasks.set_status("nte_6Yh2Fs9", status: "completed")
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .tasks()
    .set_status("nte_6Yh2Fs9".into(), kontiga::tasks::SetStatusParams {
        status: "completed".into(),
        ..Default::default()
    })
    .await?;
```

Response, 200 OK:

```json
{
  "id": "nte_6Yh2Fs9",
  "object": "note",
  "mode": "live",
  "case_id": "case_7Kq2Xw9",
  "content": "Read the expert's finding on the October payslip before we approve.",
  "task": {
    "assignee": {
      "id": "mem_8Gd2Nw4",
      "name": "Ines Moreau"
    },
    "assigned_by": {
      "id": "mem_3Rt8Lp2",
      "name": "Tomas Lindqvist"
    },
    "status": "completed",
    "due_at": "2026-11-27T17:00:00Z",
    "remind_at": "2026-11-27T09:00:00Z",
    "updated_at": "2026-11-26T08:29:54Z"
  }
}
```

## List your tasks

The tasks given to you on cases, with the case, who gave each and when it is due, the soonest due first. Those not done by default; how many are overdue and due today.

`GET /v1/me/tasks`. Who may: Every member, for themselves. CLI: `kontiga tasks mine [--status <pending|in_progress|need_more_info|completed|rejected|cancelled>,...]`. MCP tool: `list_my_tasks`.

**Parameters**
- `status` (array of enum): Only tasks in these statuses. Left out, only the tasks not done: `pending`, `in_progress` and `need_more_info`. One of `pending`, `in_progress`, `need_more_info`, `completed`, `rejected`, `cancelled`. At most 6 items.

**Returns** list of tasks: Your tasks in the statuses asked, those not done when none is asked, with the counts of those not done.

API:

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

CLI:

```bash
kontiga tasks mine
```

MCP tool `list_my_tasks`:

```json
{
  "name": "list_my_tasks",
  "arguments": {}
}
```

TypeScript:

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

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.tasks.mine();
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.tasks.mine()
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.Tasks.Mine(ctx)
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.tasks().mine();
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.Tasks.MineAsync();
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->tasks->mine();
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.tasks.mine
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .tasks()
    .mine()
    .await?;
```

Response, 200 OK:

```json
{
  "object": "task_list",
  "tasks": [
    {
      "note_id": "nte_6Yh2Fs9",
      "case_id": "case_7Kq2Xw9",
      "case_reference": "APP-20418",
      "case_title": "Mortgage application, 14 Harbour Row",
      "person_name": "Clara Whelan",
      "content": "Read the expert's finding on the October payslip before we approve.",
      "status": "pending",
      "assigned_by": {
        "id": "mem_3Rt8Lp2",
        "name": "Tomas Lindqvist"
      },
      "created_at": "2026-11-26T08:03:11Z",
      "due_at": "2026-11-27T17:00:00Z",
      "remind_at": "2026-11-27T09:00:00Z",
      "overdue": false,
      "due_today": false
    },
    {
      "note_id": "nte_2Kw5Dh8",
      "case_id": "case_4Pm1Zr6",
      "case_reference": "TEN-3307",
      "case_title": "Tenancy check, flat 3B, Elm Court",
      "person_name": "Marek Nowak",
      "content": "Ask the previous landlord for a reference letter.",
      "status": "in_progress",
      "assigned_by": {
        "id": "mem_3Rt8Lp2",
        "name": "Tomas Lindqvist"
      },
      "created_at": "2026-11-24T15:20:02Z",
      "due_at": null,
      "remind_at": null,
      "overdue": false,
      "due_today": false
    }
  ],
  "counts": {
    "open": 2,
    "overdue": 0,
    "due_today": 0
  }
}
```
