Get budgets
Read account and project budgets, actual spend, projections, alert thresholds, shutdown failures and edit permission. Optionally quote a local-currency amount as a fixed USD budget before saving. Local equivalents vary with FX; switching country never changes saved USD limits.
Request & response examples
curl --fail-with-body --request GET \ 'https://app.helicarrier.xyz/api/account/budgets' \ -H "Authorization: Bearer $HELI_API_KEY"const response = await fetch( "https://app.helicarrier.xyz/api/account/budgets", { 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/budgets", headers={ "Authorization": f"Bearer {os.environ['HELI_API_KEY']}" }, timeout=30,)response.raise_for_status()data = response.json()# Inspect data; avoid logging secret responses.{ "budgets": [], "projects": [], "canEdit": true, "emailReady": true, "stopFailures": [], "currency": "USD", "limitCurrency": "USD", "fxRate": 0, "budgetQuote": { "inputAmount": 100, "inputCurrency": "USD", "fxRate": 1, "limitCents": 10000, "limitCurrency": "USD" }, "currencyNote": "Budgets remain fixed in USD; local equivalents vary with exchange rates."}Illustrative values · selected fields
Query parameters
amount string optional Optional positive amount in the account currency. Returns a budgetQuote with fixed USD limitCents to review before saving.
currency string optional Currency of amount (USD or NGN); must match the account currency. Required with amount.
Response 200
Read account and project budgets, actual spend, projections, alert thresholds, shutdown failures and edit permission. Optionally quote a local-currency amount as a fixed USD budget before saving. Local equivalents vary with FX; switching country never changes saved USD limits.
Examples show selected response fields with illustrative values. Your response can contain additional fields.
budgets array projects array canEdit boolean emailReady boolean stopFailures array currency string Display currency associated with the caller.
limitCurrency string fxRate integer Exchange rate for the display currency; zero when not applicable.
budgetQuote object Child fields
-
inputAmountinteger -
inputCurrencystring -
fxRateintegerExchange rate for the display currency; zero when not applicable.
-
limitCentsinteger -
limitCurrencystring
currencyNote string 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.
500 The operation could not be completed. Check resource state before retrying a write.
get_budgets
Required MCP arguments: none. Send path, query,
and body fields together as tool arguments.