Knowledge Bases
Create Knowledge Base From URL
Create a knowledge base by crawling a website
POST
Create Knowledge Base From URL
Request
Content-Type: application/x-www-form-urlencoded
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | yes | — | KB name |
website_url | string | yes | — | Website root URL to crawl |
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.125 | Overlap between chunks |
chunking_strategy | string | no | html | Chunking strategy |
vector_db_type | string | no | pgvector | Vector database backend |
max_crawl_depth | int | no | 3 | Maximum link depth to crawl |
max_crawl_pages | int | no | 20 | Maximum pages to crawl |
include_patterns | JSON-array string | no | — | Optional include patterns, for example ["/docs/*"] |
exclude_patterns | JSON-array string | no | — | Optional exclude patterns, for example ["/blog/*"] |
Response
Create Knowledge Base From URL

