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

# Oxylabs AI-search (Realtime, passthrough)

> 透传 AI 搜索 source: chatgpt/gemini/perplexity/google_search/google_ai_mode;返回 答案+引用+来源URL。Caller 传完整 body(含 source),原样转发 POST /v1/queries。

<!-- aisa-pricing:start -->
Published reference price: $0.00145 USD per successful request. Account-specific pricing and final settlement may differ.
<!-- aisa-pricing:end -->

Currently disabled.

## Request contract

* **Method and path:** POST /apis/v1/oxylabs/ai-search
* **Availability:** disabled

**This endpoint is disabled and cannot be called. Its historical request, schema and pricing declarations are retained for reference.**

* **Request URL template:** [https://api.aisa.one/apis/v1/oxylabs/ai-search](https://api.aisa.one/apis/v1/oxylabs/ai-search)
* **Runtime facts:** fd6c683d6394590130cca48f527e89502ecd64f22a5124fc376844abd882238c

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

Effective request and pricing declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "post_oxylabs_ai_search",
  "method": "POST",
  "path": "/apis/v1/oxylabs/ai-search",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "examples": {
          "google_ai_mode": {
            "summary": "Google AI Mode (google_ai_mode)",
            "value": {
              "geo_location": "United States",
              "parse": true,
              "query": "best noise cancelling headphones 2026",
              "render": "html",
              "source": "google_ai_mode"
            }
          },
          "google_search": {
            "summary": "Google AI Overviews (google_search)",
            "value": {
              "geo_location": "United States",
              "parse": true,
              "query": "best noise cancelling headphones 2026",
              "render": "html",
              "source": "google_search"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "description": "Passthrough body for the Google answer engines. `source` selects the engine; `query`, `render`, `parse`, and `geo_location` are the parameters Google sources expect. Additional upstream parameters are passed through as-is.",
          "properties": {
            "geo_location": {
              "description": "Country-level geo-location for the query, e.g. \"United States\".",
              "example": "United States",
              "type": "string"
            },
            "parse": {
              "description": "Return structured, parsed results instead of raw output. Recommended for every source.",
              "example": true,
              "type": "boolean"
            },
            "query": {
              "description": "The search query. Required for `google_search` and `google_ai_mode`.",
              "example": "best noise cancelling headphones 2026",
              "type": "string"
            },
            "render": {
              "description": "For `google_search` and `google_ai_mode`, set to \"html\" to render the page before parsing.",
              "enum": [
                "html"
              ],
              "example": "html",
              "type": "string"
            },
            "source": {
              "description": "The Google AI answer engine to query. `google_search` returns Google AI Overviews; `google_ai_mode` returns Google AI Mode. For ChatGPT/Gemini/Perplexity use the async endpoint `post_oxylabs_llm` instead.",
              "enum": [
                "google_search",
                "google_ai_mode"
              ],
              "example": "google_search",
              "type": "string"
            }
          },
          "required": [
            "source"
          ],
          "type": "object"
        }
      }
    },
    "required": true
  },
  "x-aisa-status": "disabled",
  "x-aisa-pricing": {
    "cost_contract": "fixed_success",
    "customer_multiplier": 1.45,
    "customer_pricing": "provider_cost_multiplier",
    "default_request_estimate_usd": 0.00145,
    "estimate_source": "profile_seed",
    "evidence_source": "request_snapshot"
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

Published reference price: \$0.00145 USD per successful request. Account-specific pricing and final settlement may differ.

Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.

* **Default request reference estimate (USD):** 0.00145
* **Cost contract:** fixed\_success
* **Published reference multiplier:** 1.45
* **Settlement evidence source:** request\_snapshot


## OpenAPI

````yaml openapi/oxylabs.json POST /apis/v1/oxylabs/ai-search
openapi: 3.1.0
info:
  description: ''
  title: Oxylabs Web Scraper API (Realtime)
  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:
    oxylabs:
      description: ''
      title: Oxylabs Web Scraper API (Realtime)
      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: fd6c683d6394590130cca48f527e89502ecd64f22a5124fc376844abd882238c
        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/oxylabs/ai-search
  x-aisa-document:
    composer_version: '26'
    document_hash: sha256:fad3ab4f2114f2b9b6aab0db4da253df705ea34eb3a6c686d52bc89f1bb5ac6d
    facts_hash: fd6c683d6394590130cca48f527e89502ecd64f22a5124fc376844abd882238c
    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: oxylabs
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/oxylabs/ai-search:
    post:
      tags:
        - oxylabs
      summary: Oxylabs AI-search (Realtime, passthrough)
      description: >-
        透传 AI 搜索 source:
        chatgpt/gemini/perplexity/google_search/google_ai_mode;返回
        答案+引用+来源URL。Caller 传完整 body(含 source),原样转发 POST /v1/queries。


        <!-- aisa-pricing:start -->

        Published reference price: $0.00145 USD per successful request.
        Account-specific pricing and final settlement may differ.

        <!-- aisa-pricing:end -->
      operationId: post_oxylabs_ai_search
      requestBody:
        content:
          application/json:
            examples:
              google_ai_mode:
                summary: Google AI Mode (google_ai_mode)
                value:
                  geo_location: United States
                  parse: true
                  query: best noise cancelling headphones 2026
                  render: html
                  source: google_ai_mode
              google_search:
                summary: Google AI Overviews (google_search)
                value:
                  geo_location: United States
                  parse: true
                  query: best noise cancelling headphones 2026
                  render: html
                  source: google_search
            schema:
              additionalProperties: true
              description: >-
                Passthrough body for the Google answer engines. `source` selects
                the engine; `query`, `render`, `parse`, and `geo_location` are
                the parameters Google sources expect. Additional upstream
                parameters are passed through as-is.
              properties:
                geo_location:
                  description: >-
                    Country-level geo-location for the query, e.g. "United
                    States".
                  example: United States
                  type: string
                parse:
                  description: >-
                    Return structured, parsed results instead of raw output.
                    Recommended for every source.
                  example: true
                  type: boolean
                query:
                  description: >-
                    The search query. Required for `google_search` and
                    `google_ai_mode`.
                  example: best noise cancelling headphones 2026
                  type: string
                render:
                  description: >-
                    For `google_search` and `google_ai_mode`, set to "html" to
                    render the page before parsing.
                  enum:
                    - html
                  example: html
                  type: string
                source:
                  description: >-
                    The Google AI answer engine to query. `google_search`
                    returns Google AI Overviews; `google_ai_mode` returns Google
                    AI Mode. For ChatGPT/Gemini/Perplexity use the async
                    endpoint `post_oxylabs_llm` instead.
                  enum:
                    - google_search
                    - google_ai_mode
                  example: google_search
                  type: string
              required:
                - source
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  results:
                    description: >-
                      One entry per query. A Realtime single query returns
                      exactly one result, which is the billed unit.
                    items:
                      properties:
                        content:
                          description: >-
                            Parsed answer payload. The structure varies by the
                            Google source:

                            - `google_search` → `content.results.ai_overviews[]`
                            with `answer_text` and `references[]{source, url}`
                            (shown below).

                            - `google_ai_mode` → `content.citations[]{text,
                            urls[]}`.
                          properties:
                            results:
                              description: Google-type parsed results container.
                              properties:
                                ai_overviews:
                                  description: Google AI Overviews returned for the query.
                                  items:
                                    properties:
                                      answer_text:
                                        description: >-
                                          The AI-generated answer, split into
                                          fragments that may carry inline
                                          references.
                                        items:
                                          properties:
                                            fragments:
                                              items:
                                                properties:
                                                  references:
                                                    items: {}
                                                    type: array
                                                type: object
                                              type: array
                                          type: object
                                        type: array
                                      references:
                                        description: Cited sources for this overview.
                                        items:
                                          properties:
                                            source:
                                              type: string
                                            url:
                                              type: string
                                          type: object
                                        type: array
                                    type: object
                                  type: array
                              type: object
                          type: object
                      type: object
                    type: array
                type: object
          description: >-
            Query completed successfully. `results[]` holds one result per
            query. The parsed shape inside `content` varies by source (see
            property descriptions); the example below shows the `google_search`
            (Google AI Overviews) shape.
        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/oxylabs/ai-search \
              --header 'Authorization: Bearer <token>' \
              --header 'Content-Type: application/json' \
              --data '{
              "source": "google_search"
            }'
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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