Knowledge Bases
Create Knowledge Base
Create a new knowledge base from uploaded files
POST
Create Knowledge Base
Request
Content-Type: multipart/form-data
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | yes | — | KB name |
files | file[] | yes | — | Documents to upload |
description | string | no | — | What the KB contains |
tags | string | no | — | Comma-separated tags |
chunk_size | int | no | 1200 | Target chunk size |
overlap_percentage | float | no | 0.15 | Overlap between chunks |
chunking_strategy | string | no | auto | Chunking strategy |
vector_db_type | string | no | pgvector | Vector database backend |
POST /api/v1/knowledge-bases/create-from-url to create a KB by crawling a website.
Response
Create Knowledge Base

