Skip to content

Update AI governance configuration for an organisation

PUT
/api/v3/organizations/{organisation}/ai/governance

Authorizations

Parameters

Path Parameters

organisation
required
string

The organisation ID

Request Body required

object
aiEnabled
required
boolean
modelPolicy
required
string
Allowed values: unrestricted allowlist blocklist
modelList
Array<string>
mandatoryGuardrailPreset
string
nullable
Allowed values: official official-sensitive protected
mandatoryFilterPolicies
Array<string>
spendLimits
object
monthlyBudgetCents
integer
nullable
dailyBudgetCents
integer
nullable
perUserMonthlyBudgetCents
integer
nullable
perUserDailyBudgetCents
integer
nullable
warningThresholdPercent
integer
nullable
interfaceLimits

Aggregate spend caps per interface label (slack, autonomous, api-gateway, streaming, websocket). Keys are interface labels.

object
key
additional properties
object
dailyCents
integer
nullable
monthlyCents
integer
nullable
userOverrides

Per-user budget overrides keyed by userId (numeric portal id, slack-, or system:code-agent). Replaces the flat per-user budget for that user; unlimited=true exempts them.

object
key
additional properties
object
dailyCents
integer
nullable
monthlyCents
integer
nullable
unlimited
boolean
nullable
version
integer

Responses

200

Governance configuration updated successfully

object
success
boolean
true
config
object

422

Validation error

500

Failed to update governance configuration