Skip to main content
PATCH
Make a knowledge base the company default

Authorizations

Authorization
string
header
required

Workspace API key. Create one via the dashboard or POST /v1/auth/keys.

Headers

X-Naive-Project-Id
string<uuid>

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

user_id
string
required

Tenant user id, or default for the caller`s own.

knowledge_base_id
string
required

Knowledge base id.

Body

application/json
is_default
enum<boolean>
required

Must be true. Makes this knowledge base the company default.

Available options:
true

Response

The knowledge base, now the company default

id
string
name
string
provider
string
status
string
is_default
boolean
created_at
string<date-time>
updated_at
string<date-time>