Get Review Task Results
Get detailed results of a review task:workspace_id(required): Workspace IDtask_id(required): Review task ID
Response Structure Description
Basic Task Information
task_id: Review task IDtask_name: Task namestatus: Task status (see status description below)rule_repo: Rule repository information usedextract_task_ids: List of extraction task IDs being reviewed
Task Status (status)
Task status represents the overall execution status of the review task:0: Pending1: Approved2: Review failed3: Reviewing4: Rejected5: Recognizing6: In Queue7: Recognition Failed
Statistics
pass_count: Number of rules that passed reviewfailure_count: Number of rules that failed reviewerror_count: Number of task execution errors
Rule Group Results (groups)
Review results are organized by rule groups. Each rule group contains review results for multiple rules:group_id: Rule group IDgroup_name: Rule group namereview_tasks: List of rule review results
Rule Review Results (review_tasks)
Each rule’s review result contains:rule_task_id: Review subtask IDrule_id: Review rule IDrule_name: Review rule namerisk_level: Risk level (10: high risk, 20: medium risk, 30: low risk)prompt: Review rule promptreview_result: Review result (see review result description below)reasoning: Review reasoning, the review reason given by AIanchors: Position anchor information, used to locate the position of review reasoning in the original text
Review Result (review_result)
Review result represents the review status of a single rule:0: Pending1: Approved2: Review failed3: Reviewing4: Rejected5: Recognizing6: In Queue7: Recognition Failed
Position Anchors (anchors)
Position anchor information is used to locate the position of review reasoning in the original text:start_pos: Starting character position inreasoningend_pos: Ending character position inreasoningtext: Original text contentvertices: Bounding quadrilateral coordinates of original text[x1, y1, x2, y2, x3, y3, x4, y4]file_id: File ID
Poll Review Status
Since review tasks are executed asynchronously, you need to periodically query the review status until the review is completed:Python
Process Review Results
Example of parsing and processing review results:Python
Visualize Using Position Anchors
Position anchor information can be used to highlight the position of review reasoning in the document:Python
Complete Example
Complete flow for getting and using review results:Python
Notes
- Asynchronous Execution: Review tasks are executed asynchronously. After creating a task, you need to periodically query the review status
- Status Judgment: Use the
statusfield to judge task status.1means Approved,4means Rejected - Position Anchors: Use
anchorsinformation to highlight the position of review reasoning in the document
Related Pages
- Review Concepts - Learn about core concepts of the review feature
- Rule Repository Management - Learn how to manage review rule repositories
- Create Review Tasks - Learn how to create review tasks

