Skip to navigation

Upload knowledge file

Upload a knowledge base file. Supported formats: .pdf, .docx, .txt, .md. Files are chunked and embedded automatically. Max file size: 10 MB.

Authentication

api-keystring

Your Atlas API key. Get it from the Atlas Portal under Settings > API Keys.

Query parameters

filenamestringRequired
Name of the knowledge base file.
campaignIdstringOptional
ID of the campaign.

Request

This endpoint expects binary data of type application/octet-stream.

Response

File uploaded
filePathstringOptional
filenamestringOptional
knowledgeIdstringOptional

Errors

400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error