Get Usage
GET/api/v1/usage
One usage metric per UTC day over a range, for the whole deployment or one org.
Events per second over more than one tenant id is the busiest minute of their sum, read from the minute table, which keeps 7 days.
Request
Responses
- 200
- 401
- 403
- 422
- 503
- default
Successful Response
No valid session: the credentials are missing, invalid or expired, or the account behind them is disabled or blocked
No usage:read, or the caller is held to its orgs and does not hold the one named
An unknown metric or org, a range ending before it starts, or an org named for a metric kept only for the whole deployment
ClickHouse could not read the usage tables
Problem details (RFC 9457)