> ## 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 TikTok Top results

> Searches TikTok Top results (mixed content, not videos only) by keyword. Required input: `query`. Results are paged: while `data.page.hasMore` is true, send `data.page.nextCursor` as `cursor` to get the next page.

> **Request example pending verification.** The request example for this endpoint has not yet been verified in production. Static examples describe the request format; replace sample values with your own. Check the estimated price with a free quote request (`X-AISA-Cost-Mode: quote`) before running it.

## Request contract

* **Method and path:** GET /apis/v1/tiktok/search/top
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/tiktok/search/top`
* **cursor:** query; optional
* **datePosted:** query; optional
* **query:** query; required
* **region:** query; optional
* **sortBy:** query; optional

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

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "tiktok.search.top",
  "method": "GET",
  "path": "/apis/v1/tiktok/search/top",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [
    {
      "in": "query",
      "name": "cursor",
      "required": false,
      "schema": {
        "description": "Opaque pagination cursor returned by a previous response.",
        "maxLength": 16384,
        "minLength": 1,
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "datePosted",
      "required": false,
      "schema": {
        "description": "Optional upload date filter for video results.",
        "enum": [
          "all-time",
          "last-3-months",
          "last-6-months",
          "this-month",
          "this-week",
          "yesterday"
        ],
        "maxLength": 4096,
        "minLength": 1,
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "query",
      "required": true,
      "schema": {
        "description": "Search query text for TikTok Top results.",
        "maxLength": 4096,
        "minLength": 1,
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "region",
      "required": false,
      "schema": {
        "description": "Optional two-letter ISO 3166-1 country code for localized search results.",
        "maxLength": 4096,
        "minLength": 1,
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "sortBy",
      "required": false,
      "schema": {
        "description": "Optional sort order for search results.",
        "enum": [
          "date-posted",
          "most-liked",
          "relevance"
        ],
        "maxLength": 4096,
        "minLength": 1,
        "type": "string"
      }
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Observed response structure

The response observations below come from successful probes or sampled requests. They are partial: fields and types may vary, and no field is guaranteed to be present. Reviewed response definitions take precedence. No real response values are published.

* **HTTP status / last observed:** 200 / 2026-11-28

```json theme={null}
{
  "additionalProperties": true,
  "properties": {
    "aisa_pagination": {
      "additionalProperties": true,
      "properties": {
        "has_more": {
          "type": "boolean"
        },
        "next_cursor": {
          "type": "string"
        },
        "next_param": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "data": {
      "additionalProperties": true,
      "properties": {
        "items": {
          "items": {
            "additionalProperties": true,
            "properties": {
              "author": {
                "additionalProperties": true,
                "properties": {
                  "avatarUrl": {
                    "type": "string"
                  },
                  "displayName": {
                    "type": "string"
                  },
                  "handle": {
                    "type": "string"
                  },
                  "id": {
                    "type": "string"
                  },
                  "verified": {
                    "type": "boolean"
                  }
                },
                "type": "object"
              },
              "createdAt": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "media": {
                "additionalProperties": true,
                "type": "object"
              },
              "thumbnailUrl": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "type": "array"
        },
        "page": {
          "additionalProperties": true,
          "properties": {
            "hasMore": {
              "type": "boolean"
            },
            "nextCursor": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "query": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "meta": {
      "additionalProperties": true,
      "properties": {
        "version": {
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "type": "object"
}
```

## Cost and request rules

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

### Request constraints and usage notes

* Some numeric ids inside \`details\` are larger than 2^53 (9007199254740992) and may not be exact: digits beyond that precision can differ from the real id. When you need an exact id, use the top-level string ids (such as \`id\`) or the matching \`\*\_str\` string fields (for example \`details.music.id\_str\`).

## Pagination

* Pass `aisa_pagination.next_cursor` as `cursor` (query parameter) to fetch the next page; stop when `aisa_pagination.has_more` is false.
* The same values are returned in the `X-AISA-Has-More` and `X-AISA-Next-Cursor` response headers.

## Response time

* Typically returns within 10 seconds.


## OpenAPI

````yaml openapi-public/tiktok.json GET /apis/v1/tiktok/search/top
openapi: 3.1.0
info:
  description: ''
  title: TikTok
  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:
    tiktok:
      description: ''
      title: TikTok
      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: 0424d237ce9ac91d72c899e856bf8e31bbcfe376d66f9740a6615c49301a6ca3
        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/tiktok/ad-library/ads
    - /apis/v1/tiktok/ad-library/ads/search
    - /apis/v1/tiktok/collections/videos
    - /apis/v1/tiktok/feed/trending
    - /apis/v1/tiktok/live
    - /apis/v1/tiktok/music/{clipId}/videos
    - /apis/v1/tiktok/products
    - /apis/v1/tiktok/products/reviews
    - /apis/v1/tiktok/profiles/{handle}
    - /apis/v1/tiktok/profiles/{handle}/audience
    - /apis/v1/tiktok/profiles/{handle}/engagement
    - /apis/v1/tiktok/profiles/{handle}/followers
    - /apis/v1/tiktok/profiles/{handle}/following
    - /apis/v1/tiktok/profiles/{handle}/live
    - /apis/v1/tiktok/profiles/{handle}/region
    - /apis/v1/tiktok/profiles/{handle}/showcase-products
    - /apis/v1/tiktok/profiles/{handle}/videos
    - /apis/v1/tiktok/search
    - /apis/v1/tiktok/search/hashtags
    - /apis/v1/tiktok/search/suggestions
    - /apis/v1/tiktok/search/top
    - /apis/v1/tiktok/shop/products
    - /apis/v1/tiktok/shop/products/search
    - /apis/v1/tiktok/songs
    - /apis/v1/tiktok/users/search
    - /apis/v1/tiktok/videos
    - /apis/v1/tiktok/videos/comments
    - /apis/v1/tiktok/videos/comments/replies
    - /apis/v1/tiktok/videos/download
    - /apis/v1/tiktok/videos/transcript
  x-aisa-document:
    composer_version: '31'
    facts_hash: 0424d237ce9ac91d72c899e856bf8e31bbcfe376d66f9740a6615c49301a6ca3
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
    public_projection:
      version: '4'
      source_document_hash: sha256:8e9b6a276ad49821408b746398b3bae74543d710b864bfdbc64e9333b44541f3
    document_hash: sha256:941dbd71e2389dfb81a6674474af8038a062a6ab5777e77d72033d9d53a651b0
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: tiktok
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/tiktok/search/top:
    get:
      tags:
        - TikTok
      summary: Search TikTok Top results
      description: >-
        Searches TikTok Top results (mixed content, not videos only) by keyword.
        Required input: `query`. Results are paged: while `data.page.hasMore` is
        true, send `data.page.nextCursor` as `cursor` to get the next page.


        > **Request example pending verification.** The request example for this
        endpoint has not yet been verified in production. Static examples
        describe the request format; replace sample values with your own. Check
        the estimated price with a free quote request (`X-AISA-Cost-Mode:
        quote`) before running it.
      operationId: tiktok.search.top
      parameters:
        - in: query
          name: cursor
          required: false
          schema:
            description: Opaque pagination cursor returned by a previous response.
            maxLength: 16384
            minLength: 1
            type: string
        - in: query
          name: datePosted
          required: false
          schema:
            description: Optional upload date filter for video results.
            enum:
              - all-time
              - last-3-months
              - last-6-months
              - this-month
              - this-week
              - yesterday
            maxLength: 4096
            minLength: 1
            type: string
        - in: query
          name: query
          required: true
          schema:
            description: Search query text for TikTok Top results.
            maxLength: 4096
            minLength: 1
            type: string
        - in: query
          name: region
          required: false
          schema:
            description: >-
              Optional two-letter ISO 3166-1 country code for localized search
              results.
            maxLength: 4096
            minLength: 1
            type: string
        - in: query
          name: sortBy
          required: false
          schema:
            description: Optional sort order for search results.
            enum:
              - date-posted
              - most-liked
              - relevance
            maxLength: 4096
            minLength: 1
            type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                empty:
                  value:
                    data:
                      items: []
                      page:
                        hasMore: false
                        nextCursor: null
                      query: funny
                    meta:
                      creditsCharged: 1
                      requestId: req_4e2a29df-31aa-445e-a547-7d08718277a9
                      version: v1
                paginated:
                  value:
                    data:
                      items:
                        - author:
                            avatarUrl: >-
                              https://p19-common-sign.tiktokcdn-us.com/tos-useast2a-avt-0068-euttp/748e2fcdcb621cfbd050e5bdbcac1f00~tplv-tiktokx-crop…
                            displayName: Funny😍
                            handle: gillianmendoza20041
                            id: '7287153364050412577'
                            verified: false
                          caption: >-
                            The End 🤣🤣 #funny #funnyvideos #animals #dog #cat
                            #pet #viarl #foryou #fyp (2596)
                          createdAt: '2024-02-12T02:05:20.000Z'
                          details:
                            desc_language: en
                            is_eligible_for_commission: false
                            is_paid_partnership: false
                            music:
                              author: Funny😍
                              duration: 8
                              id: 7334530747874708000
                              matched_song: {}
                              play_url: >-
                                https://sf16.tiktokcdn-us.com/obj/ies-music-euttp/7334530714741672737.mp3
                              title: original sound - gillianmendoza20041
                            region: US
                            shop_product_url: null
                          durationMs: 8934
                          id: '7334530551099034913'
                          isAd: false
                          media:
                            downloadUrl: >-
                              https://v19.tiktokcdn-us.com/ca967d42562fc68b4f5073ac8c50fa9a/6a8b9fb6/video/tos/no1a/tos-no1a-ve-37c710-no/o0fE3IcGg7m…
                            downloadWithoutWatermarkUrl: >-
                              https://v19.tiktokcdn-us.com/46004a8beb58e2d60773b9ac8ce60dfc/6a8b9fb6/video/tos/useast2a/tos-useast2a-ve-68c810-euttp/…
                            slideshowImages: []
                          mediaType: video
                          pinned: false
                          stats:
                            comments: 3818
                            likes: 1316988
                            saves: 171093
                            shares: 91319
                            views: 11288551
                          thumbnailUrl: >-
                            https://p16-common-sign.tiktokcdn-us.com/tos-useast2a-p-0037-euttp/o82E1sLk7QGo1YCAkcjge5I8LlgRreRGeNVveE~tplv-x7g4mazu…
                          url: >-
                            https://www.tiktok.com/@gillianmendoza20041/video/7334530551099034913
                      page:
                        hasMore: true
                        nextCursor: eyJjIjoiNjAifQ
                      query: funny
                    meta:
                      creditsCharged: 1
                      requestId: req_22f493d3-ee4b-4ce1-a7a4-7010f56d6839
                      version: v1
                sample:
                  value:
                    data:
                      items:
                        - author:
                            avatarUrl: >-
                              https://p16-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/1172ac28731053147f64d3b7ff636f61~tplv-tiktokx-cropcenter-q…
                            displayName: user15062103140
                            handle: fabflaps.romano9741
                            id: '7665742042623263766'
                            verified: false
                          caption: 'this is so true #funny #cool #backtoit #oldtimes'
                          createdAt: '2026-08-22T23:28:19.000Z'
                          details:
                            desc_language: en
                            is_eligible_for_commission: false
                            is_paid_partnership: false
                            music:
                              author: andi opi
                              duration: 14
                              id: 7642755575378103000
                              matched_song:
                                author: Virality
                                id: '7660833800806057985'
                                title: Jumperviolin
                              play_url: >-
                                https://v19.tiktokcdn-us.com/fcc232da2a272519a9666743f90a0735/6a948606/video/tos/alisg/tos-alisg-v-27dcd7/o0agvZhzC0WUI…
                              title: original sound - andi.opi5
                            region: GB
                            shop_product_url: null
                          durationMs: 6154
                          id: '7677001872506588418'
                          isAd: false
                          media:
                            downloadUrl: >-
                              https://v19.tiktokcdn-us.com/514c58223b5daabcd4fd87d1a7ca6273/6a8b9f94/video/tos/no1a/tos-no1a-ve-0068c001-no/ooFUuqjBf…
                            downloadWithoutWatermarkUrl: >-
                              https://v19.tiktokcdn-us.com/4fac67f5f667c1a439e48c1bef909f20/6a8b9f94/video/tos/no1a/tos-no1a-ve-0068c001-no/oQhgUYMQA…
                            slideshowImages: []
                          mediaType: video
                          pinned: false
                          stats:
                            comments: 7709
                            likes: 2141043
                            saves: 135980
                            shares: 295047
                            views: 10193130
                          thumbnailUrl: >-
                            https://p16-common-sign.tiktokcdn-us.com/tos-no1a-p-0037-no/owiTILALIIfLijBAeLIFwCQG72MhGeFDIJEVpK~tplv-x7g4mazu7z-crop…
                          url: >-
                            https://www.tiktok.com/@fabflaps.romano9741/video/7677001872506588418
                      page:
                        hasMore: true
                        nextCursor: eyJjIjoiMzAifQ
                      query: funny
                    meta:
                      creditsCharged: 1
                      requestId: req_1ba4fdb8-7566-4b53-9aab-cc9110e532d9
                      version: v1
                slideshow:
                  value:
                    data:
                      items:
                        - author:
                            avatarUrl: >-
                              https://p16-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/1172ac28731053147f64d3b7ff636f61~tplv-tiktokx-cropcenter-q…
                            displayName: user15062103140
                            handle: fabflaps.romano9741
                            id: '7665742042623263766'
                            verified: false
                          caption: 'this is so true #funny #cool #backtoit #oldtimes'
                          createdAt: '2026-08-22T23:28:19.000Z'
                          details:
                            desc_language: en
                            is_eligible_for_commission: false
                            is_paid_partnership: false
                            music:
                              author: andi opi
                              duration: 14
                              id: 7642755575378103000
                              matched_song:
                                author: Virality
                                id: '7660833800806057985'
                                title: Jumperviolin
                              play_url: >-
                                https://v19.tiktokcdn-us.com/fcc232da2a272519a9666743f90a0735/6a948606/video/tos/alisg/tos-alisg-v-27dcd7/o0agvZhzC0WUI…
                              title: original sound - andi.opi5
                            region: GB
                            shop_product_url: null
                          durationMs: 6154
                          id: '7677001872506588418'
                          isAd: false
                          media:
                            downloadUrl: >-
                              https://v19.tiktokcdn-us.com/514c58223b5daabcd4fd87d1a7ca6273/6a8b9f94/video/tos/no1a/tos-no1a-ve-0068c001-no/ooFUuqjBf…
                            downloadWithoutWatermarkUrl: >-
                              https://v19.tiktokcdn-us.com/4fac67f5f667c1a439e48c1bef909f20/6a8b9f94/video/tos/no1a/tos-no1a-ve-0068c001-no/oQhgUYMQA…
                            slideshowImages: []
                          mediaType: video
                          pinned: false
                          stats:
                            comments: 7709
                            likes: 2141043
                            saves: 135980
                            shares: 295047
                            views: 10193130
                          thumbnailUrl: >-
                            https://p16-common-sign.tiktokcdn-us.com/tos-no1a-p-0037-no/owiTILALIIfLijBAeLIFwCQG72MhGeFDIJEVpK~tplv-x7g4mazu7z-crop…
                          url: >-
                            https://www.tiktok.com/@fabflaps.romano9741/video/7677001872506588418
                      page:
                        hasMore: true
                        nextCursor: eyJjIjoiMzAifQ
                      query: funny
                    meta:
                      creditsCharged: 1
                      requestId: req_1ba4fdb8-7566-4b53-9aab-cc9110e532d9
                      version: v1
              schema:
                description: Standard success response envelope.
                properties:
                  aisa_pagination:
                    additionalProperties: false
                    description: >-
                      AIsa pagination. Pass next_cursor as cursor to fetch the
                      next page; has_more is false on the last page.
                    properties:
                      has_more:
                        type: boolean
                      next_cursor:
                        type:
                          - string
                          - 'null'
                      next_param:
                        const: cursor
                        type: string
                    required:
                      - has_more
                      - next_cursor
                      - next_param
                    type: object
                  data:
                    description: Endpoint-specific response payload.
                    properties:
                      items:
                        description: Matching TikTok posts (videos and photo slideshows).
                        items:
                          description: TikTok post in Top search results.
                          properties:
                            author:
                              description: Author metadata for this Top search result.
                              properties:
                                avatarUrl:
                                  description: >-
                                    Avatar image URL for the author when
                                    available.
                                  type:
                                    - string
                                    - 'null'
                                displayName:
                                  description: Display name for the author when available.
                                  type:
                                    - string
                                    - 'null'
                                handle:
                                  description: TikTok handle for the author when available.
                                  type:
                                    - string
                                    - 'null'
                                id:
                                  description: >-
                                    TikTok user id for the author when
                                    available.
                                  type:
                                    - string
                                    - 'null'
                                verified:
                                  description: Whether the author is verified on TikTok.
                                  type: boolean
                              required:
                                - id
                                - handle
                                - displayName
                                - avatarUrl
                                - verified
                              type: object
                            caption:
                              description: Caption text shown for the post.
                              type:
                                - string
                                - 'null'
                            createdAt:
                              description: When the post was created (ISO-8601).
                              type:
                                - string
                                - 'null'
                            details:
                              additionalProperties: {}
                              description: Additional TikTok-native fields for this post.
                              properties: {}
                              type: object
                            durationMs:
                              description: Duration in milliseconds when available.
                              minimum: 0
                              type:
                                - integer
                                - 'null'
                            id:
                              description: TikTok post identifier.
                              minLength: 1
                              type: string
                            isAd:
                              description: Whether TikTok marks the post as an ad.
                              type: boolean
                            media:
                              description: Media URLs for the post.
                              properties:
                                downloadUrl:
                                  description: Downloadable video URL when available.
                                  type:
                                    - string
                                    - 'null'
                                downloadWithoutWatermarkUrl:
                                  description: >-
                                    Download URL without watermark when
                                    available.
                                  type:
                                    - string
                                    - 'null'
                                slideshowImages:
                                  description: >-
                                    Ordered image URLs for photo slideshow
                                    posts. Empty for videos.
                                  items:
                                    type: string
                                  type: array
                              required:
                                - downloadUrl
                                - downloadWithoutWatermarkUrl
                                - slideshowImages
                              type: object
                            mediaType:
                              description: >-
                                Whether the post is a video or a photo
                                slideshow.
                              enum:
                                - video
                                - slideshow
                              type: string
                            pinned:
                              description: >-
                                Whether TikTok marks the post as pinned in this
                                result set.
                              type: boolean
                            stats:
                              description: Engagement metrics for the post.
                              properties:
                                comments:
                                  description: >-
                                    Comment count reported by TikTok for the
                                    video.
                                  minimum: 0
                                  type: integer
                                likes:
                                  description: Like count reported by TikTok for the video.
                                  minimum: 0
                                  type: integer
                                saves:
                                  description: >-
                                    Save or collection count reported by TikTok
                                    for the video.
                                  minimum: 0
                                  type: integer
                                shares:
                                  description: >-
                                    Share count reported by TikTok for the
                                    video.
                                  minimum: 0
                                  type: integer
                                views:
                                  description: View count reported by TikTok for the video.
                                  minimum: 0
                                  type: integer
                              required:
                                - views
                                - likes
                                - comments
                                - shares
                                - saves
                              type: object
                            thumbnailUrl:
                              description: Thumbnail or cover image URL when available.
                              type:
                                - string
                                - 'null'
                            url:
                              description: Canonical public TikTok URL for the post.
                              type:
                                - string
                                - 'null'
                          required:
                            - id
                            - caption
                            - createdAt
                            - url
                            - thumbnailUrl
                            - durationMs
                            - mediaType
                            - pinned
                            - isAd
                            - stats
                            - media
                            - author
                          type: object
                        type: array
                      page:
                        description: Pagination state for the current Top search page.
                        properties:
                          hasMore:
                            description: Whether another page is available.
                            type: boolean
                          nextCursor:
                            description: >-
                              Cursor to pass in the next request when more pages
                              exist; null on the last page.
                            type:
                              - string
                              - 'null'
                        required:
                          - hasMore
                          - nextCursor
                        type: object
                      query:
                        description: Search query that was evaluated for this response.
                        type: string
                    required:
                      - query
                      - items
                      - page
                    type: object
                  meta:
                    description: Metadata describing the request and billing outcome.
                    properties:
                      creditsCharged:
                        description: Credits charged for this request.
                        minimum: 0
                        type: integer
                      requestId:
                        description: Unique request identifier for tracing this API call.
                        minLength: 1
                        type: string
                      version:
                        description: Public API version that served the response.
                        enum:
                          - v1
                        type: string
                    required:
                      - requestId
                      - creditsCharged
                      - version
                    type: object
                required:
                  - data
                  - meta
                type: object
          description: Top search results for the requested query.
          headers:
            X-AISA-Has-More:
              description: Mirrors aisa_pagination.has_more.
              schema:
                enum:
                  - 'true'
                  - 'false'
                type: string
            X-AISA-Next-Cursor:
              description: Mirrors aisa_pagination.next_cursor; absent on the last page.
              schema:
                type: string
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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