Get Document Intelligence
Document Intelligence
Get Document Intelligence
Retrieve the results of a document intelligence extraction job.
GET
Get Document Intelligence
Retrieve the results of a document intelligence extraction job.
Authorizations
API token (starts with pnbx_). Create at https://app.penbox.io/workspace/settings/api. Include as: Authorization: Bearer {token}
Path Parameters
Document intelligence job UUID
Response
200 - application/json
Successful response
Document intelligence job UUID
Job creation timestamp
Array of processed documents
Extraction results: the extracted fields, a validation assessment, and the detected document type.
Example:
{
"fields": [
{
"key": "firstname",
"name": "firstname",
"type": "text",
"value": "Jane",
"confidence": "high"
},
{
"key": "lastname",
"name": "lastname",
"type": "text",
"value": "Doe",
"confidence": "high"
},
{
"key": "number",
"name": "id card number",
"type": "text",
"value": "000-0000000-00",
"confidence": "high"
},
{
"key": "birthday",
"name": "date de naissance",
"hint": "DD MMM YYYY",
"type": "text",
"value": "01 JAN 1990",
"confidence": "high"
}
],
"validation": {
"is_valid": true,
"is_blurry": false,
"user_explanation": "All required fields were successfully extracted from the document."
},
"document_type": "ID Card"
}Last update timestamp
Document language detected or specified
User who created the job
Token usage statistics for the AI processing