Projects
Get occurrence counts for all projects
Returns the same counts as Get a project's occurrence counts, for every project the token can read, ordered by project name.
get/projects/occurrences
Request
- Base URLhttps://app.honeybadger.io/v3
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
period'hour' | 'day' | 'week' | 'month'
Window to report over. Both ends are inclusive: hour gives 61 one-minute buckets, day 25 hourly, week 8 daily, month 31 daily.
environmentstring
Example:production
Only count notices from faults in this environment
pageinteger
Page number (1-indexed)
per_pageinteger
Items per page
Response
Success
Example response
{
"data": [
{
"project_id": "Xk9mZp",
"buckets": [
{
"timestamp": 1704067200,
"count": 17
}
]
}
],
"pagination": {
"page": 1,
"per_page": 25
},
"links": {
"self": "/v3/projects?page=2&per_page=25",
"first": "/v3/projects?page=1&per_page=25",
"prev": "/v3/projects?page=1&per_page=25",
"next": "/v3/projects?page=3&per_page=25"
},
"meta": {
"request_id": "6f1c2b0e-8d4a-4f6e-9b2a-3c5d7e9f1a2b"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.