Get client statistics
curl --request GET \ --url 'https://auth.example.com/api/admin/stats/clients/example?from=2026-04-15T12%3A00%3A00Z&to=2026-04-15T12%3A00%3A00Z' \ --header 'Authorization: Bearer <token>'Returns token, authentication, and usage statistics for a specific client in the requested 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 ”Path Parameters
Section titled “Path Parameters ”Query Parameters
Section titled “Query Parameters ”Inclusive start of the statistics period.
Inclusive end of the statistics period.
Responses
Section titled “ Responses ”Per-client authentication, token, and usage statistics.
object
object
object
object
object
Example
{ "client_id": "client_123", "client_name": "Admin Console", "tokens": { "active_access_tokens": 18, "active_refresh_tokens": 18, "issued_today": 240, "revoked_today": 3 }, "auth": { "total_attempts": 260, "successful": 252, "failed": 8, "success_rate": 96.92 }, "usage": { "api_calls_today": 860, "api_calls_this_month": 24000, "unique_users": 85, "last_activity": "2026-06-01T23:58:00.000Z" }, "period": { "from": "2026-06-01T00:00:00.000Z", "to": "2026-06-02T00:00:00.000Z" }}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}