Get billing
Read current account billing and full-month projections grouped as a list, by project, or by service type. Each resource appears once with its plan-change slices nested underneath. All monetary cents are USD; currency and fxRate describe local display.
Request & response examples
curl --fail-with-body --request GET \ 'https://app.helicarrier.xyz/api/account/billing' \ -H "Authorization: Bearer $HELI_API_KEY"const response = await fetch( "https://app.helicarrier.xyz/api/account/billing", { method: "GET", headers: { Authorization: `Bearer ${process.env.HELI_API_KEY}` } });const data = await response.json();if (!response.ok) { throw new Error(`HTTP ${response.status}: ${data.error}`);}// Inspect data; avoid logging secret responses.import osimport requests
response = requests.request( "GET", "https://app.helicarrier.xyz/api/account/billing", headers={ "Authorization": f"Bearer {os.environ['HELI_API_KEY']}" }, timeout=30,)response.raise_for_status()data = response.json()# Inspect data; avoid logging secret responses.{ "period": "2026-12", "currency": "USD", "amountCurrency": "USD", "fxRate": 0, "groupBy": "project", "estimateCents": 0, "projectedCents": 0, "usage": [], "groups": [], "bundles": [], "invoices": []}Illustrative values · selected fields
Query parameters
groupBy string optional list (default), project, or type. Groups contain unique resources, plan history, billed totals and full-month projections.
Response 200
Read current account billing and full-month projections grouped as a list, by project, or by service type. Each resource appears once with its plan-change slices nested underneath. All monetary cents are USD; currency and fxRate describe local display.
Examples show selected response fields with illustrative values. Your response can contain additional fields.
period string currency string Display currency associated with the caller.
amountCurrency string fxRate integer Exchange rate for the display currency; zero when not applicable.
groupBy string estimateCents integer projectedCents integer usage array groups array Engine-specific metric groups.
bundles array invoices array Errors
400 Invalid parameters. Check the required fields, types, and resource configuration.
401 The API key is missing, invalid, or revoked.
403 The caller or key scope does not permit this operation.
get_billing
Required MCP arguments: none. Send path, query,
and body fields together as tool arguments.