Get geographic authentication statistics
curl --request GET \ --url 'https://auth.example.com/api/admin/stats/geography?from=2026-04-15T12%3A00%3A00Z&to=2026-04-15T12%3A00%3A00Z' \ --header 'Authorization: Bearer <token>'Returns country and region aggregations derived from audit-log geolocation details. 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 ”Inclusive start of the statistics period.
Inclusive end of the statistics period.
Responses
Section titled “ Responses ”Geographic authentication statistics grouped by country and region.
object
object
object
object
object
object
Example
{ "by_country": [ { "country_code": "JP", "country_name": "Japan", "total_requests": 800, "successful": 780, "failed": 20, "unique_users": 120, "last_activity": "2026-06-01T23:50:00.000Z" } ], "by_region": [ { "region": "Asia Pacific", "total_requests": 800, "countries": 1, "top_country": "JP" } ], "top_countries": [ { "country_code": "JP", "country_name": "Japan", "requests": 800 } ], "period": { "from": "2026-06-01T00:00:00.000Z", "to": "2026-06-02T00:00:00.000Z" }, "summary": { "total_countries": 1, "total_requests": 800, "unique_users": 120 }}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}