GET /projects/{project_id}/storage/usage
Console — Get the project's Storage usage
Galon console session: tenant from the session, project in the path verified as an active project of the tenant, project environment; admin role (a member receives 403 reserve_admin). Same control plane and same projection as the key-based route. Bytes only, no amounts; no parameters. Hidden surface: 404 not_found until the Galon Object opt-in is enabled and a qualified data plane is injected. No bytes pass through the API; no internal reference or provider name is returned.
Console session only (signed-in console).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
project_id | path | string · required |
Responses
| Status | Description | Body |
|---|---|---|
200 | Project quota and counters | StorageUsage |
400 | query_invalid | Error |
401 | unauthorized (session missing, expired or revoked) | Error |
403 | reserve_admin (member) | Error |
404 | project_not_found, not_found (surface closed or tenant not admitted), | Error |
500 | storage_contract_invalid (project quota not provisioned) | Error |
503 | storage_temporarily_unavailable | Error |
422 | project_id_invalid | Error |
Examples
curl
curl -X GET "$GALON_API_BASE/projects/<project_id>/storage/usage" \
-H "Authorization: Bearer $GALON_API_KEY"