Skip to main content
PUT
Python (SDK)

Authorizations

Authorization
string
header
required

Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.

Body

application/json
enabled
boolean
required

Cluster switch. When false, the cluster default applies to no organization.

guardrails
object[]
required

Guardrails enforced on every enrolled organization. Classifier models are resolved in the cluster organization's registry and metered to it.

Banned words guardrail

Response

200 - application/json

OK

object
any
required
enabled
boolean
required

Cluster switch. When false, the cluster default applies to no organization.

guardrails
object[]
required

Guardrails enforced on every enrolled organization

Banned words guardrail

built_in
boolean
required

True while the cluster runs the built-in default (prompt injection and leakage detection) because no operator has saved one

settings_unreadable
boolean
required

True when the saved cluster default cannot be read: the built-in rules shown here are enforced in its place. Save a policy to replace it; do not save these rules back unless that is intended

updated_by
string | null
required

User who last changed the cluster default; null while the built-in default applies

updated_at
string<date-time> | null
required

When the cluster default was last changed; null while the built-in default applies