Knowledge Bases V2
Upload With Kb Creation
Create a new knowledge base with either file upload or markdown content.
This endpoint supports two modes:
- File Upload: Provide 'file' parameter with document (PDF, DOCX, MD, TXT)
- Markdown Content: Provide 'markdown_content' parameter with markdown text
Process:
- Validates and uploads content to S3
- Creates a new knowledge base
- Creates a document record (version 1)
- Returns KB and document info for async processing
The document processing (chunking, vectorization) happens asynchronously via Celery.
Note: You must provide either 'file' OR 'markdown_content', but not both.
post/knowledge_bases/v2/upload
Request
- Base URLhttps://api.myaltimate.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.myaltimate.com/knowledge_bases/v2/upload
- Auth
- HTTP bearer
- or HTTP bearer
Request body multipart/form-data
Response
Successful Response
Changes
No recorded changes to this operation across all 149 revisions of this API.