跳到主要内容

获取任务结果

接口地址: GET /task/result/{taskId}

接口描述: 获取批量任务的完整结果信息,包含所有子任务的详细数据

需要认证:

请求参数

路径参数:

参数名类型位置必需描述
taskIdStringPath批量任务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"
}
]
}
}

响应字段说明:

字段名类型描述
taskIdString批量任务ID
statusString任务状态
totalItemsInteger子任务总数
completedItemsInteger已完成数量
failedItemsInteger失败数量
subTaskListArray子任务结果列表
subTaskList[].subTaskIdString子任务ID
subTaskList[].platformStringAI平台
subTaskList[].modeString监控模式
subTaskList[].promptString监控提示词
subTaskList[].statusString子任务状态
subTaskList[].timeLong完成时间戳(毫秒)
subTaskList[].pageScreenshotString页面截图URL(如有)
subTaskList[].answerContentStringAI回答内容(Markdown格式)
subTaskList[].referenceListArray所有引用来源列表
subTaskList[].referenceList[].indexInteger引用索引
subTaskList[].referenceList[].titleString引用标题
subTaskList[].referenceList[].urlString引用链接
subTaskList[].referenceList[].siteString来源网站
subTaskList[].referenceList[].iconString来源网站图标URL
subTaskList[].citationListArray答案中真实被引用的来源列表(referenceList的子集)
subTaskList[].reasoningProcessObject推理过程对象(如有)
subTaskList[].reasoningProcess.summaryString推理摘要
subTaskList[].reasoningProcess.contentString完整推理内容
subTaskList[].recommendedQuestionsArray推荐追问列表(如有)
subTaskList[].mediaContentArray多媒体内容(如有)
subTaskList[].errorMessageString错误信息(失败时)
subTaskList[].proxyIpString代理IP地址