跳转到主要内容
GET
/
open
/
agentic_engine
/
laiye
/
v1
/
app
/
run
/
query
/
task
/
{run_id}
查询运行结果
const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};

fetch('https://adp.laiye.com/open/agentic_engine/laiye/v1/app/run/query/task/{run_id}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "code": "success",
  "message": "",
  "data": {
    "run_id": "run_xyz789",
    "status": "succeeded",
    "output": {
      "result": "采购单分析完成"
    },
    "error": null,
    "started_at": "2026-04-30T10:00:00Z",
    "ended_at": "2026-04-30T10:00:15Z"
  }
}

授权

X-API-Key
string
header
必填

工作流智能引擎 API 访问密钥。

路径参数

run_id
string
必填

运行 ID。

响应

工作流运行结果。

code

业务码。成功通常为 success 或 200。

message
string

返回信息。

tips
string | null

详细信息,默认为空。

data
object