The tag object
idThe tag’s id, starting with
ctag_.colorred,green,orange,blue,yellow,purple,pink,cyanorgray.nameAt 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_countHow many cases carry it now.
archived_atWhen it was archived;
nullwhile it is in use. An archived tag is out of every picker and stays on its cases.
{
"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"
}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_archivedAlso answer archived tags.
curl -X GET "https://api.kontiga.com/v1/tags?include_archived=false" \
-H "Authorization: Bearer $KONTIGA_API_KEY"GET /v1/tags
{
"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
}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
colorRequiredOne of the nine colours.
nameAt most 50 characters, or empty.
case_idA 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
{
"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"
}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_idRequiredThe tag to change. In the path.
nameIts new name, under the same rules as a new tag.
colorIts 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}
{
"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"
}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_idRequiredThe 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
{
"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"
}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_idRequiredThe 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
{
"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"
}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_idOnly these cases. Left out with
tag_idtoo, the whole workspace. At most 500 items.tag_idOnly 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
{
"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
}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_idRequiredThe case to tag. In the path.
tag_idRequiredThe 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
{
"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"
}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_idRequiredThe case. In the path.
tag_idRequiredThe 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.
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_idsRequiredThe cases, as the case list chose them. At most 500 items.
tag_idRequiredThe tag.
actionPut 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
{
"object": "bulk_tag_result",
"tag": { "id": "ctag_2Vt5Hm9", "object": "tag", "color": "blue", "name": "Priority", "cases_count": 8 },
"action": "attach",
"changed": 3,
"unchanged": 1
}