Change organisation settings (the stop switch also needs stop-switch.use).
PATCH
/api/settings
const url = 'https://app.agentic.figentra.com/api/settings';const options = { method: 'PATCH', headers: {cookie: 'session=<session>', 'Content-Type': 'application/json'}, body: '{"models":{"additionalProperty":"example"},"limits":{"runCents":1,"projectMonthlyCents":1,"organisationMonthlyCents":1,"checkInCents":1},"stopSwitch":true,"connectors":["example"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://app.agentic.figentra.com/api/settings \ --header 'Content-Type: application/json' \ --cookie session=<session> \ --data '{ "models": { "additionalProperty": "example" }, "limits": { "runCents": 1, "projectMonthlyCents": 1, "organisationMonthlyCents": 1, "checkInCents": 1 }, "stopSwitch": true, "connectors": [ "example" ] }'Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
Example generated
{ "models": { "additionalProperty": "example" }, "limits": { "runCents": 1, "projectMonthlyCents": 1, "organisationMonthlyCents": 1, "checkInCents": 1 }, "stopSwitch": true, "connectors": [ "example" ]}Responses
Section titled “Responses”OK
Media typeapplication/json
object
settings
required
object
organisationId
required
string
models
required
object
key
additional properties
string
limits
required
stopSwitch
required
connectors
required
Array<string>
updatedAt
required
string format: date-time
Example generated
{ "settings": { "organisationId": "example", "models": { "additionalProperty": "example" }, "limits": { "runCents": 1, "projectMonthlyCents": 1, "organisationMonthlyCents": 1, "checkInCents": 1 }, "stopSwitch": { "on": true, "changedBy": "example", "changedAt": "2026-04-15T12:00:00Z" }, "connectors": [ "example" ], "updatedAt": "2026-04-15T12:00:00Z" }}default
Section titled “default”Error
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
Example generated
{ "error": { "code": "example", "message": "example", "details": { "additionalProperty": "example" } }}