Brain
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.
PATCH
Make a knowledge base the company default
Authorizations
Workspace API key. Create one via the dashboard or POST /v1/auth/keys.
Path Parameters
Knowledge base id.
Body
application/json
Must be true. Makes this knowledge base the company default.
Available options:
true Make a knowledge base the company default