Tombstoned rows in every domain a retention policy or this server’s retention limit covers, with when each is purged (purgeAt) and what decides it: the policy (policyId), or the limit (limitApplied) when no policy covers the domain or its policy keeps rows longer. domainsMissingAdapter names the covered domains this deployment can’t purge; unpolicedDomains the ones neither covers, whose tombstones are kept; conflicts the domains two policies cover (stored before one policy per domain was enforced). limit caps the rows per domain; hasMore says some domain has more than it returned, and nextCursor (when the runtime can continue) is the cursor for the next page. Requires admin on the workspace.
The kind of record a retention policy covers. * covers every domain without a policy of its own, except memory, conversation and file_version: the first two hold people’s words, and file_version holds every edit of a file, so only a policy naming them purges them. file_version covers a file’s versions other than Latest: a deleted one after the grace, and one that isn’t among its file’s newest 10, isn’t pinned, and was superseded longer ago than the grace.
true: only rows past their grace, the ones a sweep would purge now.
limit
integer
default: 25>= 1<= 100
1..100. Default 25.
cursor
string
Where the previous page ended: its nextCursor, as it came. A runtime that seals cursors takes one only for the same list, filters and caller, within a day; otherwise 400 bad-input, and the list starts again without it. Absent → first page.
The kind of record a retention policy covers. * covers every domain without a policy of its own, except memory, conversation and file_version: the first two hold people’s words, and file_version holds every edit of a file, so only a policy naming them purges them. file_version covers a file’s versions other than Latest: a deleted one after the grace, and one that isn’t among its file’s newest 10, isn’t pinned, and was superseded longer ago than the grace.
unregisteredAt plus graceSeconds: when a sweep purges the row.
stringformat: date-time
pastGrace
required
Whether a sweep would purge the row now.
boolean
policyId
The retention policy that covers the domain. Absent when none does, and this server’s limit decides (limitApplied); always present on a server with no limit.
string
policyVersion
The policy’s version. Absent with policyId.
string
graceSeconds
required
How long the row is kept, in seconds (-1: a hold, never purged): the policy’s grace, or this server’s limit (limitApplied).
integer
limitApplied
Present when this server’s retention limit for the domain set graceSeconds: no policy covers the domain, or its policy keeps rows longer than the limit, or holds them.
boolean
hasMore
Some domain has more scheduled rows than this page returned (limit is per domain). Always sent from 0.1.4; a runtime before it sends none.
boolean
nextCursor
The cursor for the next page. Absent when hasMore: false, or when the runtime cannot continue a page.
string
domainsMissingAdapter
required
Domains a retention policy covers that this deployment can’t purge (no adapter is wired).
Domains more than one retention policy covers. Absent or empty: none.
Array<object>
object
domain
required
The kind of record a retention policy covers. * covers every domain without a policy of its own, except memory, conversation and file_version: the first two hold people’s words, and file_version holds every edit of a file, so only a policy naming them purges them. file_version covers a file’s versions other than Latest: a deleted one after the grace, and one that isn’t among its file’s newest 10, isn’t pinned, and was superseded longer ago than the grace.
rate-limit-exceeded with details.limit: "api-requests", on a runtime that sets workspace limits (Kindgi Cloud): this workspace’s limit on API requests a minute is reached, so the request wasn’t run; Retry-After says when to send it again.
Media typeapplication/json
object
error
required
object
code
required
Stable machine-readable discriminant. Values match domain error codes (see docs/API-ROUTE-CONVENTIONS.md §4.3).
string
message
required
string
details
Optional, kind-specific.
object
key
additional properties
any
requestId
required
Server-assigned request id; also echoed via X-Request-Id header.
The database was too busy to answer in time (database-busy), or the authorization store couldn’t be reached (authz-backend-unavailable); Retry-After (whole seconds) says when to try again.
Media typeapplication/json
object
error
required
object
code
required
Stable machine-readable discriminant. Values match domain error codes (see docs/API-ROUTE-CONVENTIONS.md §4.3).
string
message
required
string
details
Optional, kind-specific.
object
key
additional properties
any
requestId
required
Server-assigned request id; also echoed via X-Request-Id header.