Verify runtime logging policy snapshot
GET
/api/admin/logging-policies/runtime/verify
Code sample: Shell / cURL
curl --request GET \ --url 'https://auth.example.com/api/admin/logging-policies/runtime/verify?scope_type=platform' \ --header 'Authorization: Bearer <token>'Verify the runtime logging policy snapshot pointer, object store payload, and latest published database row.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” scope_type
string
Runtime policy snapshot scope type.
scope_id
string
Runtime policy snapshot scope id.
tenant_id
string
Tenant id filter. Platform admins can supply another tenant; tenant-scoped admins are constrained to their current tenant.
filter[tenant_id]
string
Alternative tenant id filter syntax.
Responses
Section titled “ Responses ”Successful JSON response.
Media type application/json
object
item
required
object
key
additional properties
key
additional properties
Example
{ "item": { "scope_type": "tenant", "scope_id": "tenant_123", "pointer_key": "logging:policy:tenant:tenant_123", "pointer_status": "readable", "object_status": "readable", "snapshot_status": "readable", "checks": { "pointer_present": true, "object_ref_present": true, "snapshot_present": true, "pointer_matches_snapshot": true, "pointer_matches_database": true, "database_latest_present": true }, "verified_at": 1770000000 }}default
Section titled “default ”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"}