- Sync
- Async
Parameters
document_id(str): ID of the document to download
Returns
bytes: Raw file content as bytes
Examples
- Sync
- Async
Notes
- This method returns the raw file bytes, which you can save to disk or process in memory.
- For getting a downloadable URL instead of raw bytes, use
get_document_download_url. - The returned bytes match the original file that was uploaded/ingested.

