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

> Search academic literature.

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`](https://aisa.one/docs/api-reference/search/post_tavily-search). To cover both at once, [`post_scholar_search_mixed`](https://aisa.one/docs/api-reference/scholar/post_scholar-search-mixed). Keep the `id` for [`post_scholar_search_explain`](https://aisa.one/docs/api-reference/scholar/post_scholar-search-explain).

> [!NOTE]
>
> Scholar search endpoints use `POST` with parameters in the query string. Do not send `query` or `max_num_results` as a JSON or form body.

## Example

```bash REST theme={null}
curl -X POST "https://api.aisa.one/apis/v1/scholar/search/scholar?query=self-correcting%20agent%20frameworks&max_num_results=5" \
  -H "Authorization: Bearer ${AISA_API_KEY}"
```

```jsonc MCP theme={null}
// Copy this whole block into Claude Code, Codex, Cursor or any coding agent.
// It carries everything needed to connect, authorize and run this example —
// no key to paste, one click of Allow in the browser.
{
  "calls": [
    {
      "call_id": "1",
      "tool": "post_scholar_search_scholar",
      "arguments": {
        "query": "self-correcting%20agent%20frameworks",
        "max_num_results": "5"
      }
    }
  ]
}
// ── for the agent ─────────────────────────────────────────────────────────
// Register the AIsa MCP server, then call its `batch_quote` tool with the JSON above.
//   name       aisa
//   endpoint   https://mcp.aisa.one/mcp
//   transport  streamable-http
//   auth       OAuth. The server publishes RFC 9728 metadata, so open a
//              browser and the user clicks Allow once — nothing to paste.
//              If AISA_API_KEY is set, send it as a bearer header instead.
// Use your own MCP mechanism, not a hand-edited config file:
//   Codex        codex mcp add aisa --url https://mcp.aisa.one/mcp
//   Claude Code  claude mcp add --transport http -s user aisa https://mcp.aisa.one/mcp
//   Cursor / VS Code   a "url" entry for https://mcp.aisa.one/mcp in the MCP config
// The server reaches https://mcp.aisa.one/servers worth of APIs through a few meta
// tools: search, list_categories, get_details, batch_quote, batch_use.
// search, get_details and batch_quote are free; batch_use is billed per
// call. This operation's full contract — every argument, the response
// shape, the price and the pitfalls — is at
//   https://aisa.one/docs/api-reference/scholar/post_scholar-search-scholar.md
// Show me the quoted cost. Once I approve, run the same calls with
// batch_use and show me the result.
```

> [!NOTE]
>
> **First time?** Point any MCP client at `https://mcp.aisa.one/mcp` — Claude
> Code, Codex, Cursor, VS Code and the rest. Authorization is OAuth: the client
> opens a browser, you click Allow once, and there is no key to paste. Your
> agent then reaches every endpoint through a few meta tools: `search`,
> `list_categories`, `get_details` and `batch_quote` are free, `batch_use` is
> billed per call. Setup per client is in
> [Connect via MCP](https://aisa.one/docs/agent-quickstart.md); the live tool list and what each call
> costs are on [aisa.one/mcp](https://aisa.one/mcp#connect).

[Set this endpoint up in your agent →](https://aisa.one/mcp?from=/api-reference/scholar/post_scholar-search-scholar)

## Request contract

* **Method and path:** POST /apis/v1/scholar/search/scholar
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/scholar/search/scholar`
* **as\_yhi:** query; optional
* **as\_ylo:** query; optional
* **max\_num\_results:** query; optional
* **query:** query; required

[Complete OpenAPI definition](https://aisa.one/docs/openapi/scholar.json)

Effective request declaration (including authentication and referenced schemas):

```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"
      }
    }
  }
}
```

## Cost and request rules

Request pricing. Default request estimate: \$0.01 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.


## OpenAPI

````yaml openapi/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: 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
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Response8Da310D1D213_ScholarSearchResponse
          description: Successful search response
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  schemas:
    Response8Da310D1D213_ScholarSearchResponse:
      properties:
        id:
          description: Unique identifier for the search request
          type: string
        results:
          description: List of academic paper results
          items:
            $ref: '#/components/schemas/Response8Da310D1D213_ScholarResult'
          type: array
      required:
        - id
        - results
      type: object
    Response8Da310D1D213_ScholarResult:
      properties:
        authors:
          description: List of authors
          items:
            type: string
          type: array
        journal:
          description: Journal or conference name
          type: string
        link:
          description: URL to access the full paper
          format: uri
          type: string
        number_of_citations:
          description: Number of citations the paper has received
          minimum: 0
          type: integer
        snippet:
          description: Brief summary or abstract of the paper
          type: string
        title:
          description: Title of the academic paper
          type: string
        year:
          description: Publication year
          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.