Get Review Task Result
curl --request POST \
--url https://docflow.textin.ai/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
}
'import requests
url = "https://docflow.textin.ai/api/app-api/sip/platform/v2/review/task/result"
payload = {
"workspace_id": "1234567890",
"task_id": "31415926",
"with_task_detail_url": False
}
headers = {
"x-ti-app-id": "<api-key>",
"x-ti-secret-code": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-ti-app-id': '<api-key>',
'x-ti-secret-code': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({workspace_id: '1234567890', task_id: '31415926', with_task_detail_url: false})
};
fetch('https://docflow.textin.ai/api/app-api/sip/platform/v2/review/task/result', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://docflow.textin.ai/api/app-api/sip/platform/v2/review/task/result",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'workspace_id' => '1234567890',
'task_id' => '31415926',
'with_task_detail_url' => false
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-ti-app-id: <api-key>",
"x-ti-secret-code: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://docflow.textin.ai/api/app-api/sip/platform/v2/review/task/result"
payload := strings.NewReader("{\n \"workspace_id\": \"1234567890\",\n \"task_id\": \"31415926\",\n \"with_task_detail_url\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-ti-app-id", "<api-key>")
req.Header.Add("x-ti-secret-code", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://docflow.textin.ai/api/app-api/sip/platform/v2/review/task/result")
.header("x-ti-app-id", "<api-key>")
.header("x-ti-secret-code", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"workspace_id\": \"1234567890\",\n \"task_id\": \"31415926\",\n \"with_task_detail_url\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://docflow.textin.ai/api/app-api/sip/platform/v2/review/task/result")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-ti-app-id"] = '<api-key>'
request["x-ti-secret-code"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"workspace_id\": \"1234567890\",\n \"task_id\": \"31415926\",\n \"with_task_detail_url\": false\n}"
response = http.request(request)
puts response.read_body{
"code": 200,
"msg": "<string>",
"result": {
"task_id": "31415926",
"task_name": "Review Task 1",
"task_detail_url": "<string>",
"rule_repo": {
"repo_id": "31415926",
"name": "Review Rule Repository 1"
},
"extract_task_ids": [
"1234567890"
],
"statistics": {
"pass_count": 100,
"failure_count": 100,
"error_count": 100,
"not_triggered_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",
"prompt": "Review rule prompt",
"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,
"source": "ocr",
"file_category": "Invoice",
"field_name": "Invoice Code"
}
],
"audit_result": 1,
"audit_message": "Manual review comments"
}
]
}
],
"model": "deepseek-v4-pro"
}
}Intelligent Review
Get Review Task Result
Get review task result
POST
/
api
/
app-api
/
sip
/
platform
/
v2
/
review
/
task
/
result
Get Review Task Result
curl --request POST \
--url https://docflow.textin.ai/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
}
'import requests
url = "https://docflow.textin.ai/api/app-api/sip/platform/v2/review/task/result"
payload = {
"workspace_id": "1234567890",
"task_id": "31415926",
"with_task_detail_url": False
}
headers = {
"x-ti-app-id": "<api-key>",
"x-ti-secret-code": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-ti-app-id': '<api-key>',
'x-ti-secret-code': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({workspace_id: '1234567890', task_id: '31415926', with_task_detail_url: false})
};
fetch('https://docflow.textin.ai/api/app-api/sip/platform/v2/review/task/result', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://docflow.textin.ai/api/app-api/sip/platform/v2/review/task/result",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'workspace_id' => '1234567890',
'task_id' => '31415926',
'with_task_detail_url' => false
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-ti-app-id: <api-key>",
"x-ti-secret-code: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://docflow.textin.ai/api/app-api/sip/platform/v2/review/task/result"
payload := strings.NewReader("{\n \"workspace_id\": \"1234567890\",\n \"task_id\": \"31415926\",\n \"with_task_detail_url\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-ti-app-id", "<api-key>")
req.Header.Add("x-ti-secret-code", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://docflow.textin.ai/api/app-api/sip/platform/v2/review/task/result")
.header("x-ti-app-id", "<api-key>")
.header("x-ti-secret-code", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"workspace_id\": \"1234567890\",\n \"task_id\": \"31415926\",\n \"with_task_detail_url\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://docflow.textin.ai/api/app-api/sip/platform/v2/review/task/result")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-ti-app-id"] = '<api-key>'
request["x-ti-secret-code"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"workspace_id\": \"1234567890\",\n \"task_id\": \"31415926\",\n \"with_task_detail_url\": false\n}"
response = http.request(request)
puts response.read_body{
"code": 200,
"msg": "<string>",
"result": {
"task_id": "31415926",
"task_name": "Review Task 1",
"task_detail_url": "<string>",
"rule_repo": {
"repo_id": "31415926",
"name": "Review Rule Repository 1"
},
"extract_task_ids": [
"1234567890"
],
"statistics": {
"pass_count": 100,
"failure_count": 100,
"error_count": 100,
"not_triggered_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",
"prompt": "Review rule prompt",
"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,
"source": "ocr",
"file_category": "Invoice",
"field_name": "Invoice Code"
}
],
"audit_result": 1,
"audit_message": "Manual review comments"
}
]
}
],
"model": "deepseek-v4-pro"
}
}Body
application/json
⌘I

