Metrics
metrics explains how each page was processed. It is useful for troubleshooting, quality monitoring, and performance analysis.
Common fields
Returned fields may vary slightly by document and processing path, but common metrics usually include:
| Field | Meaning |
|---|---|
page | Page number |
dpi | Effective or detected processing resolution |
angle | Page skew or correction angle |
duration / cost_time | Processing time for the page |
width / height | Page image dimensions |
status | Processing status for the page |
Why these fields matter
- Low
dpioften correlates with weaker OCR quality - A non-zero
anglemeans the page required rotation correction - A high
durationoften indicates dense tables, large images, or complex layouts - Abnormal
statusvalues help you isolate failing pages quickly
Recommended usage
- Review
metricstogether withresult.pagesduring quality analysis - Aggregate
durationvalues for page-level performance monitoring - Record failing page numbers together with
x_request_idfor retries and support cases
Troubleshooting tips
- If a few pages have poor text quality, inspect
dpiandanglefirst - If a whole document is slow, look for oversized image pages or dense table pages
- If only selected pages fail, compare them with the page structure described in Page details