| Document | |
| GET Search documents | Retrieve all documents in a project, or filter by type, page, and limit. |
| GET Get document | Fetch a single document by ID, including its chunks and metadata. |
| POST Create document | Add a new document to the knowledge base from a URL or integration source. |
| POST Upload table document | Upload structured table data as a knowledge base document, with optional chunking and LLM processing settings. |
| PUT Replace document | Replace an existing document’s source and metadata entirely. |
| PATCH Update document metadata | Update the metadata fields on an existing document without replacing it. |
| PATCH Update chunk metadata | Update the metadata on a specific chunk within a document. |
| DEL Delete document | Permanently remove a document from the knowledge base by ID. |