When to Re-process
You should re-process a document when:Classification Issues
Document was classified as
OTHER or unknown and you want to provide a type hintLow Confidence
Extraction had low confidence scores and you want to retry with explicit hints
Model Improvements
New extraction models are available and you want better results
Audit Trail
Compare extraction accuracy across multiple runs for quality assurance
Re-processing creates a new extraction job but uses the same document in the Cold Vault.
You don’t need to re-upload the PDF - the original file is immutable and always available.
Re-process a Document
Re-process an existing document by creating a new extraction job:202 Accepted):
Deduplication Behavior
DocIntell automatically prevents duplicate jobs for the same document:- If a
pendingorprocessingjob already exists, the existing job is returned - No duplicate extraction jobs are created
- This prevents accidental re-submission from retry logic or double-clicks
Example: Deduplication Response
Example: Deduplication Response
If you call Notice the
POST /v1/documents/{id}/jobs while a job is already in progress:job_id and created_at match the existing job (not a new one).Supported Document Types
You can provide adocument_type hint to improve classification accuracy:
View Job History
List all extraction attempts for a document to see the full re-processing history:Pagination
Job history supports pagination for documents with many re-processing attempts:Jobs are ordered newest first. The first item (page 1, index 0) is always the most recent extraction attempt.
Common Re-processing Scenarios
Scenario 1: Document Classified as OTHER
Your document was uploaded but classified asOTHER or unknown:
1
Check the current classification
2
Re-process with document type hint
3
Compare results
Retrieve both jobs and compare extraction quality:
Scenario 2: Low Confidence Extraction
Initial extraction had low confidence scores for critical fields:1
Review confidence scores
2
Re-process with correct document type
Providing the correct document type often improves confidence:
3
Verify improved confidence
Scenario 3: Comparing Extraction Runs
Track extraction accuracy improvements over time:Best Practices
Don't Re-process Pending Jobs
Why: Deduplication prevents duplicate jobs, but checking status first avoids unnecessary API calls.
Use Webhooks for Completion
Why: Polling for job completion wastes API quota and adds latency.Set up webhooks once and receive notifications for all jobs:
Track Job IDs for Comparison
Why: Each extraction creates a unique
job_id. Track them to compare results.Use Meaningful Document Type Hints
Why: Type hints significantly improve extraction accuracy for known document types.
DO: Provide
document_type if you know the document typeDON’T: Use
"unknown" as a hint - omit document_type insteadRate Limiting
Re-processing is subject to the document ingestion rate limit: 100 documents/hour per tenant. Rate limit headers are returned in responses:Next Steps
Job Status
Monitor extraction job progress
Extraction Results
Retrieve full extraction data with metadata
Webhook Setup
Get real-time notifications for job completion
Error Handling
Handle extraction failures gracefully