PATCH /account/budget
Update spending policy or budget alerts as an account administrator.
| Method | Path |
|---|---|
| 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 '{}'import os
from ellipsis import Ellipsis
client = Ellipsis(api_key=os.environ["ELLIPSIS_API_TOKEN"])
result = client.account.update_budget()
print(result)import { Ellipsis } from '@ellipsis-dev/sdk';
const client = new Ellipsis({
apiKey: process.env.ELLIPSIS_API_TOKEN!,
});
const result = await client.account.updateBudget();
console.log(result);Request
Body parameters
Notifications only. These thresholds do not stop paid requests.
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.