curl --request POST \
--url https://docflow.textin.com/api/app-api/sip/platform/v2/review/task/result \
--header 'Content-Type: application/json' \
--header 'x-ti-app-id: <api-key>' \
--header 'x-ti-secret-code: <api-key>' \
--data '
{
"workspace_id": "1234567890",
"task_id": "31415926"
}
'{
"code": 200,
"msg": "<string>",
"result": {
"task_id": "31415926",
"task_name": "Review Task 1",
"status": 0,
"rule_repo": {
"repo_id": "31415926",
"name": "Review Rule Repository 1"
},
"extract_task_ids": [
"1234567890"
],
"statistics": {
"pass_count": 100,
"failure_count": 100,
"error_count": 100
},
"groups": [
{
"group_id": "31415926",
"group_name": "Review Rule Group 1",
"review_tasks": [
{
"rule_task_id": "31415926",
"rule_id": "31415926",
"rule_name": "Review Rule 1",
"risk_level": 10,
"prompt": "Review rule prompt",
"review_result": 0,
"reasoning": "Review reasoning",
"anchors": [
{
"start_pos": 123,
"end_pos": 123,
"text": "<string>",
"vertices": [
[
0,
0,
100,
0,
100,
100,
0,
100
]
],
"file_id": "1234567890",
"extract_task_id": "1234567890",
"page": 1
}
]
}
]
}
]
}
}Get review task result
curl --request POST \
--url https://docflow.textin.com/api/app-api/sip/platform/v2/review/task/result \
--header 'Content-Type: application/json' \
--header 'x-ti-app-id: <api-key>' \
--header 'x-ti-secret-code: <api-key>' \
--data '
{
"workspace_id": "1234567890",
"task_id": "31415926"
}
'{
"code": 200,
"msg": "<string>",
"result": {
"task_id": "31415926",
"task_name": "Review Task 1",
"status": 0,
"rule_repo": {
"repo_id": "31415926",
"name": "Review Rule Repository 1"
},
"extract_task_ids": [
"1234567890"
],
"statistics": {
"pass_count": 100,
"failure_count": 100,
"error_count": 100
},
"groups": [
{
"group_id": "31415926",
"group_name": "Review Rule Group 1",
"review_tasks": [
{
"rule_task_id": "31415926",
"rule_id": "31415926",
"rule_name": "Review Rule 1",
"risk_level": 10,
"prompt": "Review rule prompt",
"review_result": 0,
"reasoning": "Review reasoning",
"anchors": [
{
"start_pos": 123,
"end_pos": 123,
"text": "<string>",
"vertices": [
[
0,
0,
100,
0,
100,
100,
0,
100
]
],
"file_id": "1234567890",
"extract_task_id": "1234567890",
"page": 1
}
]
}
]
}
]
}
}