Add knowledge source
Knowledge Bases
Add knowledge source
Ingest text, FAQs, or documents into a knowledge base for RAG context retrieval
POST
Add knowledge source
Adds a new document or text knowledge source to an existing knowledge base. The platform automatically breaks the text into chunks, generates vector embeddings, and indexes them for RAG retrieval during agent calls.
Path parameters
string
required
UUID of the target knowledge base
Body parameters
string
required
Type of the source —
text, url, or filestring
required
Human-readable title (e.g.
Refund Policy 2026 or Company FAQ)string
The text content to ingest (required when
sourceType is text)string
The webpage URL to scrape and index (required when
sourceType is url)
