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

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# 解释搜索结果

> 对一份已经取回的检索结果做解释。

对一份已经取回的检索结果做解释。和那三个搜索端点不同，这个接收 **JSON 请求体**：`search_id`（必填 —— 由 [`post_scholar_search_web`](https://aisa.one/docs/zh/api-reference/scholar/post_scholar-search-web)、[`post_scholar_search_scholar`](https://aisa.one/docs/zh/api-reference/scholar/post_scholar-search-scholar) 或 [`post_scholar_search_mixed`](https://aisa.one/docs/zh/api-reference/scholar/post_scholar-search-mixed) 返回的 `id`），以及 `detail_level`（BRIEF / MODERATE / DETAILED）、`language`、`response_mode`。⚠️ 请用 `response_mode: NON_STREAMING`，它返回 `{"message": "…"}` 这样的 JSON，实测约 2 KB。COMPLETE 与 INCREMENTAL 模式发的是 server-sent events，而**每个事件都会重复到目前为止的整段答案** —— 同一份解释那样返回实测 177 KB，大约 90 倍，何况一次工具调用本来也没法增量消费流式响应。它只能解释已有的检索，不能自己发起检索。

> [!NOTE]
>
> **第一次用？** 把任意 MCP 客户端指向 `https://mcp.aisa.one/mcp` —— Claude Code、
> Codex、Cursor、VS Code 都可以。鉴权走 OAuth：客户端打开浏览器，你点一次
> Allow，不需要粘贴任何 key。之后智能体通过几个元工具调用所有端点：
> `search`、`list_categories`、`get_details` 和 `batch_quote` 免费，`batch_use`
> 按次计费。各客户端的接入步骤见[通过 MCP 连接](https://aisa.one/docs/zh/agent-quickstart.md)；实时工具列表和
> 每次调用的价格见 [aisa.one/zh-cn/mcp](https://aisa.one/zh-cn/mcp#connect)。

[在你的 agent 里把这个端点跑起来 →](https://aisa.one/mcp?from=/zh/api-reference/scholar/post_scholar-search-explain)

## 请求规范

* **方法与路径:** POST /apis/v1/scholar/search/explain
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/scholar/search/explain`

[完整 OpenAPI 定义](https://aisa.one/docs/openapi/zh/scholar.json)

有效请求声明（包括认证和引用的 schema）：

```json theme={null}
{
  "operationId": "post_scholar_search_explain",
  "method": "POST",
  "path": "/apis/v1/scholar/search/explain",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "properties": {
            "detail_level": {
              "default": "MODERATE",
              "description": "Level of detail in the explanation",
              "enum": [
                "BRIEF",
                "MODERATE",
                "DETAILED"
              ],
              "type": "string"
            },
            "language": {
              "default": "en",
              "description": "Language code for the explanation (e.g., en, zh, ar)",
              "example": "ar",
              "type": "string"
            },
            "response_mode": {
              "default": "NON_STREAMING",
              "description": "Format of the explanation response. COMPLETE and INCREMENTAL stream server-sent events; NON_STREAMING returns a JSON response.",
              "enum": [
                "COMPLETE",
                "INCREMENTAL",
                "NON_STREAMING"
              ],
              "type": "string"
            },
            "search_id": {
              "description": "ID of the search to explain",
              "type": "string"
            }
          },
          "required": [
            "search_id"
          ],
          "type": "object"
        }
      }
    },
    "required": true
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 费用与请求规则

请求费用。 默认请求预估费用：\$0.01 USD。 最终费用以实际用量为准。 账户适用价格可能不同；支持报价的接口可按实际请求获取报价。


## OpenAPI

````yaml openapi/zh/scholar.json POST /apis/v1/scholar/search/explain
openapi: 3.1.0
info:
  description: ''
  title: Scholar
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    scholar:
      description: ''
      title: Scholar
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: 60c867b8f9840a96a156bdf04dd69950d866b01ed2d659222e3225a3a7facb5e
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/scholar/search/explain
    - /apis/v1/scholar/search/mixed
    - /apis/v1/scholar/search/scholar
    - /apis/v1/scholar/search/web
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:262d0071a7913adfb4017393fff3608a36f55a775a63e9ece3635078479066a5
    facts_hash: 60c867b8f9840a96a156bdf04dd69950d866b01ed2d659222e3225a3a7facb5e
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: scholar
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/scholar/search/explain:
    post:
      tags:
        - default
      summary: 解释搜索结果
      description: >-
        Explain a result set you already fetched. Unlike the three search
        endpoints this one takes a **JSON body**: `search_id` (required — the
        `id` returned by `post_scholar_search_web`,
        `post_scholar_search_scholar` or `post_scholar_search_mixed`), plus
        `detail_level` (BRIEF / MODERATE / DETAILED), `language`, and
        `response_mode`. ⚠️ Use `response_mode: NON_STREAMING`. It returns
        `{"message": "…"}` as JSON, measured at about 2 KB. The COMPLETE and
        INCREMENTAL modes emit server-sent events in which **each event repeats
        the whole answer so far** — the identical explanation measured 177 KB
        that way, roughly 90 times larger, and a tool call cannot consume a
        stream incrementally anyway. It only ever explains an existing search;
        it cannot run one.
      operationId: post_scholar_search_explain
      requestBody:
        content:
          application/json:
            schema:
              properties:
                detail_level:
                  default: MODERATE
                  description: 解释的详细程度
                  enum:
                    - BRIEF
                    - MODERATE
                    - DETAILED
                  type: string
                language:
                  default: en
                  description: 解释所用的语言代码（例如 en、zh、ar）
                  example: ar
                  type: string
                response_mode:
                  default: NON_STREAMING
                  description: >-
                    解释响应的格式。COMPLETE 和 INCREMENTAL 通过服务器发送事件进行流式传输；NON_STREAMING
                    返回 JSON 响应。
                  enum:
                    - COMPLETE
                    - INCREMENTAL
                    - NON_STREAMING
                  type: string
                search_id:
                  description: 要解释的搜索 ID
                  type: string
              required:
                - search_id
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Response8Da310D1D213_ExplainSearchResponse
            text/event-stream:
              schema:
                type: string
          description: >-
            成功的解释响应。COMPLETE/INCREMENTAL 流返回 text/event-stream；NON_STREAMING 返回
            application/json。
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  schemas:
    Response8Da310D1D213_ExplainSearchResponse:
      description: 当 response_mode 为 NON_STREAMING 时返回的 JSON 解释响应。
      properties:
        message:
          description: 生成的说明文本。
          type: string
      required:
        - message
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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