In this article
A retained JobId is a temporary retrieval handle, not a durable copy of every detected text block.
Track the retrieval window from job initialization
The Textract asynchronous workflow guide says results can be retrieved only up to 7 days from job initialization. The GetDocumentTextDetection API likewise limits JobId validity. A proposed scheduler should therefore preserve initiation time and schedule result collection independently of how long a downstream reviewer takes. A completed-job row in an application database does not extend the service’s result availability, and a delayed user interaction should not be the first attempt to obtain the output.
Keep completion notification separate from the result payload
The StartDocumentTextDetection API returns JobId and can publish completion status to the configured SNS topic. That notification identifies an outcome; the Get method retrieves the OCR blocks. An editorial ingestion record should distinguish received notification, started retrieval and durably captured results. A notification message retained for later processing does not itself contain the complete document analysis, so acknowledging it should not silently mark all OCR text as safely stored.
Follow block pagination rather than document-page assumptions
GetDocumentTextDetection returns PAGE, LINE and WORD blocks with relationships. MaxResults limits returned blocks, and NextToken continues a truncated response. A document page and an API result page are therefore different units. A proposed collector follows continuation until complete and preserves block identifiers and relationships across responses. Keeping only the initial result can lose words or relationships even when the top-level document metadata looks plausible and the job status indicates successful processing.
Interpret partial success and warnings explicitly
The Get contract distinguishes IN_PROGRESS, SUCCEEDED, FAILED and PARTIAL_SUCCESS and exposes warnings. Transport success alone does not establish complete text detection for every document page. A proposed preservation manifest records status, warnings, document metadata and the detection model version alongside the collected blocks. It should retain the difference between an unavailable historical result and a result that was captured successfully but contained page-level processing limitations.
Choose an output-storage contract deliberately
The workflow guide describes default internal result storage and the OutputConfig option for writing to a customer-selected S3 bucket. The start API exposes that configuration explicitly. Customer output still needs its own access, encryption and retention policy; it does not imply unlimited availability by itself. Document provenance connects OCR output to its input and processing identity, while contract fixtures can cover expired handles and truncated block responses without submitting any real documents. This profile performs no OCR request.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.