跳转到内容

结果结构

所有 App 的 tasks[].result 结构一致,每个字段均固定返回。任务未到达 done 时,result 整体为 null。

{
"schema_version": 4,
"task_id": "01a22524-9c41-7c55-9d02-1f7a3b8e5c90",
"query_id": "01a22524-9c1e-7a3b-8f21-6b0d4c9e1a27",
"app": "doubao",
"query": "Which robot vacuum is the best choice in 2026?",
"answer_markdown": "## Short answer\n\nFor most homes ...",
"reasoning": null,
"citations": [
{
"position": 1,
"url": "https://www.example.com/robot-vacuum-review",
"title": "Robot vacuum review",
"site_name": "Example Reviews",
"domain": "www.example.com",
"snippet": "We tested 12 models ...",
"cited_in_answer": null
}
],
"products": [],
"suggested_followups": [
"Which one is best for pet hair?"
],
"capture_channel": "share",
"started_at": 1798000021000,
"finished_at": 1798000063000
}
  • schema_versioninteger

    结果结构版本号,当前为 4。

  • task_idstring

    与 tasks[].task_id 相同。

  • query_idstring

    与外层 query_id 相同。

  • appstring

    作答的 App。

  • querystring

    发送给 App 的问题。

  • answer_markdownstring

    Markdown 格式的完整回答正文,不为空。

  • reasoningstring | null

    回答前展示的思考过程;App 未展示或不可用时为 null。

  • citationsobject[] | null

    App 引用的来源,按展示顺序排列。[] 表示无引用,null 表示不可用。

    子字段: citations
    • positioninteger

      在 App 来源列表中的序号,从 1 开始,单条结果内唯一。

    • urlstring

      来源网页的 http(s) 绝对地址,原样返回。

    • titlestring | null

      App 展示的网页标题。

    • site_namestring | null

      App 展示的站点名称;未展示时为 null,不会以域名代替。

    • domainstring

      来源主机名,全小写、不含端口,保留子域名 (含 www.)。

    • snippetstring | null

      App 展示的网页摘要。

    • cited_in_answerboolean | null

      回答正文直接引用该来源时为 true;仅出现在来源列表中为 false;该 App 无法区分时为 null。

  • productsobject[] | null

    随回答展示的商品卡片,按展示顺序排列。[] 与 null 的含义同 citations。

    子字段: products
    • product_idstring | null

      电商平台的商品 ID。

    • namestring

      卡片展示的商品名称。

    • brandstring | null

      品牌。

    • urlstring | null

      卡片跳转地址,可能是 App deep link 而非 http(s) 链接。

    • image_urlstring | null

      商品图片地址。

    • storestring | null

      店铺名称。

    • price_textstring | null

      卡片展示的价格原文;可能包含掩码或价格区间,因此为字符串。

    • ratingnumber | null

      卡片展示的评分。

    • review_countinteger | null

      卡片展示的评价数。

    • descriptionstring | null

      卡片上的附加文字,例如商品完整标题。

  • suggested_followupsstring[] | null

    App 推荐的追问。[] 与 null 的含义同 citations。

  • capture_channelstring

    结果通道标识:share 返回完整字段;copy 仅返回回答正文 (reasoning、citations、products、suggested_followups 均为 null)。network 与 a11y 保留未用。

  • started_atinteger (ms) | null

    App 开始处理任务的时间。

  • finished_atinteger (ms) | null

    App 完成回答的时间。

answer_markdown 来自第三方 App,渲染为 HTML 前请先做安全过滤。

对于 citations、products、suggested_followups:

  • []:已拿到回答,其中确实没有该项内容。
  • null:本次未能提供该字段,统计时请勿当成“没有”。
App citations products suggested_followups reasoning
doubao 有 有 有 App 展示时返回
deepseek 有,含 cited_in_answer null null null
yuanbao 有 有 null 仅深度模式
kimi 有,含 cited_in_answer 暂未出现商品卡片 null App 展示时返回
wenxin 有 有 有 App 展示时返回
glm 有 null null App 展示时返回
qianwen 有 有 有 null

上表为常规表现而非严格保证;App 改版后个别字段可能暂时返回 null。联网搜索和深度思考使用各 App 的固定设置,不支持按 query 指定。

录屏位于 tasks[].video,与 result 同级。任务未处于 done 或录屏已过保留期时为 null。

  • urlstring

    录屏 (MP4) 的签名下载链接,在 expires_at 失效;重新读取 query 可获取新链接。

  • poster_urlstring | null

    录屏第 1 帧的 JPEG 封面图 (宽 540 像素)。

  • expires_atinteger (ms)

    url 与 poster_url 的过期时间,约为读取后 1 小时。

  • size_bytesinteger | null

    视频文件大小 (字节)。