GET /metering
Get technical quantities recorded for the project bound to the key
Exact scope usage:read. Returns the month's effective meter quantities, net of corrections. This statement is neither an invoice nor a provider reconciliation; no cost, job, adapter or proof identifier is returned.
API key (Bearer), on the public API endpoint.
Responses
| Status | Description | Body |
|---|---|---|
200 | Technical measurements and explicit coverage | ProjectMetering |
401 | Key missing or invalid | Error |
403 | scope_missing (usage:read) | |
404 | project_not_found | |
503 | metering_unavailable |
Examples
curl
curl -X GET "$GALON_API_BASE/metering" \
-H "Authorization: Bearer $GALON_API_KEY"Node.js (SDK)
import { Galon } from "galon";
const galon = new Galon(process.env.GALON_API_KEY);
const result = await galon.metering.get();Python (SDK)
from galon import Galon
galon = Galon() # reads GALON_API_KEY
result = galon.metering.get()