Get access trace statistics.
curl --request GET \ --url 'https://auth.example.com/api/admin/access-trace/stats?period=1h' \ --header 'Authorization: Bearer <token>'Returns access trace totals, allow rate, top denied permissions, top denied subjects, and resolution-method distribution for a selected period. Retained whole-row archives are included in supported log queries. A bounded query that cannot read its required rows returns log_query_incomplete instead of partial statistics or an empty success.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Aggregation period.
Responses
Section titled “ Responses ”Access trace statistics response.
object
object
object
object
Example generated
{ "period": "example", "total": 1, "allowed": 1, "denied": 1, "allow_rate": 1, "top_denied_permissions": [ { "permission": "example", "count": 1 } ], "top_denied_subjects": [ { "subject_id": "example", "count": 1 } ], "resolution_distribution": [ { "resolved_via": "example", "count": 1 } ]}Headers
Section titled “Headers ”Snapshot for the remote scheduled view; eventual when Pipeline visibility can lag ingestion; local_hot_only for local scheduled staging without a remote Catalog.
Tenant deliveries not yet confirmed visible. Omitted for self-service subjects. Zero does not guarantee immediate Pipeline visibility.
True only for a complete bounded snapshot query. Pipeline responses remain false; incomplete reads return 503.
Error response.
object
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
object
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
object
Example generated
{ "error": "example", "message": "example", "error_description": "example"}The retained log query is incomplete. No partial entries or statistics are returned as a successful result. Narrow the period or retry.
object
Example
{ "error": "log_query_incomplete", "complete": false}