Account
Update Account Settings
Change extra usage, spend limits and auto-reload at /api/v1/account/settings
PATCH
Update account settings
Overview
Changes any of your billing settings, so an agent can manage them without the dashboard. Fields you leave out keep their values, and a request with any invalid field changes nothing.extraUsage decides whether usage past your credits bills to your card. On Ultra it covers the models outside the plan: turned off, requests to them return 402 once your credits run out, while Ultra’s own models keep working. Turning it back on resumes them at once.
monthlySpendLimit caps what extra usage bills to your card each month (null removes it), spendAlert emails you when monthly spend reaches an amount, and autoReload, autoReloadThreshold and autoReloadAmount top up credits from your card. Amounts are USD.
From the CLI: morph settings set extra-usage off, morph settings set spend-limit 50, and so on.Authorizations
Morph API key, passed as Authorization: Bearer sk-.... Create keys at https://www.morphllm.com/dashboard/api-keys.
Body
application/json
The settings to change.
The settings to change; the rest keep their values.
Response
The account’s settings after the change.
The account’s billing settings.