Make a knowledge base the company default
Re-points the company’s default at an EXISTING knowledge base. Demote-then-promote runs in one transaction under a company-scoped advisory lock, so a company is never left with knowledge bases and no default. Idempotent: patching the current default returns it unchanged. is_default must be true — to stop a brain being the default, name the one that should be instead. Only an active knowledge base can be promoted.
Authorizations
Workspace API key. Create one via the dashboard or POST /v1/auth/keys.
Headers
Act inside this project. The header form of the /v1/projects/{project_id}/... prefix, for clients that cannot rewrite their base path. Lower precedence than the path, higher than the key's pinned project; omitted resolves to the organization's default project.
Path Parameters
Tenant user id, or default for the caller`s own.
Knowledge base id.
Body
Must be true. Makes this knowledge base the company default.
true