Skip to content

ReferenceAssistant and Kompisar

Kompisar

A Kompis is a teammate that does one job on its own, written in plain words: chase missing documents, triage flagged payslips, prepare screening matches. It starts on an event or a schedule, acts within its role and its limits, and asks a person before anything it may not do alone, such as free text to an end customer or a decision on a screening match. Every Kompis shares one team memory. It is charged by the tokens it reads and writes; a sandbox run is never charged.

Updated

Ask about this pageRead this page as Markdown

How a Kompis works

  • Its job is plain words. A change of job is a new version; a run under way keeps the version it started with.
  • It acts with a role, never above its creator’s. It may decide a case only when it is allowed to and only within its decision rules, which are checked when it decides.
  • What it may not do alone becomes a proposal for a person to confirm. A proposal waits 24 hours, then does nothing.
  • It pauses itself at its actions a day (200 by default), at its monthly token budget, after three failed runs in a row, or when the workspace’s Kompisar budget is reached. One switch pauses the whole team.
  • It finds what the team taught it by searching the team memory before it works. A pinned entry is read on every run.

The Kompis object

  • idstring

    The Kompis’s id, starting with kmp_.

  • jobstring

    Its job in plain words, the current version. versions holds every earlier one, with who wrote it.

  • roleenum

    The role it acts with: analyst, admin, developer or viewer.

  • statusenum

    draft, active, paused or archived; paused_reason says why it paused.

  • triggersarray

    The events and schedules that start it, each with its filters, such as {"document_type": "payslip,bank_statement", "tag_kind": "fraud"}.

  • decision_rulesobject

    With may_decide: the outcomes it may set, whether every document must be Trusted and every requirement met, and the largest amount.

  • limitsobject

    actions_per_day and monthly_token_budget.

  • monthobject

    Its runs, actions, tokens and cost this month.

The team

A Kompis
{
  "id": "kmp_4Tq8Rn2",
  "object": "kompis",
  "name": "Payslip triage",
  "description": "Makes sure a person sees every flagged payslip and bank statement the same day.",
  "job": "When a payslip or a bank statement is checked with a fraud finding, give its case to the fraud lead and note the findings in plain words. If there is no case yet, flag the document for review.",
  "job_version": 2,
  "versions": [
    {
      "version": 1,
      "job": "When a payslip is checked with a fraud finding, give its case to the fraud lead.",
      "at": "2026-10-16T09:00:00Z",
      "by": "Maria Lind"
    },
    {
      "version": 2,
      "job": "When a payslip or a bank statement is checked with a fraud finding, give its case to the fraud lead and note the findings in plain words. If there is no case yet, flag the document for review.",
      "at": "2026-11-02T13:20:00Z",
      "by": "Maria Lind"
    }
  ],
  "color": "orange",
  "role": "analyst",
  "owner_id": "mem_9Wd2Hc5",
  "owner_name": "Maria Lind",
  "status": "active",
  "paused_reason": null,
  "triggers": [
    {
      "id": "ktr_1Hs6Wd3",
      "on": "document.checked",
      "filters": {
        "document_type": "payslip,bank_statement",
        "tag_kind": "fraud"
      },
      "schedule": null,
      "label": "A payslip or bank statement is checked with a fraud finding"
    }
  ],
  "may_decide": false,
  "decision_rules": {
    "outcomes": [
      "approved"
    ],
    "all_documents_trusted": true,
    "all_requirements_met": true,
    "max_amount": null
  },
  "message_templates": [],
  "policy_ids": [],
  "limits": {
    "actions_per_day": 200,
    "monthly_token_budget": 2000000
  },
  "created_at": "2026-10-16T09:00:00Z",
  "updated_at": "2026-11-02T13:20:00Z",
  "activity": "Waiting for the next flagged payslip",
  "last_run": {
    "id": "krun_9Bc3Lx7",
    "at": "2026-11-26T09:42:05Z",
    "status": "completed",
    "result": "done",
    "summary": "Gave BW-4463 to Elif Kaya and noted the payslip's two findings."
  },
  "next_at": null,
  "month": {
    "runs": 31,
    "actions": 58,
    "tokens": 214880,
    "cost": 2.15
  },
  "pending_proposals": 0
}

List the Kompisar

Reads only

GET/v1/kompisar

Every Kompis of the workspace with its job, triggers, state, last run, and its runs and token cost this month.

Who may
Owner, Admin, Analyst and Viewer; Developer in test mode
CLI
kontiga kompisar list [--status <draft|active|paused|archived>]
MCP tool
list_kompisar
Returns
The Kompisar, each with what it is doing now and its use this month.

Parameters

  • statusenum

    Only Kompisar in this state. One of draft, active, paused, archived.

curl -X GET "https://api.kontiga.com/v1/kompisar?status=active" \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

GET /v1/kompisar

Response, 200 OK
{
  "items": [
    {
      "id": "kmp_4Tq8Rn2",
      "object": "kompis",
      "name": "Payslip triage",
      "color": "orange",
      "role": "analyst",
      "status": "active",
      "activity": "Waiting for the next flagged payslip",
      "month": {
        "runs": 31,
        "actions": 58,
        "tokens": 214880,
        "cost": 2.15
      }
    },
    {
      "id": "kmp_7Wn2Cs5",
      "object": "kompis",
      "name": "Chaser",
      "color": "teal",
      "role": "analyst",
      "status": "active",
      "activity": "Asleep until Fri 08:00",
      "month": {
        "runs": 64,
        "actions": 41,
        "tokens": 188420,
        "cost": 1.88
      }
    },
    {
      "id": "kmp_2Dk9Hv1",
      "object": "kompis",
      "name": "Duplicate hunter",
      "color": "moss",
      "role": "analyst",
      "status": "paused",
      "paused_reason": "failures",
      "activity": "Paused after three failed runs in a row",
      "month": {
        "runs": 9,
        "actions": 4,
        "tokens": 61200,
        "cost": 0.61
      }
    }
  ],
  "next_cursor": null
}

Read a Kompis

Reads only

GET/v1/kompisar/{kompis_id}

One Kompis: its job and every earlier version of it, its triggers, role, decision rules, templates, limits and what it is doing now.

Who may
Owner, Admin, Analyst and Viewer; Developer in test mode
CLI
kontiga kompisar get <kompis_id>
MCP tool
get_kompis
Returns
The Kompis as it stands.

Parameters

  • kompis_idid (kmp_)Required

    The Kompis to read. In the path.

curl -X GET https://api.kontiga.com/v1/kompisar/kmp_4Tq8Rn2 \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

GET /v1/kompisar/{kompis_id}

Response, 200 OK
{
  "id": "kmp_4Tq8Rn2",
  "object": "kompis",
  "name": "Payslip triage",
  "description": "Makes sure a person sees every flagged payslip and bank statement the same day.",
  "job": "When a payslip or a bank statement is checked with a fraud finding, give its case to the fraud lead and note the findings in plain words. If there is no case yet, flag the document for review.",
  "job_version": 2,
  "versions": [
    {
      "version": 1,
      "job": "When a payslip is checked with a fraud finding, give its case to the fraud lead.",
      "at": "2026-10-16T09:00:00Z",
      "by": "Maria Lind"
    },
    {
      "version": 2,
      "job": "When a payslip or a bank statement is checked with a fraud finding, give its case to the fraud lead and note the findings in plain words. If there is no case yet, flag the document for review.",
      "at": "2026-11-02T13:20:00Z",
      "by": "Maria Lind"
    }
  ],
  "color": "orange",
  "role": "analyst",
  "owner_id": "mem_9Wd2Hc5",
  "owner_name": "Maria Lind",
  "status": "active",
  "paused_reason": null,
  "triggers": [
    {
      "id": "ktr_1Hs6Wd3",
      "on": "document.checked",
      "filters": {
        "document_type": "payslip,bank_statement",
        "tag_kind": "fraud"
      },
      "schedule": null,
      "label": "A payslip or bank statement is checked with a fraud finding"
    }
  ],
  "may_decide": false,
  "decision_rules": {
    "outcomes": [
      "approved"
    ],
    "all_documents_trusted": true,
    "all_requirements_met": true,
    "max_amount": null
  },
  "message_templates": [],
  "policy_ids": [],
  "limits": {
    "actions_per_day": 200,
    "monthly_token_budget": 2000000
  },
  "created_at": "2026-10-16T09:00:00Z",
  "updated_at": "2026-11-02T13:20:00Z",
  "activity": "Waiting for the next flagged payslip",
  "last_run": {
    "id": "krun_9Bc3Lx7",
    "at": "2026-11-26T09:42:05Z",
    "status": "completed",
    "result": "done",
    "summary": "Gave BW-4463 to Elif Kaya and noted the payslip's two findings."
  },
  "next_at": null,
  "month": {
    "runs": 31,
    "actions": 58,
    "tokens": 214880,
    "cost": 2.15
  },
  "pending_proposals": 0
}

Read the team

Reads only

GET/v1/kompisar/team

The team’s pause switch, its monthly token budget, its runs, actions, tokens and cost this month, and how many Kompisar are working or waiting for you.

Who may
Owner, Admin, Analyst and Viewer; Developer in test mode
CLI
kontiga kompisar team
MCP tool
get_kompis_team
Returns
The team’s switch, budget and use this month, with the sample price per token.

No parameters.

curl -X GET https://api.kontiga.com/v1/kompisar/team \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

GET /v1/kompisar/team

Response, 200 OK
{
  "object": "kompisar_team",
  "paused": false,
  "paused_by": null,
  "paused_at": null,
  "monthly_token_budget": 14000000,
  "month": {
    "runs": 162,
    "actions": 241,
    "tokens": 739009,
    "cost": 7.4
  },
  "counts": {
    "total": 7,
    "active": 5,
    "paused": 1,
    "draft": 1,
    "working": 1,
    "waiting": 2
  },
  "price_per_million_tokens": 10,
  "currency": "USD",
  "prices_are_samples": true
}

Read what a Kompis can use

Reads only

GET/v1/kompisar/catalog

The events and schedules that can start a Kompis, the brand kit’s templates it may send, the roles it may act with and the ready jobs to start from.

Who may
Owner, Admin, Analyst and Viewer; Developer in test mode
CLI
kontiga kompisar catalog
MCP tool
get_kompis_catalog
Returns
Every trigger with its filters, every template, every role and every ready job.

No parameters.

curl -X GET https://api.kontiga.com/v1/kompisar/catalog \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

GET /v1/kompisar/catalog

Response, 200 OK
{
  "object": "kompis_catalog",
  "triggers": [
    {
      "on": "document.checked",
      "group": "documents",
      "label": "A document is checked",
      "filters": [
        {
          "key": "document_type",
          "label": "Type of document"
        },
        {
          "key": "verdict",
          "label": "Verdict"
        },
        {
          "key": "tag_kind",
          "label": "Has"
        }
      ]
    },
    {
      "on": "request.sent",
      "group": "requests",
      "label": "A request is sent",
      "filters": []
    },
    {
      "on": "schedule",
      "group": "time",
      "label": "On a schedule",
      "filters": []
    }
  ],
  "templates": [
    {
      "id": "tpl_reminder",
      "name": "Reminder: documents still missing",
      "body": "We are still waiting for a few documents. Open your link to upload them; it takes a couple of minutes."
    },
    {
      "id": "tpl_ask_again",
      "name": "Ask again for a document, with the reason",
      "body": "Thank you for your document. We need it again: {reason}. Open your link to upload a new one."
    }
  ],
  "roles": [
    {
      "value": "analyst",
      "label": "Analyst",
      "can": "Reads and works cases, people, documents and requests, and decides cases within its rules"
    },
    {
      "value": "viewer",
      "label": "Viewer",
      "can": "Reads everything and changes nothing; it can still tell your team"
    }
  ],
  "ready_jobs": [
    {
      "name": "Chaser",
      "description": "Gets the missing documents in without anyone chasing by hand."
    },
    {
      "name": "Morning digest",
      "description": "Tells the team what needs attention before the day starts."
    }
  ]
}

Create a Kompis

Changes data

POST/v1/kompisar

A new Kompis from a name, a one-line description and its job in plain words, with its role, triggers, limits and, if it decides cases, the rules it decides within. Once started it acts on its own within its role.

Who may
Owner and Admin
CLI
kontiga kompisar create --name <name> --job <text> --role <analyst|admin|developer|viewer> [--description <text>] [--color <orange|teal|cobalt|gold|raspberry|sky|moss>] [--triggers <json>] [--may-decide] [--decision-rules <json>] [--message-templates <template_id,...>] [--policy-ids <policy_id,...>] [--actions-per-day <n>] [--monthly-token-budget <tokens>] [--start <true|false>]
MCP tool
create_kompis
Returns
The Kompis, active or a draft.

Parameters

  • namestringRequired

    Its name, as the team sees it. At most 40 characters.

  • descriptionstringDefault ""

    One line: what it is for. At most 160 characters.

  • jobstringRequired

    Its job in plain words: when it acts, what it does, and when it hands over. At most 2,000 characters.

  • colorenum

    Its colour on avatars and in lists. One of orange, teal, cobalt, gold, raspberry, sky, moss.

  • roleenumRequired

    The role it acts with, never above yours. One of analyst, admin, developer, viewer.

  • triggersarray of objectDefault []

    What starts it: each an event of the catalogue as on with its filters, or on: "schedule" with a schedule (days and at, or every_hours, at least 15 minutes apart).

  • may_decidebooleanDefault false

    Whether it may decide cases, within decision_rules.

  • decision_rulesobject

    outcomes it may set, all_documents_trusted, all_requirements_met, and max_amount in the workspace’s currency or null.

  • message_templatesarray of id (tpl_)Default []

    The brand kit’s templates it may send end customers on its own, by id such as tpl_reminder. At most 10 items.

  • policy_idsarray of id (pol_)Default []

    The policies it consults. At most 5 items.

  • actions_per_dayintegerDefault 200

    Actions a day before it pauses until the next day. At least 1, at most 5,000.

  • monthly_token_budgetintegerDefault 2000000

    Tokens a month before it pauses until the next month or a raised budget. At least 10,000, at most 500,000,000.

  • startbooleanDefault true

    Start it at once. false keeps it a draft.

curl -X POST https://api.kontiga.com/v1/kompisar \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Payslip triage",
    "description": "Makes sure a person sees every flagged payslip and bank statement the same day.",
    "job": "When a payslip or a bank statement is checked with a fraud finding, give its case to the fraud lead and note the findings in plain words. If there is no case yet, flag the document for review.",
    "color": "orange",
    "role": "analyst",
    "triggers": [
      {
        "on": "document.checked",
        "filters": {
          "document_type": "payslip,bank_statement",
          "tag_kind": "fraud"
        }
      }
    ]
  }'

POST /v1/kompisar

Response, 201 Created
{
  "id": "kmp_4Tq8Rn2",
  "object": "kompis",
  "name": "Payslip triage",
  "description": "Makes sure a person sees every flagged payslip and bank statement the same day.",
  "job": "When a payslip or a bank statement is checked with a fraud finding, give its case to the fraud lead and note the findings in plain words. If there is no case yet, flag the document for review.",
  "job_version": 2,
  "versions": [
    {
      "version": 1,
      "job": "When a payslip is checked with a fraud finding, give its case to the fraud lead.",
      "at": "2026-10-16T09:00:00Z",
      "by": "Maria Lind"
    },
    {
      "version": 2,
      "job": "When a payslip or a bank statement is checked with a fraud finding, give its case to the fraud lead and note the findings in plain words. If there is no case yet, flag the document for review.",
      "at": "2026-11-02T13:20:00Z",
      "by": "Maria Lind"
    }
  ],
  "color": "orange",
  "role": "analyst",
  "owner_id": "mem_9Wd2Hc5",
  "owner_name": "Maria Lind",
  "status": "active",
  "paused_reason": null,
  "triggers": [
    {
      "id": "ktr_1Hs6Wd3",
      "on": "document.checked",
      "filters": {
        "document_type": "payslip,bank_statement",
        "tag_kind": "fraud"
      },
      "schedule": null,
      "label": "A payslip or bank statement is checked with a fraud finding"
    }
  ],
  "may_decide": false,
  "decision_rules": {
    "outcomes": [
      "approved"
    ],
    "all_documents_trusted": true,
    "all_requirements_met": true,
    "max_amount": null
  },
  "message_templates": [],
  "policy_ids": [],
  "limits": {
    "actions_per_day": 200,
    "monthly_token_budget": 2000000
  },
  "created_at": "2026-10-16T09:00:00Z",
  "updated_at": "2026-11-02T13:20:00Z",
  "activity": "Waiting for the next flagged payslip",
  "last_run": {
    "id": "krun_9Bc3Lx7",
    "at": "2026-11-26T09:42:05Z",
    "status": "completed",
    "result": "done",
    "summary": "Gave BW-4463 to Elif Kaya and noted the payslip's two findings."
  },
  "next_at": null,
  "month": {
    "runs": 31,
    "actions": 58,
    "tokens": 214880,
    "cost": 2.15
  },
  "pending_proposals": 0
}

Change a Kompis

Changes data

PATCH/v1/kompisar/{kompis_id}

Change a Kompis’s name, colour, role, triggers, decision rules, templates or limits. A run under way keeps the settings it started with.

Who may
Owner and Admin
CLI
kontiga kompisar update <kompis_id> [--name <name>] [--description <text>] [--color <orange|teal|cobalt|gold|raspberry|sky|moss>] [--role <analyst|admin|developer|viewer>] [--triggers <json>] [--may-decide <true|false>] [--decision-rules <json>] [--message-templates <template_id,...>] [--policy-ids <policy_id,...>] [--actions-per-day <n>] [--monthly-token-budget <tokens>]
MCP tool
update_kompis
Returns
The Kompis as it now stands.

Parameters

  • kompis_idid (kmp_)Required

    The Kompis to change. In the path.

  • namestring

    Its new name. At most 40 characters.

  • descriptionstring

    Its new one-line description. At most 160 characters.

  • colorenum

    Its colour. One of orange, teal, cobalt, gold, raspberry, sky, moss.

  • roleenum

    The role it acts with, never above yours. One of analyst, admin, developer, viewer.

  • triggersarray of object

    What starts it. The whole list is given. At most 10 items.

  • may_decideboolean

    Whether it may decide cases.

  • decision_rulesobject

    The rules it decides within.

  • message_templatesarray of id (tpl_)

    The templates it may send on its own. At most 10 items.

  • policy_idsarray of id (pol_)

    The policies it consults. At most 5 items.

  • actions_per_dayinteger

    Actions a day before it pauses. At least 1, at most 5,000.

  • monthly_token_budgetinteger

    Tokens a month before it pauses. At least 10,000, at most 500,000,000.

curl -X PATCH https://api.kontiga.com/v1/kompisar/kmp_4Tq8Rn2 \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "actions_per_day": 100
  }'

PATCH /v1/kompisar/{kompis_id}

Response, 200 OK
{
  "id": "kmp_4Tq8Rn2",
  "object": "kompis",
  "name": "Payslip triage",
  "limits": {
    "actions_per_day": 100,
    "monthly_token_budget": 2000000
  },
  "updated_at": "2026-11-26T09:48:00Z"
}

Give a Kompis new instructions

Changes data

POST/v1/kompisar/{kompis_id}/instructions

Its job in plain words, rewritten or added to. It becomes the next version of the job; a run under way keeps the version it started with.

Who may
Owner and Admin
CLI
kontiga kompisar instruct <kompis_id> --job <text>
MCP tool
instruct_kompis
Returns
The Kompis with its new version of the job.

Parameters

  • kompis_idid (kmp_)Required

    The Kompis. In the path.

  • jobstringRequired

    Its whole job in plain words, rewritten or added to. At most 2,000 characters.

curl -X POST https://api.kontiga.com/v1/kompisar/kmp_4Tq8Rn2/instructions \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "job": "When a payslip or a bank statement is checked with a fraud finding, give its case to the fraud lead and note the findings in plain words. If there is no case yet, flag the document for review. On a case over 50,000, give it to Jonas Eriksen instead."
  }'

POST /v1/kompisar/{kompis_id}/instructions

Response, 200 OK
{
  "id": "kmp_4Tq8Rn2",
  "object": "kompis",
  "name": "Payslip triage",
  "job": "When a payslip or a bank statement is checked with a fraud finding, give its case to the fraud lead and note the findings in plain words. If there is no case yet, flag the document for review. On a case over 50,000, give it to Jonas Eriksen instead.",
  "job_version": 3
}

Start a Kompis

Changes data

POST/v1/kompisar/{kompis_id}/activate

A draft starts acting on its own, within its role, on the next event or schedule that starts it.

Who may
Owner and Admin
CLI
kontiga kompisar activate <kompis_id>
MCP tool
activate_kompis
Returns
The Kompis, active.

Parameters

  • kompis_idid (kmp_)Required

    The draft to start. In the path.

curl -X POST https://api.kontiga.com/v1/kompisar/kmp_6Ys1Rb3/activate \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

POST /v1/kompisar/{kompis_id}/activate

Response, 200 OK
{
  "id": "kmp_6Ys1Rb3",
  "object": "kompis",
  "name": "Policy watcher",
  "status": "active"
}

Pause a Kompis

Changes data

POST/v1/kompisar/{kompis_id}/pause

It starts no run until it is resumed. A run under way stops after its current step; its timers and proposals wait, and events that arrive meanwhile are skipped.

Who may
Owner, Admin and Analyst; Developer in test mode
CLI
kontiga kompisar pause <kompis_id>
MCP tool
pause_kompis
Returns
The Kompis, paused.

Parameters

  • kompis_idid (kmp_)Required

    The Kompis to pause. In the path.

curl -X POST https://api.kontiga.com/v1/kompisar/kmp_4Tq8Rn2/pause \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

POST /v1/kompisar/{kompis_id}/pause

Response, 200 OK
{
  "id": "kmp_4Tq8Rn2",
  "object": "kompis",
  "name": "Payslip triage",
  "status": "paused",
  "paused_reason": "member",
  "paused_at": "2026-11-26T09:49:00Z",
  "paused_by": "Maria Lind"
}

Resume a Kompis

Changes data

POST/v1/kompisar/{kompis_id}/resume

A paused Kompis acts again on the next event or schedule. What was skipped meanwhile stays skipped; run it by hand if it still matters.

Who may
Owner and Admin
CLI
kontiga kompisar resume <kompis_id>
MCP tool
resume_kompis
Returns
The Kompis, active again.

Parameters

  • kompis_idid (kmp_)Required

    The paused Kompis. In the path.

curl -X POST https://api.kontiga.com/v1/kompisar/kmp_4Tq8Rn2/resume \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

POST /v1/kompisar/{kompis_id}/resume

Response, 200 OK
{
  "id": "kmp_4Tq8Rn2",
  "object": "kompis",
  "name": "Payslip triage",
  "status": "active",
  "paused_reason": null,
  "paused_at": null,
  "paused_by": null
}

Archive a Kompis

Changes data

POST/v1/kompisar/{kompis_id}/archive

It stops for good and leaves the team. Its runs and the memory entries it wrote are kept.

Who may
Owner and Admin
CLI
kontiga kompisar archive <kompis_id>
MCP tool
archive_kompis
Returns
The Kompis, archived.

Parameters

  • kompis_idid (kmp_)Required

    The Kompis to archive. In the path.

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

POST /v1/kompisar/{kompis_id}/archive

Response, 200 OK
{
  "id": "kmp_2Dk9Hv1",
  "object": "kompis",
  "name": "Duplicate hunter",
  "status": "archived"
}

Pause the team

Changes data

POST/v1/kompisar/pause

Every Kompis stops starting runs at once, whatever its own switch says. Timers and proposals wait.

Who may
Owner, Admin and Analyst; Developer in test mode
CLI
kontiga kompisar pause-team
MCP tool
pause_kompis_team
Returns
The team, paused.

No parameters.

curl -X POST https://api.kontiga.com/v1/kompisar/pause \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

POST /v1/kompisar/pause

Response, 200 OK
{
  "object": "kompisar_team",
  "paused": true,
  "paused_by": "Maria Lind",
  "paused_at": "2026-11-26T09:50:00Z"
}

Resume the team

Changes data

POST/v1/kompisar/resume

The team switch is off again: each Kompis acts as its own switch says.

Who may
Owner and Admin
CLI
kontiga kompisar resume-team
MCP tool
resume_kompis_team
Returns
The team, running again.

No parameters.

curl -X POST https://api.kontiga.com/v1/kompisar/resume \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

POST /v1/kompisar/resume

Response, 200 OK
{
  "object": "kompisar_team",
  "paused": false,
  "paused_by": null,
  "paused_at": null
}

Runs

A run is one go at the job: what started it, its subject, each step with the registry call it made, the memory it read and wrote, its proposals, its tokens and its cost. A Kompis can hand over to another; a chain stops after three.

Run a Kompis now

Changes data

POST/v1/kompisar/{kompis_id}/runs

Start a run by hand, on a case, a person, a document or a request, or with nothing named so it looks for its own work. It acts within its role and is charged by its tokens.

Who may
Owner, Admin and Analyst; Developer in test mode
CLI
kontiga kompisar run <kompis_id> [--subject-id <case_id|person_id|document_id|request_id>]
MCP tool
run_kompis
Returns
The run, queued (202): read it again for its steps.

Parameters

  • kompis_idid (kmp_)Required

    The Kompis to run. In the path.

  • subject_idstring

    What to run it on: a case (case_), a person (per_), a document (doc_) or a request (rqs_). Left out, it looks for its own work.

curl -X POST https://api.kontiga.com/v1/kompisar/kmp_4Tq8Rn2/runs \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "subject_id": "case_7Kq2Xw9"
  }'

POST /v1/kompisar/{kompis_id}/runs

Response, 202 Accepted
{
  "id": "krun_5Tm8Wq3",
  "object": "kompis_run",
  "kompis_id": "kmp_4Tq8Rn2",
  "mode": "live",
  "sandbox": false,
  "trigger": {
    "kind": "manual",
    "label": "Run by hand",
    "by": "Maria Lind"
  },
  "subject": {
    "kind": "case",
    "id": "case_7Kq2Xw9",
    "label": "APP-20418"
  },
  "status": "queued",
  "steps": []
}

Test run a Kompis

Changes data

POST/v1/kompisar/{kompis_id}/test_runs

A sandbox run in test mode: it reads and plans as it would, every change switched off, and shows what it would have done. Never charged.

Who may
Owner, Admin and Analyst; Developer in test mode
CLI
kontiga kompisar test-run <kompis_id> [--subject-id <case_id|person_id|document_id|request_id>]
MCP tool
test_run_kompis
Returns
The sandbox run, queued: nothing it plans is carried out.

Parameters

  • kompis_idid (kmp_)Required

    The Kompis to try. In the path.

  • subject_idstring

    What to run it on, as for a run.

curl -X POST https://api.kontiga.com/v1/kompisar/kmp_4Tq8Rn2/test_runs \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "subject_id": "case_7Kq2Xw9"
  }'

POST /v1/kompisar/{kompis_id}/test_runs

Response, 202 Accepted
{
  "id": "krun_6Nd2Bv8",
  "object": "kompis_run",
  "kompis_id": "kmp_4Tq8Rn2",
  "mode": "test",
  "sandbox": true,
  "trigger": {
    "kind": "manual",
    "label": "Sandbox run",
    "by": "Maria Lind"
  },
  "subject": {
    "kind": "case",
    "id": "case_7Kq2Xw9",
    "label": "APP-20418"
  },
  "status": "queued",
  "steps": [],
  "billed": false
}

List Kompis runs

Reads only

GET/v1/kompis_runs

Runs of the team or of one Kompis, newest first: what started each, its subject, its result, its tokens and cost.

Who may
Owner, Admin, Analyst and Viewer; Developer in test mode
CLI
kontiga kompis-runs list [--kompis-id <kompis_id>] [--status <queued|running|waiting|completed|failed|cancelled|skipped>] [--limit <n>]
MCP tool
list_kompis_runs
Returns
The runs, each with its steps, proposals, tokens and cost.

Parameters

  • kompis_idid (kmp_)

    Only this Kompis’s runs.

  • statusenum

    Only runs in this state. One of queued, running, waiting, completed, failed, cancelled, skipped.

  • limitinteger

    How many to answer, newest first. At least 1, at most 200.

curl -X GET "https://api.kontiga.com/v1/kompis_runs?kompis_id=kmp_4Tq8Rn2&limit=20" \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

GET /v1/kompis_runs

Response, 200 OK
{
  "items": [
    {
      "id": "krun_9Bc3Lx7",
      "object": "kompis_run",
      "kompis_name": "Payslip triage",
      "status": "completed",
      "result": "done",
      "subject": {
        "kind": "case",
        "id": "case_9Rw2Kc4",
        "label": "BW-4463"
      },
      "started_at": "2026-11-26T09:42:01Z",
      "summary": "Gave BW-4463 to Elif Kaya and noted the payslip's two findings.",
      "tokens": {
        "input": 4630,
        "output": 1230
      },
      "cost": 0.06
    },
    {
      "id": "krun_3Wf6Ty9",
      "object": "kompis_run",
      "kompis_name": "Payslip triage",
      "status": "completed",
      "result": "no_change",
      "subject": {
        "kind": "document",
        "id": "doc_8Hn1Xk4",
        "label": "Payslip, September 2026"
      },
      "started_at": "2026-11-25T16:15:30Z",
      "summary": "The finding was answered already; nothing to do.",
      "tokens": {
        "input": 2210,
        "output": 180
      },
      "cost": 0.02
    }
  ],
  "next_cursor": "eyJpZCI6ImtydW5fM1dmNlR5OSJ9"
}

Read a Kompis run

Reads only

GET/v1/kompis_runs/{run_id}

One run: what started it, the version of the job it ran, each step with the action it called, the memory it read and wrote, its proposals, tokens and cost.

Who may
Owner, Admin, Analyst and Viewer; Developer in test mode
CLI
kontiga kompis-runs get <run_id>
MCP tool
get_kompis_run
Returns
The run as it stands.

Parameters

  • run_idid (krun_)Required

    The run to read. In the path.

curl -X GET https://api.kontiga.com/v1/kompis_runs/krun_9Bc3Lx7 \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

GET /v1/kompis_runs/{run_id}

Response, 200 OK
{
  "id": "krun_9Bc3Lx7",
  "object": "kompis_run",
  "kompis_id": "kmp_4Tq8Rn2",
  "kompis_name": "Payslip triage",
  "mode": "live",
  "sandbox": false,
  "trigger": {
    "kind": "event",
    "label": "A payslip is checked with a fraud finding",
    "event": "document.checked",
    "event_id": "evt_6Fh2Xq2",
    "by": null
  },
  "subject": {
    "kind": "case",
    "id": "case_9Rw2Kc4",
    "label": "BW-4463",
    "href": "/console/cases/case_9Rw2Kc4"
  },
  "status": "completed",
  "result": "done",
  "job_version": 2,
  "started_at": "2026-11-26T09:42:01Z",
  "ended_at": "2026-11-26T09:42:05Z",
  "summary": "Gave BW-4463 to Elif Kaya and noted the payslip's two findings.",
  "steps": [
    {
      "id": "kst_1",
      "at": "2026-11-26T09:42:01Z",
      "kind": "read",
      "tool": "cases.get",
      "title": "Read BW-4463",
      "detail": null,
      "outcome": "done",
      "tokens": 3120
    },
    {
      "id": "kst_2",
      "at": "2026-11-26T09:42:02Z",
      "kind": "search",
      "tool": "search_memory",
      "title": "Looked up who leads fraud review",
      "detail": "Elif Kaya takes payslip fraud on weekdays.",
      "outcome": "done",
      "tokens": 840
    },
    {
      "id": "kst_3",
      "at": "2026-11-26T09:42:04Z",
      "kind": "action",
      "tool": "cases.assign",
      "title": "Gave BW-4463 to Elif Kaya",
      "detail": null,
      "outcome": "done",
      "tokens": 610
    },
    {
      "id": "kst_4",
      "at": "2026-11-26T09:42:05Z",
      "kind": "action",
      "tool": "notes.create",
      "title": "Noted the payslip's findings",
      "detail": "The net pay was changed after the payslip was issued.",
      "outcome": "done",
      "tokens": 1290
    }
  ],
  "proposal_ids": [],
  "memory_read": [
    "kmem_3Lq7Pd1"
  ],
  "memory_written": [],
  "tokens": {
    "input": 4630,
    "output": 1230
  },
  "cost": 0.06,
  "billed": true,
  "failure": null,
  "depth": 0
}

Stop a Kompis run

Changes data

POST/v1/kompis_runs/{run_id}/cancel

A queued run never starts; a running one stops after its current step. What it already did stays done and listed.

Who may
Owner, Admin and Analyst; Developer in test mode
CLI
kontiga kompis-runs cancel <run_id>
MCP tool
cancel_kompis_run
Returns
The run, stopped.

Parameters

  • run_idid (krun_)Required

    The run to stop. In the path.

curl -X POST https://api.kontiga.com/v1/kompis_runs/krun_5Tm8Wq3/cancel \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

POST /v1/kompis_runs/{run_id}/cancel

Response, 200 OK
{
  "id": "krun_5Tm8Wq3",
  "object": "kompis_run",
  "kompis_id": "kmp_4Tq8Rn2",
  "status": "cancelled",
  "result": null,
  "ended_at": "2026-11-26T09:51:10Z",
  "summary": "Stopped by Maria Lind before it started."
}

Proposals and timers

List what waits for approval

Reads only

GET/v1/kompis_proposals

The actions Kompisar proposed that a person must confirm: free text to an end customer, a decision on a screening match, anything they may not do alone.

Who may
Owner, Admin, Analyst and Viewer; Developer in test mode
CLI
kontiga kompis-proposals list [--kompis-id <kompis_id>] [--status <pending|confirmed|rejected|expired>]
MCP tool
list_kompis_proposals
Returns
The proposals, newest first, each with what it would do and why it needs a person.

Parameters

  • kompis_idid (kmp_)

    Only this Kompis’s proposals.

  • statusenum

    Only proposals in this state. One of pending, confirmed, rejected, expired.

curl -X GET "https://api.kontiga.com/v1/kompis_proposals?status=pending" \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

GET /v1/kompis_proposals

Response, 200 OK
{
  "items": [
    {
      "id": "kprp_8Vs3Hn6",
      "object": "kompis_proposal",
      "run_id": "krun_7Gq1Zd5",
      "kompis_id": "kmp_7Wn2Cs5",
      "kompis_name": "Chaser",
      "tool": "requests.remind",
      "params": {
        "request_id": "rqs_4Mb9Kt2",
        "note": "Your October payslip is the last thing we need. A photo of the paper copy is fine."
      },
      "title": "Remind Lotte de Vries, with a note",
      "detail": "An email to Lotte de Vries: the reminder with a fresh link, and the note \"Your October payslip is the last thing we need. A photo of the paper copy is fine.\"",
      "why": "Free text to an end customer needs a person.",
      "subject": {
        "kind": "request",
        "id": "rqs_4Mb9Kt2",
        "label": "Lotte de Vries, Personal loan",
        "href": "/console/requests/rqs_4Mb9Kt2"
      },
      "status": "pending",
      "created_at": "2026-11-26T08:00:12Z",
      "expires_at": "2026-11-27T08:00:12Z",
      "decided_by": null,
      "decided_at": null
    }
  ],
  "next_cursor": null
}

Confirm a proposal

Changes data

POST/v1/kompis_proposals/{proposal_id}/confirm

Run the proposed action exactly as proposed, as you, within your own role. The run it came from then finishes.

Who may
Owner, Admin and Analyst; Developer in test mode
CLI
kontiga kompis-proposals confirm <proposal_id>
MCP tool
confirm_kompis_proposal
Returns
The proposal, confirmed and carried out.

Parameters

  • proposal_idid (kprp_)Required

    The proposal to carry out, exactly as proposed. In the path.

curl -X POST https://api.kontiga.com/v1/kompis_proposals/kprp_8Vs3Hn6/confirm \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

POST /v1/kompis_proposals/{proposal_id}/confirm

Response, 200 OK
{
  "id": "kprp_8Vs3Hn6",
  "object": "kompis_proposal",
  "run_id": "krun_7Gq1Zd5",
  "kompis_id": "kmp_7Wn2Cs5",
  "kompis_name": "Chaser",
  "tool": "requests.remind",
  "params": {
    "request_id": "rqs_4Mb9Kt2",
    "note": "Your October payslip is the last thing we need. A photo of the paper copy is fine."
  },
  "title": "Remind Lotte de Vries, with a note",
  "detail": "An email to Lotte de Vries: the reminder with a fresh link, and the note \"Your October payslip is the last thing we need. A photo of the paper copy is fine.\"",
  "why": "Free text to an end customer needs a person.",
  "subject": {
    "kind": "request",
    "id": "rqs_4Mb9Kt2",
    "label": "Lotte de Vries, Personal loan",
    "href": "/console/requests/rqs_4Mb9Kt2"
  },
  "status": "confirmed",
  "created_at": "2026-11-26T08:00:12Z",
  "expires_at": "2026-11-27T08:00:12Z",
  "decided_by": "Maria Lind",
  "decided_at": "2026-11-26T09:52:40Z"
}

Reject a proposal

Changes data

POST/v1/kompis_proposals/{proposal_id}/reject

The proposed action is not run. The Kompis’s run finishes with nothing changed by it.

Who may
Owner, Admin and Analyst; Developer in test mode
CLI
kontiga kompis-proposals reject <proposal_id>
MCP tool
reject_kompis_proposal
Returns
The proposal, rejected.

Parameters

  • proposal_idid (kprp_)Required

    The proposal to turn down. In the path.

curl -X POST https://api.kontiga.com/v1/kompis_proposals/kprp_8Vs3Hn6/reject \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

POST /v1/kompis_proposals/{proposal_id}/reject

Response, 200 OK
{
  "id": "kprp_8Vs3Hn6",
  "object": "kompis_proposal",
  "run_id": "krun_7Gq1Zd5",
  "kompis_id": "kmp_7Wn2Cs5",
  "kompis_name": "Chaser",
  "tool": "requests.remind",
  "params": {
    "request_id": "rqs_4Mb9Kt2",
    "note": "Your October payslip is the last thing we need. A photo of the paper copy is fine."
  },
  "title": "Remind Lotte de Vries, with a note",
  "detail": "An email to Lotte de Vries: the reminder with a fresh link, and the note \"Your October payslip is the last thing we need. A photo of the paper copy is fine.\"",
  "why": "Free text to an end customer needs a person.",
  "subject": {
    "kind": "request",
    "id": "rqs_4Mb9Kt2",
    "label": "Lotte de Vries, Personal loan",
    "href": "/console/requests/rqs_4Mb9Kt2"
  },
  "status": "rejected",
  "created_at": "2026-11-26T08:00:12Z",
  "expires_at": "2026-11-27T08:00:12Z",
  "decided_by": "Maria Lind",
  "decided_at": "2026-11-26T09:52:40Z"
}

List timers and schedules

Reads only

GET/v1/kompis_timers

The timers Kompisar set themselves and their next scheduled runs: when, on what, why, and what cancels each.

Who may
Owner, Admin, Analyst and Viewer; Developer in test mode
CLI
kontiga kompis-timers list [--kompis-id <kompis_id>] [--status <scheduled|fired|cancelled>]
MCP tool
list_kompis_timers
Returns
The timers and schedules, soonest first.

Parameters

  • kompis_idid (kmp_)

    Only this Kompis’s timers and schedules.

  • statusenum

    Only timers in this state. One of scheduled, fired, cancelled.

curl -X GET "https://api.kontiga.com/v1/kompis_timers?status=scheduled" \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

GET /v1/kompis_timers

Response, 200 OK
{
  "items": [
    {
      "id": "ktmr_2Kd7Pw4",
      "object": "kompis_timer",
      "kompis_id": "kmp_7Wn2Cs5",
      "kompis_name": "Chaser",
      "kind": "timer",
      "at": "2026-11-28T08:00:00Z",
      "why": "Check again whether Lotte de Vries sent her October payslip.",
      "cancel_when": "the request is completed",
      "subject": {
        "kind": "request",
        "id": "rqs_4Mb9Kt2",
        "label": "Lotte de Vries, Personal loan",
        "href": "/console/requests/rqs_4Mb9Kt2"
      },
      "status": "scheduled",
      "created_at": "2026-11-26T08:00:12Z",
      "run_id": "krun_7Gq1Zd5"
    },
    {
      "id": "ktmr_6Hc1Rv8",
      "object": "kompis_timer",
      "kompis_id": "kmp_3Pb6Nk9",
      "kompis_name": "Morning digest",
      "kind": "schedule",
      "at": "2026-11-27T07:00:00Z",
      "why": "Weekdays at 08:00, Amsterdam time.",
      "cancel_when": null,
      "subject": null,
      "status": "scheduled"
    }
  ],
  "next_cursor": null
}

Cancel a timer

Changes data

POST/v1/kompis_timers/{timer_id}/cancel

The timer never fires. A schedule is changed on the Kompis itself.

Who may
Owner, Admin and Analyst; Developer in test mode
CLI
kontiga kompis-timers cancel <timer_id>
MCP tool
cancel_kompis_timer
Returns
The timer, cancelled.

Parameters

  • timer_idid (ktmr_)Required

    The timer to cancel. In the path.

curl -X POST https://api.kontiga.com/v1/kompis_timers/ktmr_2Kd7Pw4/cancel \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

POST /v1/kompis_timers/{timer_id}/cancel

Response, 200 OK
{
  "id": "ktmr_2Kd7Pw4",
  "object": "kompis_timer",
  "kompis_id": "kmp_7Wn2Cs5",
  "kompis_name": "Chaser",
  "kind": "timer",
  "at": "2026-11-28T08:00:00Z",
  "why": "Check again whether Lotte de Vries sent her October payslip.",
  "cancel_when": "the request is completed",
  "subject": {
    "kind": "request",
    "id": "rqs_4Mb9Kt2",
    "label": "Lotte de Vries, Personal loan",
    "href": "/console/requests/rqs_4Mb9Kt2"
  },
  "status": "cancelled",
  "created_at": "2026-11-26T08:00:12Z",
  "run_id": "krun_7Gq1Zd5"
}

The team memory

One memory for the whole team: what the Kompisar learned and how your team wants the work done, each entry with who wrote it and when. A Kompis searches it before it works and never reads it whole. An edit is a new version; a past run keeps the version it read.

List the team memory

Reads only

GET/v1/kompis_memory

Everything the Kompisar remember, as one memory for the whole team: what they learned and how your team wants the work done, each entry with who wrote it and when.

Who may
Owner, Admin, Analyst and Viewer; Developer in test mode
CLI
kontiga kompis-memory list [--kompis-id <kompis_id>] [--pinned <true|false>] [--limit <n>]
MCP tool
list_kompis_memory
Returns
The entries, pinned first, then newest.

Parameters

  • kompis_idid (kmp_)

    Only entries this Kompis wrote.

  • pinnedboolean

    Only pinned entries, or only the others.

  • limitinteger

    How many to answer, pinned first, then newest. At least 1, at most 200.

curl -X GET "https://api.kontiga.com/v1/kompis_memory?limit=50" \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

GET /v1/kompis_memory

Response, 200 OK
{
  "items": [
    {
      "id": "kmem_3Lq7Pd1",
      "object": "memory_entry",
      "text": "Elif Kaya takes payslip fraud on weekdays; Jonas Eriksen on weekends.",
      "writer": {
        "kind": "member",
        "id": "mem_9Wd2Hc5",
        "name": "Maria Lind",
        "color": null
      },
      "run_id": null,
      "pinned": true,
      "version": 1,
      "status": "active",
      "created_at": "2026-11-02T13:24:00Z",
      "updated_at": "2026-11-02T13:24:00Z",
      "edited_by": null
    },
    {
      "id": "kmem_8Fw2Ys6",
      "object": "memory_entry",
      "text": "Brightwater's payroll provider prints the net pay in bold on every payslip; bold alone is not a finding.",
      "writer": {
        "kind": "kompis",
        "id": "kmp_4Tq8Rn2",
        "name": "Payslip triage",
        "color": "orange"
      },
      "run_id": "krun_1Xd4Hb7",
      "pinned": false,
      "version": 1,
      "status": "active",
      "created_at": "2026-11-19T10:02:00Z",
      "updated_at": "2026-11-19T10:02:00Z",
      "edited_by": null
    }
  ],
  "next_cursor": null
}

Search the team memory

Reads only

GET/v1/kompis_memory/search

The entries closest in meaning to a question, as a Kompis finds them before it works: over the whole team or one Kompis’s own.

Who may
Owner, Admin, Analyst and Viewer; Developer in test mode
CLI
kontiga kompis-memory search <q> [--kompis-id <kompis_id>] [--limit <n>]
MCP tool
search_kompis_memory
Returns
The closest entries, each with how close it is.

Parameters

  • qstringRequired

    A question in plain words. At most 300 characters.

  • kompis_idid (kmp_)

    Search only this Kompis’s own entries.

  • limitinteger

    How many to answer, closest first. At least 1, at most 50.

curl -X GET "https://api.kontiga.com/v1/kompis_memory/search?q=who+takes+payslip+fraud" \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

GET /v1/kompis_memory/search

Response, 200 OK
{
  "items": [
    {
      "id": "kmem_3Lq7Pd1",
      "object": "memory_entry",
      "text": "Elif Kaya takes payslip fraud on weekdays; Jonas Eriksen on weekends.",
      "writer": {
        "kind": "member",
        "id": "mem_9Wd2Hc5",
        "name": "Maria Lind",
        "color": null
      },
      "run_id": null,
      "pinned": true,
      "version": 1,
      "status": "active",
      "created_at": "2026-11-02T13:24:00Z",
      "updated_at": "2026-11-02T13:24:00Z",
      "edited_by": null,
      "relevance": 0.91
    },
    {
      "id": "kmem_5Ra9Lc2",
      "object": "memory_entry",
      "text": "Send fraud cases over 50,000 to Jonas Eriksen, whoever is on duty.",
      "writer": {
        "kind": "member",
        "id": "mem_9Wd2Hc5",
        "name": "Maria Lind",
        "color": null
      },
      "pinned": false,
      "version": 2,
      "status": "active",
      "relevance": 0.74
    }
  ],
  "next_cursor": null
}

Add to the team memory

Changes data

POST/v1/kompis_memory

Teach the team something: a preference or a rule of thumb every Kompis finds when it searches. A pinned entry is read on every run.

Who may
Owner, Admin and Analyst; Developer in test mode
CLI
kontiga kompis-memory add --text <text> [--pinned]
MCP tool
add_kompis_memory
Returns
The entry, written by you.

Parameters

  • textstringRequired

    What to teach the team, in plain words. At most 600 characters.

  • pinnedbooleanDefault false

    Read it on every run, not only when a search finds it.

curl -X POST https://api.kontiga.com/v1/kompis_memory \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "Never remind a party on a Sunday."
  }'

POST /v1/kompis_memory

Response, 201 Created
{
  "id": "kmem_7Tn3Wk5",
  "object": "memory_entry",
  "text": "Never remind a party on a Sunday.",
  "writer": {
    "kind": "member",
    "id": "mem_9Wd2Hc5",
    "name": "Maria Lind",
    "color": null
  },
  "run_id": null,
  "pinned": false,
  "version": 1,
  "status": "active",
  "created_at": "2026-11-26T09:54:00Z",
  "updated_at": "2026-11-26T09:54:00Z",
  "edited_by": null
}

Edit a memory entry

Changes data

PATCH/v1/kompis_memory/{entry_id}

Correct what an entry says. The edit is a new version: the next run reads it, and a past run keeps the version it read.

Who may
Owner, Admin and Analyst; Developer in test mode
CLI
kontiga kompis-memory update <entry_id> --text <text>
MCP tool
update_kompis_memory
Returns
The entry, with its new version.

Parameters

  • entry_idid (kmem_)Required

    The entry to correct. In the path.

  • textstringRequired

    What it says now. At most 600 characters.

curl -X PATCH https://api.kontiga.com/v1/kompis_memory/kmem_3Lq7Pd1 \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "Elif Kaya takes payslip fraud on weekdays; Amira Khalil on weekends."
  }'

PATCH /v1/kompis_memory/{entry_id}

Response, 200 OK
{
  "id": "kmem_3Lq7Pd1",
  "object": "memory_entry",
  "text": "Elif Kaya takes payslip fraud on weekdays; Amira Khalil on weekends.",
  "writer": {
    "kind": "member",
    "id": "mem_9Wd2Hc5",
    "name": "Maria Lind",
    "color": null
  },
  "run_id": null,
  "pinned": true,
  "version": 2,
  "status": "active",
  "created_at": "2026-11-02T13:24:00Z",
  "updated_at": "2026-11-26T09:55:00Z",
  "edited_by": "Maria Lind"
}

Pin a memory entry

Changes data

POST/v1/kompis_memory/{entry_id}/pin

A pinned entry is read on every run, whatever it searches: the place for your team’s standing preferences. Unpin it to have it found by search only.

Who may
Owner, Admin and Analyst; Developer in test mode
CLI
kontiga kompis-memory pin <entry_id> --pinned <true|false>
MCP tool
pin_kompis_memory
Returns
The entry, pinned or not.

Parameters

  • entry_idid (kmem_)Required

    The entry. In the path.

  • pinnedbooleanRequired

    true to pin it, false to have it found by search only.

curl -X POST https://api.kontiga.com/v1/kompis_memory/kmem_3Lq7Pd1/pin \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "pinned": false
  }'

POST /v1/kompis_memory/{entry_id}/pin

Response, 200 OK
{
  "id": "kmem_3Lq7Pd1",
  "object": "memory_entry",
  "text": "Elif Kaya takes payslip fraud on weekdays; Jonas Eriksen on weekends.",
  "writer": {
    "kind": "member",
    "id": "mem_9Wd2Hc5",
    "name": "Maria Lind",
    "color": null
  },
  "run_id": null,
  "pinned": false,
  "version": 1,
  "status": "active",
  "created_at": "2026-11-02T13:24:00Z",
  "updated_at": "2026-11-26T09:56:00Z",
  "edited_by": null
}

Delete a memory entry

Changes data

DELETE/v1/kompis_memory/{entry_id}

The entry is no longer read by any Kompis. A past run’s record still shows the version it read.

Who may
Owner, Admin and Analyst; Developer in test mode
CLI
kontiga kompis-memory delete <entry_id>
MCP tool
delete_kompis_memory
Returns
The entry, deleted.

Parameters

  • entry_idid (kmem_)Required

    The entry to delete. In the path.

curl -X DELETE https://api.kontiga.com/v1/kompis_memory/kmem_7Tn3Wk5 \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

DELETE /v1/kompis_memory/{entry_id}

Response, 200 OK
{
  "id": "kmem_7Tn3Wk5",
  "object": "memory_entry",
  "text": "Never remind a party on a Sunday.",
  "writer": {
    "kind": "member",
    "id": "mem_9Wd2Hc5",
    "name": "Maria Lind",
    "color": null
  },
  "run_id": null,
  "pinned": true,
  "version": 1,
  "status": "deleted",
  "created_at": "2026-11-02T13:24:00Z",
  "updated_at": "2026-11-26T09:57:00Z",
  "edited_by": null
}