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

# Get Map Data

> List a site's URLs from a root url without fetching any page content.

List a site's URLs from a root `url` without fetching any page content. Steer it with natural-language `instructions` and regex `select_paths` / `exclude_paths` / `select_domains` filters. Returns `base_url` and `results` — **a flat array of URL strings, not objects** — with `response_time` and `request_id`. Fast and cheap: measured at about 1.5 seconds. Use it to size a site before committing to a crawl, then fetch only the parts that matter with [`post_tavily_extract`](https://aisa.one/docs/api-reference/search/post_tavily-extract). When you want the content rather than the shape, [`post_tavily_crawl`](https://aisa.one/docs/api-reference/search/post_tavily-crawl) does both in one call.

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

## Request contract

* **Method and path:** POST /apis/v1/tavily/map
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/tavily/map`

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

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "post_tavily_map",
  "method": "POST",
  "path": "/apis/v1/tavily/map",
  "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"
            },
            "exclude_domains": {
              "description": "Regex patterns to exclude specific domains or subdomains from mapping.",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "exclude_paths": {
              "description": "Regex patterns to exclude URLs with specific path patterns.",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "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 mapping.",
              "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 map operation.",
              "format": "float",
              "maximum": 150,
              "minimum": 10,
              "type": "number"
            },
            "url": {
              "description": "The root URL to begin the mapping.",
              "example": "docs.tavily.com",
              "type": "string"
            }
          },
          "required": [
            "url"
          ],
          "type": "object"
        }
      }
    },
    "required": true
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

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


## OpenAPI

````yaml openapi/tavily.json POST /apis/v1/tavily/map
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/map:
    post:
      tags:
        - default
      summary: Get Map Data
      description: >-
        List a site's URLs from a root `url` without fetching any page content.
        Steer it with natural-language `instructions` and regex `select_paths` /
        `exclude_paths` / `select_domains` filters. Returns `base_url` and
        `results` — **a flat array of URL strings, not objects** — with
        `response_time` and `request_id`. Fast and cheap: measured at about 1.5
        seconds. Use it to size a site before committing to a crawl, then fetch
        only the parts that matter with `post_tavily_extract`. When you want the
        content rather than the shape, `post_tavily_crawl` does both in one
        call.
      operationId: post_tavily_map
      requestBody:
        content:
          application/json:
            schema:
              properties:
                allow_external:
                  default: true
                  description: Include external domain links in the final results list.
                  type: boolean
                exclude_domains:
                  description: >-
                    Regex patterns to exclude specific domains or subdomains
                    from mapping.
                  items:
                    type: string
                  type: array
                exclude_paths:
                  description: Regex patterns to exclude URLs with specific path patterns.
                  items:
                    type: string
                  type: array
                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 mapping.
                  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 map operation.
                  format: float
                  maximum: 150
                  minimum: 10
                  type: number
                url:
                  description: The root URL to begin the mapping.
                  example: docs.tavily.com
                  type: string
              required:
                - url
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  base_url:
                    description: The base URL that was mapped.
                    type: string
                  request_id:
                    description: Unique request identifier.
                    type: string
                  response_time:
                    description: Time in seconds it took to complete the request.
                    format: float
                    type: number
                  results:
                    items:
                      description: URLs discovered during the mapping.
                      type: string
                    type: array
                  usage:
                    properties:
                      credits:
                        description: Credit usage details for the request.
                        type: integer
                    type: object
                type: object
          description: Map results returned successfully.
        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/map \
              --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.