Skip to main content
POST
Create knowledge base
Creates a knowledge base your agents can retrieve answers from. Creating it also provisions the underlying vector collection, so this is the first step before adding sources or uploading documents.

Body parameters

string
required
Short key, unique within your tenant — e.g. support
string
required
Display name — e.g. Support Knowledge Base
string
What this knowledge base contains
number
Cosine relevance floor for retrieval, between 0 and 1. Overrides the platform default — raise it to return fewer, more relevant chunks
object
Arbitrary key/value data stored with the knowledge base

Next steps

Add content with POST /knowledge-bases/{kbId}/sources, or upload a file to POST /knowledge-bases/{kbId}/documents/upload, then queue ingestion with POST /knowledge-bases/{kbId}/ingestion-jobs.