Retrieves comprehensive details for a specific document, including its content or OCR data if available, and a presigned URL.
The unique identifier of the document.
Whether to include file size from S3 (in bytes). Adds a small latency overhead.
Successfully retrieved full document details.
Successfully retrieved full document details.
The number of pages in the PDF, or null for non-PDFs and PDFs that have not been counted yet.
x >= 0application/pdf The size of the file in bytes.