Extraction
Extract asynchronously and poll
Submit without holding a connection open, then collect the result.
Generated endpoint reference
Before you start
Step 1 — Submit the job
curl -X POST "https://api-docai-uat.uptiq.ai/extract" \
-H "X-Api-Key: $DOCAI_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @request.json{
"data": {
"_id": "3f2a91c4-7b58-4e12-9d63-0a5e8c1b74df",
"documentStatus": "Pending",
"documentType": "BalanceSheet",
"requestId": "a7d0e514-63b2-4f97-8c05-1d4f9b28e3a6",
"subtype": null
},
"message": "Document queued for extraction",
"status": "success"
}Step 2 — Understand the retrieval shape before you write the loop
Submit response
Retrieve response
Step 3 — Poll until terminal
Step 4 — Show progress while you wait
Step 5 — Read the result
When it goes wrong
Symptom
Cause
Fix
Stop polling altogether
Related pages
Last updated

