---
title: "List the deletion archive (recently deleted)"
method: GET
path: "/api/v1/ackdb/deletions"
tags: ["ackDB"]
---

# List the deletion archive (recently deleted)

`GET /api/v1/ackdb/deletions`

## Request

- Base URL: `http://localhost:3009`
- URL: `http://localhost:3009/api/v1/ackdb/deletions`
- Auth: HTTP bearer

## Query parameters

- `kind` 'company' | 'person' | 'contact'
- `status` 'deleted' | 'restored' | 'purged'
- `limit` integer
- `cursor` string

## Response `200`

Archive headers, newest first.

- object
  - `data` AckdbRecordDeletionHeader[]
    - `id` string
    - `kind` 'company' | 'person' | 'contact'
    - `recordId` string
    - `label` string, nullable: Display name/domain/email captured AT DELETE TIME.
    - `reason` string, nullable
    - `actor` string, nullable
    - `status` 'deleted' | 'restored' | 'purged'
    - `tombstoneActive` boolean: Independent of `status`: a PURGED entry keeps its tombstone (the copy is destroyed, the record still must stay gone), and lifting the tombstone leaves the archive untouched.
    - `identifiers` object[]: The frozen `(type, value)` pairs, stored exactly as the resolvers store them (domains as ingested, emails lowercased, LinkedIn canonical) — the guard compares with plain equality.
      - `type` string
      - `value` string
    - `counts` AckdbRecordDeletionCounts: Per-table row counts a delete removed. Every field is always present (0 when untouched).
      - `events` integer: Deleted. 0 for person/contact deletes — those DETACH instead.
      - `rawPayloads` integer
      - `files` integer
      - `contentChunks` integer: Derived: deleted, never archived; rebuilt by `npm run embed`.
      - `conversations` integer: Derived: rebuilt by `npm run conversations`.
      - `contacts` integer
      - `persons` integer: The record itself (person delete) or husks left behind.
      - `entities` integer: The record itself plus any merge tombstones pointing at it.
      - `identityLinks` integer
      - `contactIdentityLinks` integer
      - `personIdentityLinks` integer
      - `traits` integer: entity_traits + contact_traits + person_traits (attributes ride the same rails).
      - `memberAssignments` integer
      - `mergeCandidates` integer
      - `segmentExits` integer: Memberships removed, each preceded by an `exit` in segment_changes.
      - `relationships` integer: Explicit company relationship episodes deleted.
      - `contactRelationships` integer: Contact hierarchy episodes deleted.
    - `detached` object
      - `events` integer
      - `agentSessions` integer
    - `createdAt` string, date-time
    - `restoredAt` string, date-time, nullable
    - `purgedAt` string, date-time, nullable
    - `archivedRows` object[]: Per-table archived row counts (GET /deletions/{id} only).
      - `table` string
      - `rows` integer
  - `nextCursor` string, nullable

---

[API](https://skmtc.dev/floqer/apis/floqer-public-api.md) - [All operations](https://skmtc.dev/floqer/apis/floqer-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/floqer/apis/floqer-public-api/revisions/fce50dc07b20?raw)
