Galon Cloud
Galon API v1

/projects/{project_id}/storage/usage

Base URL https://api.galon.ai/v1 · export GALON_API_BASE="https://api.galon.ai/v1"

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

NameInTypeDescription
project_idpathstring · required

Responses

StatusDescriptionBody
200Project quota and countersStorageUsage
400query_invalidError
401unauthorized (session missing, expired or revoked)Error
403reserve_admin (member)Error
404project_not_found, not_found (surface closed or tenant not admitted), Error
500storage_contract_invalid (project quota not provisioned)Error
503storage_temporarily_unavailableError
422project_id_invalidError

Examples

curl

curl -X GET "$GALON_API_BASE/projects/<project_id>/storage/usage" \
  -H "Authorization: Bearer $GALON_API_KEY"