# Bookmarks

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

A bookmark is a saved view of cases, documents or people that a member keeps in the console's left menu, with its live count. Each member has their own, per workspace; pinning or reordering one changes no one else's menu. A new member starts with High risk this week, Waiting on a party, Assigned to me and My tasks, and keeps at most 12.

Updated November 29, 2026

## The bookmark object

- `id` (string): The bookmark's id, starting with `bkm_`.
- `label` (string): What the left menu says.
- `resource` (enum): The list it opens: `cases`, `documents` or `people`.
- `href` (string): Where it opens in the console: the list with its view.
- `filter` (object): The view's filter, in the list's own parameter names, so the count is worked out from the same list the screen shows and an agent can read the same view from the API.
  - `verdict` (array): Only these verdicts: `trusted`, `review`, `high_risk`.
  - `state` (array): Only cases in these states: `open`, `waiting`, `in_review`, `decided`.
  - `assignee` (enum): `me` for the member signed in, `none` for cases with nobody. Cases only.
  - `updated_within_days` (integer): Only what changed within this many days.
  - `task_assignee` (enum): `me`: the cases holding a task for the member signed in that is not done. The count is of those tasks.

**A bookmark**

```json
{
  "id": "bkm_4Rt8Cw2",
  "object": "bookmark",
  "label": "Review this week",
  "resource": "cases",
  "href": "/console/cases?verdict=review&updated_within_days=7",
  "filter": {
    "verdict": ["review"],
    "state": ["open", "waiting", "in_review"],
    "updated_within_days": 7
  }
}
```

## List your bookmarks

The saved views you keep in the left menu, in your order, each with the filter of its view. Yours alone, in this workspace.

`GET /v1/me/bookmarks`. Who may: Every member, for themselves. CLI: `kontiga bookmarks list`. MCP tool: `list_bookmarks`.

**Parameters**

**Returns** list of bookmarks: Your bookmarks, in the order the left menu shows them.

API:

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

CLI:

```bash
kontiga bookmarks list
```

MCP tool `list_bookmarks`:

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

TypeScript:

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

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

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.bookmarks.list()
```

Go:

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

Java:

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

.NET:

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

PHP:

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

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.bookmarks.list
```

Rust:

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

Response, 200 OK:

```json
{
  "items": [
    {
      "id": "bkm_high_risk",
      "object": "bookmark",
      "label": "High risk this week",
      "resource": "cases",
      "href": "/console/cases?view=high-risk",
      "filter": { "verdict": ["high_risk"], "state": ["open", "waiting", "in_review"], "updated_within_days": 7 }
    },
    {
      "id": "bkm_waiting",
      "object": "bookmark",
      "label": "Waiting on a party",
      "resource": "cases",
      "href": "/console/cases?view=waiting",
      "filter": { "state": ["waiting"] }
    },
    {
      "id": "bkm_mine",
      "object": "bookmark",
      "label": "Assigned to me",
      "resource": "cases",
      "href": "/console/cases?view=mine",
      "filter": { "assignee": "me", "state": ["open", "waiting", "in_review"] }
    },
    {
      "id": "bkm_my_tasks",
      "object": "bookmark",
      "label": "My tasks",
      "resource": "cases",
      "href": "/console/cases?view=tasks",
      "filter": { "task_assignee": "me" }
    }
  ],
  "next_cursor": null
}
```

## Pin a view to the left menu

Keeps a saved view of cases, documents or people in your left menu, with its live count. It changes no one else’s menu.

`POST /v1/me/bookmarks`. Who may: Every member, for themselves. CLI: `kontiga bookmarks pin --label <text> --resource <cases|documents|people> --href <path> [--verdict <trusted|review|high_risk>,...] [--state <open|waiting|in_review|decided>,...] [--assignee <me|none>] [--updated-within-days <n>] [--task-assignee me] [--position <n>]`. MCP tool: `pin_bookmark`.

**Parameters**
- `label` (string, required): What the left menu says. At most 40 characters.
- `resource` (enum, required): The list the view is of. One of `cases`, `documents`, `people`.
- `href` (string, required): Where it opens in the console, starting with `/console/`.
- `verdict` (array of enum): Only these verdicts. One of `trusted`, `review`, `high_risk`. At most 3 items.
- `state` (array of enum): Only cases in these states. One of `open`, `waiting`, `in_review`, `decided`. At most 4 items.
- `assignee` (enum): Cases only: the member signed in, or nobody. One of `me`, `none`.
- `updated_within_days` (integer): Only what changed within this many days. At least 1, at most 365.
- `task_assignee` (literal): `me`: the cases holding a task for you that is not done.
- `position` (integer): Where it goes in your list, from 0 at the top. Left out, it goes last. At most 12.

**Returns** bookmark: The bookmark, pinned where you put it.

API:

```bash
curl -X POST https://api.kontiga.com/v1/me/bookmarks \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "label": "Review this week",
    "resource": "cases",
    "href": "/console/cases?verdict=review&updated_within_days=7",
    "verdict": [
      "review"
    ],
    "state": [
      "open",
      "waiting",
      "in_review"
    ],
    "updated_within_days": 7
  }'
```

CLI:

```bash
kontiga bookmarks pin \
  --label 'Review this week' \
  --resource cases \
  --href '/console/cases?verdict=review&updated_within_days=7' \
  --verdict review \
  --state open,waiting,in_review \
  --updated-within-days 7
```

MCP tool `pin_bookmark`:

```json
{
  "name": "pin_bookmark",
  "arguments": {
    "label": "Review this week",
    "resource": "cases",
    "href": "/console/cases?verdict=review&updated_within_days=7",
    "verdict": [
      "review"
    ],
    "state": [
      "open",
      "waiting",
      "in_review"
    ],
    "updated_within_days": 7
  }
}
```

TypeScript:

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

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.bookmarks.pin({
  label: "Review this week",
  resource: "cases",
  href: "/console/cases?verdict=review&updated_within_days=7",
  verdict: ["review"],
  state: ["open", "waiting", "in_review"],
  updated_within_days: 7,
});
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.bookmarks.pin(
    label="Review this week",
    resource="cases",
    href="/console/cases?verdict=review&updated_within_days=7",
    verdict=["review"],
    state=["open", "waiting", "in_review"],
    updated_within_days=7,
)
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.Bookmarks.Pin(ctx, &kontiga.BookmarksPinParams{
	Label:             "Review this week",
	Resource:          "cases",
	Href:              "/console/cases?verdict=review&updated_within_days=7",
	Verdict:           []string{"review"},
	State:             []string{"open", "waiting", "in_review"},
	UpdatedWithinDays: 7,
})
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.bookmarks().pin(BookmarksPinParams.builder()
    .label("Review this week")
    .resource("cases")
    .href("/console/cases?verdict=review&updated_within_days=7")
    .verdict(List.of("review"))
    .state(List.of("open", "waiting", "in_review"))
    .updatedWithinDays(7)
    .build());
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.Bookmarks.PinAsync(new BookmarksPinOptions
{
    Label = "Review this week",
    Resource = "cases",
    Href = "/console/cases?verdict=review&updated_within_days=7",
    Verdict = new[] { "review" },
    State = new[] { "open", "waiting", "in_review" },
    UpdatedWithinDays = 7,
});
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->bookmarks->pin([
    'label' => 'Review this week',
    'resource' => 'cases',
    'href' => '/console/cases?verdict=review&updated_within_days=7',
    'verdict' => ['review'],
    'state' => ['open', 'waiting', 'in_review'],
    'updated_within_days' => 7,
]);
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.bookmarks.pin(
  label: "Review this week",
  resource: "cases",
  href: "/console/cases?verdict=review&updated_within_days=7",
  verdict: ["review"],
  state: ["open", "waiting", "in_review"],
  updated_within_days: 7
)
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .bookmarks()
    .pin(kontiga::bookmarks::PinParams {
        label: "Review this week".into(),
        resource: "cases".into(),
        href: "/console/cases?verdict=review&updated_within_days=7".into(),
        verdict: vec!["review".into()],
        state: vec!["open".into(), "waiting".into(), "in_review".into()],
        updated_within_days: 7,
        ..Default::default()
    })
    .await?;
```

Response, 201 Created:

```json
{
  "id": "bkm_4Rt8Cw2",
  "object": "bookmark",
  "label": "Review this week",
  "resource": "cases",
  "href": "/console/cases?verdict=review&updated_within_days=7",
  "filter": {
    "verdict": ["review"],
    "state": ["open", "waiting", "in_review"],
    "updated_within_days": 7
  }
}
```

## Unpin a bookmark

Takes a saved view out of your left menu. The view itself, and everyone else’s menu, stay as they are.

`DELETE /v1/me/bookmarks/{bookmark_id}`. Who may: Every member, for themselves. CLI: `kontiga bookmarks unpin <bookmark_id>`. MCP tool: `unpin_bookmark`.

**Parameters**
- `bookmark_id` (id (bkm_), required): The bookmark to take out of your left menu. In the path.

**Returns** deleted bookmark: The bookmark is no longer in your left menu.

API:

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

CLI:

```bash
kontiga bookmarks unpin bkm_4Rt8Cw2
```

MCP tool `unpin_bookmark`:

```json
{
  "name": "unpin_bookmark",
  "arguments": {
    "bookmark_id": "bkm_4Rt8Cw2"
  }
}
```

TypeScript:

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

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.bookmarks.unpin("bkm_4Rt8Cw2");
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.bookmarks.unpin("bkm_4Rt8Cw2")
```

Go:

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

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.bookmarks().unpin("bkm_4Rt8Cw2");
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.Bookmarks.UnpinAsync("bkm_4Rt8Cw2");
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->bookmarks->unpin('bkm_4Rt8Cw2');
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.bookmarks.unpin("bkm_4Rt8Cw2")
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .bookmarks()
    .unpin("bkm_4Rt8Cw2".into())
    .await?;
```

Response, 200 OK:

```json
{
  "id": "bkm_4Rt8Cw2",
  "object": "bookmark",
  "deleted": true
}
```

## Reorder your bookmarks

Puts your bookmarks in the order you give, top to bottom. Every bookmark you keep is named once.

`PUT /v1/me/bookmarks/order`. Who may: Every member, for themselves. CLI: `kontiga bookmarks reorder --bookmark-ids <bkm_id>,...`. MCP tool: `reorder_bookmarks`.

**Parameters**
- `bookmark_ids` (array of id (bkm_), required): Every bookmark you keep, each once, top to bottom. At most 12 items.

**Returns** list of bookmarks: Your bookmarks, in their new order.

API:

```bash
curl -X PUT https://api.kontiga.com/v1/me/bookmarks/order \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "bookmark_ids": [
      "bkm_mine",
      "bkm_my_tasks",
      "bkm_high_risk",
      "bkm_waiting"
    ]
  }'
```

CLI:

```bash
kontiga bookmarks reorder \
  --bookmark-ids bkm_mine,bkm_my_tasks,bkm_high_risk,bkm_waiting
```

MCP tool `reorder_bookmarks`:

```json
{
  "name": "reorder_bookmarks",
  "arguments": {
    "bookmark_ids": [
      "bkm_mine",
      "bkm_my_tasks",
      "bkm_high_risk",
      "bkm_waiting"
    ]
  }
}
```

TypeScript:

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

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.bookmarks.reorder({
  bookmark_ids: ["bkm_mine", "bkm_my_tasks", "bkm_high_risk", "bkm_waiting"],
});
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.bookmarks.reorder(bookmark_ids=["bkm_mine", "bkm_my_tasks", "bkm_high_risk", "bkm_waiting"])
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.Bookmarks.Reorder(ctx, &kontiga.BookmarksReorderParams{
	BookmarkIds: []string{"bkm_mine", "bkm_my_tasks", "bkm_high_risk", "bkm_waiting"},
})
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.bookmarks().reorder(BookmarksReorderParams.builder()
    .bookmarkIds(List.of("bkm_mine", "bkm_my_tasks", "bkm_high_risk", "bkm_waiting"))
    .build());
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.Bookmarks.ReorderAsync(new BookmarksReorderOptions
{
    BookmarkIds = new[] { "bkm_mine", "bkm_my_tasks", "bkm_high_risk", "bkm_waiting" },
});
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->bookmarks->reorder([
    'bookmark_ids' => ['bkm_mine', 'bkm_my_tasks', 'bkm_high_risk', 'bkm_waiting'],
]);
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.bookmarks.reorder(bookmark_ids: ["bkm_mine", "bkm_my_tasks", "bkm_high_risk", "bkm_waiting"])
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .bookmarks()
    .reorder(kontiga::bookmarks::ReorderParams {
        bookmark_ids: vec!["bkm_mine".into(), "bkm_my_tasks".into(), "bkm_high_risk".into(), "bkm_waiting".into()],
        ..Default::default()
    })
    .await?;
```

Response, 200 OK:

```json
{
  "items": [
    { "id": "bkm_mine", "object": "bookmark", "label": "Assigned to me", "resource": "cases" },
    { "id": "bkm_my_tasks", "object": "bookmark", "label": "My tasks", "resource": "cases" },
    { "id": "bkm_high_risk", "object": "bookmark", "label": "High risk this week", "resource": "cases" },
    { "id": "bkm_waiting", "object": "bookmark", "label": "Waiting on a party", "resource": "cases" }
  ],
  "next_cursor": null
}
```
