Skip to content

Updates a KB's governance settings (classification/residency/ embed policy/default ACL/status), version-checked, re-validating the embed gate.

PUT
/v1/m/knowledge/kbs/{id}
curl --request PUT \
--url https://example.com/v1/m/knowledge/kbs/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "classification": "", "default_acl": [ "example" ], "embed_policy": "", "name": "example", "residency_region": "global", "status": "" }'

Updates a KB’s governance settings (classification/residency/ embed policy/default ACL/status), version-checked, re-validating the embed gate.

id
required
string

Path parameter id.

X-Olivares-Tenant
string format: uuid

Target tenant id; required when the principal can act in more than one tenant.

Media type application/json
object
classification

Empty or omitted defaults to internal; restricted is the accepted top-rank alias.

string
default: internal
Allowed values: "" public internal confidential secret restricted
default_acl
Array<string>
<= 256 items
embed_policy

Acceptance also depends on the wired embedder’s egress, model and region.

string
default: auto
Allowed values: "" local_only model_backed auto
name

Empty or omitted preserves the stored name; recognized secrets are rejected.

string
<= 200 characters
residency_region
string
default: global <= 200 characters
status
string
default: active
Allowed values: "" active archived

OK

Media type application/json
object
Example generated
{}

Bad request

Media type application/json
object
Example generated
{}

Unauthenticated

Media type application/json
object
Example generated
{}

Forbidden

Media type application/json
object
Example generated
{}

Not found

Media type application/json
object
Example generated
{}

Conflict / setup required

Media type application/json
object
Example generated
{}

Rate limited

Media type application/json
object
Example generated
{}