Skip to main content
POST
Add knowledge base

Body

application/json
user_id
string
required

User identifier.

name
string
required

Human-readable name for the knowledge base.

chunks
object[]
required

List of document chunks to ingest.

agent_id
string | null
app_id
string | null
workspace_id
string | null

Response

200 - application/json

Knowledge base created

kb_id
string

The ID of the created knowledge base.

chunks_stored
integer

Number of chunks ingested.