Skip to main content

Metric reference

auth0.api_request.count

Counts API requests to your Auth0 tenant with detailed filtering and aggregation tags. A new metric is emitted every 10 seconds and provides per second granularity.

Available tags

The client_id and connection_id tags can generate high cardinality in environments with many unique clients or connections, potentially increasing monitoring costs. Use these tags selectively.
Metric streams do not include API calls that are cached or blocked by Auth0’s Web Application Firewall (WAF) at the edge to prevent system overload.

Enum values

api
  • AUTHENTICATION - Authentication API requests
  • MANAGEMENT - Management API requests
operation_result
  • SUCCESS - Request completed successfully
  • FAILURE - Request failed with client or server error
failure_code (only present when operation_result is FAILURE)
  • RATE_LIMIT - Request exceeded rate limit
  • ANOMALY_DETECTION - Blocked by Auth0’s attack protection
  • CLIENT_SERVER_ERROR - HTTP 4xx or 5xx error

Metric cardinality

Cardinality refers to the number of unique time series generated by your metrics. Higher cardinality increases monitoring costs.
Use client_id and connection_id tags carefully. In environments with many applications or connections, these tags can significantly increase costs. Consider filtering to specific clients or aggregating these tags if detailed granularity isn’t required.