Skip to content
Helicarrier Developers

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.

GET /api/account/budgets HTTPS
Request & response examples
Request example Server-side
curl --fail-with-body --request GET \
'https://app.helicarrier.xyz/api/account/budgets' \
-H "Authorization: Bearer $HELI_API_KEY"
Response example 200
{
"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

Authorization

An account key with access to the resource. Project and service keys do not authorize this operation.

Authorization: Bearer <key> Key setup

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
  • inputAmount integer
  • inputCurrency string
  • fxRate integer

    Exchange rate for the display currency; zero when not applicable.

  • limitCents integer
  • limitCurrency string
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.

Error handling and safe retries
ALSO AVAILABLE VIA MCP

get_budgets

Required MCP arguments: none. Send path, query, and body fields together as tool arguments.

Connect your agent