获取子任务结果
接口地址: GET /task/result/{taskId}/{subTaskId}
接口描述: 获取指定子任务的详细监控结果
需要认证: 是
请求参数
路径参数:
| 参数名 | 类型 | 位置 | 必需 | 描述 |
|---|---|---|---|---|
| taskId | String | Path | 是 | 批量任务ID(UUID格式) |
| subTaskId | String | Path | 是 | 子任务ID |
响应结果
成功响应(由于内容过长,answerContent已精简):
{
"success": true,
"code": 200,
"message": "操作成功",
"data": {
"subTaskId": "1037393",
"platform": "yuanbao",
"mode": "search",
"prompt": "目前市场上销量较高的手机品牌有哪些",
"status": "completed",
"time": 1781080983000,
"pageScreenshot": "https://img.molizhishu.com/screenshots/2026/06/10/504ed036c9cb446bb941ca35ee59568f_yuanbao_20260610_164249.png",
"shareUrl": "https://yuanbao.tencent.com/s/xxxxxx",
"answerContent": "结合2026年上半年的市场数据,目前市面上销量最稳、关注度最高的品牌主要集中在以下几个阵营[citation:1],你可以根据自己的预算和偏好对号入座:...",
"referenceList": [
{
"index": 1,
"title": "华为Mate80累计销量近650万!可只及iPhone 17国内两成",
"url": "https://new.qq.com/rain/a/20260610A03XXQ00",
"summary": "大约是iPhone 17国内销售的两成,即使算上Pura80、Pura X2等机型,华为旗舰手机销量...",
"publishTime": "2026-06-10",
"site": "腾讯网",
"media": "腾讯网",
"domain": "new.qq.com",
"icon": "icons/ddb169535e49d0bdbee77ba42dd570ce.ico"
}
],
"citationList": [
{
"index": 1,
"title": "华为Mate80累计销量近650万!可只及iPhone 17国内两成",
"url": "https://new.qq.com/rain/a/20260610A03XXQ00",
"publishTime": "2026-06-10",
"site": "腾讯网",
"media": "腾讯网",
"domain": "new.qq.com",
"icon": "icons/ddb169535e49d0bdbee77ba42dd570ce.ico"
}
],
"reasoningProcess": {
"summary": "",
"content": "用户想了解市场销量较高的手机品牌,我会搜索最新手机市场销量数据,以此给出准确答复。"
},
"recommendedQuestions": [
"哪些手机品牌口碑最好?",
"2026年手机销量排行榜前十名有哪些变化?",
"苹果和华为在高端市场的具体差异是什么?"
],
"searchKeywords": [
"手机品牌销量排行 2026",
"高端手机市场品牌对比"
],
"mediaContent": [],
"videoList": [
{
"videoPlatform": "douyin",
"videoId": "7480000000000000000",
"title": "2026上半年手机销量榜盘点:华为、苹果、小米谁更能打",
"url": "https://www.douyin.com/video/7480000000000000000",
"cover": "https://p3.douyinpic.com/aweme/cover_xxx.jpeg",
"author": "科技数码评测",
"duration": "05:23",
"position": 1
}
],
"goods": [
{
"title": "小米 17 Pro 12GB+256GB 白色",
"url": "https://item.jd.com/100278751428.html",
"thumbnail": "https://img14.360buyimg.com/n1/jfs/t1/397871/33/15002/20525/00ae1e01e071a1e9.jpg",
"price": "4999",
"priceUnit": "¥",
"mall": "京东",
"storeName": "小米京东自营旗舰店",
"shopName": "小米京东自营旗舰店",
"mallPlatform": "jd",
"mallProductId": "100278751428",
"skuId": "100278751428",
"position": 1
}
],
"localLifeCards": [],
"liveList": [],
"consultationCards": [],
"errorMessage": null,
"proxyIp": null,
"amount": 0.18,
"mentionPosition": 2,
"mentionContext": "在国内高端市场极具号召力,影像与鸿蒙生态体验出色,是商务人士的首选之一。",
"sentiment": "positive",
"competitorRankings": [
{
"name": "苹果",
"rank": 1
},
{
"name": "小米",
"rank": 6
}
],
"allRankings": [
{
"name": "苹果",
"rank": 1
},
{
"name": "华为",
"rank": 2
},
{
"name": "小米",
"rank": 6
}
],
"categoryRanking": {
"categoryName": "高端手机品牌",
"rank": 2,
"allRankings": [
{
"name": "苹果",
"rank": 1
},
{
"name": "华为",
"rank": 2
},
{
"name": "小米",
"rank": 3
}
]
},
"keywordEvaluations": [
{
"keyword": "影像体验出色",
"nature": "positive",
"context": "在国内高端市场极具号召力,影像与鸿蒙生态体验出色,是商务人士的首选之一。"
},
{
"keyword": "商务人士首选",
"nature": "positive",
"context": "在国内高端市场极具号召力,影像与鸿蒙生态体验出色,是商务人士的首选之一。"
}
],
"competitorEvaluations": [
{
"name": "小米",
"sentiment": "positive",
"keywordEvaluations": [
{
"keyword": "性价比高",
"nature": "positive",
"context": "小米手机性价比高,适合注重预算的用户。"
}
]
},
{
"name": "苹果",
"sentiment": null,
"keywordEvaluations": []
}
]
}
}
响应字段说明:
| 字段名 | 类型 | 描述 |
|---|---|---|
| subTaskId | String | 子任务ID |
| platform | String | AI平台 |
| mode | String | 监控模式 |
| prompt | String | 监控提示词 |
| status | String | 子任务状态 |
| time | Long | 完成时间戳(秒) |
| pageScreenshot | String | 页面截图 URL(如有),有效期为 180 天 |
| shareUrl | String | AI 平台官方对话分享链接(开启截图且平台支持时返回),详见 商品/视频/搜索词/分享链接/推荐问题支持情况 |
| answerContent | String | AI 回答内容(Markdown 格式),可能包含需由接入方解析并渲染的 卡片标签 和 引用标签 |
| referenceList | Array | 所有引用来源列表 |
| referenceList[].index | Integer | 来源的原始引用序号,与 [citation:n] 的 n 对应,不是数组下标 |
| referenceList[].title | String | 引用标题 |
| referenceList[].url | String | 引用链接 |
| referenceList[].summary | String | 文章摘要信息 |
| referenceList[].publishTime | String | 引用发布时间,格式:yyyy-MM-dd;未获取到发布时间时,返回 null 或空字符串 |
| referenceList[].site | String | 来源网站 |
| referenceList[].media | String | 媒体名称;未获取到时返回 null 或空字符串 |
| referenceList[].domain | String | 来源域名,如 new.qq.com;未获取到时返回 null 或空字符串 |
| referenceList[].icon | String | 来源网站图标URL |
| citationList | Array | 实际引用的已解析来源列表,是 referenceList 的子集;无有效引用时返回 []。详见 答案内容中的引用标签 |
| citationList[].index | Integer | 来源的原始引用序号,与 [citation:n] 的 n 对应,不是数组下标 |
| citationList[].title | String | 引用标题 |
| citationList[].url | String | 引用链接 |
| citationList[].publishTime | String | 引用发布时间,格式:yyyy-MM-dd;未获取到发布时间时,返回 null 或空字符串 |
| citationList[].site | String | 来源网站 |
| citationList[].media | String | 媒体名称,与对应 referenceList 条目的 media 一致;未获取到时返回 null 或空字符串 |
| citationList[].domain | String | 来源域名,与对应 referenceList 条目的 domain 一致;未获取到时返回 null 或空字符串 |
| citationList[].icon | String | 来源网站图标URL |
| reasoningProcess | Object | 推理过程对象(如有) |
| reasoningProcess.summary | String | 推理摘要 |
| reasoningProcess.content | String | 完整推理内容 |
| recommendedQuestions | Array | 推荐追问列表(如有,可能仅部分回答返回),各平台支持情况见 商品/视频/搜索词/分享链接/推荐问题支持情况 |
| searchKeywords | Array<String> | 搜索词(如有,支持采集不代表每次回答均返回),各平台支持情况见 商品/视频/搜索词/分享链接/推荐问题支持情况 |
| mediaContent | Array | 多媒体内容(如有) |
| videoList | Array | 回答中展示的视频列表(如有),各平台支持情况见 商品/视频/搜索词/分享链接/推荐问题支持情况 |
| videoList[].videoPlatform | String | 视频来源平台,如抖音、哔哩哔哩、微信视频号 |
| videoList[].videoId | String | 视频编号 |
| videoList[].title | String | 视频标题或简介 |
| videoList[].url | String | 视频链接 |
| videoList[].cover | String | 视频封面链接 |
| videoList[].author | String | 视频作者或频道名称 |
| videoList[].duration | String | 视频时长 |
| videoList[].position | Integer | 视频展示序号,与 answerContent 中 [video_card:x] 的 x 对应 |
| goods | Array | 回答中展示的商品列表(如有),各平台支持情况见 商品/视频/搜索词/分享链接/推荐问题支持情况 |
| goods[].title | String | 商品标题 |
| goods[].url | String | 商品详情链接 |
| goods[].thumbnail | String | 商品图片链接 |
| goods[].price | String | 商品价格 |
| goods[].priceUnit | String | 价格单位,如 ¥、元 |
| goods[].mall | String | 商城名称 |
| goods[].storeName | String | 店铺名称,与 shopName 同值;未获取到时省略 |
| goods[].shopName | String | 店铺名称兼容字段,与 storeName 同值,接入方可读取任一字段;未获取到时省略 |
| goods[].mallPlatform | String | 商品来源商城,如京东、天猫、淘宝 |
| goods[].mallProductId | String | 商城商品ID |
| goods[].skuId | String | 平台SKU |
| goods[].position | Integer | 商品展示序号,与 answerContent 中 [goods_card:x] 的 x 对应 |
| localLifeCards | Array | 团购卡片列表。已返回答案详情但无可用团购明细时为 [],尚未返回答案详情时可能为 null。详见 团购卡片 |
| localLifeCards[].storeName | String | 店铺名称 |
| localLifeCards[].poiId | String | 店铺 POI ID,按字符串返回 |
| localLifeCards[].url | String | 团购跳转链接或 App 深链 |
| localLifeCards[].thumbnail | String | 店铺封面 URL |
| localLifeCards[].price | String | 价格展示原文,如 72元/人 |
| localLifeCards[].priceAmount | Number | 可解析的价格金额,按 JSON 数值返回 |
| localLifeCards[].priceUnit | String | 价格单位原文,如 元 |
| localLifeCards[].perPersonPriceText | String | 明确按人计价时的展示原文,如 72元/人 |
| localLifeCards[].reviewCountText | String | 店铺评价数量展示原文,如 123条评价 |
| localLifeCards[].mall | String | 售卖平台名称,如抖音 |
| localLifeCards[].mallPlatform | String | 售卖平台代码,如 douyin |
| localLifeCards[].platformIconUrl | String | 售卖平台图标 URL |
| localLifeCards[].position | Integer | 答案内的商品卡位置,从 1 开始,可能不连续 |
| localLifeCards[].packageCount | Integer | 已识别的套餐数量,未知时省略 |
| localLifeCards[].packageList | Array | 按采集顺序排列的团购套餐。已知无套餐时为 [],未知时省略 |
| localLifeCards[].packageList[].productId | String | 套餐商品 ID,按字符串返回 |
| localLifeCards[].packageList[].title | String | 套餐名称 |
| localLifeCards[].packageList[].priceText | String | 套餐价格展示原文 |
| liveList | Array | 直播卡片列表;已返回答案详情但无直播或平台不支持时为 [],尚未返回答案详情时可能为 null,详见 直播卡片 |
| liveList[].livePlatform | String | 直播承载平台 |
| liveList[].livePlatformName | String | 直播平台名称 |
| liveList[].livePlatformIconUrl | String | 直播平台图标 URL |
| liveList[].roomId | String | 直播间 ID,按字符串返回 |
| liveList[].roomTitle | String | 直播间名称 |
| liveList[].roomStatus | String | 采集时的直播间状态,如 living;不代表实时状态 |
| liveList[].coverUrl | String | 直播间封面 URL,保留完整签名参数 |
| liveList[].liveSchema | String | 直播间 App 跳转深链,保留完整参数 |
| liveList[].accountName | String | 直播账号昵称 |
| liveList[].accountIconUrl | String | 直播账号头像 URL |
| liveList[].position | Integer | 直播卡片在当前回答中的顺序,从 1 开始 |
| liveList[].products | Array | 当前直播卡片关联的商品,无商品时为 [] |
| liveList[].products[].productId | String | 直播商品 ID,按字符串返回 |
| liveList[].products[].title | String | 直播商品名称 |
| liveList[].products[].thumbnail | String | 直播商品图片 URL,保留完整签名参数 |
| liveList[].products[].salesText | String | 平台展示的已售数量原文,如 已售9万+;无有效值时省略 |
| liveList[].products[].detailSchema | String | 商品 App 跳转深链,保留完整参数 |
| liveList[].products[].position | Integer | 商品在当前直播卡片中的顺序,从 1 开始,与卡片自身的 position 分别计数 |
| consultationCards | Array | 咨询卡片列表,按答案内卡片位置排列。已返回答案详情但无咨询卡时为 [],尚未返回答案详情时可能为 null。详见 咨询卡片 |
| consultationCards[].position | Integer | 回答内卡片顺序,从 1 开始,与 answerContent 中 [ad_card:x] 的 x 对应 |
| consultationCards[].consultPlatformIconUrl | String | 咨询平台图标 URL;无有效值时省略 |
| consultationCards[].consultPlatformName | String | 咨询平台名称,如 百度;无有效值时省略 |
| consultationCards[].merchantIconUrl | String | 咨询商家图标 URL;无有效值时省略 |
| consultationCards[].merchantName | String | 咨询商家名称;无有效值时省略 |
| consultationCards[].merchantQualification | String | 商家资质认证,如 钻石商家、金牌商家;无有效值时省略 |
| consultationCards[].thumbnail | String | 咨询图标/卡片缩略图 URL;无有效值时省略 |
| consultationCards[].title | String | 咨询标题 |
| consultationCards[].description | String | 咨询描述原文;无有效值时省略 |
| consultationCards[].url | String | 咨询链接,完整保留不截断;无有效值时省略 |
| errorMessage | String | 错误信息(失败时) |
| proxyIp | String | IP地址 |
| amount | BigDecimal | 扣费金额 |
| mentionPosition | Integer | 本品提及位置(排名),null 表示未提及 |
| mentionContext | String | 本品提及上下文 |
| sentiment | String | 正负面评价(positive-正面、negative-负面、neutral-中性) |
| competitorRankings | Array | 竞品排名列表 |
| competitorRankings[].name | String | 竞品名称 |
| competitorRankings[].rank | Integer | 竞品排名位置,null 表示未提及 |
| allRankings | Array | 全部品牌排名列表(按 rank 排序) |
| allRankings[].name | String | 品牌名称 |
| allRankings[].rank | Integer | 品牌排名位置 |
| categoryRanking | Object | 本品最佳分类排名;没有分类排名时为 null |
| categoryRanking.categoryName | String | 分类名称 |
| categoryRanking.rank | Integer | 本品在该分类中的排名 |
| categoryRanking.allRankings | Array | 该分类下的全部品牌排名列表(按 rank 排序) |
| categoryRanking.allRankings[].name | String | 品牌名称 |
| categoryRanking.allRankings[].rank | Integer | 品牌在该分类中的排名位置 |
| keywordEvaluations | Array | 本品关键词评价分析列表;已有答案但无匹配明细时为 [];尚未返回答案详情时可能为 null |
| keywordEvaluations[].keyword | String | 关键词 |
| keywordEvaluations[].nature | String | 关键词性质:positive(正面)、negative(负面)、neutral(中性) |
| keywordEvaluations[].context | String | 关键词所在的回答上下文 |
| competitorEvaluations | Array | 任务配置的竞品情感评价列表,按配置顺序返回;已有答案且未配置竞品时为 [];尚未返回答案详情时可能为 null |
| competitorEvaluations[].name | String | 任务配置的竞品名称 |
| competitorEvaluations[].sentiment | String | 竞品整体情感:positive、negative、neutral;无有效情感时为 null |
| competitorEvaluations[].keywordEvaluations | Array | 该竞品的关键词评价;无匹配明细时为 [] |
| competitorEvaluations[].keywordEvaluations[].keyword | String | 评价关键词 |
| competitorEvaluations[].keywordEvaluations[].nature | String | 关键词情感:positive、negative、neutral;无有效情感时为 null |
| competitorEvaluations[].keywordEvaluations[].context | String | 关键词对应的回答上下文 |
子任务状态值:
| 状态值 | 描述 |
|---|---|
| pending | 等待执行 |
| assigned | 已分配给执行节点 |
| processing | 处理中 |
| completed | 完全完成(答案、截图、信源解析都完成) |
| stopped | 已停止 |
| failed | 失败(包括 completed 但未找到答案数据;未达到最大重试次数(默认任务失败后重试10次)前会展示为 pending 或 processing) |
| error | 错误 |
团购卡片
团购卡片响应示例
{
"localLifeCards": [
{
"storeName": "示例餐厅",
"poiId": "7600020588396899911",
"url": "https://example.com/deals/restaurant",
"thumbnail": "https://example.com/images/restaurant.jpg",
"price": "72元/人",
"priceAmount": 72,
"priceUnit": "元",
"perPersonPriceText": "72元/人",
"reviewCountText": "123条评价",
"mall": "抖音",
"mallPlatform": "douyin",
"platformIconUrl": "https://ops.molizhishu.com/images/logo/douyin.webp",
"position": 2,
"packageCount": 1,
"packageList": [
{
"productId": "7600020588396899912",
"title": "双人套餐",
"priceText": "144元"
}
]
}
]
}
直播卡片
liveList 返回回答中的直播卡片,products 为对应卡片的商品列表。
部分响应示例:
{
"liveList": [
{
"livePlatform": "douyin",
"livePlatformName": "抖音",
"livePlatformIconUrl": "https://ops.molizhishu.com/images/logo/douyin.webp",
"roomId": "7708521711469185826",
"roomTitle": "OPPO Reno17 系列专场,直播间预约,锁定超千元首销权益!",
"roomStatus": "living",
"coverUrl": "https://p3-webcast-sign.douyinpic.com/webcast-cover/...",
"liveSchema": "sslocal://webcast_room?room_id=7708521711469185826&...",
"accountName": "OPPO Reno精选直播间",
"accountIconUrl": "https://p26.douyinpic.com/aweme/100x100/aweme-avatar/...",
"position": 1,
"products": [
{
"productId": "3818331911214989564",
"title": "【国家补贴】 OPPO Reno15 2 亿像素超清影像 超出圈实况AI手机 XXG",
"thumbnail": "https://p3-item.ecombdimg.com/img/ecom-shop-material/...",
"salesText": "已售2",
"detailSchema": "sslocal://webcast_room?room_id=7708521711469185826&ecom_live_params=...",
"position": 1
}
]
}
]
}
每张直播卡片可包含多件商品,无商品时 products 为 []。卡片和商品分别按各自的 position 展示。
咨询卡片
consultationCards 返回回答中的广告咨询卡片,按 position 升序排列。可空展示字段无有效值时省略;url 完整保留原始参数不截断(百度链接可能超过 3000 字符)。
部分响应示例:
{
"consultationCards": [
{
"position": 1,
"consultPlatformName": "百度",
"merchantName": "深圳市皓丽智能科技有限公司",
"merchantQualification": "钻石商家",
"thumbnail": "https://jmy-pic.baidu.com/0/pic/-512587594_1812841754_-2061941478.jpg",
"title": "深圳市皓丽智能科技有限公司",
"description": "钻石商家 皓丽会议平板,操作简单,智慧办公新体验,智能会议室,专业服务.欢迎预约体验",
"url": "https://m.baidu.com/baidu.php?url=..."
}
]
}
答案内容中的卡片标签
answerContent 中可能包含 [goods_card:x]、[video_card:x] 和 [ad_card:x],用于标记商品、视频和咨询卡片的展示位置。展示卡片时,接入方需解析标签,并在标签位置渲染对应内容。 普通 Markdown 渲染器不会自动生成卡片,展示样式由接入方决定。
| 标签 | 对应数据 | 匹配规则 |
|---|---|---|
[goods_card:x] | 当前子任务的 goods 列表 | 查找 position 等于 x 的商品 |
[video_card:x] | 当前子任务的 videoList 列表 | 查找 position 等于 x 的视频 |
[ad_card:x] | 当前子任务的 consultationCards 列表 | 查找 position 等于 x 的咨询卡片 |
x 为正整数,例如 [goods_card:1]、[video_card:2]、[ad_card:1]。按 position 匹配卡片数据,不要将 x 作为数组下标。不同类型卡片分别匹配各自的列表,编号可以相同。卡片按标签在正文中的位置展示。
部分响应示例(仅展示渲染相关字段):
{
"answerContent": "推荐参考以下商品:\n\n[goods_card:1]\n\n相关视频介绍:\n\n[video_card:1]",
"goods": [
{
"title": "示例商品",
"url": "https://item.jd.com/100278751428.html",
"position": 1
}
],
"videoList": [
{
"title": "示例视频",
"url": "https://www.douyin.com/video/7480000000000000000",
"position": 1
}
]
}
上述示例依次展示:正文“推荐参考以下商品:”、商品卡片、正文“相关视频介绍:”、视频卡片。可使用列表中的标题、图片、链接等字段展示卡片,具体样式和交互由接入方决定。
建议渲染流程:
- 识别正文中的卡片标签。标签可能独占一行,也可能位于段落中,需保留前后的文字和段落结构。
- 按标签类型和编号,在对应列表中查找
position相等的卡片数据。 - 在标签位置展示卡片,其余正文按 Markdown 渲染。连续的视频卡片可按需组合展示。
- 未匹配到数据时,商品/视频建议在原位置显示“商品信息暂不可用”或“视频信息暂不可用”,咨询卡片可隐藏或忽略该标签,其余正文正常展示。
无标签时,正文按普通 Markdown 渲染。列表中未被标签引用的卡片可按需单独展示,无需猜测其正文位置。
获取任务结果 返回的 subTaskList[].answerContent 适用相同规则,应使用该子任务自身的 goods、videoList 和 consultationCards 匹配。
答案内容中的引用标签
answerContent 中可能包含 [citation:n],其中 n 为引用序号,例如 [citation:3]。展示引用来源时,接入方需解析标签,并在标签位置展示引用角标或来源链接。 普通 Markdown 渲染器不会自动关联 citationList。
referenceList 返回已解析的来源列表,citationList 是其中实际被引用的来源。两者的 index 均为原始引用序号。
按 [citation:n] 中的 n 查找当前子任务中 citationList[].index 相等的条目。序号可能不连续,也不一定从 1 开始,因此不要使用 citationList[n - 1] 或 referenceList[n - 1] 取值,也不要重新编号。
部分响应示例(仅展示引用渲染相关字段):
{
"answerContent": "该结论可参考以下资料[citation:3][citation:16]。另一处说明也引用了同一资料[citation:3]。",
"citationList": [
{
"index": 3,
"title": "示例来源 A",
"url": "https://example.com/source-a"
},
{
"index": 16,
"title": "示例来源 B",
"url": "https://example.com/source-b"
}
]
}
上述示例可将 [citation:3] 展示为指向来源 A 的 [3] 角标,将 [citation:16] 展示为指向来源 B 的 [16] 角标。重复出现的 [citation:3] 均关联来源 A,来源列表无需重复添加条目。
建议渲染流程:
- 识别正文中的
[citation:n],保留前后的文字。代码块和行内代码中的标签示例按原文展示。 - 按
n匹配citationList[].index,在标签位置展示引用角标或来源链接。可使用url跳转,并展示标题、站点等信息;连续标签分别匹配各自的来源。 - 未匹配到来源或
citationList为空时,建议展示不可点击的[n]角标,其余正文正常展示。
没有引用标签时,可按需单独展示来源列表,无需猜测引用位置。
引用标签可与卡片标签同时出现:[citation:n] 按 index 匹配来源,[goods_card:x]、[video_card:x] 和 [ad_card:x] 按 position 匹配卡片。获取任务结果 中每个子任务适用同样的规则。
子任务完成条件
子任务状态为 completed 需要满足:
- AI 回答内容生成完成
- 如需截图(
screenshot=1或screenshot=2),截图已完成 - 如有引用来源,信源解析已完成