Skip to main content
POST
Create a new knowledge base

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

Knowledge base name

Required string length: 1 - 128
Example:

"Product Documentation"

description
string

Knowledge base description

Maximum string length: 2000
embeddingModel
string

Embedding model identifier

Example:

"openai/text-embedding-3-small"

chunkConfig
object

Chunk configuration

Response

Knowledge base created successfully