Reading fraud and control checks
Gate downstream work on the document's integrity signals.
Before you start
Step 1 — Retrieve the extraction record
curl -s "https://api-docai-uat.uptiq.ai/document-extractions/$ID" \
-H "X-Api-Key: $DOCAI_API_KEY" -o record.json
jq '.extraction.fraudResults' record.json{
"fraudId": "d40f8b63-15ce-42a9-b806-9f37c2e6a851",
"extractionId": "3f2a91c4-7b58-4e12-9d63-0a5e8c1b74df",
"documentType": "BalanceSheet",
"fraudStatus": "processing",
"analysisStatus": "pending",
"preflight": {
"phase": "pre_ocr",
"overallScore": 100.0,
"genericRulesEvaluated": 15,
"processingTimeMs": 25549,
"categoryScores": {
"compliance": { "total": 6, "passed": 0, "failed": 0, "skipped": 6, "score": 0.0 },
"social_engineering": { "total": 3, "passed": 1, "failed": 0, "skipped": 2, "score": 33.33 },
"visual_forensic": { "total": 9, "passed": 4, "failed": 0, "skipped": 5, "score": 44.44 }
},
"results": [ ],
"errors": []
}
}Step 2 — Wait for fraud analysis to finish
Step 3 — Read the category scores
Category
Looks for
Step 4 — Read individual rule results
Step 5 — Build the gate
What you cannot do through the API
Not available
Do it here
Related pages
Last updated

