Upload a file
Supported formats
Validation
Files are validated in three layers before upload:- Extension — must be one of the supported formats above
- MIME type — must match the expected type for the extension
- Magic bytes — file header is checked to confirm actual format (prevents renaming executables to
.pdf)
.exe, .sh, .bat, .dll, etc.) and binary files (ELF, Mach-O) are always rejected.
Limits
Error codes
Processing pipeline
After upload, the file goes through the processing pipeline:- Parsing — document is parsed into zones (sections, tables, etc.)
- Extraction — knowledge cards are extracted from zones using LLM
- Indexing — cards are embedded and indexed in the vector database
.xlsx, .csv) follow a separate pipeline optimized for tabular data.
The collection status changes to processing during this time and processed when complete.