Skip to main content
GET
Python

Path Parameters

documentId
string
required

The unique identifier of the document.

Query Parameters

includeSize
string

Whether to include file size from S3 (in bytes). Adds a small latency overhead.

Response

Successfully retrieved full document details.

id
string
required
fileName
string
required
pdfPageCount
integer | null
required

The number of pages in the PDF, or null for non-PDFs and PDFs that have not been counted yet.

Required range: x >= 0
presignedUrl
string<uri>
required
mimeType
enum<string>
required
Available options:
application/pdf
ocrResponse
any
size
number | null

The size of the file in bytes.