Events
Get aggregated metrics by time bucket
get/projects/{project_id}/aggregated-buckets
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}/aggregated-buckets
- Auth: HTTP bearer
Path parameters
project_idinteger required
Project ID
Query parameters
start_datestring required
Start date for the query range
end_datestring required
End date for the query range
environment_idinteger
Optional environment filter
deployment_idinteger
Optional deployment filter
aggregation_levelstring
Aggregation level: events, sessions, or visitors (default: events)
bucket_sizestring
Time bucket size: '1 hour', '1 day', '1 week', etc. (default: '1 hour')
Response
Successfully retrieved aggregated buckets
Changes
No recorded changes to this operation across all 50 revisions of this API.