Retrieves metadata for a specific document, including a presigned URL for direct access if applicable.
The unique identifier of the document.
Whether to include file size from S3 (in bytes). Adds a small latency overhead.
Successfully retrieved document metadata.
Successfully retrieved document metadata.