Get event usage stats
GET/projects/:project_id/event-usage-stats
Returns the latest event usage statistics for the project from the cache.
Trigger a refresh first with POST /projects/{project_id}/event-usage-stats/refresh.
The status field indicates whether results are available:
not_started: no gathering job has been run yet; theeventslist is empty.pending: a gathering job is currently running. Theeventslist holds the results of the previous run, if any.ready: theeventslist holds the latest gathered results.failed: the last gathering job failed. Theeventslist holds the results of the previous successful run, if any. Trigger another refresh to retry.
Request
Responses
- 200
- 401
- 404
- 405
- 429
OK
The API key header is either missing or an invalid API key is given
Not Found
The requested HTTP method is not allowed.
Too many requests sent with the same API key. Up to 10 requests can be sent within 1 second.