POST
/
api
/
app-api
/
sip
/
platform
/
v2
/
review
/
runRule
试运行审核规则
curl --request POST \
  --url https://docflow.textin.com/api/app-api/sip/platform/v2/review/runRule \
  --header 'Content-Type: application/json' \
  --header 'x-ti-app-id: <api-key>' \
  --header 'x-ti-secret-code: <api-key>' \
  --data '{
  "ruleIdNo": 123,
  "executeTaskIdList": [
    123
  ]
}'
{
  "code": 200,
  "data": {
    "id": 1234,
    "reviewRuleIdNo": 1234,
    "reviewRuleVersion": 1,
    "processStatus": 0,
    "thinkOutput": "思考输出内容",
    "evalOutput": "评估输出内容",
    "bindingTaskIds": [
      123
    ],
    "resultHighlights": [
      {
        "fileId": 12345,
        "taskId": 1234,
        "text": "文本内容",
        "position": [
          1
        ],
        "page": 0,
        "angel": 0,
        "startPos": 0,
        "endPos": 100
      }
    ],
    "evalResult": true,
    "duration": 12345,
    "eval": true,
    "manualAuditStatus": 0,
    "manualAuditMessage": "批注内容"
  },
  "msg": "成功",
  "traceId": "1234ABCD"
}

Authorizations

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

Headers

x-ti-app-id
string
required

x-ti-app-id

Example:

"1234abcd"

x-ti-secret-code
string
required

x-ti-secret-code

Example:

"1234abcd"

Body

application/json

审核API - 单次运行审核规则 Request VO

Response

200 - */*

OK

The response is of type object.