Skip to main content
Create a knowledge base (KB) under a workspace. KBs collect documents; once parsed, documents automatically yield candidate memory nodes.

Endpoint

Authentication

Authorization: Bearer <jwt> or X-API-Key <sk_...>. Minimum role: contributor.

Path parameters

string
required
Workspace id.

Request body

string
required
KB name.
string
KB type (faq / document / wiki); decided by the server when omitted.

Response

string
KB id (kb_...).
string
Owning workspace id.
string
Name.
string
Type.
string
Creation time (RFC3339).

Example