Galon Cloud
Galon API v1

/compute/usage

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

GET /compute/usage

Machine usage

Minutes and amounts of the virtual machines this month. Use when checking what the machines cost this month. Before: nothing. Returns per machine: vCPU, memory and disk minutes, outbound bytes and amount in micro-USD. Scope: compute:usage.

API key (Bearer), on the public API endpoint.

Responses

StatusDescriptionBody
2XXSuccess: the JSON body the route returns (see the description for its fields).object
401Key missing or invalidError
4XXRefused: act on detail.code, then follow detail.next_action (404 not_found while the service is not open to the account).Error

Examples

curl

curl -X GET "$GALON_API_BASE/compute/usage" \
  -H "Authorization: Bearer $GALON_API_KEY"