get_job
Poll a background task by task_id to confirm it finished and succeeded before relying on undo, verification, import, reindex, or report results.
Instructions
Check whether a background job has finished, and whether it worked.
Undo, verification, import and reindex are dispatched to a worker and
answer before the work is done. Poll this until finished is true, then
read succeeded. Submitting one of those operations and never checking
leaves you assuming an outcome you have not seen.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | The task_id returned by whatever dispatched the work: undo_transaction, verify_tree, reindex_search or run_report. |