跳转到主要内容
GET
/
open
/
agentic_doc_processor
/
{tenant_name}
/
v1
/
app
/
doc
/
extract
/
query
/
task
/
{task_id}
查询海外票据抽取任务结果
const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};

fetch('https://adp.laiye.com/open/agentic_doc_processor/{tenant_name}/v1/app/doc/extract/query/task/{task_id}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "code": "<string>",
  "message": "<string>",
  "tips": "<string>",
  "data": {
    "task_id": "<string>",
    "file_url": "<string>",
    "status": 123,
    "doc_recognize_result": [
      {}
    ],
    "extraction_result": [
      {}
    ],
    "classify_result": {}
  }
}

授权

X-API-KEY
string
header
必填

路径参数

tenant_name
string
默认值:laiye
必填

租户名称,默认 laiye。

task_id
string
必填

任务 ID。

响应

抽取结果。

code
message
string
tips
string | null
data
object