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

# Start Crawl Process

> 从根 url 遍历站点并返回沿途页面的正文。

从根 `url` 遍历站点并返回沿途页面的正文。可用自然语言 `instructions` 加正则路径/域名过滤引导，并用 `max_depth`、`max_breadth`、`limit` 限定范围。返回 `base_url` 和 `results[]`，每条含 `url` 与 `raw_content`。实测限制 3 个页面时约 4.5 秒；成本和耗时随你设的上限增长，所以务必设。适合需要覆盖某一个站点的场景 —— 文档站、商品目录、竞品博客。它是同步返回的，而 `post_firecrawl_crawl` 不是：那个作为后台任务跑，适合大到等不起的爬取。若只是几个已知页面，[`post_tavily_extract`](https://aisa.one/docs/zh/api-reference/search/post_tavily-extract) 便宜得多；想在付费爬取前先看看站有多大，先跑 [`post_tavily_map`](https://aisa.one/docs/zh/api-reference/search/post_tavily-map)。

> [!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/search/post_tavily-crawl)

## 请求规范

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

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

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

```json theme={null}
{
  "operationId": "post_tavily_crawl",
  "method": "POST",
  "path": "/apis/v1/tavily/crawl",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "properties": {
            "allow_external": {
              "default": true,
              "description": "Include external domain links in the final results list.",
              "type": "boolean"
            },
            "chunks_per_source": {
              "default": 3,
              "description": "Maximum number of relevant chunks returned per source.",
              "maximum": 5,
              "minimum": 1,
              "type": "integer"
            },
            "exclude_domains": {
              "description": "Regex patterns to exclude specific domains or subdomains from crawling.",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "exclude_paths": {
              "description": "Regex patterns to exclude URLs with specific path patterns.",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "extract_depth": {
              "default": "basic",
              "description": "Depth of the extraction process.",
              "enum": [
                "basic",
                "advanced"
              ],
              "type": "string"
            },
            "format": {
              "default": "markdown",
              "description": "Format of the extracted web page content.",
              "enum": [
                "markdown",
                "text"
              ],
              "type": "string"
            },
            "include_favicon": {
              "default": false,
              "description": "Include the favicon URL for each result.",
              "type": "boolean"
            },
            "include_images": {
              "default": false,
              "description": "Include images in the crawl results.",
              "type": "boolean"
            },
            "include_usage": {
              "default": false,
              "description": "Include credit usage information in the response.",
              "type": "boolean"
            },
            "instructions": {
              "description": "Natural language instructions for the crawler.",
              "type": "string"
            },
            "limit": {
              "default": 50,
              "description": "Total number of links the crawler will process before stopping.",
              "minimum": 1,
              "type": "integer"
            },
            "max_breadth": {
              "default": 20,
              "description": "Max number of links to follow per level of the tree.",
              "maximum": 500,
              "minimum": 1,
              "type": "integer"
            },
            "max_depth": {
              "default": 1,
              "description": "Max depth of the crawl.",
              "maximum": 5,
              "minimum": 1,
              "type": "integer"
            },
            "select_domains": {
              "description": "Regex patterns to select crawling to specific domains or subdomains.",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "select_paths": {
              "description": "Regex patterns to select only URLs with specific path patterns.",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "timeout": {
              "default": 150,
              "description": "Maximum time in seconds to wait for the crawl operation.",
              "format": "float",
              "maximum": 150,
              "minimum": 10,
              "type": "number"
            },
            "url": {
              "description": "The root URL to begin the crawl.",
              "example": "docs.tavily.com",
              "type": "string"
            }
          },
          "required": [
            "url"
          ],
          "type": "object"
        }
      }
    },
    "required": true
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 费用与请求规则

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


## OpenAPI

````yaml openapi/zh/tavily.json POST /apis/v1/tavily/crawl
openapi: 3.1.0
info:
  description: ''
  title: Tavily
  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:
    tavily:
      description: ''
      title: Tavily
      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: ea2301436db90d0b30e55885326cd5057bea93ff7d26d9bced8e1ae7f1911ef4
        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/tavily/crawl
    - /apis/v1/tavily/extract
    - /apis/v1/tavily/map
    - /apis/v1/tavily/search
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:4bd4522d1b78a17cc2adcba4cad6fcff2461b0cb414f27db5e5a7cdcb93466cb
    facts_hash: ea2301436db90d0b30e55885326cd5057bea93ff7d26d9bced8e1ae7f1911ef4
    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: tavily
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/tavily/crawl:
    post:
      tags:
        - default
      summary: Start Crawl Process
      description: >-
        Walk a site from a root `url` and return the content of the pages it
        finds. Steer it with natural-language `instructions` plus regex path and
        domain filters, and bound it with `max_depth`, `max_breadth` and
        `limit`. Returns `base_url` and `results[]` with `url` and
        `raw_content`. Measured at about 4.5 seconds for a 3-page limit; cost
        and time grow with the bounds you set, so set them. Use it for broad
        coverage of one site — documentation, a catalogue, a competitor's blog.
        It answers synchronously, which `post_firecrawl_crawl` does not: that
        one runs as a background job and suits crawls too large to wait on. For
        a handful of known pages `post_tavily_extract` is far cheaper; to size a
        site before paying to crawl it, run `post_tavily_map` first.
      operationId: post_tavily_crawl
      requestBody:
        content:
          application/json:
            schema:
              properties:
                allow_external:
                  default: true
                  description: 在最终结果列表中包含外部域名链接。
                  type: boolean
                chunks_per_source:
                  default: 3
                  description: 每个来源返回的相关文本块的最大数量。
                  maximum: 5
                  minimum: 1
                  type: integer
                exclude_domains:
                  description: 用于从抓取中排除特定域名或子域名的正则表达式模式。
                  items:
                    type: string
                  type: array
                exclude_paths:
                  description: 用于排除具有特定路径模式的 URL 的正则表达式模式。
                  items:
                    type: string
                  type: array
                extract_depth:
                  default: basic
                  description: 提取过程的深度。
                  enum:
                    - basic
                    - advanced
                  type: string
                format:
                  default: markdown
                  description: 提取的网页内容格式。
                  enum:
                    - markdown
                    - text
                  type: string
                include_favicon:
                  default: false
                  description: 为每个结果包含 favicon URL。
                  type: boolean
                include_images:
                  default: false
                  description: 在抓取结果中包含图片。
                  type: boolean
                include_usage:
                  default: false
                  description: 在响应中包含信用额度用量信息。
                  type: boolean
                instructions:
                  description: 用于爬虫的自然语言指令。
                  type: string
                limit:
                  default: 50
                  description: 爬虫停止前将处理的链接总数。
                  minimum: 1
                  type: integer
                max_breadth:
                  default: 20
                  description: 树中每一层可跟踪的最大链接数量。
                  maximum: 500
                  minimum: 1
                  type: integer
                max_depth:
                  default: 1
                  description: 最大抓取深度。
                  maximum: 5
                  minimum: 1
                  type: integer
                select_domains:
                  description: 用于选择仅抓取特定域名或子域名的正则表达式模式。
                  items:
                    type: string
                  type: array
                select_paths:
                  description: 用于仅选择具有特定路径模式的 URL 的正则表达式模式。
                  items:
                    type: string
                  type: array
                timeout:
                  default: 150
                  description: 等待抓取操作完成的最长时间（秒）。
                  format: float
                  maximum: 150
                  minimum: 10
                  type: number
                url:
                  description: 开始抓取的根 URL。
                  example: docs.tavily.com
                  type: string
              required:
                - url
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  base_url:
                    description: 已抓取的基础 URL。
                    type: string
                  request_id:
                    description: 唯一请求标识符。
                    type: string
                  response_time:
                    description: 完成请求所用的时间（秒）。
                    format: float
                    type: number
                  results:
                    items:
                      properties:
                        favicon:
                          description: 已抓取页面的 Favicon URL。
                          type: string
                        raw_content:
                          description: 从页面中提取的原始内容。
                          type: string
                        url:
                          description: 已抓取页面的 URL。
                          type: string
                      type: object
                    type: array
                  usage:
                    properties:
                      credits:
                        description: 请求的额度使用详情。
                        type: integer
                    type: object
                type: object
          description: 已成功返回抓取结果。
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
      x-codeSamples:
        - label: Reference example
          lang: text
          source: >-
            # Fixed reference example. Playground inputs do not update this
            sample.

            curl --request POST \
              --url https://api.aisa.one/apis/v1/tavily/crawl \
              --header 'Authorization: Bearer <token>' \
              --header 'Content-Type: application/json' \
              --data '{
              "url": "docs.tavily.com"
            }'
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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