Get platform tombstone statistics for a tenant.
GET
/api/admin/platform/tombstones/stats
Code sample: Shell / cURL
curl --request GET \ --url https://auth.example.com/api/admin/platform/tombstones/stats \ --header 'Authorization: Bearer <token>'Return total, expired, active, recent, and deletion-reason tombstone counts for the selected tenant PII store.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” tenant_id
string
Tenant whose PII tombstone store should be queried. Required unless X-Tenant-Id is supplied.
Responses
Section titled “ Responses ”Tombstone summary for the tenant.
Media type application/json
object
total
required
integer
expired
required
integer
active
required
integer
recentDeletions
required
integer
byReason
required
object
key
additional properties
integer
byTenant
required
object | null
tenantId
string
note
required
string
key
additional properties
Example
{ "total": 12, "expired": 3, "active": 9, "recentDeletions": 2, "byReason": { "user_request": 8, "admin_action": 4 }, "byTenant": { "tenant_123": 12 }, "tenantId": "tenant_123", "note": "Expired tombstones can be cleaned up with POST /api/admin/tombstones/cleanup"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}