- Retry entire review task: Re-execute all rules in the entire review task
- Retry a specific rule: Re-execute only a specific rule in the review task
Retry Entire Review Task
Re-execute the entire review task, which will re-review all rules in the task:workspace_id(required): Workspace IDtask_id(required): Review task ID
Retry a Specific Rule in Review Task
Re-execute only a specific rule in the review task, suitable for cases where only a specific rule needs to be reviewed again:workspace_id(required): Workspace IDtask_id(required): Review task IDrule_id(required): Review rule ID
Parameter Description
Review Task ID (task_id)
The review task ID is the identifier of a created review task. You can obtain it through:- Returned when creating a task via the Create Review Task API
- Obtained when querying tasks via the Get Review Result API
Review Rule ID (rule_id)
The review rule ID is the identifier of a specific rule in the review task. You can obtain it through:- Querying task results via the Get Review Result API, from the
groups[].review_tasks[].rule_idfield - Obtaining rule IDs from the rule repository via the Rule Management API
Python
Use Cases
Retry Entire Review Task
Suitable for the following scenarios:- Review task execution failure: When the entire review task execution fails, you can retry the entire task
- After rule repository update: When rules in the rule repository are updated, you can retry the entire review task to apply the new rules
- After extraction result update: When the associated extraction task results are updated, you can retry the review task to re-review based on the new extraction results
Retry a Specific Rule
Suitable for the following scenarios:- Single rule execution failure: When a specific rule execution fails, you can retry only that rule without affecting other rules
- After rule configuration adjustment: When a specific rule’s configuration is adjusted, you can retry only that rule
- Improve efficiency: When only a specific rule needs to be reviewed again, retrying a single rule is more efficient than retrying the entire task
Notes
- Asynchronous execution: Retry operations are executed asynchronously. After retrying, you need to query the review status via the Get Review Result API
- Task status: Ensure the review task exists and can be retried. Deleted tasks cannot be retried
- Rule status: When retrying a rule, ensure the rule ID is correct and belongs to the specified review task
- Retry frequency: It is recommended to control retry frequency to avoid excessive system load from frequent retries
- Result overwrite: Retrying will regenerate review results, and the original review results will be overwritten
Related Pages
- Create Review Task - Learn how to create review tasks
- Get Review Result - Learn how to get review results
- Rule Management - Learn how to manage review rule repositories

