Skip to content

ReferenceWorkspace

Deletions

Deleting a document or a person answers at once with a deletion request. The request is pending while every copy of the files and everything read from them is removed, and completed once nothing of them is left. Read it back by its id.

Updated

Ask about this pageRead this page as Markdown

How a deletion runs

  1. Delete a document or delete a person. The answer names the deletion request: del_ and 32 hex digits.
  2. The document leaves your lists at once, and reading it answers 404. Its checks stop if they were still running, and it is not billed if it had no result yet.
  3. Its files, every stored version of them, its pages, the fields read from it and its findings' proof are removed, normally within a minute. A storage that does not answer is tried again for up to 24 hours.
  4. The request turns completed once nothing of them is left, and a document.deleted event is sent to your webhooks.

Your workspace’s retention period deletes documents the same way when their time is up, without a request of yours: the event says retention as its reason.

The deletion object

  • idstring

    The request’s id: del_ and 32 hex digits.

  • objectstring

    Always deletion.

  • subjectobject

    What it deletes: object (document or person) and its id.

  • stateenum

    pending while anything of it is still being removed, completed once every copy is gone. A person’s deletion is failed when storage still had not removed some files after 24 hours: not_removed counts them, and the person stays out of search and matching.

  • requested_atstring

    When it was asked.

  • requested_byobject

    Who asked: kind (member, api_key, or retention when the retention period did) and their name.

  • completed_atstring

    When the last copy went; null while pending.

  • deletedarray

    What it removes, in plain words.

  • keptarray

    What stays: a record that the subject existed, and what the checks learned from it, which holds no copy of the file.

  • reasonstring

    A person’s deletion: the reason given, kept until it completes, then null.

  • removedobject

    A person’s deletion: what went so far, a count by kind. The kinds are profile, identifiers, timeline_entries, notes, facts, documents, files, requests, cases, sessions, verifications, screenings and links; a kind with nothing removed is left out.

  • not_removedobject

    A person’s deletion: what is still there, a count by the same kinds (files a storage has not removed yet).

Read a deletion request

Reads only

GET/v1/deletions/{deletion_id}

Where a deletion stands: what it deletes, who asked and when, and once every copy is gone, what went and what stays.

Who may
Owner, Admin, Analyst and Viewer; Developer in test mode
CLI
kontiga deletions get <deletion_id>
MCP tool
get_deletion
Returns
The deletion request, pending or completed, with what went and what stays.

Parameters

  • deletion_idid (del_)Required

    The request to read. Another workspace’s, or one of the other mode, answers 404. In the path.

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

GET /v1/deletions/{deletion_id}

Response, 200 OK
{
  "id": "del_0193f6c2a7d84b1e9f3a2c5d6e7f8091",
  "object": "deletion",
  "subject": { "object": "document", "id": "doc_0193f6b8e1a47c2d9b3f5a6e7d8c9b0a" },
  "state": "completed",
  "requested_at": "2026-11-28T09:14:02Z",
  "requested_by": { "kind": "api_key", "name": "Loan origination server" },
  "completed_at": "2026-11-28T09:14:31Z",
  "deleted": [
    "The file and its pages",
    "The fields read from it",
    "Its findings, scores and report",
    "The copies kept to improve the checks"
  ],
  "kept": [
    "A record that it existed, with its id and when it was deleted",
    "What the checks learned from it, which holds no copy of the file"
  ]
}

While its files are still being removed:

Response
{
  "id": "del_0193f6c2a7d84b1e9f3a2c5d6e7f8091",
  "object": "deletion",
  "subject": { "object": "document", "id": "doc_0193f6b8e1a47c2d9b3f5a6e7d8c9b0a" },
  "state": "pending",
  "requested_at": "2026-11-28T09:14:02Z",
  "requested_by": { "kind": "api_key", "name": "Loan origination server" },
  "completed_at": null,
  "deleted": [
    "The file and its pages",
    "The fields read from it",
    "Its findings, scores and report",
    "The copies kept to improve the checks"
  ],
  "kept": [
    "A record that it existed, with its id and when it was deleted",
    "What the checks learned from it, which holds no copy of the file"
  ]
}