Overview
Each native document stores:- filename: The original filename
- mimeType: The MIME type (e.g.,
application/pdf) - data: The raw binary content
- checksum: Optional integrity hash
- size: File size in bytes
Creating Native Documents
Store a binary file within your document:Retrieving Native Documents
Get All Native Documents
Get by ID or Filename
Retrieve Binary Data
The binary content is retrieved separately from metadata for efficiency:Deleting Native Documents
Common MIME Types
| File Type | MIME Type |
|---|---|
application/pdf | |
| Word (docx) | application/vnd.openxmlformats-officedocument.wordprocessingml.document |
| Excel (xlsx) | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet |
| PNG | image/png |
| JPEG | image/jpeg |
| JSON | application/json |
| HTML | text/html |
| Plain Text | text/plain |
| CSV | text/csv |
| ZIP | application/zip |
