Skip to main content

File Operations

Upload and manage documents that power your RAG Q&A system.

Upload Files

Upload from Local File

Upload from URL

Batch Upload

Supported File Formats

Documents

  • PDF (.pdf)
  • Word (.docx, .doc)
  • PowerPoint (.pptx, .ppt)
  • Text (.txt)
  • RTF (.rtf)

Spreadsheets

  • Excel (.xlsx, .xls)
  • CSV (.csv)
  • TSV (.tsv)

Web & Other

  • HTML (.html)
  • MHTML (.mhtml)
  • Markdown (.md)
File size limits:
  • Max file size: 100MB per file
  • Contact support for larger files or custom formats

List Files

File status values:
  • uploading: File is being uploaded
  • processing: File is being indexed
  • completed: File is ready for Q&A
  • failed: Processing failed

Get File Details

Delete Files

Deleted files cannot be recovered. The file will be removed from all chats and answers that referenced it.

File Processing

Processing Time

Files are automatically processed after upload:
1

Upload

File is uploaded to Cerevox (a few seconds)
2

Parsing

Document is parsed for text and structure (10s - 2min)
3

Chunking

Content is split into semantic chunks (a few seconds)
4

Indexing

Chunks are indexed for search (10s - 1min)
5

Ready

File is ready for Q&A!
Total processing time:
  • Small files (< 10 pages): 10-30 seconds
  • Medium files (10-100 pages): 30-120 seconds
  • Large files (> 100 pages): 2-5 minutes

Monitor Processing Status

Best Practices

Before uploading:
  • Ensure PDFs are text-based (not scanned images)
  • Check that documents aren’t password-protected
  • Verify file isn’t corrupted
Tip: OCR (scanned) PDFs work but may have lower accuracy. Use text-based PDFs when possible.
Reduce processing time:
  • Remove unnecessary pages (covers, blanks, ads)
  • Compress images in PDFs
  • Split very large documents (500+ pages)
Smaller, focused documents = faster processing + better search results
Good: product-api-authentication-guide.pdf Bad: doc1.pdf, untitled.pdfDescriptive names help with source citations and debugging.
Async concurrent uploads are significantly faster than sequential.

Complete Example: Batch Upload

Error Handling

Next Steps

Chat Sessions

Create chats to ask questions

Q&A System

Ask questions over uploaded files

Best Practices

Optimize file preparation