> ## 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

# Search Scholarly Articles

> 搜索学术文献。

搜索学术文献。⚠️ 参数放在 **query string** 里而不是请求体：`query`（必填）、`max_num_results`，以及限定发表年份的 `as_ylo`/`as_yhi`。返回一个检索 `id` 和 `results[]`，含 `title`、`link`、`snippet`、`authors` 和 `number_of_citations` —— 最后这个字段是普通网页搜索给不了的。实测不到 2 秒。当问题需要同行评审来源、或者引用数本身重要时用它。时事和产品页用通用引擎更好：[`post_tavily_search`](https://aisa.one/docs/zh/api-reference/search/post_tavily-search)。想两边一起覆盖，用 [`post_scholar_search_mixed`](https://aisa.one/docs/zh/api-reference/scholar/post_scholar-search-mixed)。记住 `id`，[`post_scholar_search_explain`](https://aisa.one/docs/zh/api-reference/scholar/post_scholar-search-explain) 要用。

> [!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-scholar)

## 请求规范

* **方法与路径:** POST /apis/v1/scholar/search/scholar
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/scholar/search/scholar`
* **as\_yhi:** query; 可选
* **as\_ylo:** query; 可选
* **max\_num\_results:** query; 可选
* **query:** query; 必填

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

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

```json theme={null}
{
  "operationId": "post_scholar_search_scholar",
  "method": "POST",
  "path": "/apis/v1/scholar/search/scholar",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [
    {
      "description": "Year of publication upper bound",
      "in": "query",
      "name": "as_yhi",
      "schema": {
        "maximum": 2030,
        "minimum": 1900,
        "type": [
          "integer",
          "null"
        ]
      }
    },
    {
      "description": "Year of publication lower bound",
      "in": "query",
      "name": "as_ylo",
      "schema": {
        "maximum": 2030,
        "minimum": 1900,
        "type": [
          "integer",
          "null"
        ]
      }
    },
    {
      "description": "Maximum number of search results to return, up to 100",
      "in": "query",
      "name": "max_num_results",
      "schema": {
        "default": 10,
        "maximum": 100,
        "minimum": 1,
        "type": "integer"
      }
    },
    {
      "description": "Search query for scholarly materials",
      "in": "query",
      "name": "query",
      "required": true,
      "schema": {
        "example": "machine learning",
        "type": "string"
      }
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "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/scholar
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/scholar:
    post:
      tags:
        - default
      summary: Search Scholarly Articles
      description: >-
        Search academic literature. ⚠️ Parameters go in the **query string**,
        not a body: `query` (required), `max_num_results`, and `as_ylo`/`as_yhi`
        to bound publication years. Returns a search `id` and `results[]` with
        `title`, `link`, `snippet`, `authors` and `number_of_citations` — that
        last field is what a general web search cannot give you. Measured at
        under 2 seconds. Use it when the question calls for peer-reviewed
        sources or when citation counts matter. For current events and product
        pages a general engine is better: `post_tavily_search`. To cover both at
        once, `post_scholar_search_mixed`. Keep the `id` for
        `post_scholar_search_explain`.
      operationId: post_scholar_search_scholar
      parameters:
        - description: 出版年份上限
          in: query
          name: as_yhi
          schema:
            maximum: 2030
            minimum: 1900
            type:
              - integer
              - 'null'
        - description: 出版年份下限
          in: query
          name: as_ylo
          schema:
            maximum: 2030
            minimum: 1900
            type:
              - integer
              - 'null'
        - description: 返回的搜索结果最大数量，最多 100 条
          in: query
          name: max_num_results
          schema:
            default: 10
            maximum: 100
            minimum: 1
            type: integer
        - description: 学术资料搜索查询
          in: query
          name: query
          required: true
          schema:
            example: machine learning
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Response8Da310D1D213_ScholarSearchResponse
          description: 搜索成功响应
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  schemas:
    Response8Da310D1D213_ScholarSearchResponse:
      properties:
        id:
          description: 搜索请求的唯一标识符
          type: string
        results:
          description: 学术论文结果列表
          items:
            $ref: '#/components/schemas/Response8Da310D1D213_ScholarResult'
          type: array
      required:
        - id
        - results
      type: object
    Response8Da310D1D213_ScholarResult:
      properties:
        authors:
          description: 作者列表
          items:
            type: string
          type: array
        journal:
          description: 期刊或会议名称
          type: string
        link:
          description: 用于访问完整论文的 URL
          format: uri
          type: string
        number_of_citations:
          description: 论文获得的引用次数
          minimum: 0
          type: integer
        snippet:
          description: 论文的简要摘要或概要
          type: string
        title:
          description: 学术论文标题
          type: string
        year:
          description: 出版年份
          maximum: 2030
          minimum: 1900
          type: integer
      required:
        - title
        - link
        - snippet
        - authors
        - number_of_citations
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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