メインコンテンツへスキップ
POST
/
api
/
app-api
/
sip
/
platform
/
v2
/
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",
  "with_task_detail_url": false
}
'
{
  "code": 200,
  "msg": "<string>",
  "result": {
    "task_id": "31415926",
    "task_name": "レビュータスク 1",
    "task_detail_url": "<string>",
    "rule_repo": {
      "repo_id": "31415926",
      "name": "レビュー規則リポジトリ 1"
    },
    "extract_task_ids": [
      "1234567890"
    ],
    "statistics": {
      "pass_count": 100,
      "failure_count": 100,
      "error_count": 100
    },
    "groups": [
      {
        "group_id": "31415926",
        "group_name": "レビュー規則グループ 1",
        "review_tasks": [
          {
            "rule_task_id": "31415926",
            "rule_id": "31415926",
            "rule_name": "レビュー規則 1",
            "prompt": "レビュー規則プロンプト",
            "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,
                "source": "ocr",
                "file_category": "インボイス",
                "field_name": "インボイスコード"
              }
            ],
            "audit_result": 1,
            "audit_message": "手動レビューコメント"
          }
        ]
      }
    ],
    "model": "deepseek-r1"
  }
}

承認

x-ti-app-id
string
header
必須
x-ti-secret-code
string
header
必須

ボディ

application/json
workspace_id
string
必須

ワークスペース ID

:

"1234567890"

task_id
string
必須

レビュータスク ID

:

"31415926"

with_task_detail_url
boolean

レビュータスク詳細ページ URL を返すかどうか

:

false

レスポンス

200 - application/json

レビュータスク結果の取得に成功

code
integer
必須

ステータスコード

:

200

msg
string
必須

ステータス説明

result
object