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
campaignIdstringOptional

Request

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

Response

File uploaded
filePathstring
filenamestring
knowledgeIdstring

Errors

400
Bad Request Error
500
Internal Server Error