获取任务结果
接口地址: GET /task/result/{taskId}
接口描述: 获取批量任务的完整结果信息,包含所有子任务的详细数据
需要认证: 是
请求参数
路径参数:
| 参数名 | 类型 | 位置 | 必需 | 描述 |
|---|---|---|---|---|
| taskId | String | Path | 是 | 批量任务ID(UUID格式) |
响应结果
成功响应(示例已精简,实际返回包含完整answerContent):
{
"success": true,
"code": 200,
"message": "操作成功",
"data": {
"taskId": "ec617e1996174c129a872680fa27078e",
"status": "processing",
"totalItems": 4,
"completedItems": 3,
"failedItems": 0,
"subTaskList": [
{
"subTaskId": "4124831",
"platform": "doubao",
"mode": "reasoning_search",
"prompt": "请帮我搜索最新款 iPhone型号,以及 iOS 版本",
"status": "completed",
"time": 1769758043000,
"pageScreenshot": "https://img.molizhishu.com/screenshots/doubao/2026/01/30/20260130_152757_2f91283d.png",
"answerContent": "### 最新款 iPhone 型号与 iOS 版本(2026年1月)\n\n...",
"referenceList": [
{
"index": 1,
"title": "iPhone - Apple (中国大陆)",
"url": "https://www.apple.com.cn/iphone-se/",
"site": "Apple (中国大陆)",
"icon": "https://www.apple.com.cn/favicon.ico"
}
],
"citationList": [
{
"index": 18,
"title": "Releases - Apple Developer",
"url": "https://developer.apple.com/news/releases/?id=06142022e",
"site": "Apple Developer",
"icon": "https://developer.apple.com/favicon.ico"
}
],
"reasoningProcess": {
"summary": "",
"content": "用户想要了解最新款的iPhone型号和最新的iOS版本..."
},
"recommendedQuestions": [
"iOS 26.2.1正式版相比上一版本有哪些更新?"
],
"mediaContent": [],
"errorMessage": null,
"proxyIp": "117.151.96.210"
}
]
}
}
响应字段说明:
| 字段名 | 类型 | 描述 |
|---|---|---|
| taskId | String | 批量任务ID |
| status | String | 任务状态 |
| totalItems | Integer | 子任务总数 |
| completedItems | Integer | 已完成数量 |
| failedItems | Integer | 失败数量 |
| subTaskList | Array | 子任务结果列表 |
| subTaskList[].subTaskId | String | 子任务ID |
| subTaskList[].platform | String | AI平台 |
| subTaskList[].mode | String | 监控模式 |
| subTaskList[].prompt | String | 监控提示词 |
| subTaskList[].status | String | 子任务状态 |
| subTaskList[].time | Long | 完成时间戳(毫秒) |
| subTaskList[].pageScreenshot | String | 页面截图URL(如有) |
| subTaskList[].answerContent | String | AI回答内容(Markdown格式) |
| subTaskList[].referenceList | Array | 所有引用来源列表 |
| subTaskList[].referenceList[].index | Integer | 引用索引 |
| subTaskList[].referenceList[].title | String | 引用标题 |
| subTaskList[].referenceList[].url | String | 引用链接 |
| subTaskList[].referenceList[].site | String | 来源网站 |
| subTaskList[].referenceList[].icon | String | 来源网站图标URL |
| subTaskList[].citationList | Array | 答案中真实被引用的来源列表(referenceList的子集) |
| subTaskList[].reasoningProcess | Object | 推理过程对象(如有) |
| subTaskList[].reasoningProcess.summary | String | 推理摘要 |
| subTaskList[].reasoningProcess.content | String | 完整推理内容 |
| subTaskList[].recommendedQuestions | Array | 推荐追问列表(如有) |
| subTaskList[].mediaContent | Array | 多媒体内容(如有) |
| subTaskList[].errorMessage | String | 错误信息(失败时) |
| subTaskList[].proxyIp | String | 代理IP地址 |