curl --request GET \
--url https://api.deepxl.ai/v1/parse/{parseId} \
--header 'Authorization: Bearer <token>'{
"result": {
"parseId": 117,
"mediaType": "image",
"fileType": "jpeg",
"fileName": "drivers_license.jpg",
"fileSize": 231433,
"model": "light",
"likelihood": 100,
"documentType": "usa_driver_license",
"parsedData": {
"firstName": "JOHN",
"lastName": "DOE",
"dateOfBirth": "1990-05-15",
"licenseNumber": "D1234567",
"expirationDate": "2028-05-15",
"address": "123 MAIN ST ANYTOWN, CA 90210"
},
"timestamp": 1725795600,
"timestampISO": "2024-09-08T10:00:00.000000",
"tags": [
{
"name": "customerId",
"value": "9999"
},
{
"name": "customerName",
"value": "Acme Corp"
},
{
"name": "documentId",
"value": "DOC-2024-001"
},
{
"name": "companyName",
"value": "DeepXL"
},
{
"name": "companyId",
"value": "COMP-001"
}
],
"files": [
{
"category": "original_file",
"fileName": "drivers_license.jpg",
"fileSize": 231433,
"contentType": "image/jpeg",
"timestamp": 1725795600,
"timestampISO": "2024-09-08T10:00:00.000000",
"url": "https://api.deepxl.ai/v1/files/parse_117_drivers_license.jpg"
}
]
}
}Retrieve the results of a previously parsed document by its ID, including all associated tags and files.
curl --request GET \
--url https://api.deepxl.ai/v1/parse/{parseId} \
--header 'Authorization: Bearer <token>'{
"result": {
"parseId": 117,
"mediaType": "image",
"fileType": "jpeg",
"fileName": "drivers_license.jpg",
"fileSize": 231433,
"model": "light",
"likelihood": 100,
"documentType": "usa_driver_license",
"parsedData": {
"firstName": "JOHN",
"lastName": "DOE",
"dateOfBirth": "1990-05-15",
"licenseNumber": "D1234567",
"expirationDate": "2028-05-15",
"address": "123 MAIN ST ANYTOWN, CA 90210"
},
"timestamp": 1725795600,
"timestampISO": "2024-09-08T10:00:00.000000",
"tags": [
{
"name": "customerId",
"value": "9999"
},
{
"name": "customerName",
"value": "Acme Corp"
},
{
"name": "documentId",
"value": "DOC-2024-001"
},
{
"name": "companyName",
"value": "DeepXL"
},
{
"name": "companyId",
"value": "COMP-001"
}
],
"files": [
{
"category": "original_file",
"fileName": "drivers_license.jpg",
"fileSize": 231433,
"contentType": "image/jpeg",
"timestamp": 1725795600,
"timestampISO": "2024-09-08T10:00:00.000000",
"url": "https://api.deepxl.ai/v1/files/parse_117_drivers_license.jpg"
}
]
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Parsed document retrieved successfully
The document parse result
Show child attributes
Was this page helpful?