GET
/
v1
/
projects
/
{id}
/
components
/
{componentId}
/
counters
curl --request GET \
  --url https://api.edgee.app/v1/projects/{id}/components/{componentId}/counters \
  --header 'Authorization: Bearer <token>'
{
  "object": "project_counters",
  "user_count": 123,
  "track_count": 456,
  "page_count": 789,
  "day": "2023-12-25",
  "project_id": "6d614bd5-4d81-4a9b-8ba4-6fe3ffd33748",
  "component_id": "abcdef"
}

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
componentId
string
required

Query Parameters

month
string

The month to filter the counters.

day
string

The day to filter the counters.

Response

200
application/json
The retrieved project counters

A Project Counters object represents the counters of a project.

object
string

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

Example:

"project_counters"

user_count
integer

The number of user events generated by the component.

track_count
integer

The number of track events generated by the component.

page_count
integer

The number of page events generated by the component.

month
string

The month of the statistics.

day
string

The day of the statistics.

project_id
string

The Project ID.

component_id
string

The Project component ID.