AckdbPurgeResponse
Response from a purge operation. Includes per-table counts of deleted records so callers can verify the expected data was removed.
Properties
dataobjectrequiredmessagestringrequiredHuman-readable summary of the purge operation.
sourcestringSource that was purged (only present for source-scoped purges).
deletedobjectrequiredCounts of deleted records per table.
entitiesintegerrequiredEntities deleted. For source-scoped purges, only entities orphaned by the purge (no remaining identity links and no data from any other source) are counted.
contactsintegerrequiredContacts deleted (people belonging to a deleted entity).
contactIdentityLinksintegerrequiredContact identity links deleted.
contactTraitsintegerrequiredContact trait values deleted.
identityLinksintegerrequiredIdentity links deleted.
traitsintegerrequiredEntity trait values deleted.
eventsintegerrequiredEntity events deleted.
rawPayloadsintegerrequiredRaw payload records deleted.
entityContentintegerrequiredEntity content chunks (embeddings) deleted.
unresolvedContentintegerrequiredUnresolved content records deleted.
unresolvedContactsintegerrequiredUnresolved contact records deleted (people never linked to an entity).
conversationsintegerrequiredConversation records deleted.
filesintegerrequiredEntity file records deleted.
ingestQueueintegerrequiredQueued ingest writes deleted (so a pending write cannot resurrect purged data).
memberAssignmentsintegerrequiredMember assignments deleted — ownership of a purged company/contact. The `internal_users` member roster itself is configuration and is preserved.
agentSessionsDetachedintegerrequiredAgent sessions whose `entity_id` was set to NULL. Session history (transcripts, token + cost accounting) is preserved — only the pointer to the deleted entity is dropped.
Example
{
"data": {
"message": "Purged all data",
"source": "stripe",
"deleted": {
"entities": 8,
"contacts": 24,
"contactIdentityLinks": 24,
"contactTraits": 48,
"identityLinks": 36,
"traits": 112,
"events": 112,
"rawPayloads": 112,
"entityContent": 112,
"unresolvedContent": 0,
"unresolvedContacts": 0,
"conversations": 0,
"files": 0,
"ingestQueue": 0,
"memberAssignments": 6,
"agentSessionsDetached": 3
}
}
}