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

# Contents

> Fetch page text and metadata for URLs you already have.

Fetch page text and metadata for URLs you already have. `ids` is required and takes the `id` values from [`post_exa_search`](https://aisa.one/docs/api-reference/search/post_exa-search) — which are plain URLs, so any URL works. Toggle `text`, `highlights`, `summary`, `subpages` and `livecrawl`. Returns `results[]` with `id`, `title`, `url`, `author` and `text`, plus a **`statuses[]` array giving per-URL `status` and `source`** — read it, because a URL that could not be fetched is reported there rather than raising. Cached results are served instantly; a miss falls back to a live crawl. Measured at 1.2 seconds. Pricing depends on the actual request and response-derived usage; obtain a fresh quote for your request and check the final charge. For a whole site rather than a URL list, [`post_firecrawl_crawl`](https://aisa.one/docs/api-reference/search/post_firecrawl-crawl).

> [!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_exa-contents)

## Request contract

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

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

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "post_exa_contents",
  "method": "POST",
  "path": "/apis/v1/exa/contents",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "properties": {
            "highlights": {
              "description": "Return highlighted relevant snippets.",
              "type": "boolean"
            },
            "ids": {
              "description": "The URLs (or Exa result ids) to fetch contents for.",
              "example": [
                "https://example.com/article"
              ],
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "livecrawl": {
              "description": "Freshness policy: always live-crawl, fall back to live crawl on cache miss, or never live-crawl.",
              "enum": [
                "always",
                "fallback",
                "never"
              ],
              "type": "string"
            },
            "stream": {
              "default": false,
              "enum": [
                false
              ],
              "type": "boolean"
            },
            "subpages": {
              "description": "Number of linked subpages to also fetch.",
              "type": "integer"
            },
            "summary": {
              "description": "Return an AI-generated summary of the page.",
              "type": "boolean"
            },
            "text": {
              "description": "Return the full page text.",
              "type": "boolean"
            }
          },
          "required": [
            "ids"
          ],
          "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.002 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.


## OpenAPI

````yaml openapi/exa.json POST /apis/v1/exa/contents
openapi: 3.1.0
info:
  description: ''
  title: Exa
  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:
    exa:
      description: ''
      title: Exa
      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: d10529a4463a002dd39ad505e0bc30212230a00b2034082221e854d90728a9b8
        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/exa/agent/runs
    - /apis/v1/exa/answer
    - /apis/v1/exa/contents
    - /apis/v1/exa/search
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:ab46e78f199b7355eb8b0849ccc6b69f09ed9c898a6d7b83d8a86b70a43c863a
    facts_hash: d10529a4463a002dd39ad505e0bc30212230a00b2034082221e854d90728a9b8
    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: exa
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/exa/contents:
    post:
      tags:
        - default
      summary: Contents
      description: >-
        Fetch page text and metadata for URLs you already have. `ids` is
        required and takes the `id` values from `post_exa_search` — which are
        plain URLs, so any URL works. Toggle `text`, `highlights`, `summary`,
        `subpages` and `livecrawl`. Returns `results[]` with `id`, `title`,
        `url`, `author` and `text`, plus a **`statuses[]` array giving per-URL
        `status` and `source`** — read it, because a URL that could not be
        fetched is reported there rather than raising. Cached results are served
        instantly; a miss falls back to a live crawl. Measured at 1.2 seconds.
        Use current endpoint pricing and a fresh quote for this request. For a
        whole site rather than a URL list, `post_firecrawl_crawl`.
      operationId: post_exa_contents
      requestBody:
        content:
          application/json:
            schema:
              properties:
                highlights:
                  description: Return highlighted relevant snippets.
                  type: boolean
                ids:
                  description: The URLs (or Exa result ids) to fetch contents for.
                  example:
                    - https://example.com/article
                  items:
                    type: string
                  type: array
                livecrawl:
                  description: >-
                    Freshness policy: always live-crawl, fall back to live crawl
                    on cache miss, or never live-crawl.
                  enum:
                    - always
                    - fallback
                    - never
                  type: string
                stream:
                  default: false
                  enum:
                    - false
                  type: boolean
                subpages:
                  description: Number of linked subpages to also fetch.
                  type: integer
                summary:
                  description: Return an AI-generated summary of the page.
                  type: boolean
                text:
                  description: Return the full page text.
                  type: boolean
              required:
                - ids
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  requestId:
                    type: string
                  results:
                    items:
                      properties:
                        author:
                          type: string
                        highlights:
                          items:
                            type: string
                          type: array
                        id:
                          type: string
                        publishedDate:
                          type: string
                        summary:
                          type: string
                        text:
                          type: string
                        title:
                          type: string
                        url:
                          type: string
                      type: object
                    type: array
                type: object
          description: Contents fetched 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/exa/contents \
              --header 'Authorization: Bearer <token>' \
              --header 'Content-Type: application/json' \
              --data '{
              "ids": [
                "https://example.com/article"
              ]
            }'
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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