pdfType | PDFType | Detected document type: TextBased, Scanned, ImageBased, or Mixed. |
markdown | string | undefined | Extracted Markdown content, if any could be produced. |
pageCount | number | Total number of pages in the document. |
processingTimeMs | number | Time taken to process the document, in milliseconds. |
pagesNeedingOcr | number[] | 1-indexed pages that need OCR. |
ocrReasonsByPage | PDFPageOcrReasonsType[] | Machine-readable OCR reasons, per 1-indexed page. |
title | string | undefined | Document title, if available. |
confidence | number | Confidence score of the pdfType classification (0.0-1.0). |
isComplexLayout | boolean | Whether the document has tables or multi-column layout anywhere. |
pagesWithTables | number[] | 1-indexed pages where tables were detected. |
pagesWithColumns | number[] | 1-indexed pages where multi-column layout was detected. |
hasEncodingIssues | boolean | Whether the document has font encoding issues. |