Galon Cloud
Galon API v1

/metering

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

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

StatusDescriptionBody
200Technical measurements and explicit coverageProjectMetering
401Key missing or invalidError
403scope_missing (usage:read)
404project_not_found
503metering_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()