PUT /account/settings
Set the organization settings.
TypeScript SDKThe npm client, generated from the API spec.Python SDKThe PyPI client, sync and async.
| Method | Path |
|---|---|
| PUT | /v1/account/settings |
Replaces both: `default_model` accepts an alias or canonical id and is stored canonical, and cannot be cleared (it is the only default a session's model resolves against); `budget_ceiling.session` is in US dollars, at most the platform ceiling, and null clears it. Refused for sandbox tokens (potentially prompt-injected code must not repoint the organization's defaults).
curl -X PUT "https://api.ellipsis.dev/v1/account/settings" \
-H "Authorization: Bearer $ELLIPSIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"default_model":"..."}'import os
from ellipsis import Ellipsis
client = Ellipsis(api_key=os.environ["ELLIPSIS_API_TOKEN"])
result = client.account.settings.set(
"...",
)
print(result)import { Ellipsis } from '@ellipsis-dev/sdk';
const client = new Ellipsis({
apiKey: process.env.ELLIPSIS_API_TOKEN!,
});
const result = await client.account.settings.set({ default_model: '...' });
console.log(result);Request
Example request body
{
"default_model": "string"
}
Body parameters
budget_ceilingBudgetCeiling
The organization's spend ceilings.
default_modelstringrequired
Canonical model id every session falls back to when neither its request nor its automation names one. Always set: there is no platform default behind it, so a new organization starts on the model Ellipsis currently recommends and changes it here.
Response
Example response · 200
{
"default_model": "string"
}