Usage
Covers 1 API operations in the usage category.
| Method | Path | Description |
|---|---|---|
| GET | /v1/orgs/{orgSlug}/projects/{projectName}/usage | Hourly usage (runlot usage) |
GET /v1/orgs/{orgSlug}/projects/{projectName}/usage
Hourly usage reported by the running project. Request count and CPU ms accumulate
within the hour bucket; storage bytes is the last observed value. Only rows for the
most recent hours hours come back, and an hour with no report has no row — buckets
are not zero-filled, so a missing hour means "nothing was reported", not "it was
zero".
Do not use this for rate limiting. Requests are not blocked based on this value. Requires viewer or higher.
operationId getUsage
| Parameter | Location | Required | Type | Description |
|---|---|---|---|---|
hours | query | No | integer | — |
| Status code | Description | Response body |
|---|---|---|
| 200 | Usage | Usage |
| 403 | — | — |
| 404 | — | — |