Documents
Upload files to your knowledge base. Supported formats include PDF, Word documents, text files, Markdown, and more.Upload a Document
Supported Formats
| Format | Extensions | Notes |
|---|---|---|
.pdf | Text extraction, tables supported | |
| Word | .docx, .doc | Full formatting preserved |
| Text | .txt | Plain text |
| Markdown | .md | Headers preserved as metadata |
| HTML | .html | Text extracted, tags stripped |
| CSV | .csv | Each row becomes a chunk |
| JSON | .json | Structured data preserved |
- Maximum file size: 50 MB
- Maximum files per knowledge base: 1,000
Processing Status
Documents are processed asynchronously. Check the status:pending- Queued for processingprocessing- Currently being processedcompleted- Successfully processedfailed- Processing failed (seeerrorfield)
List Documents
limit- Results per page (default: 20, max: 100)cursor- Pagination cursorstatus- Filter by processing statuscategory- Filter by metadata category
Update Document Metadata
Replace a Document
Upload a new version of an existing document:Delete a Document
Bulk Upload
Upload multiple documents at once:Chunking Configuration
Control how documents are split into chunks:| Strategy | Description |
|---|---|
fixed | Split by token count |
semantic | Split at natural boundaries (paragraphs, sections) |
sentence | Split at sentence boundaries |

