Skip to content

List the unfinished erasures of kept repos

View as Markdown
GET
/v1/system/kept-repos/erasures
curl --request GET \
--url https://example.com/v1/system/kept-repos/erasures \
--header 'Authorization: Bearer <token>'

Every unfinished erasure of a project’s kept repo, across tenants, by tenant id then project id: what the store purges, whether or not it holds the repo, and reports. Ids and the time of the request only. Takes system:kept-repos, on a runtime serving many tenants.

limit
integer
>= 1 <= 500

How many, from 1 to 500. 500 when not given.

cursor
string

The last page’s nextCursor.

A page of them.

Media typeapplication/json
object
data
required

By tenant id, then project id.

Array<object>
<= 500 items

An unfinished erasure of a project’s kept repo.

object
tenantId
required
string format: uuid
projectId
required
string format: uuid
since
required

When it was requested.

string format: date-time
nextCursor

Present when there are more: pass it as cursor for the next page.

string
Examplegenerated
{
"data": [
{
"tenantId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"projectId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"since": "2026-04-15T12:00:00Z"
}
],
"nextCursor": "example"
}

A limit that isn’t a whole number from 1 to 500, or a cursor this runtime didn’t give (bad-input).

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.

string
Examplegenerated
{
"error": {
"code": "example",
"message": "example",
"details": {},
"requestId": "example"
}
}

Missing / malformed / expired / revoked bearer token.

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.

string
Examplegenerated
{
"error": {
"code": "example",
"message": "example",
"details": {},
"requestId": "example"
}
}

A tenant’s key or session (system-principal-required), or a system key without system:kept-repos (system-scope-missing). On a runtime serving one tenant, any system key (system-key-scope-not-served, or system-scope-missing for one holding only the scopes it serves).

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.

string
Examplegenerated
{
"error": {
"code": "example",
"message": "example",
"details": {},
"requestId": "example"
}
}

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.

string
Examplegenerated
{
"error": {
"code": "example",
"message": "example",
"details": {},
"requestId": "example"
}
}
Retry-After
integer
>= 1

Whole seconds to wait before sending the request again, at least 1. Sent with the codes the answer names as sending it, so it may be absent.

See also