PATCH /account/budget

Update spending policy or budget alerts as an account administrator.

MethodPath
PATCH/v1/account/budget

Each supplied section replaces that section; omitted sections are preserved. Set policy.developer_defaults to null to disable developer limits. Null override windows inherit their default. API keys use their stable ID, not their secret. Changes apply to the next paid request, including sessions already running. API keys and sandbox credentials cannot edit budgets. The session ceiling remains at /account/settings; purchasing credits is separate from budget policy.

curl -X PATCH "https://api.ellipsis.dev/v1/account/budget" \
  -H "Authorization: Bearer $ELLIPSIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

Request

Example request body
{
}

Body parameters

alertsBudgetAlerts

Notifications only. These thresholds do not stop paid requests.

policyBudgetPolicy

Limits on actual Ellipsis credit debits, not allocations of credit. Developer keys are attribution_type:attribution_id; API keys use their stable key ID, never the secret. Unattributed and Ellipsis bot activity is exempt only from developer limits. A null developer default disables that scope while preserving overrides for later use.

Response

Example response · 200
{
"as_of": "2026-01-01T00:00:00Z",
"credit_balance_usd": 0,
"credit_exhausted": false,
}

On this page

No Headings
Schedule a demo