Skip to content

Change organisation settings (the stop switch also needs stop-switch.use).

PATCH
/api/settings
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" ] }'
Media typeapplication/json
object
models
object
key
additional properties
Any of:
string
>= 1 characters
limits
object
runCents
integer
<= 9007199254740991
projectMonthlyCents
Any of:
integer
<= 9007199254740991
organisationMonthlyCents
Any of:
integer
<= 9007199254740991
checkInCents
Any of:
integer
<= 9007199254740991
stopSwitch
boolean
connectors
Array<string>

Example generated

{
"models": {
"additionalProperty": "example"
},
"limits": {
"runCents": 1,
"projectMonthlyCents": 1,
"organisationMonthlyCents": 1,
"checkInCents": 1
},
"stopSwitch": true,
"connectors": [
"example"
]
}

OK

Media typeapplication/json
object
settings
required
object
organisationId
required
string
/^org_[0-9A-Za-z]{8,64}$/
models
required
object
key
additional properties
string
>= 1 characters
limits
required
object
runCents
required
integer
<= 9007199254740991
projectMonthlyCents
required
Any of:
integer
<= 9007199254740991
organisationMonthlyCents
required
Any of:
integer
<= 9007199254740991
checkInCents
required
Any of:
integer
<= 9007199254740991
stopSwitch
required
object
on
required
boolean
changedBy
required
Any of:
string
/^usr_[0-9A-Za-z]{8,64}$/
changedAt
required
Any of:
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
connectors
required
Array<string>
updatedAt
required
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/

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"
}
}

Error

Media typeapplication/json
object
error
required
object
code
required
string
/^[a-z][a-z0-9_]*$/
message
required
string
>= 1 characters
details
object
key
additional properties

Example generated

{
"error": {
"code": "example",
"message": "example",
"details": {
"additionalProperty": "example"
}
}
}