Skip to content

ReferenceInside a case

Case tags

A tag is a marker your team puts on cases: one of nine colours with an optional name, such as a red Fraud review or a green Income verified. A workspace holds up to 100. A tag is archived rather than deleted, so it stays on its cases and in their history, and it can be brought back. What a document’s checks find is a finding, not a tag.

Updated

Ask about this pageRead this page as Markdown

The tag object

  • idstring

    The tag’s id, starting with ctag_.

  • colorenum

    red, green, orange, blue, yellow, purple, pink, cyan or gray.

  • namestring

    At most 50 characters, or empty for a tag of a colour alone. A name is unique per colour, and each colour has at most one tag with no name.

  • cases_countinteger

    How many cases carry it now.

  • archived_atstring

    When it was archived; null while it is in use. An archived tag is out of every picker and stays on its cases.

Refusals
MessageWhen
Name too long (max 50 characters)The name has more than 50 characters.
Name cannot contain control charactersThe name holds an invisible or control character.
Name has already been takenAnother tag of the same colour has this name.
Name empty tag already exists for this colorThe colour already has a tag with no name.
Tag limit reached (max 100 per workspace)The workspace holds 100 tags in use. Archived tags do not count.
This tag is archived. Bring it back before you put it on a case.The tag is archived.
A tag
{
  "id": "ctag_6Rm2Kp8",
  "object": "tag",
  "color": "yellow",
  "name": "Second look",
  "cases_count": 4,
  "archived_at": null,
  "created_at": "2026-09-12T10:04:00Z",
  "updated_at": "2026-09-12T10:04:00Z"
}

List tags

Reads only

GET/v1/tags

Every tag of the workspace with its colour, its name and how many cases carry it, ordered by colour and then name; archived tags only when asked for.

Who may
Owner, Admin, Analyst and Viewer; Developer in test mode
CLI
kontiga tags list [--include-archived]
MCP tool
list_tags
Returns
The workspace’s tags, by colour and then name, each with how many cases carry it.

Parameters

  • include_archivedbooleanDefault false

    Also answer archived tags.

curl -X GET "https://api.kontiga.com/v1/tags?include_archived=false" \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

GET /v1/tags

Response, 200 OK
{
  "items": [
    { "id": "ctag_1Hw7Tr3", "object": "tag", "color": "red", "name": "Fraud review", "cases_count": 6, "archived_at": null },
    { "id": "ctag_4Nb9Lc2", "object": "tag", "color": "green", "name": "Income verified", "cases_count": 18, "archived_at": null },
    { "id": "ctag_8Ks1Dq6", "object": "tag", "color": "orange", "name": "Waiting on broker", "cases_count": 3, "archived_at": null },
    { "id": "ctag_2Vt5Hm9", "object": "tag", "color": "blue", "name": "Priority", "cases_count": 5, "archived_at": null },
    { "id": "ctag_6Rm2Kp8", "object": "tag", "color": "yellow", "name": "Second look", "cases_count": 4, "archived_at": null }
  ],
  "next_cursor": null
}

Create a tag

Changes data

POST/v1/tags

A new tag in one of the nine colours, with a name of at most 50 characters or none; given a case, it is put on that case at once.

Who may
Owner, Admin and Analyst; Developer in test mode
CLI
kontiga tags create --color <red|green|orange|blue|yellow|purple|pink|cyan|gray> [--name <name>] [--case-id <case_id>]
MCP tool
create_tag
Returns
The new tag, with how many cases carry it.

Parameters

  • colorenumRequired

    One of the nine colours.

  • namestringDefault ""

    At most 50 characters, or empty.

  • case_idid (case_)

    A case to put the new tag on at once.

curl -X POST https://api.kontiga.com/v1/tags \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "color": "cyan",
    "name": "Self-employed",
    "case_id": "case_7Kq2Xw9"
  }'

POST /v1/tags

Response, 201 Created
{
  "id": "ctag_9Fd4Wn1",
  "object": "tag",
  "color": "cyan",
  "name": "Self-employed",
  "cases_count": 1,
  "archived_at": null,
  "created_at": "2026-11-26T09:41:00Z",
  "updated_at": "2026-11-26T09:41:00Z"
}

Change a tag

Changes data

PATCH/v1/tags/{tag_id}

A tag’s new name or colour, under the same rules as a new tag; every case that carries it shows the change.

Who may
Owner, Admin and Analyst; Developer in test mode
CLI
kontiga tags update <tag_id> [--name <name>] [--color <red|green|orange|blue|yellow|purple|pink|cyan|gray>]
MCP tool
update_tag
Returns
The tag as it is now.

Parameters

  • tag_idid (ctag_)Required

    The tag to change. In the path.

  • namestring

    Its new name, under the same rules as a new tag.

  • colorenum

    Its new colour. One of red, green, orange, blue, yellow, purple, pink, cyan, gray.

curl -X PATCH https://api.kontiga.com/v1/tags/ctag_6Rm2Kp8 \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Second look by a lead"
  }'

PATCH /v1/tags/{tag_id}

Response, 200 OK
{
  "id": "ctag_6Rm2Kp8",
  "object": "tag",
  "color": "yellow",
  "name": "Second look by a lead",
  "cases_count": 4,
  "archived_at": null,
  "created_at": "2026-09-12T10:04:00Z",
  "updated_at": "2026-11-26T09:43:00Z"
}

Archive a tag

Changes data

POST/v1/tags/{tag_id}/archive

Takes a tag out of every picker; the cases that carry it keep it, and it can be brought back.

Who may
Owner, Admin and Analyst; Developer in test mode
CLI
kontiga tags archive <tag_id>
MCP tool
archive_tag
Returns
The tag, archived.

Parameters

  • tag_idid (ctag_)Required

    The tag to archive. In the path.

curl -X POST https://api.kontiga.com/v1/tags/ctag_3Qx8Vb5/archive \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

POST /v1/tags/{tag_id}/archive

Response, 200 OK
{
  "id": "ctag_3Qx8Vb5",
  "object": "tag",
  "color": "gray",
  "name": "Q3 file audit",
  "cases_count": 7,
  "archived_at": "2026-11-26T09:44:00Z",
  "created_at": "2026-06-29T08:00:00Z",
  "updated_at": "2026-11-26T09:44:00Z"
}

Bring back a tag

Changes data

POST/v1/tags/{tag_id}/restore

An archived tag in the pickers again, on the cases it was on.

Who may
Owner, Admin and Analyst; Developer in test mode
CLI
kontiga tags restore <tag_id>
MCP tool
restore_tag
Returns
The tag, back in use.

Parameters

  • tag_idid (ctag_)Required

    The archived tag to bring back. In the path.

curl -X POST https://api.kontiga.com/v1/tags/ctag_3Qx8Vb5/restore \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

POST /v1/tags/{tag_id}/restore

Response, 200 OK
{
  "id": "ctag_3Qx8Vb5",
  "object": "tag",
  "color": "gray",
  "name": "Q3 file audit",
  "cases_count": 7,
  "archived_at": null,
  "created_at": "2026-06-29T08:00:00Z",
  "updated_at": "2026-11-26T09:45:00Z"
}

List the tags on cases

Reads only

GET/v1/case_tags

Which case carries which tag, who put it there and when: for some cases, for some tags, or for the whole workspace.

Who may
Owner, Admin, Analyst and Viewer; Developer in test mode
CLI
kontiga case-tags list [--case-id <case_id>,...] [--tag-id <tag_id>,...]
MCP tool
list_case_tags
Returns
One row per tag on a case, with who put it there and when.

Parameters

  • case_idarray of id (case_)

    Only these cases. Left out with tag_id too, the whole workspace. At most 500 items.

  • tag_idarray of id (ctag_)

    Only these tags. At most 100 items.

curl -X GET "https://api.kontiga.com/v1/case_tags?case_id=case_7Kq2Xw9" \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

GET /v1/case_tags

Response, 200 OK
{
  "items": [
    { "case_id": "case_7Kq2Xw9", "tag_id": "ctag_6Rm2Kp8", "attached_at": "2026-11-25T15:02:00Z", "attached_by": "mem_3Rt8Lp2" },
    { "case_id": "case_7Kq2Xw9", "tag_id": "ctag_2Vt5Hm9", "attached_at": "2026-11-24T09:20:00Z", "attached_by": null }
  ],
  "next_cursor": null
}

Tag a case

Changes data

POST/v1/cases/{case_id}/tags

Puts a tag on a case. A tag already there stays as it was.

Who may
Owner, Admin and Analyst; Developer in test mode
CLI
kontiga cases tag <case_id> --tag-id <tag_id>
MCP tool
tag_case
Returns
The tag, with how many cases carry it now.

Parameters

  • case_idid (case_)Required

    The case to tag. In the path.

  • tag_idid (ctag_)Required

    The tag to put on it.

curl -X POST https://api.kontiga.com/v1/cases/case_7Kq2Xw9/tags \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "tag_id": "ctag_6Rm2Kp8"
  }'

POST /v1/cases/{case_id}/tags

Response, 200 OK
{
  "id": "ctag_6Rm2Kp8",
  "object": "tag",
  "color": "yellow",
  "name": "Second look",
  "cases_count": 5,
  "archived_at": null,
  "created_at": "2026-09-12T10:04:00Z",
  "updated_at": "2026-09-12T10:04:00Z"
}

Take a tag off a case

Changes data

DELETE/v1/cases/{case_id}/tags/{tag_id}

Takes a tag off a case; nothing changes when the case did not carry it.

Who may
Owner, Admin and Analyst; Developer in test mode
CLI
kontiga cases untag <case_id> --tag-id <tag_id>
MCP tool
untag_case
Returns
Nothing: the case no longer carries the tag.

Parameters

  • case_idid (case_)Required

    The case. In the path.

  • tag_idid (ctag_)Required

    The tag to take off it. In the path.

curl -X DELETE https://api.kontiga.com/v1/cases/case_7Kq2Xw9/tags/ctag_6Rm2Kp8 \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

DELETE /v1/cases/{case_id}/tags/{tag_id}

Taking a tag off answers 204 No Content, whether or not the case carried it.

Tag many cases

Changes data

POST/v1/case_tags/bulk

Puts one tag on many cases, or takes it off them, in one call: what the case list does with the cases chosen.

Who may
Owner, Admin and Analyst; Developer in test mode
CLI
kontiga cases tag-many --case-ids <case_id>,... --tag-id <tag_id> [--action <attach|detach>]
MCP tool
tag_cases
Returns
The tag, how many cases changed, and how many were already as asked.

Parameters

  • case_idsarray of id (case_)Required

    The cases, as the case list chose them. At most 500 items.

  • tag_idid (ctag_)Required

    The tag.

  • actionenumDefault "attach"

    Put the tag on the cases, or take it off them. One of attach, detach.

curl -X POST https://api.kontiga.com/v1/case_tags/bulk \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "case_ids": [
      "case_7Kq2Xw9",
      "case_4Pm1Zr6",
      "case_2Ht6Ns3",
      "case_9Lc4Bx8"
    ],
    "tag_id": "ctag_2Vt5Hm9",
    "action": "attach"
  }'

POST /v1/case_tags/bulk

Response, 200 OK
{
  "object": "bulk_tag_result",
  "tag": { "id": "ctag_2Vt5Hm9", "object": "tag", "color": "blue", "name": "Priority", "cases_count": 8 },
  "action": "attach",
  "changed": 3,
  "unchanged": 1
}