Skip to content
Management API Reference

Gets project's usage api counts

get/v1/projects/{ref}/analytics/endpoints/usage.api-counts

The fine-grained token must include the following permissions to access this endpoint:

  • analytics_usage_read

Path parameters

  • ref
    Required
    string

    Project ref

Query parameters

  • interval
    Optional
    enum

Response codes

  • 200
  • 401
  • 403
  • 429
  • 500

Response (200)

{
"result": [
{
"timestamp": "4404-02-29T04:24Z",
"total_auth_requests": 42,
"total_realtime_requests": 42,
"total_rest_requests": 42,
"total_storage_requests": 42
}
],
"error": "lorem"
}