Skip to main content
POST
/
api
/
app-api
/
sip
/
platform
/
v2
/
review
/
task
/
result
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
              }
            ]
          }
        ]
      }
    ]
  }
}

Authorizations

x-ti-app-id
string
header
required
x-ti-secret-code
string
header
required

Body

application/json
workspace_id
string
required

Workspace ID

Example:

"1234567890"

task_id
string
required

Review task ID

Example:

"31415926"

Response

200 - application/json

Successfully retrieved review task result

code
integer
required

Status code

Example:

200

msg
string
required

Status description

result
object