ReferenceAPI
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
usage_hourly as reported by the node (docs/phase6.md D). 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 — an empty hour bucket has no row (it is not
zero-filled: zero-filling would make "no report came in" look the same as "it was
zero").
Do not use this for rate limiting. The local MVP does not block requests based on this value (docs/local-mvp.md §3). 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 | — | — |