Copilot 抓取器

scraper.copilot 可以捕捉微软 Copilot 在 Search、Chat、Reasoning、Study 等模式下的输出,并返回完整的 Markdown 文本与引用列表。

请求示例

curl '{api_host}/api/v2/scraper/request' \
  --header 'Content-Type: application/json' \
  --header 'x-api-token: {you_api_key}' \
  --data '{
    "actor": "scraper.copilot",
    "input": {
      "prompt": "Recommended attractions in New York",
      "country": "US",
      "mode": "search"
    },
    "webhook": {
      "url": "http://www.youwebhook.com"
    }
  }'

Body 参数

参数类型是否必填描述
promptstring发送给 Copilot 的 Prompt。
countrystring国家或地区编码(不支持 JP、TW)。
modestringsearchsmartchat(Quick response)、reasoning(Think Deeper)、study(Study and learn)。

响应字段

字段类型描述
result_textstringCopilot 输出的 Markdown 文本。
promptstring原始 Prompt。
modestring使用的模式:searchsmartchatreasoningstudy
linksarray回答中包含的所有链接。
citationsarray引用信息。
citations.titlestring引用内容标题。
citations.urlstring引用内容 URL。