Get the latest ID-document classification job for this document
Authorizations
Section titled “ Authorizations ”- apiKey
- None
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Responses
Section titled “ Responses ”object
Classified document subtype. Null if classification was inconclusive or not yet complete.
Whether this document type requires a back image upload (true for driving licence and national ID)
True iff the validator classified the document as one of the accepted subtypes (passport, driving licence, national ID). Equivalent to classifiedType !== null. Null while classification is still in flight.
True when the validator clearly identified the document as a government-issued document of a TYPE WE DO NOT ACCEPT (e.g. residence permit, work permit, birth certificate). False when accepted or when the type is unclear. Null while classification is still in flight. Drives an upload-time hard rejection (the user must re-upload).
Short name of the unaccepted document type, when invalid is true. Used for the rejection copy (e.g. “residence permit”). Null otherwise.
For back-of-ID documents (parentDocumentId set): true when the back’s classified type doesn’t match the front’s. Null for fronts or when comparison isn’t possible (front still classifying, no parent, etc.).
Composite-upload split state. Null when this document was not enqueued for a split. While status is pending, requiresBack is null so clients do not prompt for a back mid-split.
object
Background split of a composite ID upload. Absent (the parent split is null) when no split was enqueued.
Derived front descriptor once the split completed. Null while pending, rejected, or failed.
object
Derived front document id after a completed split.
S3 key of the derived front file.
Derived front file name, e.g. “passport – front.png”.
MIME type of the derived front file.
Derived back document id (child of the front) once the split completed. Null when no back was derived or the split is not completed.
True when the layout detector reported more than one ID in the upload.
True when non-ID pages were set aside on the composite (the planner flag persisted at enqueue).
Derived front’s ID-card rows as { key, isValid, label }. explanation is carried only for isValidDocument, readabilityIssues and hasFrontSide. Null unless the split completed.
object
ID-card attribute key, e.g. “isValidDocument” / “readabilityIssues”.
Server display label for this attribute, e.g. “First Name”.
Normalized pass/fail for this attribute.
Present only for isValidDocument, readabilityIssues and hasFrontSide: the keys the applicant already sees explained on the sync upload path. Null or omitted for every other key.
This document’s derived back child (metadata.splitRole=back), including hidden pre-adoption rows. Null when this document has no such child. Bounded to an id, the same contract as split.backDocumentId.
This document’s own ID-card rows as { key, isValid, label }. explanation is carried only for isValidDocument, readabilityIssues and hasFrontSide: the keys the applicant already sees on the sync upload path. Null while classification is not completed.
object
ID-card attribute key, e.g. “isValidDocument” / “readabilityIssues”.
Server display label for this attribute, e.g. “First Name”.
Normalized pass/fail for this attribute.
Present only for isValidDocument, readabilityIssues and hasFrontSide: the keys the applicant already sees explained on the sync upload path. Null or omitted for every other key.
This document’s metadata.splitRole when it is a derived split child. Null for an ordinary upload that was never split.
Examples
{ "status": "COMPLETED", "classifiedType": "PASSPORT", "requiresBack": false, "isGovernmentId": true, "invalid": false, "invalidReason": null, "mismatchedFront": null, "split": null, "derivedBackDocumentId": null, "frontRows": [ { "key": "isValidDocument", "label": "Valid Document", "isValid": true } ], "splitRole": null}{ "status": "PENDING", "classifiedType": "PASSPORT", "requiresBack": true, "isGovernmentId": false, "invalid": false, "invalidReason": null, "mismatchedFront": false, "split": { "status": "pending", "frontDocument": { "documentId": "507f1f77bcf86cd799439014", "key": "uploads/4f9ab26d-5381-44af-a4fd-3ff372295e97_passport_front.png", "fileName": "passport – front.png", "contentType": "image/png" }, "backDocumentId": "507f1f77bcf86cd799439015", "multipleIdsDetected": false, "otherDocumentsDetected": false, "frontRows": [ { "key": "isValidDocument", "label": "Valid Document", "isValid": false, "explanation": "Identity verification did not run: image resolution is too low." } ] }, "derivedBackDocumentId": "507f1f77bcf86cd799439015", "frontRows": [ { "key": "isValidDocument", "label": "Valid Document", "isValid": false, "explanation": "Identity verification did not run: image resolution is too low." } ], "splitRole": "front"}Document or classification not found