Create Resolution
Create a resolution run from a completed job to standardise extracted field values against reference data using lookup cascades and transforms.
Create a new resolution run targeting documents from a completed job run. The resolution enters pending status immediately. Call the execute endpoint to start processing, or it will be picked up automatically depending on your pipeline configuration.
source_run_id must reference a completed job run. Creating a resolution against a pending or failed run returns a 404 error./v1/resolutionsResponse
Response fields (201 Created)
Response (201 Created)
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"source_run_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"status": "pending",
"policy_snapshot": null,
"dialect_snapshot": null,
"error_message": null,
"created_at": "2024-09-14T10:32:00.000Z",
"updated_at": "2024-09-14T10:32:00.000Z",
"links": {
"self": "/v1/resolutions/a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"results": "/v1/resolutions/a1b2c3d4-e5f6-7890-abcd-ef1234567890/results",
"source_run": "/v1/jobs/b2c3d4e5-f6a7-8901-bcde-f12345678901"
}
}After creating a resolution, call POST /v1/resolutions/{id}/execute to start the pipeline. The typical workflow is: create a job via POST /v1/jobs, wait for complete status, then create and execute a resolution against the job's source_run_id. Each resolution captures its own policy and dialect snapshots, so you can re-run with different configurations without affecting previous results.
Errors
Error responses