> ## Documentation Index
> Fetch the complete documentation index at: https://docs.socq.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# LLM 提及

> 查看引用你的域名、或提到你的关键词的 AI 概览和 ChatGPT 回答，以及回答引用的全部来源。

# LLM 提及

越来越多的用户先问 AI，再去搜索。这个接口告诉你：在哪些问题里，Google AI 概览或 ChatGPT 引用了你的域名，或者在回答里提到了你的品牌、关键词。每行是一个问题，包含 Markdown 格式的完整回答、回答引用的页面、该问题每月被问多少次；ChatGPT 的回答还会列出提到的品牌和它额外做的延伸搜索。可以用来做生成式引擎优化（GEO）审计、找出 AI 在你所在领域最信任哪些页面，或者发现 AI 对你产品的错误描述。

```json theme={"dark"}
{
  "target": "notion.so",
  "platform": "google",
  "results_limit": 100
}
```

通过 target 提供域名，或通过 query 提供关键词，二选一。platform 可选 google（AI 概览，默认）或 chat\_gpt（覆盖美国英语回答）。results\_limit 默认 100，可填 1–1000 之间的整数。每次请求计 40 积分，每返回一条回答再加 0.5 积分；没有找到任何回答时同样收取 40 积分。

## 标准结果字段

任务结果使用下方稳定的 SocQ 字段。系统会统一来源特有的字段名和格式，但不会推断或补充来源未提供的数据。如需缩小返回字段集合，MCP 查询使用 `fields`，Typed 工具使用 `_result_fields`，CLI 使用 `--result-fields`。声明字段的值为 `null` 时仍会保留。

| 字段 | 类型 | 可空 | 说明 |
| - | - | - | - |
| `id` | `string` | 是 | 问答的标识，由 AI 平台、模型和问题生成。 |
| `platform` | `string` | 否 | 结果所属的平台，例如 `instagram` 或 `linkedin`。 |
| `resource` | `string` | 否 | 该结果对应的 SocQ 资源，例如 `videos` 或 `comments`。 |
| `type` | `string` | 否 | 结果项的类别，例如 `video`、`post` 或 `comment`。 |
| `url` | `string` | 是 | 结果项的公开访问地址（如可获得）。 |
| `published_at` | `string` | 是 | 源内容的发布时间（如可获得），使用 ISO 8601 格式。 |
| `collected_at` | `string` | 否 | SocQ 采集或处理该结果的时间，使用 ISO 8601 格式。 |
| `question` | `string` | 是 | AI 所回答的问题或搜索。 |
| `answer` | `string` | 是 | 完整的答案文本，Markdown 格式。 |
| `ai_platform` | `string` | 是 | 给出答案的 AI 平台：`google`（AI 概览）或 `chat_gpt`。 |
| `model` | `string` | 是 | 模型或答案位置，例如 `google_ai_overview`。 |
| `ai_search_volume` | `integer` | 是 | 该问题每月被提问次数的估算值。 |
| `sources` | `array<object>` | 是 | 答案中引用的页面。 |
| `sources.position` | `integer` | 是 | 该来源在答案来源列表中的位置，从 1 开始。 |
| `sources.title` | `string` | 是 | 被引用页面的标题。 |
| `sources.url` | `string` | 是 | 被引用页面的地址。 |
| `sources.domain` | `string` | 是 | 被引用页面所属域名。 |
| `sources.source` | `string` | 是 | 答案中显示的网站或发布者名称。 |
| `sources.text` | `string` | 是 | 答案中展示的被引用页面摘录。 |
| `search_results` | `array<object>` | 是 | AI 生成答案时参考的网页结果（仅 chat\_gpt）。 |
| `search_results.position` | `integer` | 是 | 该来源在答案来源列表中的位置，从 1 开始。 |
| `search_results.title` | `string` | 是 | 被引用页面的标题。 |
| `search_results.url` | `string` | 是 | 被引用页面的地址。 |
| `search_results.domain` | `string` | 是 | 被引用页面所属域名。 |
| `search_results.source` | `string` | 是 | 答案中显示的网站或发布者名称。 |
| `search_results.text` | `string` | 是 | 答案中展示的被引用页面摘录。 |
| `brands` | `array<object>` | 是 | 答案中提到的品牌，按出现顺序排列（仅 chat\_gpt）。 |
| `brands.name` | `string` | 是 | 品牌名称。 |
| `brands.category` | `string` | 是 | 品牌所属类别，例如 `software` 或 `local_business`。 |
| `brands.position` | `integer` | 是 | 品牌在答案中出现的顺序，从 1 开始。 |
| `fan_out_queries` | `array<string>` | 是 | AI 回答时额外执行的延伸搜索。 |
| `first_seen_at` | `string` | 是 | 首次记录到该答案的时间，使用 ISO 8601 格式。 |
| `last_seen_at` | `string` | 是 | 最近一次记录到该答案的时间，使用 ISO 8601 格式。 |
| `target` | `string` | 是 | 被追踪的域名（请求使用 target 时）。 |
| `query` | `string` | 是 | 被追踪的关键词（请求使用 query 时）。 |
| `location_code` | `integer` | 是 | 记录该答案的市场位置代码。 |
| `language_code` | `string` | 是 | 答案的语言代码。 |

以下示例展示任务完成后的响应格式，具体数据以实际查询结果为准。

## 任务完成响应

```json theme={"dark"}
{
  "code": 200,
  "data": {
    "task_id": "example-seo-llm-mentions",
    "status": "succeeded",
    "public_id": "ai-search/llm-mentions",
    "result_count": 1,
    "credits_amount": 40.5,
    "results": {
      "limit": 50,
      "next_cursor": null,
      "has_more": false,
      "schema_id": "llm-mention",
      "schema_version": "1.0",
      "items": [
        {
          "id": "dabe244bc30a0aeb7675",
          "platform": "ai-search",
          "resource": "llm-mentions",
          "type": "llm-mention",
          "url": null,
          "published_at": null,
          "collected_at": "2026-11-17T23:54:06.708649Z",
          "question": "notion.so",
          "answer": "**Notion** is `an all-in-one digital workspace and productivity platform` that combines notes, documents, wikis, databases, kanban boards, and project management tools into a single system.[[1]](https://www.notion.com/)[[2]](https://en.wikipedia.org/wiki/Notion_(productivity_software))[[3]](https://www.thegoodtrade.com/features/what-is-notion/)\n\n### Core Features & Capabilities\n\n- **Blocks & Pages:** Everything you …",
          "ai_platform": "google",
          "model": "google_ai_overview",
          "ai_search_volume": 4400,
          "sources": [
            {
              "position": 1,
              "title": "The AI workspace that works for you. | Notion",
              "url": "https://www.notion.com/",
              "domain": "www.notion.com",
              "source": "Notion",
              "text": "Platform: Notion AI workspace for teams and agents. Core Capabilities: Capture knowledge in a single system of record, find instant answers with citations, and aut..."
            },
            {
              "position": 2,
              "title": "Sign up - Notion",
              "url": "https://www.notion.so/signup",
              "domain": "www.notion.so",
              "source": "Notion",
              "text": "Notion - Sign up Notion: your AI workspace. Sign up with your work email Email Use an organization email to easily collaborate with teammates Continue or continue ..."
            },
            {
              "position": 3,
              "title": "Log in - Notion",
              "url": "https://www.notion.so/login",
              "domain": "www.notion.so",
              "source": "Notion",
              "text": "A collaborative AI workspace, built on your company context. Build and orchestrate agents right alongside your team's projects, meetings, and connected ..."
            }
          ],
          "search_results": [],
          "brands": [],
          "fan_out_queries": [],
          "first_seen_at": "2026-11-07T22:31:09Z",
          "last_seen_at": "2026-11-07T22:31:09Z",
          "target": "notion.so",
          "query": null,
          "location_code": 2840,
          "language_code": "en"
        }
      ]
    }
  }
}
```


## OpenAPI

````yaml zh/api-manual/agent-api/agent-api.json POST /v1/ai-search/llm-mentions
openapi: 3.1.0
info:
  title: SocQ Agent API 中文版
  version: v1-87892a6484c2
  description: 根据 SocQ 能力目录生成的异步社交数据 API。
servers:
  - url: https://api.socq.ai
security: []
paths:
  /v1/ai-search/llm-mentions:
    post:
      tags:
        - ai-search
      summary: LLM 提及
      description: 查看引用你的域名、或提到你的关键词的 AI 概览和 ChatGPT 回答，以及回答引用的全部来源。
      operationId: socq_ai_search_llm_mentions
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: https://json-schema.org/draft/2020-12/schema
              type: object
              additionalProperties: false
              properties:
                callback_url:
                  type: string
                  format: uri
                  description: 可选的任务完成回调 URL。
                language:
                  type: string
                  minLength: 1
                  description: 结果的语言名称，可代替 language_code。
                language_code:
                  type: string
                  minLength: 2
                  maxLength: 10
                  description: 结果的语言代码，默认 en。
                location_code:
                  type: integer
                  minimum: 1
                  description: 搜索市场的位置代码，默认 2840（美国）。
                location_name:
                  type: string
                  minLength: 1
                  description: 搜索市场的位置名称，可代替 location_code。
                platform:
                  type: string
                  minLength: 1
                  enum:
                    - chat_gpt
                    - google
                  default: google
                  description: AI 回答来源：google（AI 概览，默认）或 chat_gpt（ChatGPT，覆盖美国英语回答）。
                query:
                  type: string
                  minLength: 1
                  description: 要在 AI 回答中追踪的关键词或品牌名，例如 crm software；与 target 二选一。
                results_limit:
                  type: integer
                  minimum: 1
                  maximum: 1000
                  default: 100
                  description: 最多保存的结果数，实际结果可能少于该值。
                target:
                  type: string
                  minLength: 1
                  description: 要在 AI 回答中追踪的域名，例如 hubspot.com；与 query 二选一。
              required: []
              description: >-
                通过 target 提供域名，或通过 query 提供关键词，二选一。platform 可选 google（AI 概览，默认）或
                chat_gpt（覆盖美国英语回答）。results_limit 默认 100，可填 1–1000 之间的整数。每次请求计 40
                积分，每返回一条回答再加 0.5 积分；没有找到任何回答时同样收取 40 积分。
              anyOf:
                - required:
                    - query
                - required:
                    - target
              allOf:
                - not:
                    required:
                      - query
                      - target
      responses:
        '200':
          description: 任务已受理
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentSubmitResponse'
        '422':
          description: Input validation failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentValidationErrorResponse'
      security:
        - bearerAuth: []
        - apiKeyAuth: []
components:
  schemas:
    AgentSubmitResponse:
      type: object
      properties:
        code:
          type: integer
          const: 200
          description: HTTP 业务状态码。
        data:
          type: object
          properties:
            task_id:
              type: string
              description: 任务 ID，用于查询任务状态和结果。
            status:
              type: string
              description: 任务当前状态。
            created_time:
              type:
                - string
                - 'null'
              description: 任务创建时间。
          required:
            - task_id
            - status
    AgentValidationErrorResponse:
      type: object
      properties:
        code:
          type: integer
          const: 422
        error:
          type: object
          properties:
            message:
              type: string
            type:
              type: string
            details:
              type: object
          required:
            - message
            - type
      required:
        - code
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: '使用 `Authorization: Bearer <token>` 请求头进行身份验证。'
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: 也可以通过 `x-api-key` 请求头提供 API Key。

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.