{
  "components": {
    "callbacks": {},
    "examples": {},
    "headers": {},
    "links": {},
    "parameters": {},
    "pathItems": {},
    "requestBodies": {},
    "responses": {},
    "schemas": {},
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "description": "",
    "title": "Search",
    "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": {
      "search": {
        "description": "",
        "title": "Search",
        "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": "2d91cc2e3cdc5e843b48489e7c1ef47a0cf03ed51d5ab6cc38ec8ea5a9711c3e",
          "generator_version": "3",
          "protocol_version": "1",
          "schema_version": "1"
        },
        "x-aisa-plans": {
          "builder": 1.0,
          "display_plan": "payg",
          "payg": 1.0,
          "similarweb_payg": 1.0,
          "team": 1.0,
          "version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"
        }
      }
    },
    "x-aisa-configured-paths": [
      "/apis/v1/search/full",
      "/apis/v1/search/smart"
    ],
    "x-aisa-document": {
      "composer_version": "31",
      "document_hash": "sha256:5300860ba78b9a01b73edccbc8f12381d9d396f63e425f7ba5804dbef289188e",
      "facts_hash": "2d91cc2e3cdc5e843b48489e7c1ef47a0cf03ed51d5ab6cc38ec8ea5a9711c3e",
      "generator_version": "3",
      "protocol_version": "1",
      "response_pending": [],
      "schema_version": "1"
    },
    "x-aisa-plans": {
      "builder": 1.0,
      "display_plan": "payg",
      "payg": 1.0,
      "similarweb_payg": 1.0,
      "team": 1.0,
      "version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"
    },
    "x-aisa-provider": "search"
  },
  "jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
  "openapi": "3.1.0",
  "paths": {
    "/apis/v1/search/full": {
      "get": {
        "description": "Searchfor web content and retrieve full text content with advanced filtering optionsincluding freshness, market, and safety filters",
        "operationId": "any_search_apis_v1_search_full",
        "parameters": [
          {
            "description": "Atwo-character country code indicating the country from which the resultoriginated.",
            "in": "query",
            "name": "cc",
            "required": false,
            "schema": {
              "maxLength": 2,
              "type": "string"
            }
          },
          {
            "description": "Enumeration value that affects the format of the full text contentreturned",
            "in": "query",
            "name": "contentType",
            "required": false,
            "schema": {
              "enum": [
                "HTML",
                "MARKDOWN"
              ],
              "type": "string"
            }
          },
          {
            "description": "Number of search results included in the return results",
            "in": "query",
            "name": "count",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Filter search results by time values: Day, Week, Month. To get articleswithin a specific time range, specify a date range in the formatYYYY-MM-DD..YYYY-MM-DD. For example, 2019-02-01..2019-05-30.",
            "in": "query",
            "name": "freshness",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Themarket from which the results come. Usually, mkt is the country where the usermade the request. The market must be in the language-country format. Forexample, en-US. The string is case-insensitive.",
            "in": "query",
            "name": "mkt",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Theoffset from zero, indicating the number of search results to skip beforereturning results. The default value is 0. Use this parameter with the countparameter to paginate the results.",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int16",
              "type": "integer"
            }
          },
          {
            "description": "Theuser's search query. This string cannot be empty. The query can containadvanced operators.",
            "in": "query",
            "name": "q",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Usedto filter adult content in web pages, images, and videos.",
            "in": "query",
            "name": "safeSearch",
            "required": false,
            "schema": {
              "enum": [
                "Off",
                "Moderate",
                "Strict"
              ],
              "type": "string"
            }
          },
          {
            "description": "Thelanguage for User Interface strings. You can use a 2-letter or 4-letter code tospecify the language. A 4-letter code is recommended in the form language-country,where language is an ISO 639-1 language code and country is an ISO 3166country/region code. For example, use en-US for US English.",
            "in": "query",
            "name": "setLang",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Aboolean value that determines whether the display string in the result shouldcontain decoration markers (such as hit highlighting characters). If true, thestring may contain markers. The default value is false.",
            "in": "query",
            "name": "textDecorations",
            "required": false,
            "schema": {
              "default": false,
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "queryContext": {
                      "properties": {
                        "originalQuery": {
                          "description": "The query string specified in therequest",
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "webPages": {
                      "properties": {
                        "value": {
                          "items": {
                            "properties": {
                              "content": {
                                "description": "Full text content of the web page.",
                                "type": "string"
                              },
                              "datePublished": {
                                "description": "The time when the web page waspublished.",
                                "format": "date-time",
                                "type": "string"
                              },
                              "displayUrl": {
                                "description": "The display URL of the web page.",
                                "type": "string"
                              },
                              "logo": {
                                "description": "The URL of the site's logo orfavicon.",
                                "type": "string"
                              },
                              "name": {
                                "description": "The name of the web page. Use this nameand the URL to create a hyperlink that users can click to go to the webpage.",
                                "type": "string"
                              },
                              "siteName": {
                                "description": "Thesource of the web page",
                                "type": "string"
                              },
                              "snippet": {
                                "description": "A text snippet that describes the contentof a web page.",
                                "type": "string"
                              },
                              "url": {
                                "description": "The URL of the web page. Use this URL andname to create a hyperlink that the user can click to go to the web page.",
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful full text search response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Perform Full Text Search",
        "tags": [
          "search"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": true,
          "mpp_methods": [
            "GET"
          ],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "search",
        "x-aisa-category": "2",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/search/any_search_apis_v1_search_full",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_multiplier": 1.0,
          "customer_pricing": "provider_cost_multiplier",
          "default_request_estimate_usd": 0.001,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:ea8a2519d52d26eaa8215ffdb3a86db2e824dc9172a8d573769407f4679c5906",
          "kind": "upstream_success_contract",
          "source": {
            "article_date": "2025-11-20",
            "content_hash": "sha256:73552a9e098b19658650f036a22e0217e85bf818da5c5ec47695ee2d07204bbf",
            "converter": "scripts/wrapper_cloudsway_full_reference.py@1",
            "embedded_openapi_sha256": "sha256:bec33e8ee815b00bcceacf9e4ad6246d7785d22223b3d403a1696fb44e620581",
            "fetched_at": "2026-10-09T03:19:45.921287+00:00",
            "kind": "manual",
            "lifecycle": "historical",
            "note": "Supplier-coauthored historical contract. No current authenticated availability was verified. The CLI separately records historical HTML 404 failures.",
            "original_upstream_path_template": "/search/{Endpoint}/full",
            "owner": "AIsa-team/docs",
            "path_space": "public",
            "policy_revision": "sha256:a78f3f681552e8e061c37d2bba9ee317a83b6b6a81440b8c24a5090d15f3f715",
            "public_path_mapping": "Reviewed AIsa Cloudsway routing exposes this account-specific Full Search path as /apis/v1/search/full.",
            "refresh_policy": "manual",
            "review_period_days": 30,
            "source_pages": [
              {
                "raw_content_hash": "sha256:b02ceab588e0f152d959d4e3145e6582c85787c93a18c83583ba66893f34fc4c",
                "url": "https://aws.amazon.com/cn/blogs/china/building-enterprise-level-with-bedrock-agentcore-and-strands/"
              }
            ],
            "upstream_operation_id": "fullTextSearch",
            "upstream_path_sha256": "eb38730f21101320f1e6bb71a906895508cfecb1101ded67d70b1a15639e387b",
            "url": "https://aws.amazon.com/cn/blogs/china/building-enterprise-level-with-bedrock-agentcore-and-strands/"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "93c3b6043e51",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "8bd5f8838210"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "any_search_apis_v1_search_full",
          "path": "/apis/v1/search/full"
        },
        "x-aisa-source": {
          "article_date": "2025-11-20",
          "content_hash": "sha256:73552a9e098b19658650f036a22e0217e85bf818da5c5ec47695ee2d07204bbf",
          "converter": "scripts/wrapper_cloudsway_full_reference.py@1",
          "embedded_openapi_sha256": "sha256:bec33e8ee815b00bcceacf9e4ad6246d7785d22223b3d403a1696fb44e620581",
          "fetched_at": "2026-10-09T03:19:45.921287+00:00",
          "kind": "manual",
          "lifecycle": "historical",
          "note": "Supplier-coauthored historical contract. No current authenticated availability was verified. The CLI separately records historical HTML 404 failures.",
          "original_upstream_path_template": "/search/{Endpoint}/full",
          "owner": "AIsa-team/docs",
          "path_space": "public",
          "policy_revision": "sha256:a78f3f681552e8e061c37d2bba9ee317a83b6b6a81440b8c24a5090d15f3f715",
          "public_path_mapping": "Reviewed AIsa Cloudsway routing exposes this account-specific Full Search path as /apis/v1/search/full.",
          "refresh_policy": "manual",
          "review_period_days": 30,
          "source_pages": [
            {
              "raw_content_hash": "sha256:b02ceab588e0f152d959d4e3145e6582c85787c93a18c83583ba66893f34fc4c",
              "url": "https://aws.amazon.com/cn/blogs/china/building-enterprise-level-with-bedrock-agentcore-and-strands/"
            }
          ],
          "upstream_operation_id": "fullTextSearch",
          "upstream_path_sha256": "eb38730f21101320f1e6bb71a906895508cfecb1101ded67d70b1a15639e387b",
          "url": "https://aws.amazon.com/cn/blogs/china/building-enterprise-level-with-bedrock-agentcore-and-strands/"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/search/GzWkxtjctKHuxMrJ/full",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/search/smart": {
      "get": {
        "operationId": "any_search_apis_v1_search_smart",
        "parameters": [
          {
            "description": "Input value: no-cache. When no-cache is provided, the response results will not be cached and each request is independent; if not provided, the response results for the same query term will be cached for 10 minutes",
            "in": "header",
            "name": "Pragma",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The value must be in host address format (e.g., baijiahao.baidu.com). Excludes results from the specified site(s).",
            "in": "query",
            "name": "blockWebsites",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Timeout for reading long abstracts. If reading exceeds this time, it will terminate and no long abstract will be returned for that result. Defaults to 0 (seconds), maximum 10s.",
            "in": "query",
            "name": "contentTimeout",
            "required": false,
            "schema": {
              "default": 0.0,
              "maximum": 10.0,
              "type": "number"
            }
          },
          {
            "description": "The format of the long abstract (content) to return. Options:：- HTML- MARKDOWN- TEXT(default)",
            "in": "query",
            "name": "contentType",
            "required": false,
            "schema": {
              "default": "TEXT",
              "enum": [
                "HTML",
                "MARKDOWN",
                "TEXT"
              ],
              "type": "string"
            }
          },
          {
            "description": "The number of search results to return. Defaults to 10, maximum 50. Enumerated values: 10 / 20 / 30 / 40 / 50 The actual number returned may be less than requested. Use this parameter with the offset parameter for pagination.",
            "in": "query",
            "name": "count",
            "required": false,
            "schema": {
              "default": 10,
              "enum": [
                10,
                20,
                30,
                40,
                50
              ],
              "maximum": 50,
              "type": "integer"
            }
          },
          {
            "description": "ontrols whether to return long abstract content: -true: Return long abstracts -false: Do not return long abstracts Defaults to false",
            "in": "query",
            "name": "enableContent",
            "required": false,
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "Filter search results by time range: - Day (past 24 hours) -Week (past 7 days) - Month (past 30 days)",
            "in": "query",
            "name": "freshness",
            "required": false,
            "schema": {
              "enum": [
                "Day",
                "Week",
                "Month"
              ],
              "type": "string"
            }
          },
          {
            "description": "Controls whether to return key fragments of dynamic abstracts:true： Return key fragmentsfalse：Do not return key fragmentsDefault false",
            "in": "query",
            "name": "mainText",
            "required": false,
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "The zero-based offset indicating how many results to skip before returning. Defaults to 0. Use with the count parameter for pagination. There is no upper limit for offset; setting a large value may result in no results being returned.",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "description": "The user's search query term, which cannot be empty.",
            "in": "query",
            "name": "q",
            "required": true,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "description": "The value must be in host address format (e.g., baijiahao.baidu.com). Returns results only from the specified site(s).",
            "in": "query",
            "name": "sites",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "queryContext": {
                      "properties": {
                        "originalQuery": {
                          "description": "The user's original search query",
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "webPages": {
                      "properties": {
                        "value": {
                          "description": "Detailed result data returned",
                          "items": {
                            "properties": {
                              "content": {
                                "description": "Long abstract information of the webpage, retrieved from the main text. MARKDOWN and HTML formats include image links with anchor positions",
                                "type": "string"
                              },
                              "contentCrawled": {
                                "description": "Long abstract retrieval status: true for success (content is included in content), false for failure (content is empty)",
                                "type": "boolean"
                              },
                              "datePublished": {
                                "description": "Page publication time (included in some sites) Example: 2025-07-14T01:15:00.0000000Z",
                                "type": "string"
                              },
                              "imageList": {
                                "description": "List of image URLs in the webpage (included in some webpages, depending on whether the page contains images)",
                                "type": "array"
                              },
                              "logo": {
                                "description": "Website logo (included in some webpages)",
                                "type": "string"
                              },
                              "mainText": {
                                "description": "Dynamic abstract fragment extracted from the text, most relevant to the query. More intelligent than snippet",
                                "type": "string"
                              },
                              "name": {
                                "description": "Webpage title",
                                "type": "string"
                              },
                              "score": {
                                "description": "Content relevance score",
                                "type": "number"
                              },
                              "siteName": {
                                "description": "Website name (included in some webpages)",
                                "type": "string"
                              },
                              "snippet": {
                                "description": "Text snippet describing the webpage content",
                                "type": "string"
                              },
                              "url": {
                                "description": "Webpage URL",
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Official typed response table; required fields and undeclared array item types are not inferred."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Perform Smart Search",
        "tags": [
          "search"
        ],
        "x-aisa-caller-headers": [
          "Pragma"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": true,
          "mpp_methods": [
            "GET"
          ],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "search",
        "x-aisa-category": "2",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/search/any_search_apis_v1_search_smart",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "fixed_success",
          "customer_multiplier": 1.0,
          "customer_pricing": "provider_cost_multiplier",
          "default_request_estimate_usd": 0.001,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:75e88bee7d75215e03a56bd29cdd531534e3b621d88e80f15877f073143c64e1",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:2bb2fce96f923f677475088e6ea160dd7057486c30dbd433331d4a95ecbd354e",
            "converter": "scripts/wrapper_cloudsway_reference.py@2",
            "fetched_at": "2026-10-09T03:15:54.513255+00:00",
            "kind": "manual",
            "original_upstream_path_template": "/search/{Endpoint}/smart",
            "owner": "AIsa-team/docs",
            "path_space": "public",
            "policy_revision": "sha256:0306e68f16490a7e505bab01d82f0e2b699f90f56f75667f62136d270d075d45",
            "public_path_mapping": "Reviewed AIsa routing maps the account-specific Cloudsway endpoint to /apis/v1/search/smart.",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "review_period_days": 30,
            "source_pages": [
              {
                "raw_content_hash": "sha256:5de6df8cd90420cd17473944149e45de43ef893cbff211f63b1cf704cb2f25c1",
                "url": "https://docs.infra-agent.ai/Smart_Search/Cloudsway_Smart_Search/api/"
              }
            ],
            "upstream_path_sha256": "96e1bbbdf395b4c6825c213d53fcd646493e1426452ed6a2d33825fa073cc27d",
            "url": "https://docs.infra-agent.ai/Smart_Search/Cloudsway_Smart_Search/api/"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "93c3b6043e51",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "885eb6f4c899"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "any_search_apis_v1_search_smart",
          "path": "/apis/v1/search/smart"
        },
        "x-aisa-source": {
          "content_hash": "sha256:2bb2fce96f923f677475088e6ea160dd7057486c30dbd433331d4a95ecbd354e",
          "converter": "scripts/wrapper_cloudsway_reference.py@2",
          "fetched_at": "2026-10-09T03:15:54.513255+00:00",
          "kind": "manual",
          "original_upstream_path_template": "/search/{Endpoint}/smart",
          "owner": "AIsa-team/docs",
          "path_space": "public",
          "policy_revision": "sha256:0306e68f16490a7e505bab01d82f0e2b699f90f56f75667f62136d270d075d45",
          "public_path_mapping": "Reviewed AIsa routing maps the account-specific Cloudsway endpoint to /apis/v1/search/smart.",
          "refresh_interval_hours": 24,
          "refresh_policy": "automatic",
          "review_period_days": 30,
          "source_pages": [
            {
              "raw_content_hash": "sha256:5de6df8cd90420cd17473944149e45de43ef893cbff211f63b1cf704cb2f25c1",
              "url": "https://docs.infra-agent.ai/Smart_Search/Cloudsway_Smart_Search/api/"
            }
          ],
          "upstream_path_sha256": "96e1bbbdf395b4c6825c213d53fcd646493e1426452ed6a2d33825fa073cc27d",
          "url": "https://docs.infra-agent.ai/Smart_Search/Cloudsway_Smart_Search/api/"
        },
        "x-aisa-status": "enabled",
        "x-aisa-upstream-path": "/search/GzWkxtjctKHuxMrJ/smart",
        "x-aisa-validation": "provider",
        "description": ""
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ]
}
