Trigger document extraction
Runs OCR and field extraction on the document. Creates a new
DocumentExtraction record with the extracted fields and confidence
scores.
Required scope: documents:write
Authentication
X-API-Keystring
Organization API key. Keys are prefixed with vk_live_ (production) or
vk_sandbox_ (sandbox).
Path parameters
document_id
Document ID (doc_*).
Headers
Verifa-Version
API version date string (e.g. 2026-02-01). If omitted, the version
pinned to your API key is used.
Response
Extraction result.
id
Extraction record ID.
document_id
Parent document ID.
extraction_type
Type of extraction performed (e.g. ocr, barcode, mrz).
status
Allowed values:
created_at
extracted_fields
Key-value map of extracted data fields.
confidence_scores
Per-field confidence scores (0-1).
reference_document_id
Reference document used for comparison, if any.
comparison_results
Field-by-field comparison results when comparing two documents.
Errors
401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error