Knowledge Bases
Manage knowledge bases (documents) that agents can reference.List Knowledge Bases
Returnsdata (array of knowledge base objects) and meta.
Get Knowledge Base
Returnsdata (knowledge base object with id, name, etc.) and meta.
Create Knowledge Base
Create a knowledge base with either inline text or a file upload. At least one ofcontent or file is required. Max file size 50MB. Allowed types: PDF, TXT, DOCX, MD.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Display name for the knowledge base |
content | string | No* | Inline text content (use this or file) |
file | object | No* | File upload: filename, data (base64), content_type (e.g. application/pdf, text/plain, application/vnd.openxmlformats-officedocument.wordprocessingml.document, text/markdown) |
content or file is required.
Example (inline)
Example (file)
data (knowledge base object) and meta.
Update Knowledge Base
Body:name (optional). Only included fields are updated.

