PUT /settings/organization
Set the organization settings.
TypeScript SDKThe npm client, generated from the API spec.Python SDKThe PyPI client, sync and async.
| Method | Path |
|---|---|
| PUT | /v1/settings/organization |
Replaces both: `default_model` accepts an alias or canonical id and is stored canonical; `budget_ceiling.session` is in US dollars, at most the platform ceiling. Null clears each. Refused for sandbox tokens (potentially prompt-injected code must not repoint the organization's defaults).
curl -X PUT "https://api.ellipsis.dev/v1/settings/organization" \
-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.settings.organization.set()
print(result)import { Ellipsis } from '@ellipsis-dev/sdk';
const client = new Ellipsis({
apiKey: process.env.ELLIPSIS_API_TOKEN!,
});
const result = await client.settings.organization.set();
console.log(result);Request
Example request body
{
"default_model": "string"
}
Body parameters
budget_ceilingBudgetCeiling
The organization's spend ceilings.
default_modelstring
Canonical model id every session falls back to when neither its request nor its automation names one, or null when unset (sessions then run the platform default).
Response
Example response · 200
{
"default_model": "string"
}