GET
/
v1
/
projects
/
{id}
/
counters
List all statistics for a given project
curl --request GET \
  --url https://api.edgee.app/v1/projects/{id}/counters \
  --header 'Authorization: Bearer <token>'
{
  "object": "project_counters",
  "request_count": 32423432,
  "event_count": 12390,
  "month": "2023-12",
  "project_id": "6d614bd5-4d81-4a9b-8ba4-6fe3ffd33748"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token. More info here

Path Parameters

id
string
required

Query Parameters

month
string<date>

The month to filter the statistics.

day
string<date>

The day to filter the statistics.

Response

The retrieved project statistics

A Project Counters object represents the statistics of a project.

object
string

String representing the object's type. Objects of the same type share the same value

Example:

"project_counters"

request_count
integer

The number of requests made to the project.

event_count
integer

The number of events made to the project.

month
string<date>

The month of the statistics.

day
string<date>

The day of the statistics.

project_id
string

The Project ID.