ReferenceAPI
Usage
Covers the single API operation 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
usage_hourly as reported by the node (docs/phase6.md D). Request counts and CPU ms accumulate within the hour; storage bytes are the last observed value. Only rows for the last hours hours are returned — an empty hour has no row (we do not fill in 0: filling it in would make "no report arrived" and "it was 0" look the same).
Not used for request limiting. In the local MVP this value never blocks a request (docs/local-mvp.md §3). Requires viewer or above.
operationId getUsage
| Parameter | In | Required | Type | Description |
|---|---|---|---|---|
hours | query | No | integer | — |
| Status | Description | Response body |
|---|---|---|
| 200 | Usage | Usage |
| 403 | — | — |
| 404 | — | — |