v2

latestOpenAPI 3.1.02026-08-0382170235.8 KB
documents

Upload a document file

Upload a document file.

Accepts any supported format (PDF, DOCX, PPTX, XLSX, Markdown, text, HTML, images). Binary formats are automatically converted to Markdown during upload. Once uploaded, the document is ready for fact extraction.

post/documents/upload

Query parameters

authorstring nullable
tagsstring nullable
source_urlstring nullable
descriptionstring nullable
original_datestring nullable

Response

Document uploaded, converted (if needed), and stored

document_idstring uuid required
filenamestring required
size_bytesinteger required
typestring required
conversion_statusstring required
messagestring