Events
Get unique counts over time frame
get/projects/{project_id}/unique-counts
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/projects/{project_id}/unique-counts
- Auth: HTTP bearer
Path parameters
project_idinteger required
Project ID
Query parameters
start_datestring required
Start date in '%Y-%m-%d %H:%M:%S' format
end_datestring required
End date in '%Y-%m-%d %H:%M:%S' format
environment_idinteger
Filter by environment ID
deployment_idinteger
Filter by deployment ID
metricstring required
Metric to count: 'sessions' (unique sessions), 'visitors' (unique visitors), 'returning_visitors' (visitors seen before the range), or 'page_views' (total page views) (default: 'sessions')
Response
Successfully retrieved count
Changes
No recorded changes to this operation across all 53 revisions of this API.