{
"object": "workflow_run",
"id": "workflow_run_1234",
"status": "PROCESSED",
"metadata": {
"internal_id": "id_1234"
},
"initialRunAt": "2023-01-01T09:41:00.000Z",
"reviewedBy": "user_1234",
"reviewedAt": "2023-01-10T05:39:14.500Z",
"startTime": "2023-01-01T09:41:00.000Z",
"endTime": "2023-01-10T05:39:24.500Z",
"outputs": [
{
"object": "document_processor_run",
"id": "dpr_1234",
"edited": true,
"type": "EXTRACT",
"initialOutput": {
// Output object - see “Processor output types” for details
},
"reviewedOutput": {
// Output object - see “Processor output types” for details
},
"output": {
// Output object - see “Processor output types” for details
}
}
],
"stepRuns": [
{
"object": "workflow_step_run",
"id": "step_run_5UUwMs8baKLE5yFS8-0yK",
"status": "PROCESSED",
"output": {
"externalConfidence": 0.8,
"requiresHumanReview": true
},
"step": {
"object": "workflow_step",
"id": "step_abolADNNmLcOlTtuxDvle",
"name": "externalDataValidation1",
"type": "EXTERNAL_DATA_VALIDATION"
}
},
{
"object": "workflow_step_run",
"id": "step_run_OjueNCarlQNpkYfnFkD-A",
"status": "PROCESSED",
"output": {
"valid": false,
"rules": [
{
"name": "invoice_number_present",
"valid": true
},
{
"name": "line_item_amount",
"valid": true,
"validArray": [
true,
true
]
},
{
"name": "vendor_number_present",
"valid": false,
"failureReason": "RULE_FAILED"
}
]
},
"step": {
"object": "workflow_step",
"id": "step_Q1POO8orTTWgX7CmLLvJZ",
"name": "validation1",
"type": "RULE_VALIDATION"
}
}
],
"workflow": {
"object": "workflow",
"id": "workflow_1234",
"version": "1",
"name": "test_workflow"
}
}
{
"object": "workflow_run",
"id": "workflow_run_1234",
"status": "PROCESSED",
"metadata": {
"internal_id": "id_1234"
},
"initialRunAt": "2023-01-01T09:41:00.000Z",
"reviewedBy": "user_1234",
"reviewedAt": "2023-01-10T05:39:14.500Z",
"startTime": "2023-01-01T09:41:00.000Z",
"endTime": "2023-01-10T05:39:24.500Z",
"outputs": [
{
"object": "document_processor_run",
"id": "dpr_1234",
"edited": true,
"type": "EXTRACT",
"initialOutput": {
// Output object - see “Processor output types” for details
},
"reviewedOutput": {
// Output object - see “Processor output types” for details
},
"output": {
// Output object - see “Processor output types” for details
}
}
],
"stepRuns": [
{
"object": "workflow_step_run",
"id": "step_run_5UUwMs8baKLE5yFS8-0yK",
"status": "PROCESSED",
"output": {
"externalConfidence": 0.8,
"requiresHumanReview": true
},
"step": {
"object": "workflow_step",
"id": "step_abolADNNmLcOlTtuxDvle",
"name": "externalDataValidation1",
"type": "EXTERNAL_DATA_VALIDATION"
}
},
{
"object": "workflow_step_run",
"id": "step_run_OjueNCarlQNpkYfnFkD-A",
"status": "PROCESSED",
"output": {
"valid": false,
"rules": [
{
"name": "invoice_number_present",
"valid": true
},
{
"name": "line_item_amount",
"valid": true,
"validArray": [
true,
true
]
},
{
"name": "vendor_number_present",
"valid": false,
"failureReason": "RULE_FAILED"
}
]
},
"step": {
"object": "workflow_step",
"id": "step_Q1POO8orTTWgX7CmLLvJZ",
"name": "validation1",
"type": "RULE_VALIDATION"
}
}
],
"workflow": {
"object": "workflow",
"id": "workflow_1234",
"version": "1",
"name": "test_workflow"
}
}
Hide properties
Show properties
EXTRACT
, CLASSIFY
, SPLITTER
, or INSTRUCT_QA
.type
.
Details for each can be found in the Output and Config types page.type
.
Details for each can be found in the Output and Config types page.type
.
Details for each can be found in the Output and Config types page.type
.
Details for each can be found in the Output and Config types page.outputs
field.Show properties
PENDING
, PROCESSING
, PROCESSED
, FAILED
step
field below.EXTERNAL_DATA_VALIDATION
Show properties
RULE_VALIDATION
Show properties
true
if every validation rule passed.Hide properties
true
only if the formula evaluates to true
.
If the rule’s formula is array valued, then this field will only be true
if the formula evaluates to true
for every item in the array.RULE_FAILED
: The formula evaluated to false
or null
.PARSE_ERROR
: The formula could not be parsed.VALUE_ERROR
: An error occurred while evaluating the formula.failureReason
is PARSE_ERROR
or VALUE_ERROR
, then this field contains the error’s details.{
"object": "workflow_run",
"id": "workflow_run_1234",
"status": "PROCESSED",
"metadata": {
"internal_id": "id_1234"
},
"initialRunAt": "2023-01-01T09:41:00.000Z",
"reviewedBy": "user_1234",
"reviewedAt": "2023-01-10T05:39:14.500Z",
"startTime": "2023-01-01T09:41:00.000Z",
"endTime": "2023-01-10T05:39:24.500Z",
"outputs": [
{
"object": "document_processor_run",
"id": "dpr_1234",
"edited": true,
"type": "EXTRACT",
"initialOutput": {
// Output object - see “Processor output types” for details
},
"reviewedOutput": {
// Output object - see “Processor output types” for details
},
"output": {
// Output object - see “Processor output types” for details
}
}
],
"stepRuns": [
{
"object": "workflow_step_run",
"id": "step_run_5UUwMs8baKLE5yFS8-0yK",
"status": "PROCESSED",
"output": {
"externalConfidence": 0.8,
"requiresHumanReview": true
},
"step": {
"object": "workflow_step",
"id": "step_abolADNNmLcOlTtuxDvle",
"name": "externalDataValidation1",
"type": "EXTERNAL_DATA_VALIDATION"
}
},
{
"object": "workflow_step_run",
"id": "step_run_OjueNCarlQNpkYfnFkD-A",
"status": "PROCESSED",
"output": {
"valid": false,
"rules": [
{
"name": "invoice_number_present",
"valid": true
},
{
"name": "line_item_amount",
"valid": true,
"validArray": [
true,
true
]
},
{
"name": "vendor_number_present",
"valid": false,
"failureReason": "RULE_FAILED"
}
]
},
"step": {
"object": "workflow_step",
"id": "step_Q1POO8orTTWgX7CmLLvJZ",
"name": "validation1",
"type": "RULE_VALIDATION"
}
}
],
"workflow": {
"object": "workflow",
"id": "workflow_1234",
"version": "1",
"name": "test_workflow"
}
}