Skip to main content
POST
Create knowledge base

Authorizations

Authorization
string
header
required

Bearer token authentication. Supports two token types:

  • JWT Access Token — obtained via POST /v1/auth/login
  • Personal Access Token (PAT) — created via POST /v1/api-tokens, format: cmnd_<tokenId>.<secret>

Body

application/json
name
string
required

Name of the knowledge base

Example:

"My Knowledge Base"

description
string

Description of the knowledge base

Example:

"Technical documentation for our product"

is_private
boolean
default:true

Whether the knowledge base is private

Response

Knowledge base created successfully

id
string
Example:

"kb_abc123"

object
string
Example:

"knowledgebase"

name
string
Example:

"My Knowledge Base"

description
string
Example:

"Technical documentation"

is_private
boolean
Example:

true

created_at
integer

Unix timestamp

Example:

1699564800

updated_at
integer

Unix timestamp

Example:

1699564800

file_count
integer
Example:

5

size_bytes
integer
Example:

102400