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
| Status | Description | Body |
|---|---|---|
2XX | Success: the JSON body the route returns (see the description for its fields). | object |
401 | Key missing or invalid | Error |
4XX | Refused: 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"