{
 "openapi": "3.1.0",
 "info": {
  "title": "Web API",
  "version": "1.0.0-draft",
  "summary": "Web search, page reading, extraction, places, research and crawl for developers and AI agents.",
  "description": "Authenticate with your site API key (sk-...) in Authorization: Bearer. Native endpoints live under /v1/web on every host and use one JSON envelope (object, request_id, created, input, payload, usage, cache, warnings); errors are {\"error\": {\"code\", \"message\", \"type\", \"param\", \"doc_url\"}, \"request_id\"}. Every result URL is the real destination. A call is charged only when it returns what it was asked for; errors, empty results and failures on our side are free. x-stage on each operation is the program stage in which it ships (S2, S3, S4); operations that have not shipped return 501 api_not_implemented. The apiKey query parameter is refused with 400 invalid_request on every path. Compatibility paths accept the Serper request format (X-API-KEY header) so that changing the base URL and the key is the whole migration. We do not promise availability, response times, results, prices or advance notice of changes. Guide: https://websearch.fast/docs"
 },
 "servers": [
  {
   "url": "https://relay.fast",
   "description": "relay.fast"
  },
  {
   "url": "https://direct.relay-fast.com",
   "description": "relay.fast reserve host"
  },
  {
   "url": "https://ru.relay-fast.com",
   "description": "relay.fast host for Russia"
  },
  {
   "url": "https://api.websearch.fast",
   "description": "websearch.fast API host; relay.fast keys"
  }
 ],
 "tags": [
  {
   "name": "Search"
  },
  {
   "name": "Pages"
  },
  {
   "name": "Places"
  },
  {
   "name": "Jobs"
  },
  {
   "name": "Batch"
  },
  {
   "name": "Account"
  },
  {
   "name": "MCP"
  },
  {
   "name": "Compatibility"
  }
 ],
 "security": [
  {
   "bearerAuth": []
  }
 ],
 "paths": {
  "/v1/web/search": {
   "post": {
    "operationId": "webSearch",
    "summary": "Search the web or one vertical",
    "tags": [
     "Search"
    ],
    "x-stage": "S2",
    "security": [
     {
      "bearerAuth": []
     }
    ],
    "description": "type web and the content option ship in S2; other types and answer in S3 (they return 501 until then).",
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/SearchRequest"
       },
       "example": {
        "q": "rust async runtime comparison",
        "num": 5,
        "freshness": "year",
        "content": {
         "pages": 2,
         "max_chars_per_page": 3000
        }
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Results. An empty list carries the warning no_results and is not charged.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SearchResponse"
        },
        "example": {
         "object": "web.search",
         "request_id": "20261128120000123456789a1b2c3d4Kx7Qm2Pz",
         "created": 1795867200,
         "input": {
          "q": "rust async runtime comparison",
          "type": "web",
          "page": 1,
          "num": 5,
          "safe": "moderate",
          "freshness": "year"
         },
         "results": [
          {
           "position": 1,
           "title": "Choosing an async runtime in 2026",
           "url": "https://blog.example.com/posts/async-runtimes-2026",
           "domain": "blog.example.com",
           "snippet": "We benchmarked four runtimes on the same HTTP workload.",
           "published_at": "2026-09-14T00:00:00Z",
           "site_name": "Example Dev Blog",
           "origin": "index",
           "content": {
            "status": "ok",
            "format": "markdown",
            "chars": 3000,
            "truncated": true,
            "text": "# Choosing an async runtime in 2026\n\n...",
            "fetched_at": 1795860000
           }
          }
         ],
         "has_more": true,
         "related_searches": [
          {
           "query": "async runtime benchmarks 2026"
          }
         ],
         "usage": {
          "charged": true,
          "items": [
           {
            "unit": "search_web",
            "count": 1
           },
           {
            "unit": "content_page",
            "count": 1
           }
          ]
         },
         "cache": {
          "hit": false,
          "data_age_seconds": 0,
          "fetched_at": 1795867200
         }
        }
       }
      }
     },
     "400": {
      "$ref": "#/components/responses/BadRequest"
     },
     "401": {
      "$ref": "#/components/responses/Unauthorized"
     },
     "402": {
      "$ref": "#/components/responses/PaymentRequired"
     },
     "403": {
      "$ref": "#/components/responses/Forbidden"
     },
     "404": {
      "$ref": "#/components/responses/NotFound"
     },
     "413": {
      "$ref": "#/components/responses/TooLarge"
     },
     "429": {
      "$ref": "#/components/responses/TooManyRequests"
     },
     "500": {
      "$ref": "#/components/responses/Internal"
     },
     "501": {
      "$ref": "#/components/responses/NotImplemented"
     },
     "503": {
      "$ref": "#/components/responses/Unavailable"
     },
     "504": {
      "$ref": "#/components/responses/Timeout"
     }
    }
   }
  },
  "/v1/web/autocomplete": {
   "post": {
    "operationId": "webAutocomplete",
    "summary": "Query suggestions",
    "tags": [
     "Search"
    ],
    "x-stage": "S2",
    "security": [
     {
      "bearerAuth": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/AutocompleteRequest"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Suggestions.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/AutocompleteResponse"
        }
       }
      }
     },
     "400": {
      "$ref": "#/components/responses/BadRequest"
     },
     "401": {
      "$ref": "#/components/responses/Unauthorized"
     },
     "402": {
      "$ref": "#/components/responses/PaymentRequired"
     },
     "403": {
      "$ref": "#/components/responses/Forbidden"
     },
     "404": {
      "$ref": "#/components/responses/NotFound"
     },
     "413": {
      "$ref": "#/components/responses/TooLarge"
     },
     "429": {
      "$ref": "#/components/responses/TooManyRequests"
     },
     "500": {
      "$ref": "#/components/responses/Internal"
     },
     "503": {
      "$ref": "#/components/responses/Unavailable"
     },
     "504": {
      "$ref": "#/components/responses/Timeout"
     }
    },
    "description": "One autocomplete unit per answer with at least one suggestion. An empty list (warning no_results) and every failure are free. 503 source_unavailable while the open-data service cannot answer. Endpoint switch autocomplete."
   }
  },
  "/v1/web/knowledge": {
   "post": {
    "operationId": "webKnowledge",
    "summary": "Entity card",
    "tags": [
     "Search"
    ],
    "x-stage": "S2",
    "security": [
     {
      "bearerAuth": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/KnowledgeRequest"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "The card, or no panel with the warning no_results.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/KnowledgeResponse"
        }
       }
      }
     },
     "400": {
      "$ref": "#/components/responses/BadRequest"
     },
     "401": {
      "$ref": "#/components/responses/Unauthorized"
     },
     "402": {
      "$ref": "#/components/responses/PaymentRequired"
     },
     "403": {
      "$ref": "#/components/responses/Forbidden"
     },
     "404": {
      "$ref": "#/components/responses/NotFound"
     },
     "413": {
      "$ref": "#/components/responses/TooLarge"
     },
     "429": {
      "$ref": "#/components/responses/TooManyRequests"
     },
     "500": {
      "$ref": "#/components/responses/Internal"
     },
     "503": {
      "$ref": "#/components/responses/Unavailable"
     },
     "504": {
      "$ref": "#/components/responses/Timeout"
     }
    },
    "description": "One knowledge unit when a card is returned. No card (warning no_results) and every failure are free. 503 source_unavailable while the open-data service cannot answer. Endpoint switch knowledge."
   }
  },
  "/v1/web/fetch": {
   "post": {
    "operationId": "webFetch",
    "summary": "Read pages to clean text",
    "tags": [
     "Pages"
    ],
    "x-stage": "S2",
    "security": [
     {
      "bearerAuth": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/FetchRequest"
       },
       "example": {
        "url": "https://docs.example.org/guide/install",
        "max_chars": 4000,
        "include_links": true
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "page (with url) or pages (with urls). With urls, failed pages are reported per page.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/FetchResponse"
        }
       }
      }
     },
     "400": {
      "$ref": "#/components/responses/BadRequest"
     },
     "401": {
      "$ref": "#/components/responses/Unauthorized"
     },
     "402": {
      "$ref": "#/components/responses/PaymentRequired"
     },
     "403": {
      "$ref": "#/components/responses/Forbidden"
     },
     "404": {
      "$ref": "#/components/responses/NotFound"
     },
     "413": {
      "$ref": "#/components/responses/TooLarge"
     },
     "415": {
      "$ref": "#/components/responses/Unsupported"
     },
     "422": {
      "$ref": "#/components/responses/Unprocessable"
     },
     "429": {
      "$ref": "#/components/responses/TooManyRequests"
     },
     "500": {
      "$ref": "#/components/responses/Internal"
     },
     "501": {
      "$ref": "#/components/responses/NotImplemented"
     },
     "503": {
      "$ref": "#/components/responses/Unavailable"
     },
     "504": {
      "$ref": "#/components/responses/Timeout"
     }
    }
   }
  },
  "/v1/web/extract": {
   "post": {
    "operationId": "webExtract",
    "summary": "Structured data by JSON Schema",
    "tags": [
     "Pages"
    ],
    "x-stage": "S3",
    "security": [
     {
      "bearerAuth": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ExtractRequest"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Validated data.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ExtractResponse"
        }
       }
      }
     },
     "400": {
      "$ref": "#/components/responses/BadRequest"
     },
     "401": {
      "$ref": "#/components/responses/Unauthorized"
     },
     "402": {
      "$ref": "#/components/responses/PaymentRequired"
     },
     "403": {
      "$ref": "#/components/responses/Forbidden"
     },
     "404": {
      "$ref": "#/components/responses/NotFound"
     },
     "413": {
      "$ref": "#/components/responses/TooLarge"
     },
     "415": {
      "$ref": "#/components/responses/Unsupported"
     },
     "422": {
      "$ref": "#/components/responses/Unprocessable"
     },
     "429": {
      "$ref": "#/components/responses/TooManyRequests"
     },
     "500": {
      "$ref": "#/components/responses/Internal"
     },
     "501": {
      "$ref": "#/components/responses/NotImplemented"
     },
     "503": {
      "$ref": "#/components/responses/Unavailable"
     },
     "504": {
      "$ref": "#/components/responses/Timeout"
     }
    }
   }
  },
  "/v1/web/places/details": {
   "post": {
    "operationId": "webPlaceDetails",
    "summary": "Details of one place",
    "tags": [
     "Places"
    ],
    "x-stage": "S3",
    "security": [
     {
      "bearerAuth": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/PlaceDetailsRequest"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "The place.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/PlaceDetailsResponse"
        }
       }
      }
     },
     "400": {
      "$ref": "#/components/responses/BadRequest"
     },
     "401": {
      "$ref": "#/components/responses/Unauthorized"
     },
     "402": {
      "$ref": "#/components/responses/PaymentRequired"
     },
     "403": {
      "$ref": "#/components/responses/Forbidden"
     },
     "404": {
      "$ref": "#/components/responses/NotFound"
     },
     "413": {
      "$ref": "#/components/responses/TooLarge"
     },
     "429": {
      "$ref": "#/components/responses/TooManyRequests"
     },
     "500": {
      "$ref": "#/components/responses/Internal"
     },
     "501": {
      "$ref": "#/components/responses/NotImplemented"
     },
     "503": {
      "$ref": "#/components/responses/Unavailable"
     },
     "504": {
      "$ref": "#/components/responses/Timeout"
     }
    }
   }
  },
  "/v1/web/places/reviews": {
   "post": {
    "operationId": "webPlaceReviews",
    "summary": "Reviews of one place",
    "tags": [
     "Places"
    ],
    "x-stage": "S3",
    "security": [
     {
      "bearerAuth": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/PlaceReviewsRequest"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "A page of reviews.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/PlaceReviewsResponse"
        }
       }
      }
     },
     "400": {
      "$ref": "#/components/responses/BadRequest"
     },
     "401": {
      "$ref": "#/components/responses/Unauthorized"
     },
     "402": {
      "$ref": "#/components/responses/PaymentRequired"
     },
     "403": {
      "$ref": "#/components/responses/Forbidden"
     },
     "404": {
      "$ref": "#/components/responses/NotFound"
     },
     "413": {
      "$ref": "#/components/responses/TooLarge"
     },
     "429": {
      "$ref": "#/components/responses/TooManyRequests"
     },
     "500": {
      "$ref": "#/components/responses/Internal"
     },
     "501": {
      "$ref": "#/components/responses/NotImplemented"
     },
     "503": {
      "$ref": "#/components/responses/Unavailable"
     },
     "504": {
      "$ref": "#/components/responses/Timeout"
     }
    }
   }
  },
  "/v1/web/geocode": {
   "post": {
    "operationId": "webGeocode",
    "summary": "Address to coordinates",
    "tags": [
     "Places"
    ],
    "x-stage": "S2",
    "security": [
     {
      "bearerAuth": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/GeocodeRequest"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Matches.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GeocodeResponse"
        }
       }
      }
     },
     "400": {
      "$ref": "#/components/responses/BadRequest"
     },
     "401": {
      "$ref": "#/components/responses/Unauthorized"
     },
     "402": {
      "$ref": "#/components/responses/PaymentRequired"
     },
     "403": {
      "$ref": "#/components/responses/Forbidden"
     },
     "404": {
      "$ref": "#/components/responses/NotFound"
     },
     "413": {
      "$ref": "#/components/responses/TooLarge"
     },
     "429": {
      "$ref": "#/components/responses/TooManyRequests"
     },
     "500": {
      "$ref": "#/components/responses/Internal"
     },
     "501": {
      "$ref": "#/components/responses/NotImplemented"
     },
     "503": {
      "$ref": "#/components/responses/Unavailable"
     },
     "504": {
      "$ref": "#/components/responses/Timeout"
     }
    },
    "description": "One geocode unit (reverse_geocode for reverse-geocode) per lookup with at least one place. An empty result (warning no_results) and every failure are free. 503 source_unavailable while the geocoder cannot answer. Endpoint switch geocode / reverse_geocode."
   }
  },
  "/v1/web/reverse-geocode": {
   "post": {
    "operationId": "webReverseGeocode",
    "summary": "Coordinates to address",
    "tags": [
     "Places"
    ],
    "x-stage": "S2",
    "security": [
     {
      "bearerAuth": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ReverseGeocodeRequest"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Matches.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ReverseGeocodeResponse"
        }
       }
      }
     },
     "400": {
      "$ref": "#/components/responses/BadRequest"
     },
     "401": {
      "$ref": "#/components/responses/Unauthorized"
     },
     "402": {
      "$ref": "#/components/responses/PaymentRequired"
     },
     "403": {
      "$ref": "#/components/responses/Forbidden"
     },
     "404": {
      "$ref": "#/components/responses/NotFound"
     },
     "413": {
      "$ref": "#/components/responses/TooLarge"
     },
     "429": {
      "$ref": "#/components/responses/TooManyRequests"
     },
     "500": {
      "$ref": "#/components/responses/Internal"
     },
     "501": {
      "$ref": "#/components/responses/NotImplemented"
     },
     "503": {
      "$ref": "#/components/responses/Unavailable"
     },
     "504": {
      "$ref": "#/components/responses/Timeout"
     }
    },
    "description": "One geocode unit (reverse_geocode for reverse-geocode) per lookup with at least one place. An empty result (warning no_results) and every failure are free. 503 source_unavailable while the geocoder cannot answer. Endpoint switch geocode / reverse_geocode."
   }
  },
  "/v1/web/lens": {
   "post": {
    "operationId": "webLens",
    "summary": "Search by image",
    "tags": [
     "Search"
    ],
    "x-stage": "S3",
    "security": [
     {
      "bearerAuth": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/LensRequest"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Matches.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/LensResponse"
        }
       }
      }
     },
     "400": {
      "$ref": "#/components/responses/BadRequest"
     },
     "401": {
      "$ref": "#/components/responses/Unauthorized"
     },
     "402": {
      "$ref": "#/components/responses/PaymentRequired"
     },
     "403": {
      "$ref": "#/components/responses/Forbidden"
     },
     "404": {
      "$ref": "#/components/responses/NotFound"
     },
     "413": {
      "$ref": "#/components/responses/TooLarge"
     },
     "429": {
      "$ref": "#/components/responses/TooManyRequests"
     },
     "500": {
      "$ref": "#/components/responses/Internal"
     },
     "501": {
      "$ref": "#/components/responses/NotImplemented"
     },
     "503": {
      "$ref": "#/components/responses/Unavailable"
     },
     "504": {
      "$ref": "#/components/responses/Timeout"
     }
    }
   }
  },
  "/v1/web/research": {
   "post": {
    "operationId": "webResearchCreate",
    "summary": "Start a research job",
    "tags": [
     "Jobs"
    ],
    "x-stage": "S3",
    "security": [
     {
      "bearerAuth": []
     }
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/IdempotencyKey"
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ResearchRequest"
       }
      }
     }
    },
    "responses": {
     "202": {
      "description": "Job created; the ceiling is reserved.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "Location": {
        "$ref": "#/components/headers/Location"
       },
       "Idempotent-Replayed": {
        "$ref": "#/components/headers/Idempotent-Replayed"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ResearchJob"
        }
       }
      }
     },
     "400": {
      "$ref": "#/components/responses/BadRequest"
     },
     "401": {
      "$ref": "#/components/responses/Unauthorized"
     },
     "402": {
      "$ref": "#/components/responses/PaymentRequired"
     },
     "403": {
      "$ref": "#/components/responses/Forbidden"
     },
     "404": {
      "$ref": "#/components/responses/NotFound"
     },
     "409": {
      "$ref": "#/components/responses/Conflict"
     },
     "413": {
      "$ref": "#/components/responses/TooLarge"
     },
     "429": {
      "$ref": "#/components/responses/TooManyRequests"
     },
     "500": {
      "$ref": "#/components/responses/Internal"
     },
     "501": {
      "$ref": "#/components/responses/NotImplemented"
     },
     "503": {
      "$ref": "#/components/responses/Unavailable"
     },
     "504": {
      "$ref": "#/components/responses/Timeout"
     }
    }
   }
  },
  "/v1/web/research/{id}": {
   "get": {
    "operationId": "webResearchGet",
    "summary": "Get a research job",
    "tags": [
     "Jobs"
    ],
    "x-stage": "S3",
    "security": [
     {
      "bearerAuth": []
     }
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/ResearchId"
     }
    ],
    "responses": {
     "200": {
      "description": "The job.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ResearchJob"
        }
       }
      }
     },
     "400": {
      "$ref": "#/components/responses/BadRequest"
     },
     "401": {
      "$ref": "#/components/responses/Unauthorized"
     },
     "402": {
      "$ref": "#/components/responses/PaymentRequired"
     },
     "403": {
      "$ref": "#/components/responses/Forbidden"
     },
     "404": {
      "$ref": "#/components/responses/NotFound"
     },
     "413": {
      "$ref": "#/components/responses/TooLarge"
     },
     "429": {
      "$ref": "#/components/responses/TooManyRequests"
     },
     "500": {
      "$ref": "#/components/responses/Internal"
     },
     "501": {
      "$ref": "#/components/responses/NotImplemented"
     },
     "503": {
      "$ref": "#/components/responses/Unavailable"
     },
     "504": {
      "$ref": "#/components/responses/Timeout"
     }
    }
   }
  },
  "/v1/web/research/{id}/cancel": {
   "post": {
    "operationId": "webResearchCancel",
    "summary": "Cancel a research job",
    "tags": [
     "Jobs"
    ],
    "x-stage": "S3",
    "security": [
     {
      "bearerAuth": []
     }
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/ResearchId"
     }
    ],
    "responses": {
     "200": {
      "description": "The job.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ResearchJob"
        }
       }
      }
     },
     "400": {
      "$ref": "#/components/responses/BadRequest"
     },
     "401": {
      "$ref": "#/components/responses/Unauthorized"
     },
     "402": {
      "$ref": "#/components/responses/PaymentRequired"
     },
     "403": {
      "$ref": "#/components/responses/Forbidden"
     },
     "404": {
      "$ref": "#/components/responses/NotFound"
     },
     "413": {
      "$ref": "#/components/responses/TooLarge"
     },
     "429": {
      "$ref": "#/components/responses/TooManyRequests"
     },
     "500": {
      "$ref": "#/components/responses/Internal"
     },
     "501": {
      "$ref": "#/components/responses/NotImplemented"
     },
     "503": {
      "$ref": "#/components/responses/Unavailable"
     },
     "504": {
      "$ref": "#/components/responses/Timeout"
     }
    }
   }
  },
  "/v1/web/research/{id}/events": {
   "get": {
    "operationId": "webResearchEvents",
    "summary": "Progress events of a research job",
    "tags": [
     "Jobs"
    ],
    "x-stage": "S3",
    "security": [
     {
      "bearerAuth": []
     }
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/ResearchId"
     },
     {
      "name": "after",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "minimum": 0
      }
     },
     {
      "name": "Last-Event-ID",
      "in": "header",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "text/event-stream with Accept: text/event-stream (reconnect with Last-Event-ID), otherwise a JSON list.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/JobEventList"
        }
       },
       "text/event-stream": {
        "schema": {
         "type": "string"
        }
       }
      }
     },
     "400": {
      "$ref": "#/components/responses/BadRequest"
     },
     "401": {
      "$ref": "#/components/responses/Unauthorized"
     },
     "402": {
      "$ref": "#/components/responses/PaymentRequired"
     },
     "403": {
      "$ref": "#/components/responses/Forbidden"
     },
     "404": {
      "$ref": "#/components/responses/NotFound"
     },
     "413": {
      "$ref": "#/components/responses/TooLarge"
     },
     "429": {
      "$ref": "#/components/responses/TooManyRequests"
     },
     "500": {
      "$ref": "#/components/responses/Internal"
     },
     "501": {
      "$ref": "#/components/responses/NotImplemented"
     },
     "503": {
      "$ref": "#/components/responses/Unavailable"
     },
     "504": {
      "$ref": "#/components/responses/Timeout"
     }
    }
   }
  },
  "/v1/web/crawl": {
   "post": {
    "operationId": "webCrawlCreate",
    "summary": "Start a crawl of one site",
    "tags": [
     "Jobs"
    ],
    "x-stage": "S3",
    "security": [
     {
      "bearerAuth": []
     }
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/IdempotencyKey"
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/CrawlRequest"
       }
      }
     }
    },
    "responses": {
     "202": {
      "description": "Job created.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "Location": {
        "$ref": "#/components/headers/Location"
       },
       "Idempotent-Replayed": {
        "$ref": "#/components/headers/Idempotent-Replayed"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/CrawlJob"
        }
       }
      }
     },
     "400": {
      "$ref": "#/components/responses/BadRequest"
     },
     "401": {
      "$ref": "#/components/responses/Unauthorized"
     },
     "402": {
      "$ref": "#/components/responses/PaymentRequired"
     },
     "403": {
      "$ref": "#/components/responses/Forbidden"
     },
     "404": {
      "$ref": "#/components/responses/NotFound"
     },
     "409": {
      "$ref": "#/components/responses/Conflict"
     },
     "413": {
      "$ref": "#/components/responses/TooLarge"
     },
     "422": {
      "$ref": "#/components/responses/Unprocessable"
     },
     "429": {
      "$ref": "#/components/responses/TooManyRequests"
     },
     "500": {
      "$ref": "#/components/responses/Internal"
     },
     "501": {
      "$ref": "#/components/responses/NotImplemented"
     },
     "503": {
      "$ref": "#/components/responses/Unavailable"
     },
     "504": {
      "$ref": "#/components/responses/Timeout"
     }
    }
   }
  },
  "/v1/web/crawl/{id}": {
   "get": {
    "operationId": "webCrawlGet",
    "summary": "Get a crawl job",
    "tags": [
     "Jobs"
    ],
    "x-stage": "S3",
    "security": [
     {
      "bearerAuth": []
     }
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/CrawlId"
     }
    ],
    "responses": {
     "200": {
      "description": "The job.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/CrawlJob"
        }
       }
      }
     },
     "400": {
      "$ref": "#/components/responses/BadRequest"
     },
     "401": {
      "$ref": "#/components/responses/Unauthorized"
     },
     "402": {
      "$ref": "#/components/responses/PaymentRequired"
     },
     "403": {
      "$ref": "#/components/responses/Forbidden"
     },
     "404": {
      "$ref": "#/components/responses/NotFound"
     },
     "413": {
      "$ref": "#/components/responses/TooLarge"
     },
     "429": {
      "$ref": "#/components/responses/TooManyRequests"
     },
     "500": {
      "$ref": "#/components/responses/Internal"
     },
     "501": {
      "$ref": "#/components/responses/NotImplemented"
     },
     "503": {
      "$ref": "#/components/responses/Unavailable"
     },
     "504": {
      "$ref": "#/components/responses/Timeout"
     }
    }
   }
  },
  "/v1/web/crawl/{id}/pages": {
   "get": {
    "operationId": "webCrawlPages",
    "summary": "Pages of a crawl",
    "tags": [
     "Jobs"
    ],
    "x-stage": "S3",
    "security": [
     {
      "bearerAuth": []
     }
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/CrawlId"
     },
     {
      "$ref": "#/components/parameters/StartingAfter"
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 100,
       "default": 20
      }
     },
     {
      "name": "status",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "enum": [
        "ok",
        "failed",
        "all"
       ],
       "default": "ok"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "A page of results, oldest first.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/CrawlPageList"
        }
       }
      }
     },
     "400": {
      "$ref": "#/components/responses/BadRequest"
     },
     "401": {
      "$ref": "#/components/responses/Unauthorized"
     },
     "402": {
      "$ref": "#/components/responses/PaymentRequired"
     },
     "403": {
      "$ref": "#/components/responses/Forbidden"
     },
     "404": {
      "$ref": "#/components/responses/NotFound"
     },
     "413": {
      "$ref": "#/components/responses/TooLarge"
     },
     "429": {
      "$ref": "#/components/responses/TooManyRequests"
     },
     "500": {
      "$ref": "#/components/responses/Internal"
     },
     "501": {
      "$ref": "#/components/responses/NotImplemented"
     },
     "503": {
      "$ref": "#/components/responses/Unavailable"
     },
     "504": {
      "$ref": "#/components/responses/Timeout"
     }
    }
   }
  },
  "/v1/web/crawl/{id}/cancel": {
   "post": {
    "operationId": "webCrawlCancel",
    "summary": "Cancel a crawl",
    "tags": [
     "Jobs"
    ],
    "x-stage": "S3",
    "security": [
     {
      "bearerAuth": []
     }
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/CrawlId"
     }
    ],
    "responses": {
     "200": {
      "description": "The job.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/CrawlJob"
        }
       }
      }
     },
     "400": {
      "$ref": "#/components/responses/BadRequest"
     },
     "401": {
      "$ref": "#/components/responses/Unauthorized"
     },
     "402": {
      "$ref": "#/components/responses/PaymentRequired"
     },
     "403": {
      "$ref": "#/components/responses/Forbidden"
     },
     "404": {
      "$ref": "#/components/responses/NotFound"
     },
     "413": {
      "$ref": "#/components/responses/TooLarge"
     },
     "429": {
      "$ref": "#/components/responses/TooManyRequests"
     },
     "500": {
      "$ref": "#/components/responses/Internal"
     },
     "501": {
      "$ref": "#/components/responses/NotImplemented"
     },
     "503": {
      "$ref": "#/components/responses/Unavailable"
     },
     "504": {
      "$ref": "#/components/responses/Timeout"
     }
    }
   }
  },
  "/v1/web/map": {
   "post": {
    "operationId": "webMap",
    "summary": "Discover the URLs of one site",
    "tags": [
     "Pages"
    ],
    "x-stage": "S3",
    "security": [
     {
      "bearerAuth": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/MapRequest"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "URLs.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/MapResponse"
        }
       }
      }
     },
     "400": {
      "$ref": "#/components/responses/BadRequest"
     },
     "401": {
      "$ref": "#/components/responses/Unauthorized"
     },
     "402": {
      "$ref": "#/components/responses/PaymentRequired"
     },
     "403": {
      "$ref": "#/components/responses/Forbidden"
     },
     "404": {
      "$ref": "#/components/responses/NotFound"
     },
     "413": {
      "$ref": "#/components/responses/TooLarge"
     },
     "422": {
      "$ref": "#/components/responses/Unprocessable"
     },
     "429": {
      "$ref": "#/components/responses/TooManyRequests"
     },
     "500": {
      "$ref": "#/components/responses/Internal"
     },
     "501": {
      "$ref": "#/components/responses/NotImplemented"
     },
     "503": {
      "$ref": "#/components/responses/Unavailable"
     },
     "504": {
      "$ref": "#/components/responses/Timeout"
     }
    }
   }
  },
  "/v1/web/batch": {
   "post": {
    "operationId": "webBatch",
    "summary": "Many calls in one request",
    "tags": [
     "Batch"
    ],
    "x-stage": "S2",
    "security": [
     {
      "bearerAuth": []
     }
    ],
    "description": "mode sync ships in S2 (1 to 100 items); mode async in S3 (up to 20,000 items).",
    "parameters": [
     {
      "$ref": "#/components/parameters/IdempotencyKey"
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/BatchRequest"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Sync batch (mode sync, S2): per-item status and body.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/BatchResponse"
        }
       }
      }
     },
     "202": {
      "description": "Async batch job created (mode async, S3).",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "Location": {
        "$ref": "#/components/headers/Location"
       },
       "Idempotent-Replayed": {
        "$ref": "#/components/headers/Idempotent-Replayed"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/BatchJob"
        }
       }
      }
     },
     "400": {
      "$ref": "#/components/responses/BadRequest"
     },
     "401": {
      "$ref": "#/components/responses/Unauthorized"
     },
     "402": {
      "$ref": "#/components/responses/PaymentRequired"
     },
     "403": {
      "$ref": "#/components/responses/Forbidden"
     },
     "404": {
      "$ref": "#/components/responses/NotFound"
     },
     "409": {
      "$ref": "#/components/responses/Conflict"
     },
     "413": {
      "$ref": "#/components/responses/TooLarge"
     },
     "429": {
      "$ref": "#/components/responses/TooManyRequests"
     },
     "500": {
      "$ref": "#/components/responses/Internal"
     },
     "501": {
      "$ref": "#/components/responses/NotImplemented"
     },
     "503": {
      "$ref": "#/components/responses/Unavailable"
     },
     "504": {
      "$ref": "#/components/responses/Timeout"
     }
    }
   }
  },
  "/v1/web/batch/{id}": {
   "get": {
    "operationId": "webBatchGet",
    "summary": "Get an async batch",
    "tags": [
     "Batch"
    ],
    "x-stage": "S3",
    "security": [
     {
      "bearerAuth": []
     }
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/BatchId"
     }
    ],
    "responses": {
     "200": {
      "description": "The job.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/BatchJob"
        }
       }
      }
     },
     "400": {
      "$ref": "#/components/responses/BadRequest"
     },
     "401": {
      "$ref": "#/components/responses/Unauthorized"
     },
     "402": {
      "$ref": "#/components/responses/PaymentRequired"
     },
     "403": {
      "$ref": "#/components/responses/Forbidden"
     },
     "404": {
      "$ref": "#/components/responses/NotFound"
     },
     "413": {
      "$ref": "#/components/responses/TooLarge"
     },
     "429": {
      "$ref": "#/components/responses/TooManyRequests"
     },
     "500": {
      "$ref": "#/components/responses/Internal"
     },
     "501": {
      "$ref": "#/components/responses/NotImplemented"
     },
     "503": {
      "$ref": "#/components/responses/Unavailable"
     },
     "504": {
      "$ref": "#/components/responses/Timeout"
     }
    }
   }
  },
  "/v1/web/batch/{id}/results": {
   "get": {
    "operationId": "webBatchResults",
    "summary": "Results of an async batch",
    "tags": [
     "Batch"
    ],
    "x-stage": "S3",
    "security": [
     {
      "bearerAuth": []
     }
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/BatchId"
     },
     {
      "$ref": "#/components/parameters/StartingAfter"
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 1000,
       "default": 100
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Finished items in request order.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/BatchResultList"
        }
       }
      }
     },
     "400": {
      "$ref": "#/components/responses/BadRequest"
     },
     "401": {
      "$ref": "#/components/responses/Unauthorized"
     },
     "402": {
      "$ref": "#/components/responses/PaymentRequired"
     },
     "403": {
      "$ref": "#/components/responses/Forbidden"
     },
     "404": {
      "$ref": "#/components/responses/NotFound"
     },
     "413": {
      "$ref": "#/components/responses/TooLarge"
     },
     "429": {
      "$ref": "#/components/responses/TooManyRequests"
     },
     "500": {
      "$ref": "#/components/responses/Internal"
     },
     "501": {
      "$ref": "#/components/responses/NotImplemented"
     },
     "503": {
      "$ref": "#/components/responses/Unavailable"
     },
     "504": {
      "$ref": "#/components/responses/Timeout"
     }
    }
   }
  },
  "/v1/web/batch/{id}/cancel": {
   "post": {
    "operationId": "webBatchCancel",
    "summary": "Cancel an async batch",
    "tags": [
     "Batch"
    ],
    "x-stage": "S3",
    "security": [
     {
      "bearerAuth": []
     }
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/BatchId"
     }
    ],
    "responses": {
     "200": {
      "description": "The job.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/BatchJob"
        }
       }
      }
     },
     "400": {
      "$ref": "#/components/responses/BadRequest"
     },
     "401": {
      "$ref": "#/components/responses/Unauthorized"
     },
     "402": {
      "$ref": "#/components/responses/PaymentRequired"
     },
     "403": {
      "$ref": "#/components/responses/Forbidden"
     },
     "404": {
      "$ref": "#/components/responses/NotFound"
     },
     "413": {
      "$ref": "#/components/responses/TooLarge"
     },
     "429": {
      "$ref": "#/components/responses/TooManyRequests"
     },
     "500": {
      "$ref": "#/components/responses/Internal"
     },
     "501": {
      "$ref": "#/components/responses/NotImplemented"
     },
     "503": {
      "$ref": "#/components/responses/Unavailable"
     },
     "504": {
      "$ref": "#/components/responses/Timeout"
     }
    }
   }
  },
  "/v1/web/usage": {
   "get": {
    "operationId": "webUsage",
    "summary": "What this key spent on web calls",
    "tags": [
     "Account"
    ],
    "x-stage": "S2",
    "security": [
     {
      "bearerAuth": []
     }
    ],
    "parameters": [
     {
      "name": "from",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "format": "date"
      }
     },
     {
      "name": "to",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "format": "date"
      }
     },
     {
      "name": "group_by",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "enum": [
        "day",
        "endpoint",
        "day_endpoint"
       ],
       "default": "day"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Usage of the calling key.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/UsageReport"
        }
       }
      }
     },
     "400": {
      "$ref": "#/components/responses/BadRequest"
     },
     "401": {
      "$ref": "#/components/responses/Unauthorized"
     },
     "402": {
      "$ref": "#/components/responses/PaymentRequired"
     },
     "403": {
      "$ref": "#/components/responses/Forbidden"
     },
     "404": {
      "$ref": "#/components/responses/NotFound"
     },
     "413": {
      "$ref": "#/components/responses/TooLarge"
     },
     "429": {
      "$ref": "#/components/responses/TooManyRequests"
     },
     "500": {
      "$ref": "#/components/responses/Internal"
     },
     "501": {
      "$ref": "#/components/responses/NotImplemented"
     },
     "503": {
      "$ref": "#/components/responses/Unavailable"
     },
     "504": {
      "$ref": "#/components/responses/Timeout"
     }
    }
   }
  },
  "/v1/web/status": {
   "get": {
    "operationId": "webStatus",
    "summary": "Which endpoints are on, with measured numbers",
    "tags": [
     "Account"
    ],
    "x-stage": "S2",
    "security": [
     {},
     {
      "bearerAuth": []
     }
    ],
    "responses": {
     "200": {
      "description": "Status; with a key it adds the key's limits.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Status"
        }
       }
      }
     },
     "400": {
      "$ref": "#/components/responses/BadRequest"
     },
     "401": {
      "$ref": "#/components/responses/Unauthorized"
     },
     "402": {
      "$ref": "#/components/responses/PaymentRequired"
     },
     "403": {
      "$ref": "#/components/responses/Forbidden"
     },
     "404": {
      "$ref": "#/components/responses/NotFound"
     },
     "413": {
      "$ref": "#/components/responses/TooLarge"
     },
     "429": {
      "$ref": "#/components/responses/TooManyRequests"
     },
     "500": {
      "$ref": "#/components/responses/Internal"
     },
     "501": {
      "$ref": "#/components/responses/NotImplemented"
     },
     "503": {
      "$ref": "#/components/responses/Unavailable"
     },
     "504": {
      "$ref": "#/components/responses/Timeout"
     }
    }
   }
  },
  "/v1/web/mcp": {
   "post": {
    "operationId": "webMcpPost",
    "summary": "MCP streamable HTTP (stateless): send one JSON-RPC message",
    "tags": [
     "MCP"
    ],
    "x-stage": "S2",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "description": "MCP revision 2026-07-28 (per-request _meta, server/discover) and 2025-11-25 / 2025-06-18 / 2025-03-26 through initialize. Tools web_search, web_fetch, geocode and reverse_geocode in S2; web_extract, places_search, research_start, research_get, crawl_start, crawl_get in S3. Each tool call is charged like its REST call. The answer is always application/json; there is no session and no event stream. Methods: initialize, notifications/initialized, ping, server/discover, tools/list, tools/call.",
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/McpMessage"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "JSON-RPC response (application/json).",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/McpMessage"
        }
       }
      }
     },
     "202": {
      "description": "Accepted notification or client response; no body."
     },
     "401": {
      "$ref": "#/components/responses/Unauthorized"
     },
     "429": {
      "$ref": "#/components/responses/TooManyRequests"
     },
     "400": {
      "description": "JSON-RPC error: parse error, invalid request, invalid params, header mismatch (-32020) or unsupported protocol version (-32022).",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/McpMessage"
        }
       }
      }
     },
     "403": {
      "$ref": "#/components/responses/Forbidden"
     },
     "404": {
      "description": "Revision 2026-07-28: unknown method (-32601).",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/McpMessage"
        }
       }
      }
     },
     "406": {
      "description": "Accept does not allow application/json."
     },
     "415": {
      "description": "Content-Type is not application/json."
     },
     "503": {
      "$ref": "#/components/responses/Unavailable"
     }
    },
    "parameters": [
     {
      "name": "MCP-Protocol-Version",
      "in": "header",
      "required": false,
      "schema": {
       "type": "string",
       "enum": [
        "2026-07-28",
        "2025-11-25",
        "2025-06-18",
        "2025-03-26"
       ]
      },
      "description": "Sent on every request after initialize; must match params._meta in revision 2026-07-28."
     },
     {
      "name": "Mcp-Method",
      "in": "header",
      "required": false,
      "schema": {
       "type": "string"
      },
      "description": "Revision 2026-07-28: the JSON-RPC method; must match the body."
     },
     {
      "name": "Mcp-Name",
      "in": "header",
      "required": false,
      "schema": {
       "type": "string"
      },
      "description": "Revision 2026-07-28, tools/call: the tool name (plain or =?base64?...?=); must match the body."
     }
    ]
   },
   "description": "POST only. GET and DELETE answer 405 with Allow: POST."
  },
  "/v1/web/compat/serper/search": {
   "post": {
    "operationId": "compatSearchPost",
    "summary": "Search (web) (Serper request format)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S2",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S2.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "oneOf": [
         {
          "$ref": "#/components/schemas/SerperQuery"
         },
         {
          "type": "array",
          "items": {
           "$ref": "#/components/schemas/SerperQuery"
          },
          "description": "Batch: up to 100 items.",
          "minItems": 1,
          "maxItems": 100
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "oneOf": [
          {
           "$ref": "#/components/schemas/SerperSearchResponse"
          },
          {
           "type": "array",
           "items": {
            "oneOf": [
             {
              "$ref": "#/components/schemas/SerperSearchResponse"
             },
             {
              "$ref": "#/components/schemas/CompatErrorResponse"
             }
            ]
           },
           "description": "Batch answer, same order."
          }
         ]
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "get": {
    "operationId": "compatSearchGet",
    "summary": "Search (web) (Serper request format, GET)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S2",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S2.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "parameters": [
     {
      "name": "q",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "gl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "hl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "location",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "num",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "page",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "tbs",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "autocorrect",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "type",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SerperSearchResponse"
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   }
  },
  "/v1/web/compat/serper/images": {
   "post": {
    "operationId": "compatImagesPost",
    "summary": "Images (Serper request format)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "oneOf": [
         {
          "$ref": "#/components/schemas/SerperQuery"
         },
         {
          "type": "array",
          "items": {
           "$ref": "#/components/schemas/SerperQuery"
          },
          "description": "Batch: up to 100 items.",
          "minItems": 1,
          "maxItems": 100
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "oneOf": [
          {
           "$ref": "#/components/schemas/SerperImagesResponse"
          },
          {
           "type": "array",
           "items": {
            "oneOf": [
             {
              "$ref": "#/components/schemas/SerperImagesResponse"
             },
             {
              "$ref": "#/components/schemas/CompatErrorResponse"
             }
            ]
           },
           "description": "Batch answer, same order."
          }
         ]
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "get": {
    "operationId": "compatImagesGet",
    "summary": "Images (Serper request format, GET)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "parameters": [
     {
      "name": "q",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "gl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "hl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "location",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "num",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "page",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "tbs",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "autocorrect",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "type",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SerperImagesResponse"
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   }
  },
  "/v1/web/compat/serper/videos": {
   "post": {
    "operationId": "compatVideosPost",
    "summary": "Videos (Serper request format)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "oneOf": [
         {
          "$ref": "#/components/schemas/SerperQuery"
         },
         {
          "type": "array",
          "items": {
           "$ref": "#/components/schemas/SerperQuery"
          },
          "description": "Batch: up to 100 items.",
          "minItems": 1,
          "maxItems": 100
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "oneOf": [
          {
           "$ref": "#/components/schemas/SerperVideosResponse"
          },
          {
           "type": "array",
           "items": {
            "oneOf": [
             {
              "$ref": "#/components/schemas/SerperVideosResponse"
             },
             {
              "$ref": "#/components/schemas/CompatErrorResponse"
             }
            ]
           },
           "description": "Batch answer, same order."
          }
         ]
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "get": {
    "operationId": "compatVideosGet",
    "summary": "Videos (Serper request format, GET)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "parameters": [
     {
      "name": "q",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "gl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "hl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "location",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "num",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "page",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "tbs",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "autocorrect",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "type",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SerperVideosResponse"
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   }
  },
  "/v1/web/compat/serper/news": {
   "post": {
    "operationId": "compatNewsPost",
    "summary": "News (Serper request format)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "oneOf": [
         {
          "$ref": "#/components/schemas/SerperQuery"
         },
         {
          "type": "array",
          "items": {
           "$ref": "#/components/schemas/SerperQuery"
          },
          "description": "Batch: up to 100 items.",
          "minItems": 1,
          "maxItems": 100
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "oneOf": [
          {
           "$ref": "#/components/schemas/SerperNewsResponse"
          },
          {
           "type": "array",
           "items": {
            "oneOf": [
             {
              "$ref": "#/components/schemas/SerperNewsResponse"
             },
             {
              "$ref": "#/components/schemas/CompatErrorResponse"
             }
            ]
           },
           "description": "Batch answer, same order."
          }
         ]
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "get": {
    "operationId": "compatNewsGet",
    "summary": "News (Serper request format, GET)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "parameters": [
     {
      "name": "q",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "gl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "hl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "location",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "num",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "page",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "tbs",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "autocorrect",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "type",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SerperNewsResponse"
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   }
  },
  "/v1/web/compat/serper/places": {
   "post": {
    "operationId": "compatPlacesPost",
    "summary": "Places (Serper request format)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "oneOf": [
         {
          "$ref": "#/components/schemas/SerperQuery"
         },
         {
          "type": "array",
          "items": {
           "$ref": "#/components/schemas/SerperQuery"
          },
          "description": "Batch: up to 100 items.",
          "minItems": 1,
          "maxItems": 100
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "oneOf": [
          {
           "$ref": "#/components/schemas/SerperPlacesResponse"
          },
          {
           "type": "array",
           "items": {
            "oneOf": [
             {
              "$ref": "#/components/schemas/SerperPlacesResponse"
             },
             {
              "$ref": "#/components/schemas/CompatErrorResponse"
             }
            ]
           },
           "description": "Batch answer, same order."
          }
         ]
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "get": {
    "operationId": "compatPlacesGet",
    "summary": "Places (Serper request format, GET)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "parameters": [
     {
      "name": "q",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "gl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "hl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "location",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "num",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "page",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "tbs",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "autocorrect",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "type",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SerperPlacesResponse"
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   }
  },
  "/v1/web/compat/serper/maps": {
   "post": {
    "operationId": "compatMapsPost",
    "summary": "Maps (Serper request format)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "oneOf": [
         {
          "$ref": "#/components/schemas/SerperMapsQuery"
         },
         {
          "type": "array",
          "items": {
           "$ref": "#/components/schemas/SerperMapsQuery"
          },
          "description": "Batch: up to 100 items.",
          "minItems": 1,
          "maxItems": 100
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "oneOf": [
          {
           "$ref": "#/components/schemas/SerperPlacesResponse"
          },
          {
           "type": "array",
           "items": {
            "oneOf": [
             {
              "$ref": "#/components/schemas/SerperPlacesResponse"
             },
             {
              "$ref": "#/components/schemas/CompatErrorResponse"
             }
            ]
           },
           "description": "Batch answer, same order."
          }
         ]
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "get": {
    "operationId": "compatMapsGet",
    "summary": "Maps (Serper request format, GET)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "parameters": [
     {
      "name": "q",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "gl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "hl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "ll",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "placeId",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "cid",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "page",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SerperPlacesResponse"
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   }
  },
  "/v1/web/compat/serper/reviews": {
   "post": {
    "operationId": "compatReviewsPost",
    "summary": "Reviews (Serper request format)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "oneOf": [
         {
          "$ref": "#/components/schemas/SerperReviewsQuery"
         },
         {
          "type": "array",
          "items": {
           "$ref": "#/components/schemas/SerperReviewsQuery"
          },
          "description": "Batch: up to 100 items.",
          "minItems": 1,
          "maxItems": 100
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "oneOf": [
          {
           "$ref": "#/components/schemas/SerperReviewsResponse"
          },
          {
           "type": "array",
           "items": {
            "oneOf": [
             {
              "$ref": "#/components/schemas/SerperReviewsResponse"
             },
             {
              "$ref": "#/components/schemas/CompatErrorResponse"
             }
            ]
           },
           "description": "Batch answer, same order."
          }
         ]
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "get": {
    "operationId": "compatReviewsGet",
    "summary": "Reviews (Serper request format, GET)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "parameters": [
     {
      "name": "fid",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "cid",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "placeId",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "sortBy",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "enum": [
        "mostRelevant",
        "newest",
        "highestRating",
        "lowestRating"
       ]
      }
     },
     {
      "name": "topicId",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "nextPageToken",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "gl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "hl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SerperReviewsResponse"
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   }
  },
  "/v1/web/compat/serper/shopping": {
   "post": {
    "operationId": "compatShoppingPost",
    "summary": "Shopping (Serper request format)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "oneOf": [
         {
          "$ref": "#/components/schemas/SerperQuery"
         },
         {
          "type": "array",
          "items": {
           "$ref": "#/components/schemas/SerperQuery"
          },
          "description": "Batch: up to 100 items.",
          "minItems": 1,
          "maxItems": 100
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "oneOf": [
          {
           "$ref": "#/components/schemas/SerperShoppingResponse"
          },
          {
           "type": "array",
           "items": {
            "oneOf": [
             {
              "$ref": "#/components/schemas/SerperShoppingResponse"
             },
             {
              "$ref": "#/components/schemas/CompatErrorResponse"
             }
            ]
           },
           "description": "Batch answer, same order."
          }
         ]
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "get": {
    "operationId": "compatShoppingGet",
    "summary": "Shopping (Serper request format, GET)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "parameters": [
     {
      "name": "q",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "gl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "hl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "location",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "num",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "page",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "tbs",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "autocorrect",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "type",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SerperShoppingResponse"
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   }
  },
  "/v1/web/compat/serper/lens": {
   "post": {
    "operationId": "compatLensPost",
    "summary": "Search by image (Serper request format)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "oneOf": [
         {
          "$ref": "#/components/schemas/SerperLensQuery"
         },
         {
          "type": "array",
          "items": {
           "$ref": "#/components/schemas/SerperLensQuery"
          },
          "description": "Batch: up to 100 items.",
          "minItems": 1,
          "maxItems": 100
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "oneOf": [
          {
           "$ref": "#/components/schemas/SerperLensResponse"
          },
          {
           "type": "array",
           "items": {
            "oneOf": [
             {
              "$ref": "#/components/schemas/SerperLensResponse"
             },
             {
              "$ref": "#/components/schemas/CompatErrorResponse"
             }
            ]
           },
           "description": "Batch answer, same order."
          }
         ]
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "get": {
    "operationId": "compatLensGet",
    "summary": "Search by image (Serper request format, GET)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "parameters": [
     {
      "name": "url",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "gl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "hl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "location",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "tbs",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SerperLensResponse"
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   }
  },
  "/v1/web/compat/serper/scholar": {
   "post": {
    "operationId": "compatScholarPost",
    "summary": "Scholar (Serper request format)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "oneOf": [
         {
          "$ref": "#/components/schemas/SerperQuery"
         },
         {
          "type": "array",
          "items": {
           "$ref": "#/components/schemas/SerperQuery"
          },
          "description": "Batch: up to 100 items.",
          "minItems": 1,
          "maxItems": 100
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "oneOf": [
          {
           "$ref": "#/components/schemas/SerperScholarResponse"
          },
          {
           "type": "array",
           "items": {
            "oneOf": [
             {
              "$ref": "#/components/schemas/SerperScholarResponse"
             },
             {
              "$ref": "#/components/schemas/CompatErrorResponse"
             }
            ]
           },
           "description": "Batch answer, same order."
          }
         ]
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "get": {
    "operationId": "compatScholarGet",
    "summary": "Scholar (Serper request format, GET)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "parameters": [
     {
      "name": "q",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "gl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "hl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "location",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "num",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "page",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "tbs",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "autocorrect",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "type",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SerperScholarResponse"
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   }
  },
  "/v1/web/compat/serper/patents": {
   "post": {
    "operationId": "compatPatentsPost",
    "summary": "Patents (Serper request format)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "oneOf": [
         {
          "$ref": "#/components/schemas/SerperPatentsQuery"
         },
         {
          "type": "array",
          "items": {
           "$ref": "#/components/schemas/SerperPatentsQuery"
          },
          "description": "Batch: up to 100 items.",
          "minItems": 1,
          "maxItems": 100
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "oneOf": [
          {
           "$ref": "#/components/schemas/SerperPatentsResponse"
          },
          {
           "type": "array",
           "items": {
            "oneOf": [
             {
              "$ref": "#/components/schemas/SerperPatentsResponse"
             },
             {
              "$ref": "#/components/schemas/CompatErrorResponse"
             }
            ]
           },
           "description": "Batch answer, same order."
          }
         ]
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "get": {
    "operationId": "compatPatentsGet",
    "summary": "Patents (Serper request format, GET)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "parameters": [
     {
      "name": "q",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "num",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "page",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SerperPatentsResponse"
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   }
  },
  "/v1/web/compat/serper/autocomplete": {
   "post": {
    "operationId": "compatAutocompletePost",
    "summary": "Autocomplete (Serper request format)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S2",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S2. location is ignored; the response adds attribution.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "oneOf": [
         {
          "$ref": "#/components/schemas/SerperAutocompleteQuery"
         },
         {
          "type": "array",
          "items": {
           "$ref": "#/components/schemas/SerperAutocompleteQuery"
          },
          "description": "Batch: up to 100 items.",
          "minItems": 1,
          "maxItems": 100
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "oneOf": [
          {
           "$ref": "#/components/schemas/SerperAutocompleteResponse"
          },
          {
           "type": "array",
           "items": {
            "oneOf": [
             {
              "$ref": "#/components/schemas/SerperAutocompleteResponse"
             },
             {
              "$ref": "#/components/schemas/CompatErrorResponse"
             }
            ]
           },
           "description": "Batch answer, same order."
          }
         ]
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "get": {
    "operationId": "compatAutocompleteGet",
    "summary": "Autocomplete (Serper request format, GET)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S2",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S2. location is ignored; the response adds attribution.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "parameters": [
     {
      "name": "q",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "gl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "hl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "location",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SerperAutocompleteResponse"
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   }
  },
  "/v1/web/compat/serper/webpage": {
   "post": {
    "operationId": "compatWebpagePost",
    "summary": "Webpage (Serper request format)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S2",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S2.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "oneOf": [
         {
          "$ref": "#/components/schemas/SerperWebpageQuery"
         },
         {
          "type": "array",
          "items": {
           "$ref": "#/components/schemas/SerperWebpageQuery"
          },
          "description": "Batch: up to 100 items.",
          "minItems": 1,
          "maxItems": 100
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "oneOf": [
          {
           "$ref": "#/components/schemas/SerperWebpageResponse"
          },
          {
           "type": "array",
           "items": {
            "oneOf": [
             {
              "$ref": "#/components/schemas/SerperWebpageResponse"
             },
             {
              "$ref": "#/components/schemas/CompatErrorResponse"
             }
            ]
           },
           "description": "Batch answer, same order."
          }
         ]
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "get": {
    "operationId": "compatWebpageGet",
    "summary": "Webpage (Serper request format, GET)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S2",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S2.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "parameters": [
     {
      "name": "url",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "includeMarkdown",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "includeLinks",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "includeImages",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "includeVideos",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SerperWebpageResponse"
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   }
  },
  "/search": {
   "post": {
    "operationId": "compatSearchRootPost",
    "summary": "Search (web) (Serper request format)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S2",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S2.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "oneOf": [
         {
          "$ref": "#/components/schemas/SerperQuery"
         },
         {
          "type": "array",
          "items": {
           "$ref": "#/components/schemas/SerperQuery"
          },
          "description": "Batch: up to 100 items.",
          "minItems": 1,
          "maxItems": 100
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "oneOf": [
          {
           "$ref": "#/components/schemas/SerperSearchResponse"
          },
          {
           "type": "array",
           "items": {
            "oneOf": [
             {
              "$ref": "#/components/schemas/SerperSearchResponse"
             },
             {
              "$ref": "#/components/schemas/CompatErrorResponse"
             }
            ]
           },
           "description": "Batch answer, same order."
          }
         ]
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "get": {
    "operationId": "compatSearchRootGet",
    "summary": "Search (web) (Serper request format, GET)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S2",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S2.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "parameters": [
     {
      "name": "q",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "gl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "hl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "location",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "num",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "page",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "tbs",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "autocorrect",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "type",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SerperSearchResponse"
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "servers": [
    {
     "url": "https://api.websearch.fast",
     "description": "Own site (S4). Root compatibility paths are served only here."
    }
   ]
  },
  "/images": {
   "post": {
    "operationId": "compatImagesRootPost",
    "summary": "Images (Serper request format)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "oneOf": [
         {
          "$ref": "#/components/schemas/SerperQuery"
         },
         {
          "type": "array",
          "items": {
           "$ref": "#/components/schemas/SerperQuery"
          },
          "description": "Batch: up to 100 items.",
          "minItems": 1,
          "maxItems": 100
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "oneOf": [
          {
           "$ref": "#/components/schemas/SerperImagesResponse"
          },
          {
           "type": "array",
           "items": {
            "oneOf": [
             {
              "$ref": "#/components/schemas/SerperImagesResponse"
             },
             {
              "$ref": "#/components/schemas/CompatErrorResponse"
             }
            ]
           },
           "description": "Batch answer, same order."
          }
         ]
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "get": {
    "operationId": "compatImagesRootGet",
    "summary": "Images (Serper request format, GET)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "parameters": [
     {
      "name": "q",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "gl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "hl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "location",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "num",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "page",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "tbs",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "autocorrect",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "type",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SerperImagesResponse"
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "servers": [
    {
     "url": "https://api.websearch.fast",
     "description": "Own site (S4). Root compatibility paths are served only here."
    }
   ]
  },
  "/videos": {
   "post": {
    "operationId": "compatVideosRootPost",
    "summary": "Videos (Serper request format)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "oneOf": [
         {
          "$ref": "#/components/schemas/SerperQuery"
         },
         {
          "type": "array",
          "items": {
           "$ref": "#/components/schemas/SerperQuery"
          },
          "description": "Batch: up to 100 items.",
          "minItems": 1,
          "maxItems": 100
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "oneOf": [
          {
           "$ref": "#/components/schemas/SerperVideosResponse"
          },
          {
           "type": "array",
           "items": {
            "oneOf": [
             {
              "$ref": "#/components/schemas/SerperVideosResponse"
             },
             {
              "$ref": "#/components/schemas/CompatErrorResponse"
             }
            ]
           },
           "description": "Batch answer, same order."
          }
         ]
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "get": {
    "operationId": "compatVideosRootGet",
    "summary": "Videos (Serper request format, GET)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "parameters": [
     {
      "name": "q",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "gl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "hl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "location",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "num",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "page",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "tbs",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "autocorrect",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "type",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SerperVideosResponse"
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "servers": [
    {
     "url": "https://api.websearch.fast",
     "description": "Own site (S4). Root compatibility paths are served only here."
    }
   ]
  },
  "/news": {
   "post": {
    "operationId": "compatNewsRootPost",
    "summary": "News (Serper request format)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "oneOf": [
         {
          "$ref": "#/components/schemas/SerperQuery"
         },
         {
          "type": "array",
          "items": {
           "$ref": "#/components/schemas/SerperQuery"
          },
          "description": "Batch: up to 100 items.",
          "minItems": 1,
          "maxItems": 100
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "oneOf": [
          {
           "$ref": "#/components/schemas/SerperNewsResponse"
          },
          {
           "type": "array",
           "items": {
            "oneOf": [
             {
              "$ref": "#/components/schemas/SerperNewsResponse"
             },
             {
              "$ref": "#/components/schemas/CompatErrorResponse"
             }
            ]
           },
           "description": "Batch answer, same order."
          }
         ]
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "get": {
    "operationId": "compatNewsRootGet",
    "summary": "News (Serper request format, GET)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "parameters": [
     {
      "name": "q",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "gl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "hl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "location",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "num",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "page",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "tbs",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "autocorrect",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "type",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SerperNewsResponse"
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "servers": [
    {
     "url": "https://api.websearch.fast",
     "description": "Own site (S4). Root compatibility paths are served only here."
    }
   ]
  },
  "/places": {
   "post": {
    "operationId": "compatPlacesRootPost",
    "summary": "Places (Serper request format)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "oneOf": [
         {
          "$ref": "#/components/schemas/SerperQuery"
         },
         {
          "type": "array",
          "items": {
           "$ref": "#/components/schemas/SerperQuery"
          },
          "description": "Batch: up to 100 items.",
          "minItems": 1,
          "maxItems": 100
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "oneOf": [
          {
           "$ref": "#/components/schemas/SerperPlacesResponse"
          },
          {
           "type": "array",
           "items": {
            "oneOf": [
             {
              "$ref": "#/components/schemas/SerperPlacesResponse"
             },
             {
              "$ref": "#/components/schemas/CompatErrorResponse"
             }
            ]
           },
           "description": "Batch answer, same order."
          }
         ]
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "get": {
    "operationId": "compatPlacesRootGet",
    "summary": "Places (Serper request format, GET)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "parameters": [
     {
      "name": "q",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "gl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "hl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "location",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "num",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "page",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "tbs",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "autocorrect",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "type",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SerperPlacesResponse"
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "servers": [
    {
     "url": "https://api.websearch.fast",
     "description": "Own site (S4). Root compatibility paths are served only here."
    }
   ]
  },
  "/maps": {
   "post": {
    "operationId": "compatMapsRootPost",
    "summary": "Maps (Serper request format)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "oneOf": [
         {
          "$ref": "#/components/schemas/SerperMapsQuery"
         },
         {
          "type": "array",
          "items": {
           "$ref": "#/components/schemas/SerperMapsQuery"
          },
          "description": "Batch: up to 100 items.",
          "minItems": 1,
          "maxItems": 100
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "oneOf": [
          {
           "$ref": "#/components/schemas/SerperPlacesResponse"
          },
          {
           "type": "array",
           "items": {
            "oneOf": [
             {
              "$ref": "#/components/schemas/SerperPlacesResponse"
             },
             {
              "$ref": "#/components/schemas/CompatErrorResponse"
             }
            ]
           },
           "description": "Batch answer, same order."
          }
         ]
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "get": {
    "operationId": "compatMapsRootGet",
    "summary": "Maps (Serper request format, GET)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "parameters": [
     {
      "name": "q",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "gl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "hl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "ll",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "placeId",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "cid",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "page",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SerperPlacesResponse"
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "servers": [
    {
     "url": "https://api.websearch.fast",
     "description": "Own site (S4). Root compatibility paths are served only here."
    }
   ]
  },
  "/reviews": {
   "post": {
    "operationId": "compatReviewsRootPost",
    "summary": "Reviews (Serper request format)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "oneOf": [
         {
          "$ref": "#/components/schemas/SerperReviewsQuery"
         },
         {
          "type": "array",
          "items": {
           "$ref": "#/components/schemas/SerperReviewsQuery"
          },
          "description": "Batch: up to 100 items.",
          "minItems": 1,
          "maxItems": 100
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "oneOf": [
          {
           "$ref": "#/components/schemas/SerperReviewsResponse"
          },
          {
           "type": "array",
           "items": {
            "oneOf": [
             {
              "$ref": "#/components/schemas/SerperReviewsResponse"
             },
             {
              "$ref": "#/components/schemas/CompatErrorResponse"
             }
            ]
           },
           "description": "Batch answer, same order."
          }
         ]
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "get": {
    "operationId": "compatReviewsRootGet",
    "summary": "Reviews (Serper request format, GET)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "parameters": [
     {
      "name": "fid",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "cid",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "placeId",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "sortBy",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "enum": [
        "mostRelevant",
        "newest",
        "highestRating",
        "lowestRating"
       ]
      }
     },
     {
      "name": "topicId",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "nextPageToken",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "gl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "hl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SerperReviewsResponse"
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "servers": [
    {
     "url": "https://api.websearch.fast",
     "description": "Own site (S4). Root compatibility paths are served only here."
    }
   ]
  },
  "/shopping": {
   "post": {
    "operationId": "compatShoppingRootPost",
    "summary": "Shopping (Serper request format)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "oneOf": [
         {
          "$ref": "#/components/schemas/SerperQuery"
         },
         {
          "type": "array",
          "items": {
           "$ref": "#/components/schemas/SerperQuery"
          },
          "description": "Batch: up to 100 items.",
          "minItems": 1,
          "maxItems": 100
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "oneOf": [
          {
           "$ref": "#/components/schemas/SerperShoppingResponse"
          },
          {
           "type": "array",
           "items": {
            "oneOf": [
             {
              "$ref": "#/components/schemas/SerperShoppingResponse"
             },
             {
              "$ref": "#/components/schemas/CompatErrorResponse"
             }
            ]
           },
           "description": "Batch answer, same order."
          }
         ]
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "get": {
    "operationId": "compatShoppingRootGet",
    "summary": "Shopping (Serper request format, GET)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "parameters": [
     {
      "name": "q",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "gl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "hl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "location",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "num",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "page",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "tbs",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "autocorrect",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "type",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SerperShoppingResponse"
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "servers": [
    {
     "url": "https://api.websearch.fast",
     "description": "Own site (S4). Root compatibility paths are served only here."
    }
   ]
  },
  "/lens": {
   "post": {
    "operationId": "compatLensRootPost",
    "summary": "Search by image (Serper request format)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "oneOf": [
         {
          "$ref": "#/components/schemas/SerperLensQuery"
         },
         {
          "type": "array",
          "items": {
           "$ref": "#/components/schemas/SerperLensQuery"
          },
          "description": "Batch: up to 100 items.",
          "minItems": 1,
          "maxItems": 100
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "oneOf": [
          {
           "$ref": "#/components/schemas/SerperLensResponse"
          },
          {
           "type": "array",
           "items": {
            "oneOf": [
             {
              "$ref": "#/components/schemas/SerperLensResponse"
             },
             {
              "$ref": "#/components/schemas/CompatErrorResponse"
             }
            ]
           },
           "description": "Batch answer, same order."
          }
         ]
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "get": {
    "operationId": "compatLensRootGet",
    "summary": "Search by image (Serper request format, GET)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "parameters": [
     {
      "name": "url",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "gl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "hl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "location",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "tbs",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SerperLensResponse"
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "servers": [
    {
     "url": "https://api.websearch.fast",
     "description": "Own site (S4). Root compatibility paths are served only here."
    }
   ]
  },
  "/scholar": {
   "post": {
    "operationId": "compatScholarRootPost",
    "summary": "Scholar (Serper request format)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "oneOf": [
         {
          "$ref": "#/components/schemas/SerperQuery"
         },
         {
          "type": "array",
          "items": {
           "$ref": "#/components/schemas/SerperQuery"
          },
          "description": "Batch: up to 100 items.",
          "minItems": 1,
          "maxItems": 100
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "oneOf": [
          {
           "$ref": "#/components/schemas/SerperScholarResponse"
          },
          {
           "type": "array",
           "items": {
            "oneOf": [
             {
              "$ref": "#/components/schemas/SerperScholarResponse"
             },
             {
              "$ref": "#/components/schemas/CompatErrorResponse"
             }
            ]
           },
           "description": "Batch answer, same order."
          }
         ]
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "get": {
    "operationId": "compatScholarRootGet",
    "summary": "Scholar (Serper request format, GET)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "parameters": [
     {
      "name": "q",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "gl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "hl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "location",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "num",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "page",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "tbs",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "autocorrect",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "type",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SerperScholarResponse"
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "servers": [
    {
     "url": "https://api.websearch.fast",
     "description": "Own site (S4). Root compatibility paths are served only here."
    }
   ]
  },
  "/patents": {
   "post": {
    "operationId": "compatPatentsRootPost",
    "summary": "Patents (Serper request format)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "oneOf": [
         {
          "$ref": "#/components/schemas/SerperPatentsQuery"
         },
         {
          "type": "array",
          "items": {
           "$ref": "#/components/schemas/SerperPatentsQuery"
          },
          "description": "Batch: up to 100 items.",
          "minItems": 1,
          "maxItems": 100
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "oneOf": [
          {
           "$ref": "#/components/schemas/SerperPatentsResponse"
          },
          {
           "type": "array",
           "items": {
            "oneOf": [
             {
              "$ref": "#/components/schemas/SerperPatentsResponse"
             },
             {
              "$ref": "#/components/schemas/CompatErrorResponse"
             }
            ]
           },
           "description": "Batch answer, same order."
          }
         ]
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "get": {
    "operationId": "compatPatentsRootGet",
    "summary": "Patents (Serper request format, GET)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S3",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S3.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "parameters": [
     {
      "name": "q",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "num",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "page",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SerperPatentsResponse"
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "servers": [
    {
     "url": "https://api.websearch.fast",
     "description": "Own site (S4). Root compatibility paths are served only here."
    }
   ]
  },
  "/autocomplete": {
   "post": {
    "operationId": "compatAutocompleteRootPost",
    "summary": "Autocomplete (Serper request format)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S2",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S2. location is ignored; the response adds attribution.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "oneOf": [
         {
          "$ref": "#/components/schemas/SerperAutocompleteQuery"
         },
         {
          "type": "array",
          "items": {
           "$ref": "#/components/schemas/SerperAutocompleteQuery"
          },
          "description": "Batch: up to 100 items.",
          "minItems": 1,
          "maxItems": 100
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "oneOf": [
          {
           "$ref": "#/components/schemas/SerperAutocompleteResponse"
          },
          {
           "type": "array",
           "items": {
            "oneOf": [
             {
              "$ref": "#/components/schemas/SerperAutocompleteResponse"
             },
             {
              "$ref": "#/components/schemas/CompatErrorResponse"
             }
            ]
           },
           "description": "Batch answer, same order."
          }
         ]
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "get": {
    "operationId": "compatAutocompleteRootGet",
    "summary": "Autocomplete (Serper request format, GET)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S2",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S2. location is ignored; the response adds attribution.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "parameters": [
     {
      "name": "q",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "gl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "hl",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "location",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SerperAutocompleteResponse"
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "servers": [
    {
     "url": "https://api.websearch.fast",
     "description": "Own site (S4). Root compatibility paths are served only here."
    }
   ]
  },
  "/webpage": {
   "post": {
    "operationId": "compatWebpageRootPost",
    "summary": "Webpage (Serper request format)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S2",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S2.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "oneOf": [
         {
          "$ref": "#/components/schemas/SerperWebpageQuery"
         },
         {
          "type": "array",
          "items": {
           "$ref": "#/components/schemas/SerperWebpageQuery"
          },
          "description": "Batch: up to 100 items.",
          "minItems": 1,
          "maxItems": 100
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "oneOf": [
          {
           "$ref": "#/components/schemas/SerperWebpageResponse"
          },
          {
           "type": "array",
           "items": {
            "oneOf": [
             {
              "$ref": "#/components/schemas/SerperWebpageResponse"
             },
             {
              "$ref": "#/components/schemas/CompatErrorResponse"
             }
            ]
           },
           "description": "Batch answer, same order."
          }
         ]
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "get": {
    "operationId": "compatWebpageRootGet",
    "summary": "Webpage (Serper request format, GET)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S2",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S2.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "parameters": [
     {
      "name": "url",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "includeMarkdown",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "includeLinks",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "includeImages",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "includeVideos",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SerperWebpageResponse"
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "servers": [
    {
     "url": "https://api.websearch.fast",
     "description": "Own site (S4). Root compatibility paths are served only here."
    }
   ]
  },
  "/": {
   "post": {
    "operationId": "compatWebpageBarePost",
    "summary": "Webpage at the root (Serper request format)",
    "tags": [
     "Compatibility"
    ],
    "x-stage": "S2",
    "description": "Compatibility path for the Serper request format. Native counterpart ships in S2.",
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "oneOf": [
         {
          "$ref": "#/components/schemas/SerperWebpageQuery"
         },
         {
          "type": "array",
          "items": {
           "$ref": "#/components/schemas/SerperWebpageQuery"
          },
          "description": "Batch: up to 100 items.",
          "minItems": 1,
          "maxItems": 100
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Response in the Serper request format.",
      "headers": {
       "X-Request-Id": {
        "$ref": "#/components/headers/X-Request-Id"
       },
       "X-RateLimit-Limit": {
        "$ref": "#/components/headers/X-RateLimit-Limit"
       },
       "X-RateLimit-Remaining": {
        "$ref": "#/components/headers/X-RateLimit-Remaining"
       },
       "X-RateLimit-Reset": {
        "$ref": "#/components/headers/X-RateLimit-Reset"
       },
       "X-Concurrency-Limit": {
        "$ref": "#/components/headers/X-Concurrency-Limit"
       },
       "X-Concurrency-Remaining": {
        "$ref": "#/components/headers/X-Concurrency-Remaining"
       },
       "X-Web-Credits": {
        "$ref": "#/components/headers/X-Web-Credits"
       },
       "X-Web-Cost-USD": {
        "$ref": "#/components/headers/X-Web-Cost-USD"
       },
       "X-Web-Charged": {
        "$ref": "#/components/headers/X-Web-Charged"
       },
       "X-Web-Cache": {
        "$ref": "#/components/headers/X-Web-Cache"
       },
       "X-Web-Ignored-Params": {
        "$ref": "#/components/headers/X-Web-Ignored-Params"
       }
      },
      "content": {
       "application/json": {
        "schema": {
         "oneOf": [
          {
           "$ref": "#/components/schemas/SerperWebpageResponse"
          },
          {
           "type": "array",
           "items": {
            "oneOf": [
             {
              "$ref": "#/components/schemas/SerperWebpageResponse"
             },
             {
              "$ref": "#/components/schemas/CompatErrorResponse"
             }
            ]
           },
           "description": "Batch answer, same order."
          }
         ]
        }
       }
      }
     },
     "default": {
      "$ref": "#/components/responses/CompatError"
     }
    }
   },
   "servers": [
    {
     "url": "https://api.websearch.fast",
     "description": "Own site (S4). Root compatibility paths are served only here."
    }
   ]
  }
 },
 "components": {
  "securitySchemes": {
   "bearerAuth": {
    "type": "http",
    "scheme": "bearer",
    "bearerFormat": "sk-...",
    "description": "Your site API key. Works on every path."
   },
   "apiKeyHeader": {
    "type": "apiKey",
    "in": "header",
    "name": "X-API-KEY",
    "description": "Compatibility paths and MCP only."
   }
  },
  "headers": {
   "X-Request-Id": {
    "description": "Request id; quote it to support.",
    "schema": {
     "type": "string"
    }
   },
   "X-RateLimit-Limit": {
    "description": "Requests allowed in the window for this key.",
    "schema": {
     "type": "integer"
    }
   },
   "X-RateLimit-Remaining": {
    "description": "Requests left in the current window.",
    "schema": {
     "type": "integer"
    }
   },
   "X-RateLimit-Reset": {
    "description": "Seconds until the window refills.",
    "schema": {
     "type": "integer"
    }
   },
   "X-Concurrency-Limit": {
    "description": "Calls this key may have in flight.",
    "schema": {
     "type": "integer"
    }
   },
   "X-Concurrency-Remaining": {
    "description": "Calls this key may still start now.",
    "schema": {
     "type": "integer"
    }
   },
   "Retry-After": {
    "description": "Seconds to wait before retrying.",
    "schema": {
     "type": "integer"
    }
   },
   "X-Web-Credits": {
    "description": "Credits charged for this call; 0 when not charged.",
    "schema": {
     "type": "string"
    }
   },
   "X-Web-Cost-USD": {
    "description": "USD charged, decimal string with up to 6 decimals.",
    "schema": {
     "type": "string"
    }
   },
   "X-Web-Charged": {
    "description": "true or false.",
    "schema": {
     "type": "string"
    }
   },
   "X-Web-Cache": {
    "description": "hit or miss.",
    "schema": {
     "type": "string"
    }
   },
   "X-Web-Ignored-Params": {
    "description": "Compatibility paths: request fields that were ignored, comma-separated.",
    "schema": {
     "type": "string"
    }
   },
   "Idempotent-Replayed": {
    "description": "true when the response is a stored replay of an earlier create.",
    "schema": {
     "type": "string"
    }
   },
   "Location": {
    "description": "URL of the created job.",
    "schema": {
     "type": "string"
    }
   }
  },
  "parameters": {
   "IdempotencyKey": {
    "name": "Idempotency-Key",
    "in": "header",
    "required": false,
    "description": "1 to 128 bytes; a retry with the same key and body within 24 hours returns the same job.",
    "schema": {
     "type": "string",
     "minLength": 1,
     "maxLength": 128
    }
   },
   "ResearchId": {
    "name": "id",
    "in": "path",
    "required": true,
    "schema": {
     "type": "string",
     "pattern": "^wr_"
    }
   },
   "CrawlId": {
    "name": "id",
    "in": "path",
    "required": true,
    "schema": {
     "type": "string",
     "pattern": "^wc_"
    }
   },
   "BatchId": {
    "name": "id",
    "in": "path",
    "required": true,
    "schema": {
     "type": "string",
     "pattern": "^wb_"
    }
   },
   "StartingAfter": {
    "name": "starting_after",
    "in": "query",
    "required": false,
    "description": "next_cursor of the previous page.",
    "schema": {
     "type": "string"
    }
   }
  },
  "responses": {
   "BadRequest": {
    "description": "invalid_request, invalid_url, invalid_schema or invalid_image. Not charged.",
    "headers": {
     "X-Request-Id": {
      "$ref": "#/components/headers/X-Request-Id"
     },
     "X-RateLimit-Limit": {
      "$ref": "#/components/headers/X-RateLimit-Limit"
     },
     "X-RateLimit-Remaining": {
      "$ref": "#/components/headers/X-RateLimit-Remaining"
     },
     "X-RateLimit-Reset": {
      "$ref": "#/components/headers/X-RateLimit-Reset"
     },
     "X-Concurrency-Limit": {
      "$ref": "#/components/headers/X-Concurrency-Limit"
     },
     "X-Concurrency-Remaining": {
      "$ref": "#/components/headers/X-Concurrency-Remaining"
     }
    },
    "content": {
     "application/json": {
      "schema": {
       "$ref": "#/components/schemas/ErrorResponse"
      }
     }
    }
   },
   "Unauthorized": {
    "description": "invalid_token. Not charged.",
    "headers": {
     "X-Request-Id": {
      "$ref": "#/components/headers/X-Request-Id"
     },
     "X-RateLimit-Limit": {
      "$ref": "#/components/headers/X-RateLimit-Limit"
     },
     "X-RateLimit-Remaining": {
      "$ref": "#/components/headers/X-RateLimit-Remaining"
     },
     "X-RateLimit-Reset": {
      "$ref": "#/components/headers/X-RateLimit-Reset"
     },
     "X-Concurrency-Limit": {
      "$ref": "#/components/headers/X-Concurrency-Limit"
     },
     "X-Concurrency-Remaining": {
      "$ref": "#/components/headers/X-Concurrency-Remaining"
     }
    },
    "content": {
     "application/json": {
      "schema": {
       "$ref": "#/components/schemas/ErrorResponse"
      }
     }
    }
   },
   "PaymentRequired": {
    "description": "insufficient_user_quota (the caller's own balance does not cover the call's maximum price), usd_balance_required (on a site where the web API is paid from a USD balance only, the account has none), or a customer key error of the Reseller API (customer_balance_exhausted and others; model_not_in_plan is 403). Never an upstream funding problem, which answers 503 source_unavailable. Not charged.",
    "headers": {
     "X-Request-Id": {
      "$ref": "#/components/headers/X-Request-Id"
     },
     "X-RateLimit-Limit": {
      "$ref": "#/components/headers/X-RateLimit-Limit"
     },
     "X-RateLimit-Remaining": {
      "$ref": "#/components/headers/X-RateLimit-Remaining"
     },
     "X-RateLimit-Reset": {
      "$ref": "#/components/headers/X-RateLimit-Reset"
     },
     "X-Concurrency-Limit": {
      "$ref": "#/components/headers/X-Concurrency-Limit"
     },
     "X-Concurrency-Remaining": {
      "$ref": "#/components/headers/X-Concurrency-Remaining"
     }
    },
    "content": {
     "application/json": {
      "schema": {
       "$ref": "#/components/schemas/ErrorResponse"
      }
     }
    }
   },
   "Forbidden": {
    "description": "pre_consume_token_quota_failed (the key's own spending limit), access_denied, web_not_allowed or model_not_in_plan (customer keys while plans cannot include the web tools). Not charged.",
    "headers": {
     "X-Request-Id": {
      "$ref": "#/components/headers/X-Request-Id"
     },
     "X-RateLimit-Limit": {
      "$ref": "#/components/headers/X-RateLimit-Limit"
     },
     "X-RateLimit-Remaining": {
      "$ref": "#/components/headers/X-RateLimit-Remaining"
     },
     "X-RateLimit-Reset": {
      "$ref": "#/components/headers/X-RateLimit-Reset"
     },
     "X-Concurrency-Limit": {
      "$ref": "#/components/headers/X-Concurrency-Limit"
     },
     "X-Concurrency-Remaining": {
      "$ref": "#/components/headers/X-Concurrency-Remaining"
     }
    },
    "content": {
     "application/json": {
      "schema": {
       "$ref": "#/components/schemas/ErrorResponse"
      }
     }
    }
   },
   "NotFound": {
    "description": "not_found or invalid_endpoint. Not charged.",
    "headers": {
     "X-Request-Id": {
      "$ref": "#/components/headers/X-Request-Id"
     },
     "X-RateLimit-Limit": {
      "$ref": "#/components/headers/X-RateLimit-Limit"
     },
     "X-RateLimit-Remaining": {
      "$ref": "#/components/headers/X-RateLimit-Remaining"
     },
     "X-RateLimit-Reset": {
      "$ref": "#/components/headers/X-RateLimit-Reset"
     },
     "X-Concurrency-Limit": {
      "$ref": "#/components/headers/X-Concurrency-Limit"
     },
     "X-Concurrency-Remaining": {
      "$ref": "#/components/headers/X-Concurrency-Remaining"
     }
    },
    "content": {
     "application/json": {
      "schema": {
       "$ref": "#/components/schemas/ErrorResponse"
      }
     }
    }
   },
   "Conflict": {
    "description": "idempotency_conflict or request_in_progress. Not charged.",
    "headers": {
     "X-Request-Id": {
      "$ref": "#/components/headers/X-Request-Id"
     },
     "X-RateLimit-Limit": {
      "$ref": "#/components/headers/X-RateLimit-Limit"
     },
     "X-RateLimit-Remaining": {
      "$ref": "#/components/headers/X-RateLimit-Remaining"
     },
     "X-RateLimit-Reset": {
      "$ref": "#/components/headers/X-RateLimit-Reset"
     },
     "X-Concurrency-Limit": {
      "$ref": "#/components/headers/X-Concurrency-Limit"
     },
     "X-Concurrency-Remaining": {
      "$ref": "#/components/headers/X-Concurrency-Remaining"
     },
     "Retry-After": {
      "$ref": "#/components/headers/Retry-After"
     }
    },
    "content": {
     "application/json": {
      "schema": {
       "$ref": "#/components/schemas/ErrorResponse"
      }
     }
    }
   },
   "TooLarge": {
    "description": "read_request_body_failed: the request body is over the limit. Not charged.",
    "headers": {
     "X-Request-Id": {
      "$ref": "#/components/headers/X-Request-Id"
     },
     "X-RateLimit-Limit": {
      "$ref": "#/components/headers/X-RateLimit-Limit"
     },
     "X-RateLimit-Remaining": {
      "$ref": "#/components/headers/X-RateLimit-Remaining"
     },
     "X-RateLimit-Reset": {
      "$ref": "#/components/headers/X-RateLimit-Reset"
     },
     "X-Concurrency-Limit": {
      "$ref": "#/components/headers/X-Concurrency-Limit"
     },
     "X-Concurrency-Remaining": {
      "$ref": "#/components/headers/X-Concurrency-Remaining"
     }
    },
    "content": {
     "application/json": {
      "schema": {
       "$ref": "#/components/schemas/ErrorResponse"
      }
     }
    }
   },
   "Unsupported": {
    "description": "unsupported_content. Not charged.",
    "headers": {
     "X-Request-Id": {
      "$ref": "#/components/headers/X-Request-Id"
     },
     "X-RateLimit-Limit": {
      "$ref": "#/components/headers/X-RateLimit-Limit"
     },
     "X-RateLimit-Remaining": {
      "$ref": "#/components/headers/X-RateLimit-Remaining"
     },
     "X-RateLimit-Reset": {
      "$ref": "#/components/headers/X-RateLimit-Reset"
     },
     "X-Concurrency-Limit": {
      "$ref": "#/components/headers/X-Concurrency-Limit"
     },
     "X-Concurrency-Remaining": {
      "$ref": "#/components/headers/X-Concurrency-Remaining"
     }
    },
    "content": {
     "application/json": {
      "schema": {
       "$ref": "#/components/schemas/ErrorResponse"
      }
     }
    }
   },
   "Unprocessable": {
    "description": "fetch_failed, site_refused, page_too_large or extraction_failed. Not charged.",
    "headers": {
     "X-Request-Id": {
      "$ref": "#/components/headers/X-Request-Id"
     },
     "X-RateLimit-Limit": {
      "$ref": "#/components/headers/X-RateLimit-Limit"
     },
     "X-RateLimit-Remaining": {
      "$ref": "#/components/headers/X-RateLimit-Remaining"
     },
     "X-RateLimit-Reset": {
      "$ref": "#/components/headers/X-RateLimit-Reset"
     },
     "X-Concurrency-Limit": {
      "$ref": "#/components/headers/X-Concurrency-Limit"
     },
     "X-Concurrency-Remaining": {
      "$ref": "#/components/headers/X-Concurrency-Remaining"
     }
    },
    "content": {
     "application/json": {
      "schema": {
       "$ref": "#/components/schemas/ErrorResponse"
      }
     }
    }
   },
   "TooManyRequests": {
    "description": "rate_limited, concurrency_limited, api_key_temporarily_frozen, or the failure guard. Not charged.",
    "headers": {
     "X-Request-Id": {
      "$ref": "#/components/headers/X-Request-Id"
     },
     "X-RateLimit-Limit": {
      "$ref": "#/components/headers/X-RateLimit-Limit"
     },
     "X-RateLimit-Remaining": {
      "$ref": "#/components/headers/X-RateLimit-Remaining"
     },
     "X-RateLimit-Reset": {
      "$ref": "#/components/headers/X-RateLimit-Reset"
     },
     "X-Concurrency-Limit": {
      "$ref": "#/components/headers/X-Concurrency-Limit"
     },
     "X-Concurrency-Remaining": {
      "$ref": "#/components/headers/X-Concurrency-Remaining"
     },
     "Retry-After": {
      "$ref": "#/components/headers/Retry-After"
     }
    },
    "content": {
     "application/json": {
      "schema": {
       "$ref": "#/components/schemas/ErrorResponse"
      }
     }
    }
   },
   "Internal": {
    "description": "internal_error. Not charged.",
    "headers": {
     "X-Request-Id": {
      "$ref": "#/components/headers/X-Request-Id"
     },
     "X-RateLimit-Limit": {
      "$ref": "#/components/headers/X-RateLimit-Limit"
     },
     "X-RateLimit-Remaining": {
      "$ref": "#/components/headers/X-RateLimit-Remaining"
     },
     "X-RateLimit-Reset": {
      "$ref": "#/components/headers/X-RateLimit-Reset"
     },
     "X-Concurrency-Limit": {
      "$ref": "#/components/headers/X-Concurrency-Limit"
     },
     "X-Concurrency-Remaining": {
      "$ref": "#/components/headers/X-Concurrency-Remaining"
     }
    },
    "content": {
     "application/json": {
      "schema": {
       "$ref": "#/components/schemas/ErrorResponse"
      }
     }
    }
   },
   "NotImplemented": {
    "description": "api_not_implemented: the endpoint, type or option has not shipped. Not charged.",
    "headers": {
     "X-Request-Id": {
      "$ref": "#/components/headers/X-Request-Id"
     },
     "X-RateLimit-Limit": {
      "$ref": "#/components/headers/X-RateLimit-Limit"
     },
     "X-RateLimit-Remaining": {
      "$ref": "#/components/headers/X-RateLimit-Remaining"
     },
     "X-RateLimit-Reset": {
      "$ref": "#/components/headers/X-RateLimit-Reset"
     },
     "X-Concurrency-Limit": {
      "$ref": "#/components/headers/X-Concurrency-Limit"
     },
     "X-Concurrency-Remaining": {
      "$ref": "#/components/headers/X-Concurrency-Remaining"
     }
    },
    "content": {
     "application/json": {
      "schema": {
       "$ref": "#/components/schemas/ErrorResponse"
      }
     }
    }
   },
   "Unavailable": {
    "description": "source_unavailable, web_api_disabled, token_cache_busy or billing_busy (the charge could not be prepared in time; retry after Retry-After). Not charged.",
    "headers": {
     "X-Request-Id": {
      "$ref": "#/components/headers/X-Request-Id"
     },
     "X-RateLimit-Limit": {
      "$ref": "#/components/headers/X-RateLimit-Limit"
     },
     "X-RateLimit-Remaining": {
      "$ref": "#/components/headers/X-RateLimit-Remaining"
     },
     "X-RateLimit-Reset": {
      "$ref": "#/components/headers/X-RateLimit-Reset"
     },
     "X-Concurrency-Limit": {
      "$ref": "#/components/headers/X-Concurrency-Limit"
     },
     "X-Concurrency-Remaining": {
      "$ref": "#/components/headers/X-Concurrency-Remaining"
     },
     "Retry-After": {
      "$ref": "#/components/headers/Retry-After"
     }
    },
    "content": {
     "application/json": {
      "schema": {
       "$ref": "#/components/schemas/ErrorResponse"
      }
     }
    }
   },
   "Timeout": {
    "description": "timeout. Not charged.",
    "headers": {
     "X-Request-Id": {
      "$ref": "#/components/headers/X-Request-Id"
     },
     "X-RateLimit-Limit": {
      "$ref": "#/components/headers/X-RateLimit-Limit"
     },
     "X-RateLimit-Remaining": {
      "$ref": "#/components/headers/X-RateLimit-Remaining"
     },
     "X-RateLimit-Reset": {
      "$ref": "#/components/headers/X-RateLimit-Reset"
     },
     "X-Concurrency-Limit": {
      "$ref": "#/components/headers/X-Concurrency-Limit"
     },
     "X-Concurrency-Remaining": {
      "$ref": "#/components/headers/X-Concurrency-Remaining"
     }
    },
    "content": {
     "application/json": {
      "schema": {
       "$ref": "#/components/schemas/ErrorResponse"
      }
     }
    }
   },
   "CompatError": {
    "description": "Any error of the native table, with message and statusCode at the top level. Not charged.",
    "headers": {
     "X-Request-Id": {
      "$ref": "#/components/headers/X-Request-Id"
     },
     "X-RateLimit-Limit": {
      "$ref": "#/components/headers/X-RateLimit-Limit"
     },
     "X-RateLimit-Remaining": {
      "$ref": "#/components/headers/X-RateLimit-Remaining"
     },
     "X-RateLimit-Reset": {
      "$ref": "#/components/headers/X-RateLimit-Reset"
     },
     "X-Concurrency-Limit": {
      "$ref": "#/components/headers/X-Concurrency-Limit"
     },
     "X-Concurrency-Remaining": {
      "$ref": "#/components/headers/X-Concurrency-Remaining"
     },
     "Retry-After": {
      "$ref": "#/components/headers/Retry-After"
     }
    },
    "content": {
     "application/json": {
      "schema": {
       "$ref": "#/components/schemas/CompatErrorResponse"
      }
     }
    }
   }
  },
  "schemas": {
   "ErrorBody": {
    "type": "object",
    "properties": {
     "code": {
      "type": "string",
      "description": "Stable machine-readable code. Branch on it after the HTTP status."
     },
     "message": {
      "type": "string",
      "description": "Text for people; can change."
     },
     "type": {
      "type": "string",
      "enum": [
       "invalid_request_error",
       "authentication_error",
       "permission_error",
       "rate_limit_error",
       "server_error"
      ]
     },
     "param": {
      "type": [
       "string",
       "null"
      ],
      "description": "Field, header or query parameter at fault."
     },
     "doc_url": {
      "type": "string",
      "format": "uri",
      "description": "Link to the code's row in the reference. Omitted until the reference is published."
     },
     "detail": {
      "type": "object",
      "properties": {
       "http_status": {
        "type": "integer"
       },
       "retry_after_seconds": {
        "type": "integer"
       },
       "limit": {
        "type": "integer"
       }
      },
      "description": "Code-specific facts.",
      "additionalProperties": true
     }
    },
    "required": [
     "code",
     "message",
     "type"
    ],
    "additionalProperties": false
   },
   "ErrorResponse": {
    "type": "object",
    "properties": {
     "error": {
      "$ref": "#/components/schemas/ErrorBody"
     },
     "request_id": {
      "type": "string"
     }
    },
    "required": [
     "error",
     "request_id"
    ],
    "additionalProperties": false
   },
   "CompatErrorResponse": {
    "type": "object",
    "properties": {
     "message": {
      "type": "string"
     },
     "statusCode": {
      "type": "integer"
     },
     "error": {
      "$ref": "#/components/schemas/ErrorBody"
     },
     "request_id": {
      "type": "string"
     }
    },
    "required": [
     "message",
     "statusCode",
     "error",
     "request_id"
    ],
    "description": "Error body on compatibility paths.",
    "additionalProperties": false
   },
   "Warning": {
    "type": "object",
    "properties": {
     "code": {
      "type": "string",
      "description": "For example no_results, content_partial, answer_unavailable, partial, all_failed, reach_reduced."
     },
     "message": {
      "type": "string"
     },
     "param": {
      "type": "string"
     }
    },
    "required": [
     "code"
    ],
    "additionalProperties": false
   },
   "UsageItem": {
    "type": "object",
    "properties": {
     "unit": {
      "type": "string",
      "description": "Billable unit, for example search_web, content_page, fetch_page, geocode, autocomplete, knowledge."
     },
     "count": {
      "type": "integer",
      "minimum": 0
     }
    },
    "required": [
     "unit",
     "count"
    ],
    "additionalProperties": false
   },
   "Usage": {
    "type": "object",
    "properties": {
     "charged": {
      "type": "boolean"
     },
     "credits": {
      "type": "number",
      "description": "Credits charged for this call; 0 when not charged.",
      "minimum": 0
     },
     "cost_usd": {
      "type": "number",
      "description": "USD charged.",
      "minimum": 0
     },
     "items": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/UsageItem"
      }
     }
    },
    "required": [
     "charged",
     "credits",
     "cost_usd",
     "items"
    ],
    "additionalProperties": false
   },
   "JobUsage": {
    "type": "object",
    "properties": {
     "credits": {
      "type": "number",
      "minimum": 0
     },
     "cost_usd": {
      "type": "number",
      "minimum": 0
     },
     "reserved_usd": {
      "type": "number",
      "description": "Amount reserved from the balance for the job and not yet charged or returned.",
      "minimum": 0
     },
     "items": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/UsageItem"
      }
     }
    },
    "required": [
     "credits",
     "cost_usd",
     "items"
    ],
    "additionalProperties": false
   },
   "Cache": {
    "type": "object",
    "properties": {
     "hit": {
      "type": "boolean",
      "description": "The response, or every page in it, came from a stored copy."
     },
     "data_age_seconds": {
      "type": "integer",
      "description": "Age of the oldest part of the response.",
      "minimum": 0
     },
     "fetched_at": {
      "type": "integer",
      "description": "Unix seconds when the oldest part was read."
     }
    },
    "required": [
     "hit",
     "data_age_seconds",
     "fetched_at"
    ],
    "additionalProperties": false
   },
   "Origin": {
    "type": "string",
    "description": "Our neutral label of how the result reached you. New values can appear.",
    "enum": [
     "index",
     "live",
     "open_data"
    ]
   },
   "PageContent": {
    "type": "object",
    "properties": {
     "status": {
      "type": "string",
      "enum": [
       "ok",
       "failed"
      ]
     },
     "error_code": {
      "type": "string",
      "enum": [
       "fetch_failed",
       "site_refused",
       "unsupported_content",
       "page_too_large",
       "timeout"
      ]
     },
     "format": {
      "type": "string",
      "enum": [
       "markdown",
       "text"
      ]
     },
     "text": {
      "type": "string"
     },
     "chars": {
      "type": "integer"
     },
     "truncated": {
      "type": "boolean"
     },
     "title": {
      "type": "string"
     },
     "fetched_at": {
      "type": "integer",
      "description": "Unix seconds when the page was read."
     }
    },
    "required": [
     "status"
    ],
    "description": "Cleaned page text added by the content option.",
    "additionalProperties": false
   },
   "Sitelink": {
    "type": "object",
    "properties": {
     "title": {
      "type": "string"
     },
     "url": {
      "type": "string",
      "format": "uri"
     }
    },
    "required": [
     "title",
     "url"
    ],
    "additionalProperties": false
   },
   "ProxiedImage": {
    "type": "object",
    "properties": {
     "image_url": {
      "type": "string",
      "description": "Served by our image proxy or by the destination site.",
      "format": "uri"
     },
     "thumbnail_url": {
      "type": "string",
      "format": "uri"
     }
    },
    "additionalProperties": false
   },
   "Price": {
    "type": "object",
    "properties": {
     "amount": {
      "type": "number"
     },
     "currency": {
      "type": "string",
      "description": "ISO 4217."
     },
     "text": {
      "type": "string"
     }
    },
    "required": [
     "text"
    ],
    "additionalProperties": false
   },
   "OpeningHours": {
    "type": "object",
    "properties": {
     "open_now": {
      "type": "boolean"
     },
     "text": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "weekly": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "day": {
         "type": "integer",
         "description": "1 Monday to 7 Sunday.",
         "minimum": 1,
         "maximum": 7
        },
        "open": {
         "type": "string",
         "pattern": "^\\d{2}:\\d{2}$"
        },
        "close": {
         "type": "string",
         "pattern": "^\\d{2}:\\d{2}$"
        }
       },
       "required": [
        "day",
        "open",
        "close"
       ],
       "additionalProperties": false
      }
     }
    },
    "additionalProperties": false
   },
   "WebResult": {
    "type": "object",
    "properties": {
     "position": {
      "type": "integer",
      "description": "1-based rank across pages.",
      "minimum": 1
     },
     "title": {
      "type": "string"
     },
     "url": {
      "type": "string",
      "description": "Real destination URL, never a redirect link.",
      "format": "uri"
     },
     "domain": {
      "type": "string",
      "description": "Host of url, lowercase, without www."
     },
     "snippet": {
      "type": "string",
      "maxLength": 400
     },
     "published_at": {
      "type": "string",
      "description": "ISO 8601 UTC, when known.",
      "format": "date-time"
     },
     "site_name": {
      "type": "string",
      "description": "The publisher's own name, when known."
     },
     "origin": {
      "$ref": "#/components/schemas/Origin"
     },
     "sitelinks": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/Sitelink"
      },
      "maxItems": 8
     },
     "attributes": {
      "type": "object",
      "properties": {},
      "description": "Facts shown with the result.",
      "additionalProperties": {
       "type": "string"
      }
     },
     "content": {
      "$ref": "#/components/schemas/PageContent"
     }
    },
    "required": [
     "position",
     "title",
     "url",
     "domain",
     "origin"
    ],
    "description": "Result of type web.",
    "additionalProperties": false
   },
   "NewsResult": {
    "type": "object",
    "properties": {
     "position": {
      "type": "integer",
      "description": "1-based rank across pages.",
      "minimum": 1
     },
     "title": {
      "type": "string"
     },
     "url": {
      "type": "string",
      "description": "Real destination URL, never a redirect link.",
      "format": "uri"
     },
     "domain": {
      "type": "string",
      "description": "Host of url, lowercase, without www."
     },
     "snippet": {
      "type": "string",
      "maxLength": 400
     },
     "published_at": {
      "type": "string",
      "description": "ISO 8601 UTC, when known.",
      "format": "date-time"
     },
     "site_name": {
      "type": "string",
      "description": "The publisher's own name, when known."
     },
     "origin": {
      "$ref": "#/components/schemas/Origin"
     },
     "image_url": {
      "type": "string",
      "format": "uri"
     },
     "authors": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "content": {
      "$ref": "#/components/schemas/PageContent"
     }
    },
    "required": [
     "position",
     "title",
     "url",
     "domain",
     "origin"
    ],
    "description": "Result of type news (S3).",
    "additionalProperties": false
   },
   "ImageResult": {
    "type": "object",
    "properties": {
     "position": {
      "type": "integer",
      "description": "1-based rank across pages.",
      "minimum": 1
     },
     "title": {
      "type": "string"
     },
     "url": {
      "type": "string",
      "description": "Real destination URL, never a redirect link.",
      "format": "uri"
     },
     "domain": {
      "type": "string",
      "description": "Host of url, lowercase, without www."
     },
     "snippet": {
      "type": "string",
      "maxLength": 400
     },
     "published_at": {
      "type": "string",
      "description": "ISO 8601 UTC, when known.",
      "format": "date-time"
     },
     "site_name": {
      "type": "string",
      "description": "The publisher's own name, when known."
     },
     "origin": {
      "$ref": "#/components/schemas/Origin"
     },
     "image_url": {
      "type": "string",
      "description": "The image file on its own site.",
      "format": "uri"
     },
     "image_width": {
      "type": "integer"
     },
     "image_height": {
      "type": "integer"
     },
     "thumbnail_url": {
      "type": "string",
      "description": "Proxied.",
      "format": "uri"
     },
     "thumbnail_width": {
      "type": "integer"
     },
     "thumbnail_height": {
      "type": "integer"
     }
    },
    "required": [
     "position",
     "title",
     "url",
     "domain",
     "origin"
    ],
    "description": "Result of type images (S3). url is the page that contains the image.",
    "additionalProperties": false
   },
   "VideoResult": {
    "type": "object",
    "properties": {
     "position": {
      "type": "integer",
      "description": "1-based rank across pages.",
      "minimum": 1
     },
     "title": {
      "type": "string"
     },
     "url": {
      "type": "string",
      "description": "Real destination URL, never a redirect link.",
      "format": "uri"
     },
     "domain": {
      "type": "string",
      "description": "Host of url, lowercase, without www."
     },
     "snippet": {
      "type": "string",
      "maxLength": 400
     },
     "published_at": {
      "type": "string",
      "description": "ISO 8601 UTC, when known.",
      "format": "date-time"
     },
     "site_name": {
      "type": "string",
      "description": "The publisher's own name, when known."
     },
     "origin": {
      "$ref": "#/components/schemas/Origin"
     },
     "thumbnail_url": {
      "type": "string",
      "format": "uri"
     },
     "duration_seconds": {
      "type": "integer"
     },
     "channel": {
      "type": "string"
     }
    },
    "required": [
     "position",
     "title",
     "url",
     "domain",
     "origin"
    ],
    "description": "Result of type videos (S3).",
    "additionalProperties": false
   },
   "PlaceResult": {
    "type": "object",
    "properties": {
     "position": {
      "type": "integer",
      "minimum": 1
     },
     "title": {
      "type": "string"
     },
     "origin": {
      "$ref": "#/components/schemas/Origin"
     },
     "place_id": {
      "type": "string",
      "description": "Our opaque id, pl_...",
      "pattern": "^pl_"
     },
     "url": {
      "type": "string",
      "description": "The place's own website, when known; never a map service page.",
      "format": "uri"
     },
     "domain": {
      "type": "string"
     },
     "snippet": {
      "type": "string"
     },
     "address": {
      "type": "string"
     },
     "location": {
      "type": "object",
      "properties": {
       "lat": {
        "type": "number",
        "minimum": -90,
        "maximum": 90
       },
       "lon": {
        "type": "number",
        "minimum": -180,
        "maximum": 180
       }
      },
      "required": [
       "lat",
       "lon"
      ],
      "additionalProperties": false
     },
     "categories": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "rating": {
      "type": "number",
      "minimum": 0,
      "maximum": 5
     },
     "rating_count": {
      "type": "integer"
     },
     "price_level": {
      "type": "integer",
      "minimum": 1,
      "maximum": 4
     },
     "phone": {
      "type": "string"
     },
     "website": {
      "type": "string",
      "format": "uri"
     },
     "opening_hours": {
      "$ref": "#/components/schemas/OpeningHours"
     },
     "description": {
      "type": "string"
     },
     "thumbnail_url": {
      "type": "string",
      "format": "uri"
     },
     "distance_m": {
      "type": "number"
     }
    },
    "required": [
     "position",
     "title",
     "place_id",
     "location",
     "origin"
    ],
    "description": "Result of type places (S3).",
    "additionalProperties": false
   },
   "ShoppingResult": {
    "type": "object",
    "properties": {
     "position": {
      "type": "integer",
      "description": "1-based rank across pages.",
      "minimum": 1
     },
     "title": {
      "type": "string"
     },
     "url": {
      "type": "string",
      "description": "Real destination URL, never a redirect link.",
      "format": "uri"
     },
     "domain": {
      "type": "string",
      "description": "Host of url, lowercase, without www."
     },
     "snippet": {
      "type": "string",
      "maxLength": 400
     },
     "published_at": {
      "type": "string",
      "description": "ISO 8601 UTC, when known.",
      "format": "date-time"
     },
     "site_name": {
      "type": "string",
      "description": "The publisher's own name, when known."
     },
     "origin": {
      "$ref": "#/components/schemas/Origin"
     },
     "price": {
      "$ref": "#/components/schemas/Price"
     },
     "merchant": {
      "type": "string"
     },
     "delivery": {
      "type": "string"
     },
     "rating": {
      "type": "number"
     },
     "rating_count": {
      "type": "integer"
     },
     "offers_count": {
      "type": "integer"
     },
     "product_id": {
      "type": "string"
     },
     "image_url": {
      "type": "string",
      "format": "uri"
     }
    },
    "required": [
     "position",
     "title",
     "url",
     "domain",
     "origin"
    ],
    "description": "Result of type shopping (S3).",
    "additionalProperties": false
   },
   "ScholarResult": {
    "type": "object",
    "properties": {
     "position": {
      "type": "integer",
      "description": "1-based rank across pages.",
      "minimum": 1
     },
     "title": {
      "type": "string"
     },
     "url": {
      "type": "string",
      "description": "Real destination URL, never a redirect link.",
      "format": "uri"
     },
     "domain": {
      "type": "string",
      "description": "Host of url, lowercase, without www."
     },
     "snippet": {
      "type": "string",
      "maxLength": 400
     },
     "published_at": {
      "type": "string",
      "description": "ISO 8601 UTC, when known.",
      "format": "date-time"
     },
     "site_name": {
      "type": "string",
      "description": "The publisher's own name, when known."
     },
     "origin": {
      "$ref": "#/components/schemas/Origin"
     },
     "authors": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "venue": {
      "type": "string"
     },
     "year": {
      "type": "integer"
     },
     "cited_by_count": {
      "type": "integer"
     },
     "doi": {
      "type": "string"
     },
     "pdf_url": {
      "type": "string",
      "description": "Open-access copy, when one exists.",
      "format": "uri"
     },
     "abstract": {
      "type": "string"
     },
     "paper_id": {
      "type": "string"
     },
     "publication_info": {
      "type": "string"
     }
    },
    "required": [
     "position",
     "title",
     "url",
     "domain",
     "origin"
    ],
    "description": "Result of type scholar (S3).",
    "additionalProperties": false
   },
   "PatentResult": {
    "type": "object",
    "properties": {
     "position": {
      "type": "integer",
      "description": "1-based rank across pages.",
      "minimum": 1
     },
     "title": {
      "type": "string"
     },
     "url": {
      "type": "string",
      "description": "Real destination URL, never a redirect link.",
      "format": "uri"
     },
     "domain": {
      "type": "string",
      "description": "Host of url, lowercase, without www."
     },
     "snippet": {
      "type": "string",
      "maxLength": 400
     },
     "published_at": {
      "type": "string",
      "description": "ISO 8601 UTC, when known.",
      "format": "date-time"
     },
     "site_name": {
      "type": "string",
      "description": "The publisher's own name, when known."
     },
     "origin": {
      "$ref": "#/components/schemas/Origin"
     },
     "publication_number": {
      "type": "string"
     },
     "priority_date": {
      "type": "string",
      "description": "Date YYYY-MM-DD (UTC).",
      "format": "date"
     },
     "filing_date": {
      "type": "string",
      "description": "Date YYYY-MM-DD (UTC).",
      "format": "date"
     },
     "grant_date": {
      "type": "string",
      "description": "Date YYYY-MM-DD (UTC).",
      "format": "date"
     },
     "publication_date": {
      "type": "string",
      "description": "Date YYYY-MM-DD (UTC).",
      "format": "date"
     },
     "inventors": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "assignees": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "language": {
      "type": "string"
     },
     "pdf_url": {
      "type": "string",
      "format": "uri"
     },
     "thumbnail_url": {
      "type": "string",
      "format": "uri"
     },
     "figures": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ProxiedImage"
      }
     }
    },
    "required": [
     "position",
     "title",
     "url",
     "domain",
     "origin"
    ],
    "description": "Result of type patents (S3). url is the patent office page.",
    "additionalProperties": false
   },
   "AnswerBox": {
    "type": "object",
    "properties": {
     "title": {
      "type": "string"
     },
     "answer": {
      "type": "string"
     },
     "snippet": {
      "type": "string"
     },
     "url": {
      "type": "string",
      "format": "uri"
     }
    },
    "required": [
     "answer"
    ],
    "additionalProperties": false
   },
   "KnowledgePanel": {
    "type": "object",
    "properties": {
     "title": {
      "type": "string"
     },
     "type": {
      "type": "string",
      "description": "Short label, for example Physicist or City."
     },
     "description": {
      "type": "string",
      "description": "A short text from the encyclopedia article."
     },
     "description_url": {
      "type": "string",
      "format": "uri",
      "description": "The article the description comes from."
     },
     "description_site_name": {
      "type": "string",
      "description": "Name of the encyclopedia, with description_url."
     },
     "website": {
      "type": "string",
      "format": "uri",
      "description": "Official website of the entity."
     },
     "attributes": {
      "type": "object",
      "properties": {},
      "additionalProperties": {
       "type": "string"
      },
      "maxProperties": 30,
      "description": "Key facts as name: value, in a stable order."
     },
     "attribution": {
      "type": "array",
      "description": "The open data projects the data comes from, with their licences. Show it with the data.",
      "items": {
       "$ref": "#/components/schemas/DataAttribution"
      }
     }
    },
    "required": [
     "title",
     "attribution"
    ],
    "description": "An encyclopedia card from open data. In a search it comes only on page 1 of a search with results and is included in the search price.",
    "additionalProperties": false
   },
   "RelatedQuestion": {
    "type": "object",
    "properties": {
     "question": {
      "type": "string"
     },
     "snippet": {
      "type": "string"
     },
     "title": {
      "type": "string"
     },
     "url": {
      "type": "string",
      "format": "uri"
     }
    },
    "required": [
     "question"
    ],
    "additionalProperties": false
   },
   "RelatedSearch": {
    "type": "object",
    "properties": {
     "query": {
      "type": "string"
     }
    },
    "required": [
     "query"
    ],
    "additionalProperties": false
   },
   "Citation": {
    "type": "object",
    "properties": {
     "index": {
      "type": "integer",
      "minimum": 1
     },
     "url": {
      "type": "string",
      "format": "uri"
     },
     "title": {
      "type": "string"
     },
     "site_name": {
      "type": "string"
     },
     "published_at": {
      "type": "string",
      "format": "date-time"
     }
    },
    "required": [
     "index",
     "url"
    ],
    "additionalProperties": false
   },
   "Answer": {
    "type": "object",
    "properties": {
     "status": {
      "type": "string",
      "enum": [
       "ok",
       "unavailable"
      ]
     },
     "text": {
      "type": "string",
      "description": "Markdown with [n] markers that index citations."
     },
     "data": {
      "type": "object",
      "properties": {},
      "description": "Structured answer when answer.schema was sent.",
      "additionalProperties": true
     },
     "citations": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/Citation"
      }
     },
     "language": {
      "type": "string"
     }
    },
    "required": [
     "status"
    ],
    "description": "S3.",
    "additionalProperties": false
   },
   "SearchType": {
    "type": "string",
    "description": "The vertical. Types not shipped yet return 501 api_not_implemented.",
    "enum": [
     "web",
     "news",
     "images",
     "videos",
     "places",
     "shopping",
     "scholar",
     "patents"
    ],
    "default": "web"
   },
   "JsonSchemaObject": {
    "type": "object",
    "properties": {},
    "description": "JSON Schema 2020-12 subset; root must be an object; at most 16 KB, depth 5, 200 properties.",
    "additionalProperties": true
   },
   "ContentOption": {
    "type": "object",
    "properties": {
     "pages": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10,
      "default": 3,
      "description": "At most num. On a page above 1, content needs a num that is a multiple of 10, otherwise 400 with param content."
     },
     "format": {
      "type": "string",
      "enum": [
       "markdown",
       "text"
      ],
      "default": "markdown"
     },
     "max_chars_per_page": {
      "type": "integer",
      "minimum": 500,
      "maximum": 50000,
      "default": 8000
     },
     "mode": {
      "type": "string",
      "enum": [
       "full",
       "relevant"
      ],
      "default": "full"
     }
    },
    "description": "Cleaned text of the top pages.",
    "additionalProperties": false
   },
   "AnswerOption": {
    "type": "object",
    "properties": {
     "max_words": {
      "type": "integer",
      "minimum": 20,
      "maximum": 600,
      "default": 120
     },
     "language": {
      "type": "string",
      "description": "BCP 47 language tag.",
      "maxLength": 12
     },
     "schema": {
      "$ref": "#/components/schemas/JsonSchemaObject"
     },
     "pages": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10,
      "default": 5
     }
    },
    "description": "S3. Short answer with numbered citations.",
    "additionalProperties": false
   },
   "SearchRequest": {
    "type": "object",
    "properties": {
     "q": {
      "type": "string",
      "description": "The query. Operators: site:, -site:, quotes, -term, OR, before:, after: (S2); filetype:, intitle:, inurl: (S3).",
      "minLength": 1,
      "maxLength": 2048
     },
     "type": {
      "$ref": "#/components/schemas/SearchType"
     },
     "country": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 country code, case-insensitive.",
      "pattern": "^[A-Za-z]{2}$"
     },
     "language": {
      "type": "string",
      "description": "BCP 47 language tag.",
      "maxLength": 12
     },
     "location": {
      "type": "string",
      "description": "Place to rank for, as text.",
      "minLength": 2,
      "maxLength": 256
     },
     "near": {
      "type": "object",
      "properties": {
       "lat": {
        "type": "number",
        "minimum": -90,
        "maximum": 90
       },
       "lon": {
        "type": "number",
        "minimum": -180,
        "maximum": 180
       },
       "radius_m": {
        "type": "integer",
        "minimum": 100,
        "maximum": 50000,
        "default": 5000
       }
      },
      "required": [
       "lat",
       "lon"
      ],
      "description": "places only; exclusive with location.",
      "additionalProperties": false
     },
     "freshness": {
      "type": "string",
      "description": "Only results published within this period. Until the hourly filter ships, hour returns 501 api_not_implemented.",
      "enum": [
       "hour",
       "day",
       "week",
       "month",
       "year"
      ]
     },
     "date_from": {
      "type": "string",
      "description": "Date YYYY-MM-DD (UTC).",
      "format": "date"
     },
     "date_to": {
      "type": "string",
      "description": "Date YYYY-MM-DD (UTC).",
      "format": "date"
     },
     "page": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10,
      "default": 1,
      "description": "Results are read in blocks of 10 to 100 that start on a multiple of the block size; a page and num pair that does not fit in one block returns 400 with param num."
     },
     "num": {
      "type": "integer",
      "description": "Default 10 (images and shopping 20). page * num at most 200.",
      "minimum": 1,
      "maximum": 100
     },
     "safe": {
      "type": "string",
      "enum": [
       "off",
       "moderate",
       "strict"
      ],
      "default": "moderate"
     },
     "include_domains": {
      "type": "array",
      "items": {
       "type": "string",
       "maxLength": 253
      },
      "description": "Host names; subdomains included.",
      "maxItems": 20
     },
     "exclude_domains": {
      "type": "array",
      "items": {
       "type": "string",
       "maxLength": 253
      },
      "maxItems": 50
     },
     "content": {
      "$ref": "#/components/schemas/ContentOption"
     },
     "answer": {
      "oneOf": [
       {
        "type": "boolean"
       },
       {
        "$ref": "#/components/schemas/AnswerOption"
       }
      ],
      "description": "S3. true is the same as {}."
     },
     "max_age": {
      "type": "integer",
      "description": "Accept a stored copy up to this age in seconds.",
      "minimum": 0,
      "maximum": 2592000
     },
     "no_cache": {
      "type": "boolean",
      "description": "Never answer from a stored copy.",
      "default": false
     },
     "timeout_ms": {
      "type": "integer",
      "description": "Our deadline for this call; default and maximum 20000, or 25000 with content. A value outside 1000 to that maximum is refused with 400.",
      "minimum": 1000,
      "maximum": 25000
     }
    },
    "required": [
     "q"
    ],
    "additionalProperties": false
   },
   "SearchResult": {
    "oneOf": [
     {
      "$ref": "#/components/schemas/WebResult"
     },
     {
      "$ref": "#/components/schemas/NewsResult"
     },
     {
      "$ref": "#/components/schemas/ImageResult"
     },
     {
      "$ref": "#/components/schemas/VideoResult"
     },
     {
      "$ref": "#/components/schemas/PlaceResult"
     },
     {
      "$ref": "#/components/schemas/ShoppingResult"
     },
     {
      "$ref": "#/components/schemas/ScholarResult"
     },
     {
      "$ref": "#/components/schemas/PatentResult"
     }
    ],
    "description": "Item shape follows input.type."
   },
   "SearchResponse": {
    "type": "object",
    "properties": {
     "object": {
      "type": "string",
      "const": "web.search"
     },
     "request_id": {
      "type": "string",
      "description": "Same as the X-Request-Id header."
     },
     "created": {
      "type": "integer",
      "description": "Unix seconds (UTC)."
     },
     "input": {
      "type": "object",
      "properties": {},
      "description": "The parameters as applied, defaults filled in.",
      "additionalProperties": true
     },
     "usage": {
      "$ref": "#/components/schemas/Usage"
     },
     "cache": {
      "$ref": "#/components/schemas/Cache"
     },
     "warnings": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/Warning"
      }
     },
     "results": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/SearchResult"
      }
     },
     "has_more": {
      "type": "boolean"
     },
     "answer_box": {
      "$ref": "#/components/schemas/AnswerBox"
     },
     "knowledge_panel": {
      "$ref": "#/components/schemas/KnowledgePanel"
     },
     "related_questions": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RelatedQuestion"
      }
     },
     "related_searches": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RelatedSearch"
      }
     },
     "top_stories": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/NewsResult"
      },
      "maxItems": 10
     },
     "answer": {
      "$ref": "#/components/schemas/Answer"
     }
    },
    "required": [
     "object",
     "request_id",
     "created",
     "input",
     "usage",
     "results",
     "has_more"
    ],
    "additionalProperties": false
   },
   "AutocompleteRequest": {
    "type": "object",
    "properties": {
     "q": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256,
      "description": "The prefix, at most 200 characters. Leading spaces are removed; a trailing space asks for the next word."
     },
     "country": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 country code, case-insensitive.",
      "pattern": "^[A-Za-z]{2}$"
     },
     "language": {
      "type": "string",
      "description": "BCP 47 language tag. Detected from q when absent.",
      "maxLength": 12
     },
     "num": {
      "type": "integer",
      "minimum": 1,
      "maximum": 20,
      "default": 10
     },
     "timeout_ms": {
      "type": "integer",
      "minimum": 500,
      "maximum": 5000,
      "default": 5000,
      "description": "Upper bound for the call."
     }
    },
    "required": [
     "q"
    ],
    "additionalProperties": false
   },
   "AutocompleteResponse": {
    "type": "object",
    "properties": {
     "object": {
      "type": "string",
      "const": "web.autocomplete"
     },
     "request_id": {
      "type": "string",
      "description": "Same as the X-Request-Id header."
     },
     "created": {
      "type": "integer",
      "description": "Unix seconds (UTC)."
     },
     "input": {
      "type": "object",
      "properties": {},
      "description": "The parameters as applied, defaults filled in.",
      "additionalProperties": true
     },
     "usage": {
      "$ref": "#/components/schemas/Usage"
     },
     "warnings": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/Warning"
      }
     },
     "suggestions": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "value": {
         "type": "string"
        }
       },
       "required": [
        "value"
       ],
       "additionalProperties": false
      }
     },
     "language": {
      "type": "string",
      "description": "Language of the suggestions."
     },
     "attribution": {
      "type": "array",
      "description": "The open data projects the data comes from, with their licences. Show it with the data.",
      "items": {
       "$ref": "#/components/schemas/DataAttribution"
      }
     }
    },
    "required": [
     "object",
     "request_id",
     "created",
     "input",
     "usage",
     "suggestions"
    ],
    "additionalProperties": false
   },
   "FetchRequest": {
    "type": "object",
    "properties": {
     "url": {
      "type": "string",
      "description": "Public http(s) URL, at most 2048 bytes.",
      "format": "uri",
      "maxLength": 2048
     },
     "urls": {
      "type": "array",
      "items": {
       "type": "string",
       "description": "Public http(s) URL, at most 2048 bytes.",
       "format": "uri",
       "maxLength": 2048
      },
      "minItems": 1,
      "maxItems": 20
     },
     "format": {
      "type": "string",
      "enum": [
       "markdown",
       "text",
       "html"
      ],
      "default": "markdown",
      "description": "html returns 501 api_not_implemented until it ships."
     },
     "max_chars": {
      "type": "integer",
      "minimum": 1000,
      "maximum": 500000,
      "default": 50000
     },
     "mode": {
      "type": "string",
      "enum": [
       "main",
       "full"
      ],
      "default": "main",
      "description": "full returns 501 api_not_implemented until it ships."
     },
     "include_links": {
      "type": "boolean",
      "default": false
     },
     "include_images": {
      "type": "boolean",
      "default": false
     },
     "include_metadata": {
      "type": "boolean",
      "default": true
     },
     "pdf": {
      "type": "object",
      "properties": {
       "max_pages": {
        "type": "integer",
        "minimum": 1,
        "maximum": 500,
        "default": 100
       }
      },
      "additionalProperties": false
     },
     "query": {
      "type": "string",
      "description": "Return relevant_passages that match this text.",
      "maxLength": 512
     },
     "render": {
      "type": "boolean",
      "description": "Not before S3; true returns 501 until it ships.",
      "default": false
     },
     "max_age": {
      "type": "integer",
      "description": "Accept a stored copy up to this age in seconds.",
      "minimum": 0,
      "maximum": 2592000
     },
     "no_cache": {
      "type": "boolean",
      "description": "Never answer from a stored copy.",
      "default": false
     },
     "timeout_ms": {
      "type": "integer",
      "minimum": 2000,
      "maximum": 35000
     }
    },
    "additionalProperties": false,
    "oneOf": [
     {
      "required": [
       "url"
      ]
     },
     {
      "required": [
       "urls"
      ]
     }
    ]
   },
   "PageMetadata": {
    "type": "object",
    "properties": {
     "description": {
      "type": "string"
     },
     "author": {
      "type": "string"
     },
     "site_name": {
      "type": "string"
     },
     "canonical_url": {
      "type": "string",
      "format": "uri"
     },
     "image_url": {
      "type": "string",
      "format": "uri"
     },
     "keywords": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "meta": {
      "type": "object",
      "properties": {},
      "description": "Meta name and property tags, at most 100.",
      "additionalProperties": {
       "type": "string"
      }
     },
     "json_ld": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {},
       "additionalProperties": true
      },
      "maxItems": 20
     }
    },
    "additionalProperties": false
   },
   "FetchPage": {
    "type": "object",
    "properties": {
     "requested_url": {
      "type": "string"
     },
     "url": {
      "type": "string",
      "description": "Final URL after redirects. For now the requested URL, because the reader does not report the final one yet.",
      "format": "uri"
     },
     "status": {
      "type": "string",
      "enum": [
       "ok",
       "failed"
      ]
     },
     "error": {
      "type": "object",
      "properties": {
       "code": {
        "type": "string"
       },
       "message": {
        "type": "string"
       }
      },
      "required": [
       "code",
       "message"
      ],
      "additionalProperties": false
     },
     "http_status": {
      "type": "integer"
     },
     "content_type": {
      "type": "string"
     },
     "title": {
      "type": "string"
     },
     "content": {
      "type": "string"
     },
     "format": {
      "type": "string",
      "enum": [
       "markdown",
       "text",
       "html"
      ]
     },
     "chars": {
      "type": "integer"
     },
     "truncated": {
      "type": "boolean"
     },
     "extraction": {
      "type": "string",
      "description": "Neutral label of how the text was taken. New values can appear.",
      "enum": [
       "article",
       "full_page",
       "document",
       "feed",
       "plain",
       "structured"
      ]
     },
     "language": {
      "type": "string"
     },
     "published_at": {
      "type": "string",
      "format": "date-time"
     },
     "metadata": {
      "$ref": "#/components/schemas/PageMetadata"
     },
     "links": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "url": {
         "type": "string",
         "format": "uri"
        },
        "text": {
         "type": "string"
        },
        "rel": {
         "type": "string"
        }
       },
       "required": [
        "url"
       ],
       "additionalProperties": false
      },
      "maxItems": 1000
     },
     "images": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "url": {
         "type": "string",
         "format": "uri"
        },
        "alt": {
         "type": "string"
        },
        "width": {
         "type": "integer"
        },
        "height": {
         "type": "integer"
        }
       },
       "required": [
        "url"
       ],
       "additionalProperties": false
      },
      "maxItems": 200
     },
     "pdf_pages": {
      "type": "integer"
     },
     "relevant_passages": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "fetched_at": {
      "type": "integer"
     }
    },
    "required": [
     "requested_url",
     "status"
    ],
    "additionalProperties": false
   },
   "FetchResponse": {
    "type": "object",
    "properties": {
     "object": {
      "type": "string",
      "const": "web.fetch"
     },
     "request_id": {
      "type": "string",
      "description": "Same as the X-Request-Id header."
     },
     "created": {
      "type": "integer",
      "description": "Unix seconds (UTC)."
     },
     "input": {
      "type": "object",
      "properties": {},
      "description": "The parameters as applied, defaults filled in.",
      "additionalProperties": true
     },
     "usage": {
      "$ref": "#/components/schemas/Usage"
     },
     "cache": {
      "$ref": "#/components/schemas/Cache"
     },
     "warnings": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/Warning"
      }
     },
     "page": {
      "$ref": "#/components/schemas/FetchPage"
     },
     "pages": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/FetchPage"
      }
     }
    },
    "required": [
     "object",
     "request_id",
     "created",
     "input",
     "usage"
    ],
    "additionalProperties": false
   },
   "ExtractRequest": {
    "type": "object",
    "properties": {
     "urls": {
      "type": "array",
      "items": {
       "type": "string",
       "description": "Public http(s) URL, at most 2048 bytes.",
       "format": "uri",
       "maxLength": 2048
      },
      "minItems": 1,
      "maxItems": 10
     },
     "text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200000
     },
     "schema": {
      "$ref": "#/components/schemas/JsonSchemaObject"
     },
     "instructions": {
      "type": "string",
      "maxLength": 4000
     },
     "merge": {
      "type": "boolean",
      "default": false
     },
     "max_chars_per_page": {
      "type": "integer",
      "minimum": 1000,
      "maximum": 200000,
      "default": 50000
     },
     "include_sources": {
      "type": "boolean",
      "default": true
     },
     "max_age": {
      "type": "integer",
      "description": "Accept a stored copy up to this age in seconds.",
      "minimum": 0,
      "maximum": 2592000
     },
     "no_cache": {
      "type": "boolean",
      "description": "Never answer from a stored copy.",
      "default": false
     },
     "timeout_ms": {
      "type": "integer",
      "minimum": 5000,
      "maximum": 60000
     }
    },
    "required": [
     "schema"
    ],
    "additionalProperties": false,
    "oneOf": [
     {
      "required": [
       "urls"
      ]
     },
     {
      "required": [
       "text"
      ]
     }
    ]
   },
   "ExtractItem": {
    "type": "object",
    "properties": {
     "url": {
      "type": "string"
     },
     "status": {
      "type": "string",
      "enum": [
       "ok",
       "failed"
      ]
     },
     "data": {
      "type": "object",
      "properties": {},
      "additionalProperties": true
     },
     "error": {
      "type": "object",
      "properties": {
       "code": {
        "type": "string"
       },
       "message": {
        "type": "string"
       }
      },
      "required": [
       "code"
      ],
      "additionalProperties": false
     },
     "sources": {
      "type": "object",
      "properties": {},
      "description": "Top-level property to the URLs its value came from.",
      "additionalProperties": {
       "type": "array",
       "items": {
        "type": "string"
       }
      }
     }
    },
    "required": [
     "status"
    ],
    "additionalProperties": false
   },
   "ExtractResponse": {
    "type": "object",
    "properties": {
     "object": {
      "type": "string",
      "const": "web.extract"
     },
     "request_id": {
      "type": "string",
      "description": "Same as the X-Request-Id header."
     },
     "created": {
      "type": "integer",
      "description": "Unix seconds (UTC)."
     },
     "input": {
      "type": "object",
      "properties": {},
      "description": "The parameters as applied, defaults filled in.",
      "additionalProperties": true
     },
     "usage": {
      "$ref": "#/components/schemas/Usage"
     },
     "cache": {
      "$ref": "#/components/schemas/Cache"
     },
     "warnings": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/Warning"
      }
     },
     "data": {
      "type": "object",
      "properties": {},
      "description": "With merge: true.",
      "additionalProperties": true
     },
     "items": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ExtractItem"
      }
     },
     "sources": {
      "type": "object",
      "properties": {},
      "additionalProperties": {
       "type": "array",
       "items": {
        "type": "string"
       }
      }
     },
     "schema_valid": {
      "type": "boolean",
      "const": true
     }
    },
    "required": [
     "object",
     "request_id",
     "created",
     "input",
     "usage",
     "schema_valid"
    ],
    "additionalProperties": false
   },
   "PlaceDetailsRequest": {
    "type": "object",
    "properties": {
     "place_id": {
      "type": "string",
      "pattern": "^pl_",
      "maxLength": 128
     },
     "language": {
      "type": "string",
      "description": "BCP 47 language tag.",
      "maxLength": 12
     },
     "fields": {
      "type": "array",
      "items": {
       "type": "string",
       "enum": [
        "basic",
        "contact",
        "hours",
        "rating",
        "attributes",
        "photos"
       ]
      }
     }
    },
    "required": [
     "place_id"
    ],
    "additionalProperties": false
   },
   "AddressComponents": {
    "type": "object",
    "properties": {
     "house_number": {
      "type": "string"
     },
     "street": {
      "type": "string"
     },
     "district": {
      "type": "string"
     },
     "city": {
      "type": "string"
     },
     "region": {
      "type": "string"
     },
     "postal_code": {
      "type": "string"
     },
     "country": {
      "type": "string"
     },
     "country_code": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "Place": {
    "allOf": [
     {
      "$ref": "#/components/schemas/PlaceResult"
     },
     {
      "type": "object",
      "properties": {
       "address_components": {
        "$ref": "#/components/schemas/AddressComponents"
       },
       "timezone": {
        "type": "string",
        "description": "IANA time zone."
       },
       "attributes": {
        "type": "object",
        "properties": {},
        "additionalProperties": true
       },
       "photos": {
        "type": "array",
        "items": {
         "type": "object",
         "properties": {
          "url": {
           "type": "string",
           "format": "uri"
          },
          "width": {
           "type": "integer"
          },
          "height": {
           "type": "integer"
          }
         },
         "required": [
          "url"
         ],
         "additionalProperties": false
        }
       },
       "updated_at": {
        "type": "integer"
       }
      },
      "additionalProperties": true
     }
    ]
   },
   "PlaceDetailsResponse": {
    "type": "object",
    "properties": {
     "object": {
      "type": "string",
      "const": "web.place"
     },
     "request_id": {
      "type": "string",
      "description": "Same as the X-Request-Id header."
     },
     "created": {
      "type": "integer",
      "description": "Unix seconds (UTC)."
     },
     "input": {
      "type": "object",
      "properties": {},
      "description": "The parameters as applied, defaults filled in.",
      "additionalProperties": true
     },
     "usage": {
      "$ref": "#/components/schemas/Usage"
     },
     "cache": {
      "$ref": "#/components/schemas/Cache"
     },
     "warnings": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/Warning"
      }
     },
     "place": {
      "$ref": "#/components/schemas/Place"
     }
    },
    "required": [
     "object",
     "request_id",
     "created",
     "input",
     "usage",
     "place"
    ],
    "additionalProperties": false
   },
   "PlaceReviewsRequest": {
    "type": "object",
    "properties": {
     "place_id": {
      "type": "string",
      "pattern": "^pl_",
      "maxLength": 128
     },
     "sort": {
      "type": "string",
      "enum": [
       "relevant",
       "newest",
       "highest",
       "lowest"
      ],
      "default": "relevant"
     },
     "topic": {
      "type": "string"
     },
     "language": {
      "type": "string",
      "description": "BCP 47 language tag.",
      "maxLength": 12
     },
     "num": {
      "type": "integer",
      "minimum": 1,
      "maximum": 20,
      "default": 10
     },
     "page_token": {
      "type": "string",
      "description": "From next_page_token; valid 1 hour."
     }
    },
    "required": [
     "place_id"
    ],
    "additionalProperties": false
   },
   "Review": {
    "type": "object",
    "properties": {
     "review_id": {
      "type": "string"
     },
     "rating": {
      "type": "number",
      "minimum": 0,
      "maximum": 5
     },
     "text": {
      "type": "string"
     },
     "published_at": {
      "type": "string",
      "format": "date-time"
     },
     "language": {
      "type": "string"
     },
     "author": {
      "type": "object",
      "properties": {
       "name": {
        "type": "string",
        "description": "Public display name only."
       }
      },
      "additionalProperties": false
     },
     "likes": {
      "type": "integer"
     },
     "owner_response": {
      "type": "object",
      "properties": {
       "text": {
        "type": "string"
       },
       "published_at": {
        "type": "string",
        "format": "date-time"
       }
      },
      "additionalProperties": false
     },
     "photos": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "url": {
         "type": "string",
         "format": "uri"
        }
       },
       "required": [
        "url"
       ],
       "additionalProperties": false
      }
     }
    },
    "required": [
     "rating"
    ],
    "additionalProperties": false
   },
   "PlaceReviewsResponse": {
    "type": "object",
    "properties": {
     "object": {
      "type": "string",
      "const": "web.place_reviews"
     },
     "request_id": {
      "type": "string",
      "description": "Same as the X-Request-Id header."
     },
     "created": {
      "type": "integer",
      "description": "Unix seconds (UTC)."
     },
     "input": {
      "type": "object",
      "properties": {},
      "description": "The parameters as applied, defaults filled in.",
      "additionalProperties": true
     },
     "usage": {
      "$ref": "#/components/schemas/Usage"
     },
     "cache": {
      "$ref": "#/components/schemas/Cache"
     },
     "warnings": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/Warning"
      }
     },
     "reviews": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/Review"
      }
     },
     "topics": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "id": {
         "type": "string"
        },
        "label": {
         "type": "string"
        },
        "count": {
         "type": "integer"
        }
       },
       "required": [
        "id",
        "label"
       ],
       "additionalProperties": false
      }
     },
     "rating": {
      "type": "number"
     },
     "rating_count": {
      "type": "integer"
     },
     "next_page_token": {
      "type": "string"
     }
    },
    "required": [
     "object",
     "request_id",
     "created",
     "input",
     "usage",
     "reviews"
    ],
    "additionalProperties": false
   },
   "GeocodeRequest": {
    "type": "object",
    "properties": {
     "q": {
      "type": "string",
      "minLength": 2,
      "maxLength": 512
     },
     "address": {
      "type": "object",
      "properties": {
       "street": {
        "type": "string",
        "maxLength": 128
       },
       "house_number": {
        "type": "string",
        "maxLength": 128
       },
       "city": {
        "type": "string",
        "maxLength": 128
       },
       "district": {
        "type": "string",
        "maxLength": 128
       },
       "region": {
        "type": "string",
        "maxLength": 128
       },
       "postal_code": {
        "type": "string",
        "maxLength": 128
       },
       "country": {
        "type": "string",
        "maxLength": 128
       }
      },
      "additionalProperties": false
     },
     "country": {
      "oneOf": [
       {
        "type": "string",
        "description": "ISO 3166-1 alpha-2 country code, case-insensitive.",
        "pattern": "^[A-Za-z]{2}$"
       },
       {
        "type": "array",
        "items": {
         "type": "string",
         "description": "ISO 3166-1 alpha-2 country code, case-insensitive.",
         "pattern": "^[A-Za-z]{2}$"
        },
        "maxItems": 10
       }
      ]
     },
     "near": {
      "type": "object",
      "properties": {
       "lat": {
        "type": "number",
        "minimum": -90,
        "maximum": 90
       },
       "lon": {
        "type": "number",
        "minimum": -180,
        "maximum": 180
       }
      },
      "required": [
       "lat",
       "lon"
      ],
      "additionalProperties": false
     },
     "language": {
      "type": "string",
      "description": "BCP 47 language tag.",
      "maxLength": 12
     },
     "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 20,
      "default": 5
     }
    },
    "additionalProperties": false,
    "oneOf": [
     {
      "required": [
       "q"
      ]
     },
     {
      "required": [
       "address"
      ]
     }
    ]
   },
   "ReverseGeocodeRequest": {
    "type": "object",
    "properties": {
     "lat": {
      "type": "number",
      "minimum": -90,
      "maximum": 90
     },
     "lon": {
      "type": "number",
      "minimum": -180,
      "maximum": 180
     },
     "level": {
      "type": "string",
      "enum": [
       "address",
       "street",
       "district",
       "city",
       "region",
       "country"
      ],
      "default": "address"
     },
     "language": {
      "type": "string",
      "description": "BCP 47 language tag.",
      "maxLength": 12
     },
     "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10,
      "default": 1
     }
    },
    "required": [
     "lat",
     "lon"
    ],
    "additionalProperties": false
   },
   "GeocodeResult": {
    "type": "object",
    "properties": {
     "formatted_address": {
      "type": "string"
     },
     "name": {
      "type": "string",
      "description": "Name of the place when it has one."
     },
     "location": {
      "type": "object",
      "properties": {
       "lat": {
        "type": "number",
        "minimum": -90,
        "maximum": 90
       },
       "lon": {
        "type": "number",
        "minimum": -180,
        "maximum": 180
       }
      },
      "required": [
       "lat",
       "lon"
      ],
      "additionalProperties": false
     },
     "components": {
      "$ref": "#/components/schemas/AddressComponents"
     },
     "kind": {
      "type": "string",
      "enum": [
       "address",
       "street",
       "poi",
       "postal_code",
       "district",
       "city",
       "region",
       "country"
      ],
      "description": "A place of any other kind is not returned."
     },
     "bbox": {
      "type": "array",
      "items": {
       "type": "number"
      },
      "description": "[min_lon, min_lat, max_lon, max_lat]",
      "minItems": 4,
      "maxItems": 4
     },
     "place_id": {
      "type": "string",
      "pattern": "^[nwr][0-9]{1,20}$",
      "description": "Stable id of the map object, when known."
     },
     "distance_m": {
      "type": "number",
      "minimum": 0,
      "description": "reverse-geocode only: metres from the point, rounded to 0.1."
     }
    },
    "required": [
     "formatted_address",
     "location",
     "kind"
    ],
    "additionalProperties": false
   },
   "GeocodeResponse": {
    "type": "object",
    "properties": {
     "object": {
      "type": "string",
      "const": "web.geocode"
     },
     "request_id": {
      "type": "string",
      "description": "Same as the X-Request-Id header."
     },
     "created": {
      "type": "integer",
      "description": "Unix seconds (UTC)."
     },
     "input": {
      "type": "object",
      "properties": {},
      "description": "The parameters as applied, defaults filled in.",
      "additionalProperties": true
     },
     "usage": {
      "$ref": "#/components/schemas/Usage"
     },
     "cache": {
      "$ref": "#/components/schemas/Cache"
     },
     "warnings": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/Warning"
      }
     },
     "results": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/GeocodeResult"
      }
     },
     "attribution": {
      "type": "string",
      "description": "Licence notice of the map data. Always present; show it where the results are shown."
     }
    },
    "required": [
     "object",
     "request_id",
     "created",
     "input",
     "usage",
     "results",
     "attribution"
    ],
    "additionalProperties": false
   },
   "ReverseGeocodeResponse": {
    "type": "object",
    "properties": {
     "object": {
      "type": "string",
      "const": "web.reverse_geocode"
     },
     "request_id": {
      "type": "string",
      "description": "Same as the X-Request-Id header."
     },
     "created": {
      "type": "integer",
      "description": "Unix seconds (UTC)."
     },
     "input": {
      "type": "object",
      "properties": {},
      "description": "The parameters as applied, defaults filled in.",
      "additionalProperties": true
     },
     "usage": {
      "$ref": "#/components/schemas/Usage"
     },
     "cache": {
      "$ref": "#/components/schemas/Cache"
     },
     "warnings": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/Warning"
      }
     },
     "results": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/GeocodeResult"
      }
     },
     "attribution": {
      "type": "string",
      "description": "Licence notice of the map data. Always present; show it where the results are shown."
     }
    },
    "required": [
     "object",
     "request_id",
     "created",
     "input",
     "usage",
     "results",
     "attribution"
    ],
    "additionalProperties": false
   },
   "LensRequest": {
    "type": "object",
    "properties": {
     "image_url": {
      "type": "string",
      "description": "Public http(s) URL (JPEG, PNG, WebP, GIF, at most 10 MB) or data:image URL (at most 5 MB)."
     },
     "q": {
      "type": "string",
      "maxLength": 256
     },
     "country": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 country code, case-insensitive.",
      "pattern": "^[A-Za-z]{2}$"
     },
     "language": {
      "type": "string",
      "description": "BCP 47 language tag.",
      "maxLength": 12
     },
     "num": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "default": 20
     }
    },
    "required": [
     "image_url"
    ],
    "additionalProperties": false
   },
   "LensResult": {
    "type": "object",
    "properties": {
     "position": {
      "type": "integer",
      "description": "1-based rank across pages.",
      "minimum": 1
     },
     "title": {
      "type": "string"
     },
     "url": {
      "type": "string",
      "description": "Real destination URL, never a redirect link.",
      "format": "uri"
     },
     "domain": {
      "type": "string",
      "description": "Host of url, lowercase, without www."
     },
     "snippet": {
      "type": "string",
      "maxLength": 400
     },
     "published_at": {
      "type": "string",
      "description": "ISO 8601 UTC, when known.",
      "format": "date-time"
     },
     "site_name": {
      "type": "string",
      "description": "The publisher's own name, when known."
     },
     "origin": {
      "$ref": "#/components/schemas/Origin"
     },
     "image_url": {
      "type": "string",
      "format": "uri"
     },
     "thumbnail_url": {
      "type": "string",
      "format": "uri"
     },
     "price": {
      "$ref": "#/components/schemas/Price"
     }
    },
    "required": [
     "position",
     "title",
     "url",
     "domain",
     "origin"
    ],
    "description": "Lens match (S3).",
    "additionalProperties": false
   },
   "LensResponse": {
    "type": "object",
    "properties": {
     "object": {
      "type": "string",
      "const": "web.lens"
     },
     "request_id": {
      "type": "string",
      "description": "Same as the X-Request-Id header."
     },
     "created": {
      "type": "integer",
      "description": "Unix seconds (UTC)."
     },
     "input": {
      "type": "object",
      "properties": {},
      "description": "The parameters as applied, defaults filled in.",
      "additionalProperties": true
     },
     "usage": {
      "$ref": "#/components/schemas/Usage"
     },
     "cache": {
      "$ref": "#/components/schemas/Cache"
     },
     "warnings": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/Warning"
      }
     },
     "results": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/LensResult"
      }
     },
     "entities": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "name": {
         "type": "string"
        },
        "kind": {
         "type": "string"
        }
       },
       "required": [
        "name"
       ],
       "additionalProperties": false
      }
     }
    },
    "required": [
     "object",
     "request_id",
     "created",
     "input",
     "usage",
     "results"
    ],
    "additionalProperties": false
   },
   "JobStatus": {
    "type": "string",
    "enum": [
     "queued",
     "running",
     "succeeded",
     "failed",
     "cancelled"
    ]
   },
   "StopReason": {
    "type": "string",
    "enum": [
     "completed",
     "budget",
     "limit",
     "cancelled",
     "deadline",
     "error"
    ]
   },
   "ResearchRequest": {
    "type": "object",
    "properties": {
     "query": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4000
     },
     "instructions": {
      "type": "string",
      "maxLength": 8000
     },
     "depth": {
      "type": "string",
      "enum": [
       "quick",
       "standard",
       "deep"
      ],
      "default": "standard"
     },
     "max_searches": {
      "type": "integer",
      "minimum": 1,
      "maximum": 200
     },
     "max_pages": {
      "type": "integer",
      "minimum": 1,
      "maximum": 400
     },
     "max_cost_usd": {
      "type": "number",
      "description": "Cost ceiling; default and maximum set by price list.",
      "exclusiveMinimum": 0
     },
     "language": {
      "type": "string",
      "description": "BCP 47 language tag.",
      "maxLength": 12
     },
     "country": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 country code, case-insensitive.",
      "pattern": "^[A-Za-z]{2}$"
     },
     "freshness": {
      "type": "string",
      "description": "Only results published within this period.",
      "enum": [
       "hour",
       "day",
       "week",
       "month",
       "year"
      ]
     },
     "date_from": {
      "type": "string",
      "description": "Date YYYY-MM-DD (UTC).",
      "format": "date"
     },
     "date_to": {
      "type": "string",
      "description": "Date YYYY-MM-DD (UTC).",
      "format": "date"
     },
     "include_domains": {
      "type": "array",
      "items": {
       "type": "string",
       "maxLength": 253
      },
      "description": "Host names; subdomains included.",
      "maxItems": 20
     },
     "exclude_domains": {
      "type": "array",
      "items": {
       "type": "string",
       "maxLength": 253
      },
      "maxItems": 50
     },
     "output": {
      "type": "object",
      "properties": {
       "format": {
        "type": "string",
        "enum": [
         "markdown",
         "json"
        ],
        "default": "markdown"
       },
       "schema": {
        "$ref": "#/components/schemas/JsonSchemaObject"
       },
       "max_words": {
        "type": "integer",
        "minimum": 100,
        "maximum": 10000
       }
      },
      "additionalProperties": false
     },
     "webhook_url": {
      "type": "string",
      "description": "Public https URL that receives the final job object, signed with webhook_secret.",
      "format": "uri",
      "maxLength": 500
     },
     "metadata": {
      "type": "object",
      "properties": {},
      "description": "Your own string values, echoed on the job; at most 4 KB.",
      "additionalProperties": {
       "type": "string"
      }
     }
    },
    "required": [
     "query"
    ],
    "additionalProperties": false
   },
   "ResearchJob": {
    "type": "object",
    "properties": {
     "object": {
      "type": "string",
      "const": "web.research"
     },
     "id": {
      "type": "string",
      "pattern": "^wr_",
      "maxLength": 64
     },
     "status": {
      "$ref": "#/components/schemas/JobStatus"
     },
     "stop_reason": {
      "$ref": "#/components/schemas/StopReason"
     },
     "created_at": {
      "type": "integer"
     },
     "started_at": {
      "type": "integer"
     },
     "completed_at": {
      "type": "integer"
     },
     "input": {
      "type": "object",
      "properties": {},
      "additionalProperties": true
     },
     "usage": {
      "$ref": "#/components/schemas/JobUsage"
     },
     "error": {
      "type": "object",
      "properties": {
       "code": {
        "type": "string"
       },
       "message": {
        "type": "string"
       }
      },
      "required": [
       "code"
      ],
      "additionalProperties": false
     },
     "poll_after_ms": {
      "type": "integer"
     },
     "webhook_secret": {
      "type": "string",
      "description": "Only in the create response, when webhook_url was set."
     },
     "metadata": {
      "type": "object",
      "properties": {},
      "additionalProperties": {
       "type": "string"
      }
     },
     "expires_at": {
      "type": "integer"
     },
     "progress": {
      "type": "object",
      "properties": {
       "steps_done": {
        "type": "integer"
       },
       "searches": {
        "type": "integer"
       },
       "pages_read": {
        "type": "integer"
       },
       "sources_kept": {
        "type": "integer"
       }
      },
      "additionalProperties": false
     },
     "report": {
      "type": "object",
      "properties": {
       "format": {
        "type": "string",
        "enum": [
         "markdown",
         "json"
        ]
       },
       "text": {
        "type": "string"
       },
       "data": {
        "type": "object",
        "properties": {},
        "additionalProperties": true
       },
       "sources": {
        "type": "array",
        "items": {
         "$ref": "#/components/schemas/Citation"
        }
       }
      },
      "required": [
       "format",
       "sources"
      ],
      "additionalProperties": false
     }
    },
    "required": [
     "object",
     "id",
     "status",
     "created_at",
     "input",
     "usage"
    ],
    "additionalProperties": false
   },
   "JobEvent": {
    "type": "object",
    "properties": {
     "seq": {
      "type": "integer"
     },
     "event": {
      "type": "string",
      "enum": [
       "status",
       "search",
       "page",
       "note",
       "report",
       "error",
       "done"
      ]
     },
     "data": {
      "type": "object",
      "properties": {},
      "additionalProperties": true
     },
     "created": {
      "type": "integer"
     }
    },
    "required": [
     "seq",
     "event",
     "created"
    ],
    "additionalProperties": false
   },
   "JobEventList": {
    "type": "object",
    "properties": {
     "object": {
      "type": "string",
      "const": "list"
     },
     "data": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/JobEvent"
      }
     },
     "has_more": {
      "type": "boolean"
     },
     "next_cursor": {
      "type": "string"
     }
    },
    "required": [
     "object",
     "data",
     "has_more"
    ],
    "additionalProperties": false
   },
   "CrawlRequest": {
    "type": "object",
    "properties": {
     "url": {
      "type": "string",
      "description": "Public http(s) URL, at most 2048 bytes.",
      "format": "uri",
      "maxLength": 2048
     },
     "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10000,
      "default": 100
     },
     "max_depth": {
      "type": "integer",
      "minimum": 0,
      "maximum": 20,
      "default": 3
     },
     "include_paths": {
      "type": "array",
      "items": {
       "type": "string",
       "maxLength": 256
      },
      "maxItems": 50
     },
     "exclude_paths": {
      "type": "array",
      "items": {
       "type": "string",
       "maxLength": 256
      },
      "maxItems": 50
     },
     "include_subdomains": {
      "type": "boolean",
      "default": false
     },
     "use_sitemaps": {
      "type": "boolean",
      "default": true
     },
     "ignore_query": {
      "type": "boolean",
      "default": true
     },
     "format": {
      "type": "string",
      "enum": [
       "markdown",
       "text",
       "html"
      ],
      "default": "markdown"
     },
     "mode": {
      "type": "string",
      "enum": [
       "main",
       "full"
      ],
      "default": "main"
     },
     "max_chars": {
      "type": "integer",
      "minimum": 1000,
      "maximum": 500000,
      "default": 20000
     },
     "include_links": {
      "type": "boolean",
      "default": false
     },
     "include_metadata": {
      "type": "boolean",
      "default": true
     },
     "max_cost_usd": {
      "type": "number",
      "exclusiveMinimum": 0
     },
     "webhook_url": {
      "type": "string",
      "description": "Public https URL that receives the final job object, signed with webhook_secret.",
      "format": "uri",
      "maxLength": 500
     },
     "metadata": {
      "type": "object",
      "properties": {},
      "description": "Your own string values, echoed on the job; at most 4 KB.",
      "additionalProperties": {
       "type": "string"
      }
     }
    },
    "required": [
     "url"
    ],
    "additionalProperties": false
   },
   "CrawlJob": {
    "type": "object",
    "properties": {
     "object": {
      "type": "string",
      "const": "web.crawl"
     },
     "id": {
      "type": "string",
      "pattern": "^wc_",
      "maxLength": 64
     },
     "status": {
      "$ref": "#/components/schemas/JobStatus"
     },
     "stop_reason": {
      "$ref": "#/components/schemas/StopReason"
     },
     "created_at": {
      "type": "integer"
     },
     "started_at": {
      "type": "integer"
     },
     "completed_at": {
      "type": "integer"
     },
     "input": {
      "type": "object",
      "properties": {},
      "additionalProperties": true
     },
     "usage": {
      "$ref": "#/components/schemas/JobUsage"
     },
     "error": {
      "type": "object",
      "properties": {
       "code": {
        "type": "string"
       },
       "message": {
        "type": "string"
       }
      },
      "required": [
       "code"
      ],
      "additionalProperties": false
     },
     "poll_after_ms": {
      "type": "integer"
     },
     "webhook_secret": {
      "type": "string",
      "description": "Only in the create response, when webhook_url was set."
     },
     "metadata": {
      "type": "object",
      "properties": {},
      "additionalProperties": {
       "type": "string"
      }
     },
     "expires_at": {
      "type": "integer"
     },
     "progress": {
      "type": "object",
      "properties": {
       "discovered": {
        "type": "integer"
       },
       "queued": {
        "type": "integer"
       },
       "read": {
        "type": "integer"
       },
       "failed": {
        "type": "integer"
       },
       "skipped_robots": {
        "type": "integer"
       },
       "skipped_scope": {
        "type": "integer"
       }
      },
      "additionalProperties": false
     }
    },
    "required": [
     "object",
     "id",
     "status",
     "created_at",
     "input",
     "usage"
    ],
    "additionalProperties": false
   },
   "CrawlPage": {
    "allOf": [
     {
      "$ref": "#/components/schemas/FetchPage"
     },
     {
      "type": "object",
      "properties": {
       "depth": {
        "type": "integer"
       }
      },
      "additionalProperties": true
     }
    ]
   },
   "CrawlPageList": {
    "type": "object",
    "properties": {
     "object": {
      "type": "string",
      "const": "list"
     },
     "data": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CrawlPage"
      }
     },
     "has_more": {
      "type": "boolean"
     },
     "next_cursor": {
      "type": "string"
     }
    },
    "required": [
     "object",
     "data",
     "has_more"
    ],
    "additionalProperties": false
   },
   "MapRequest": {
    "type": "object",
    "properties": {
     "url": {
      "type": "string",
      "description": "Public http(s) URL, at most 2048 bytes.",
      "format": "uri",
      "maxLength": 2048
     },
     "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 30000,
      "default": 1000
     },
     "search": {
      "type": "string",
      "maxLength": 256
     },
     "include_paths": {
      "type": "array",
      "items": {
       "type": "string",
       "maxLength": 256
      },
      "maxItems": 50
     },
     "exclude_paths": {
      "type": "array",
      "items": {
       "type": "string",
       "maxLength": 256
      },
      "maxItems": 50
     },
     "include_subdomains": {
      "type": "boolean",
      "default": false
     },
     "ignore_query": {
      "type": "boolean",
      "default": true
     },
     "sitemap_only": {
      "type": "boolean",
      "default": false
     }
    },
    "required": [
     "url"
    ],
    "additionalProperties": false
   },
   "MapResponse": {
    "type": "object",
    "properties": {
     "object": {
      "type": "string",
      "const": "web.map"
     },
     "request_id": {
      "type": "string",
      "description": "Same as the X-Request-Id header."
     },
     "created": {
      "type": "integer",
      "description": "Unix seconds (UTC)."
     },
     "input": {
      "type": "object",
      "properties": {},
      "description": "The parameters as applied, defaults filled in.",
      "additionalProperties": true
     },
     "usage": {
      "$ref": "#/components/schemas/Usage"
     },
     "cache": {
      "$ref": "#/components/schemas/Cache"
     },
     "warnings": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/Warning"
      }
     },
     "urls": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "url": {
         "type": "string",
         "format": "uri"
        },
        "lastmod": {
         "type": "string"
        },
        "title": {
         "type": "string"
        },
        "source": {
         "type": "string",
         "enum": [
          "sitemap",
          "links"
         ]
        }
       },
       "required": [
        "url",
        "source"
       ],
       "additionalProperties": false
      }
     },
     "count": {
      "type": "integer"
     },
     "truncated": {
      "type": "boolean"
     }
    },
    "required": [
     "object",
     "request_id",
     "created",
     "input",
     "usage",
     "urls",
     "count",
     "truncated"
    ],
    "additionalProperties": false
   },
   "BatchItem": {
    "type": "object",
    "properties": {
     "custom_id": {
      "type": "string",
      "maxLength": 64,
      "description": "Your id, at most 64 bytes and unique in the batch, otherwise 400. Defaults to the index as a string."
     },
     "endpoint": {
      "type": "string",
      "enum": [
       "search",
       "fetch",
       "autocomplete",
       "knowledge",
       "geocode",
       "reverse-geocode",
       "places/details",
       "extract"
      ]
     },
     "body": {
      "type": "object",
      "properties": {},
      "description": "The request body of that endpoint.",
      "additionalProperties": true
     }
    },
    "required": [
     "endpoint",
     "body"
    ],
    "additionalProperties": false
   },
   "BatchRequest": {
    "type": "object",
    "properties": {
     "requests": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/BatchItem"
      },
      "description": "sync: 1 to 100 items; async: 1 to 20000. The fetch items of a sync batch name at most 100 URLs in total, otherwise 400. Items for endpoints that have not shipped answer 501 in their own result; mode async answers 501 until S3.",
      "minItems": 1,
      "maxItems": 20000
     },
     "mode": {
      "type": "string",
      "enum": [
       "sync",
       "async"
      ],
      "default": "sync"
     },
     "max_cost_usd": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Async only; refused with 400 in sync mode."
     },
     "webhook_url": {
      "type": "string",
      "description": "Async only; refused with 400 in sync mode. Public https URL that receives the final job object, signed with webhook_secret.",
      "format": "uri",
      "maxLength": 500
     },
     "metadata": {
      "type": "object",
      "properties": {},
      "description": "Async only; refused with 400 in sync mode. Your own string values, echoed on the job; at most 4 KB.",
      "additionalProperties": {
       "type": "string"
      }
     }
    },
    "required": [
     "requests"
    ],
    "additionalProperties": false
   },
   "BatchResult": {
    "type": "object",
    "properties": {
     "index": {
      "type": "integer"
     },
     "custom_id": {
      "type": "string"
     },
     "status": {
      "type": "integer",
      "description": "HTTP status the call would have had alone."
     },
     "body": {
      "type": "object",
      "properties": {},
      "description": "Response or error body of the item.",
      "additionalProperties": true
     }
    },
    "required": [
     "index",
     "status",
     "body"
    ],
    "additionalProperties": false
   },
   "BatchResponse": {
    "type": "object",
    "properties": {
     "object": {
      "type": "string",
      "const": "web.batch"
     },
     "request_id": {
      "type": "string",
      "description": "Same as the X-Request-Id header."
     },
     "created": {
      "type": "integer",
      "description": "Unix seconds (UTC)."
     },
     "usage": {
      "$ref": "#/components/schemas/Usage"
     },
     "warnings": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/Warning"
      }
     },
     "results": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/BatchResult"
      }
     }
    },
    "required": [
     "object",
     "request_id",
     "created",
     "usage",
     "results"
    ],
    "additionalProperties": false
   },
   "BatchJob": {
    "type": "object",
    "properties": {
     "object": {
      "type": "string",
      "const": "web.batch_job"
     },
     "id": {
      "type": "string",
      "pattern": "^wb_",
      "maxLength": 64
     },
     "status": {
      "$ref": "#/components/schemas/JobStatus"
     },
     "stop_reason": {
      "$ref": "#/components/schemas/StopReason"
     },
     "created_at": {
      "type": "integer"
     },
     "started_at": {
      "type": "integer"
     },
     "completed_at": {
      "type": "integer"
     },
     "input": {
      "type": "object",
      "properties": {},
      "additionalProperties": true
     },
     "usage": {
      "$ref": "#/components/schemas/JobUsage"
     },
     "error": {
      "type": "object",
      "properties": {
       "code": {
        "type": "string"
       },
       "message": {
        "type": "string"
       }
      },
      "required": [
       "code"
      ],
      "additionalProperties": false
     },
     "poll_after_ms": {
      "type": "integer"
     },
     "webhook_secret": {
      "type": "string",
      "description": "Only in the create response, when webhook_url was set."
     },
     "metadata": {
      "type": "object",
      "properties": {},
      "additionalProperties": {
       "type": "string"
      }
     },
     "expires_at": {
      "type": "integer"
     },
     "progress": {
      "type": "object",
      "properties": {
       "total": {
        "type": "integer"
       },
       "done": {
        "type": "integer"
       },
       "ok": {
        "type": "integer"
       },
       "failed": {
        "type": "integer"
       }
      },
      "additionalProperties": false
     }
    },
    "required": [
     "object",
     "id",
     "status",
     "created_at",
     "input",
     "usage"
    ],
    "additionalProperties": false
   },
   "BatchResultList": {
    "type": "object",
    "properties": {
     "object": {
      "type": "string",
      "const": "list"
     },
     "data": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/BatchResult"
      }
     },
     "has_more": {
      "type": "boolean"
     },
     "next_cursor": {
      "type": "string"
     }
    },
    "required": [
     "object",
     "data",
     "has_more"
    ],
    "additionalProperties": false
   },
   "UsageRow": {
    "type": "object",
    "properties": {
     "day": {
      "type": "string",
      "description": "Date YYYY-MM-DD (UTC).",
      "format": "date"
     },
     "endpoint": {
      "type": "string"
     },
     "calls": {
      "type": "integer"
     },
     "charged_calls": {
      "type": "integer"
     },
     "credits": {
      "type": "number"
     },
     "cost_usd": {
      "type": "number"
     }
    },
    "required": [
     "calls",
     "charged_calls",
     "credits",
     "cost_usd"
    ],
    "additionalProperties": false
   },
   "UsageReport": {
    "type": "object",
    "properties": {
     "object": {
      "type": "string",
      "const": "web.usage"
     },
     "request_id": {
      "type": "string",
      "description": "Same as the X-Request-Id header."
     },
     "created": {
      "type": "integer",
      "description": "Unix seconds (UTC)."
     },
     "from": {
      "type": "string",
      "description": "Date YYYY-MM-DD (UTC).",
      "format": "date"
     },
     "to": {
      "type": "string",
      "description": "Date YYYY-MM-DD (UTC).",
      "format": "date"
     },
     "group_by": {
      "type": "string",
      "enum": [
       "day",
       "endpoint",
       "day_endpoint"
      ],
      "description": "The grouping of data, as requested."
     },
     "totals": {
      "type": "object",
      "properties": {
       "calls": {
        "type": "integer"
       },
       "charged_calls": {
        "type": "integer"
       },
       "credits": {
        "type": "number"
       },
       "cost_usd": {
        "type": "number"
       }
      },
      "required": [
       "calls",
       "charged_calls",
       "credits",
       "cost_usd"
      ],
      "additionalProperties": false
     },
     "data": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/UsageRow"
      }
     },
     "pricing": {
      "type": "object",
      "description": "What a paid call costs now. Present only while the site has a valid price; the same for every key, also for administrator preview keys, whose calls stay free. A call costs the sum of weight times units in credits, at price_per_1000_credits_usd per 1,000 credits.",
      "properties": {
       "price_per_1000_credits_usd": {
        "type": "number",
        "exclusiveMinimum": 0
       },
       "weights": {
        "type": "object",
        "description": "Credit weight of each billing unit the endpoints deliver (section 6.2), such as search_web, content_page, fetch_page, fetch_pdf_pages, geocode and reverse_geocode.",
        "additionalProperties": {
         "type": "integer",
         "minimum": 1
        }
       }
      },
      "required": [
       "price_per_1000_credits_usd",
       "weights"
      ],
      "additionalProperties": false
     }
    },
    "required": [
     "object",
     "request_id",
     "created",
     "from",
     "to",
     "totals",
     "data"
    ],
    "additionalProperties": false
   },
   "Status": {
    "type": "object",
    "properties": {
     "object": {
      "type": "string",
      "const": "web.status"
     },
     "request_id": {
      "type": "string",
      "description": "Same as the X-Request-Id header."
     },
     "created": {
      "type": "integer",
      "description": "Unix seconds (UTC)."
     },
     "mode": {
      "type": "string",
      "enum": [
       "on",
       "admins",
       "off"
      ],
      "description": "The site's web API mode. While the API is open to administrators only, an administrator's key sees admins and every other caller sees off."
     },
     "endpoints": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "endpoint": {
         "type": "string"
        },
        "state": {
         "type": "string",
         "enum": [
          "available",
          "degraded",
          "unavailable",
          "not_offered"
         ]
        },
        "stage": {
         "type": "string",
         "enum": [
          "S2",
          "S3",
          "S4"
         ]
        },
        "measured": {
         "type": "object",
         "properties": {
          "window": {
           "type": "string"
          },
          "calls": {
           "type": "integer"
          },
          "ok_share": {
           "type": "number"
          },
          "p50_ms": {
           "type": "integer"
          },
          "p95_ms": {
           "type": "integer"
          }
         },
         "description": "Measured numbers; a report, not a promise.",
         "additionalProperties": false
        }
       },
       "required": [
        "endpoint",
        "state"
       ],
       "additionalProperties": false
      }
     },
     "key": {
      "type": "object",
      "properties": {
       "rate_limit": {
        "type": "integer"
       },
       "concurrency_limit": {
        "type": "integer"
       },
       "async_jobs_running": {
        "type": "integer"
       },
       "reach": {
        "type": "string",
        "enum": [
         "full",
         "reduced"
        ],
        "description": "reduced while a one-page read of the account would not get full reach now: recent calls needed more work than they were charged for (warning reach_reduced). Full reach returns as calls are charged and over time."
       }
      },
      "additionalProperties": false
     },
     "updated_at": {
      "type": "integer"
     }
    },
    "required": [
     "object",
     "request_id",
     "created",
     "mode",
     "endpoints",
     "updated_at"
    ],
    "additionalProperties": false
   },
   "SerperQuery": {
    "type": "object",
    "properties": {
     "q": {
      "type": "string"
     },
     "gl": {
      "type": "string",
      "description": "Country; us when absent."
     },
     "hl": {
      "type": "string",
      "description": "Language; en when absent."
     },
     "location": {
      "type": "string"
     },
     "num": {
      "oneOf": [
       {
        "type": "integer"
       },
       {
        "type": "string",
        "pattern": "^[0-9]+$"
       }
      ]
     },
     "page": {
      "oneOf": [
       {
        "type": "integer"
       },
       {
        "type": "string",
        "pattern": "^[0-9]+$"
       }
      ]
     },
     "tbs": {
      "type": "string",
      "description": "qdr:h|d|w|m|y, qdr:<unit><n>, or cdr:1,cd_min:M/D/YYYY,cd_max:M/D/YYYY."
     },
     "autocorrect": {
      "oneOf": [
       {
        "type": "boolean"
       },
       {
        "type": "string",
        "enum": [
         "true",
         "false"
        ]
       }
      ]
     },
     "type": {
      "type": "string"
     }
    },
    "required": [
     "q"
    ],
    "description": "Search-family request in the Serper request format. Unknown fields are ignored and named in X-Web-Ignored-Params.",
    "additionalProperties": true
   },
   "SerperMapsQuery": {
    "type": "object",
    "properties": {
     "q": {
      "type": "string"
     },
     "gl": {
      "type": "string"
     },
     "hl": {
      "type": "string"
     },
     "ll": {
      "type": "string",
      "description": "@lat,lng,<zoom>z"
     },
     "placeId": {
      "type": "string"
     },
     "cid": {
      "type": "string"
     },
     "page": {
      "oneOf": [
       {
        "type": "integer"
       },
       {
        "type": "string",
        "pattern": "^[0-9]+$"
       }
      ]
     }
    },
    "required": [
     "q"
    ],
    "additionalProperties": true
   },
   "SerperReviewsQuery": {
    "type": "object",
    "properties": {
     "fid": {
      "type": "string",
      "description": "Our place id."
     },
     "cid": {
      "type": "string"
     },
     "placeId": {
      "type": "string"
     },
     "sortBy": {
      "type": "string",
      "enum": [
       "mostRelevant",
       "newest",
       "highestRating",
       "lowestRating"
      ]
     },
     "topicId": {
      "type": "string"
     },
     "nextPageToken": {
      "type": "string"
     },
     "gl": {
      "type": "string"
     },
     "hl": {
      "type": "string"
     }
    },
    "description": "One of fid, cid or placeId, carrying our place id.",
    "additionalProperties": true
   },
   "SerperLensQuery": {
    "type": "object",
    "properties": {
     "url": {
      "type": "string"
     },
     "gl": {
      "type": "string"
     },
     "hl": {
      "type": "string"
     },
     "location": {
      "type": "string"
     },
     "tbs": {
      "type": "string"
     }
    },
    "required": [
     "url"
    ],
    "additionalProperties": true
   },
   "SerperAutocompleteQuery": {
    "type": "object",
    "properties": {
     "q": {
      "type": "string"
     },
     "gl": {
      "type": "string"
     },
     "hl": {
      "type": "string"
     },
     "location": {
      "type": "string",
      "description": "Ignored; named in X-Web-Ignored-Params."
     }
    },
    "required": [
     "q"
    ],
    "additionalProperties": true
   },
   "SerperPatentsQuery": {
    "type": "object",
    "properties": {
     "q": {
      "type": "string"
     },
     "num": {
      "oneOf": [
       {
        "type": "integer"
       },
       {
        "type": "string",
        "pattern": "^[0-9]+$"
       }
      ]
     },
     "page": {
      "oneOf": [
       {
        "type": "integer"
       },
       {
        "type": "string",
        "pattern": "^[0-9]+$"
       }
      ]
     }
    },
    "required": [
     "q"
    ],
    "additionalProperties": true
   },
   "SerperWebpageQuery": {
    "type": "object",
    "properties": {
     "url": {
      "type": "string"
     },
     "includeMarkdown": {
      "oneOf": [
       {
        "type": "boolean"
       },
       {
        "type": "string",
        "enum": [
         "true",
         "false"
        ]
       }
      ]
     },
     "includeLinks": {
      "oneOf": [
       {
        "type": "boolean"
       },
       {
        "type": "string",
        "enum": [
         "true",
         "false"
        ]
       }
      ]
     },
     "includeImages": {
      "oneOf": [
       {
        "type": "boolean"
       },
       {
        "type": "string",
        "enum": [
         "true",
         "false"
        ]
       }
      ]
     },
     "includeVideos": {
      "oneOf": [
       {
        "type": "boolean"
       },
       {
        "type": "string",
        "enum": [
         "true",
         "false"
        ]
       }
      ]
     }
    },
    "required": [
     "url"
    ],
    "additionalProperties": true
   },
   "SerperSearchParameters": {
    "type": "object",
    "properties": {
     "q": {
      "type": "string"
     },
     "gl": {
      "type": "string"
     },
     "hl": {
      "type": "string"
     },
     "location": {
      "type": "string"
     },
     "num": {
      "type": "integer"
     },
     "page": {
      "type": "integer"
     },
     "tbs": {
      "type": "string"
     },
     "autocorrect": {
      "type": "boolean"
     },
     "type": {
      "type": "string"
     },
     "engine": {
      "type": "string",
      "const": "websearch"
     }
    },
    "required": [
     "type",
     "engine"
    ],
    "additionalProperties": true
   },
   "SerperOrganic": {
    "type": "object",
    "properties": {
     "title": {
      "type": "string"
     },
     "link": {
      "type": "string"
     },
     "snippet": {
      "type": "string"
     },
     "position": {
      "type": "integer"
     },
     "date": {
      "type": "string"
     },
     "sitelinks": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "title": {
         "type": "string"
        },
        "link": {
         "type": "string"
        }
       },
       "additionalProperties": false
      }
     },
     "attributes": {
      "type": "object",
      "properties": {},
      "additionalProperties": {
       "type": "string"
      }
     }
    },
    "required": [
     "title",
     "link",
     "position"
    ],
    "additionalProperties": true
   },
   "SerperSearchResponse": {
    "type": "object",
    "properties": {
     "searchParameters": {
      "$ref": "#/components/schemas/SerperSearchParameters"
     },
     "credits": {
      "type": "number"
     },
     "knowledgeGraph": {
      "type": "object",
      "properties": {
       "title": {
        "type": "string"
       },
       "type": {
        "type": "string"
       },
       "website": {
        "type": "string"
       },
       "description": {
        "type": "string"
       },
       "descriptionSource": {
        "type": "string"
       },
       "descriptionLink": {
        "type": "string"
       },
       "attributes": {
        "type": "object",
        "properties": {},
        "additionalProperties": {
         "type": "string"
        }
       },
       "attribution": {
        "type": "array",
        "description": "The open data projects the data comes from, with their licences. Show it with the data.",
        "items": {
         "$ref": "#/components/schemas/DataAttribution"
        }
       }
      },
      "additionalProperties": true,
      "description": "The encyclopedia card, when the search has one. Included in the search price."
     },
     "answerBox": {
      "type": "object",
      "properties": {
       "title": {
        "type": "string"
       },
       "answer": {
        "type": "string"
       },
       "snippet": {
        "type": "string"
       },
       "link": {
        "type": "string"
       }
      },
      "additionalProperties": true
     },
     "organic": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/SerperOrganic"
      }
     },
     "peopleAlsoAsk": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "question": {
         "type": "string"
        },
        "snippet": {
         "type": "string"
        },
        "title": {
         "type": "string"
        },
        "link": {
         "type": "string"
        }
       },
       "additionalProperties": true
      }
     },
     "relatedSearches": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "query": {
         "type": "string"
        }
       },
       "additionalProperties": false
      }
     },
     "topStories": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "title": {
         "type": "string"
        },
        "link": {
         "type": "string"
        },
        "source": {
         "type": "string"
        },
        "date": {
         "type": "string"
        },
        "imageUrl": {
         "type": "string"
        }
       },
       "additionalProperties": true
      }
     }
    },
    "required": [
     "searchParameters",
     "organic",
     "credits"
    ],
    "additionalProperties": true
   },
   "SerperImagesResponse": {
    "type": "object",
    "properties": {
     "searchParameters": {
      "$ref": "#/components/schemas/SerperSearchParameters"
     },
     "credits": {
      "type": "number"
     },
     "images": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "title": {
         "type": "string"
        },
        "imageUrl": {
         "type": "string"
        },
        "thumbnailUrl": {
         "type": "string"
        },
        "source": {
         "type": "string"
        },
        "domain": {
         "type": "string"
        },
        "link": {
         "type": "string"
        },
        "imageWidth": {
         "type": "integer"
        },
        "imageHeight": {
         "type": "integer"
        },
        "thumbnailWidth": {
         "type": "integer"
        },
        "thumbnailHeight": {
         "type": "integer"
        },
        "position": {
         "type": "integer"
        }
       },
       "additionalProperties": true
      }
     }
    },
    "required": [
     "searchParameters",
     "images",
     "credits"
    ],
    "additionalProperties": true
   },
   "SerperVideosResponse": {
    "type": "object",
    "properties": {
     "searchParameters": {
      "$ref": "#/components/schemas/SerperSearchParameters"
     },
     "credits": {
      "type": "number"
     },
     "videos": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "title": {
         "type": "string"
        },
        "link": {
         "type": "string"
        },
        "snippet": {
         "type": "string"
        },
        "imageUrl": {
         "type": "string"
        },
        "duration": {
         "type": "string"
        },
        "source": {
         "type": "string"
        },
        "channel": {
         "type": "string"
        },
        "date": {
         "type": "string"
        },
        "position": {
         "type": "integer"
        }
       },
       "additionalProperties": true
      }
     }
    },
    "required": [
     "searchParameters",
     "videos",
     "credits"
    ],
    "additionalProperties": true
   },
   "SerperNewsResponse": {
    "type": "object",
    "properties": {
     "searchParameters": {
      "$ref": "#/components/schemas/SerperSearchParameters"
     },
     "credits": {
      "type": "number"
     },
     "news": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "title": {
         "type": "string"
        },
        "link": {
         "type": "string"
        },
        "snippet": {
         "type": "string"
        },
        "date": {
         "type": "string"
        },
        "source": {
         "type": "string"
        },
        "imageUrl": {
         "type": "string"
        },
        "position": {
         "type": "integer"
        }
       },
       "additionalProperties": true
      }
     }
    },
    "required": [
     "searchParameters",
     "news",
     "credits"
    ],
    "additionalProperties": true
   },
   "SerperPlace": {
    "type": "object",
    "properties": {
     "position": {
      "type": "integer"
     },
     "title": {
      "type": "string"
     },
     "address": {
      "type": "string"
     },
     "latitude": {
      "type": "number"
     },
     "longitude": {
      "type": "number"
     },
     "rating": {
      "type": "number"
     },
     "ratingCount": {
      "type": "integer"
     },
     "category": {
      "type": "string"
     },
     "type": {
      "type": "string"
     },
     "types": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "priceLevel": {
      "type": "string"
     },
     "phoneNumber": {
      "type": "string"
     },
     "website": {
      "type": "string"
     },
     "description": {
      "type": "string"
     },
     "openingHours": {
      "type": "object",
      "properties": {},
      "additionalProperties": {
       "type": "string"
      }
     },
     "thumbnailUrl": {
      "type": "string"
     },
     "cid": {
      "type": "string",
      "description": "Our place id."
     },
     "fid": {
      "type": "string",
      "description": "Our place id."
     },
     "placeId": {
      "type": "string",
      "description": "Our place id."
     }
    },
    "required": [
     "position",
     "title"
    ],
    "additionalProperties": true
   },
   "SerperPlacesResponse": {
    "type": "object",
    "properties": {
     "searchParameters": {
      "$ref": "#/components/schemas/SerperSearchParameters"
     },
     "credits": {
      "type": "number"
     },
     "ll": {
      "type": "string"
     },
     "places": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/SerperPlace"
      }
     }
    },
    "required": [
     "searchParameters",
     "places",
     "credits"
    ],
    "additionalProperties": true
   },
   "SerperReviewsResponse": {
    "type": "object",
    "properties": {
     "searchParameters": {
      "$ref": "#/components/schemas/SerperSearchParameters"
     },
     "credits": {
      "type": "number"
     },
     "reviews": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "rating": {
         "type": "number"
        },
        "date": {
         "type": "string"
        },
        "isoDate": {
         "type": "string"
        },
        "snippet": {
         "type": "string"
        },
        "likes": {
         "type": "integer"
        },
        "id": {
         "type": "string"
        },
        "user": {
         "type": "object",
         "properties": {
          "name": {
           "type": "string"
          }
         },
         "description": "Display name only.",
         "additionalProperties": true
        },
        "media": {
         "type": "array",
         "items": {
          "type": "object",
          "properties": {},
          "additionalProperties": true
         }
        },
        "response": {
         "type": "object",
         "properties": {},
         "additionalProperties": true
        }
       },
       "additionalProperties": true
      }
     },
     "topics": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {},
       "additionalProperties": true
      }
     },
     "nextPageToken": {
      "type": "string"
     }
    },
    "required": [
     "searchParameters",
     "reviews",
     "credits"
    ],
    "additionalProperties": true
   },
   "SerperShoppingResponse": {
    "type": "object",
    "properties": {
     "searchParameters": {
      "$ref": "#/components/schemas/SerperSearchParameters"
     },
     "credits": {
      "type": "number"
     },
     "shopping": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "title": {
         "type": "string"
        },
        "source": {
         "type": "string"
        },
        "link": {
         "type": "string"
        },
        "price": {
         "type": "string"
        },
        "delivery": {
         "type": "string"
        },
        "imageUrl": {
         "type": "string"
        },
        "offers": {
         "type": "string"
        },
        "productId": {
         "type": "string"
        },
        "rating": {
         "type": "number"
        },
        "ratingCount": {
         "type": "integer"
        },
        "position": {
         "type": "integer"
        }
       },
       "additionalProperties": true
      }
     }
    },
    "required": [
     "searchParameters",
     "shopping",
     "credits"
    ],
    "additionalProperties": true
   },
   "SerperScholarResponse": {
    "type": "object",
    "properties": {
     "searchParameters": {
      "$ref": "#/components/schemas/SerperSearchParameters"
     },
     "credits": {
      "type": "number"
     },
     "organic": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "title": {
         "type": "string"
        },
        "link": {
         "type": "string"
        },
        "publicationInfo": {
         "type": "string"
        },
        "snippet": {
         "type": "string"
        },
        "pdfUrl": {
         "type": "string"
        },
        "id": {
         "type": "string"
        },
        "year": {
         "type": "integer"
        },
        "citedBy": {
         "type": "integer"
        },
        "position": {
         "type": "integer"
        }
       },
       "additionalProperties": true
      }
     }
    },
    "required": [
     "searchParameters",
     "organic",
     "credits"
    ],
    "additionalProperties": true
   },
   "SerperPatentsResponse": {
    "type": "object",
    "properties": {
     "searchParameters": {
      "$ref": "#/components/schemas/SerperSearchParameters"
     },
     "credits": {
      "type": "number"
     },
     "organic": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "title": {
         "type": "string"
        },
        "snippet": {
         "type": "string"
        },
        "link": {
         "type": "string"
        },
        "priorityDate": {
         "type": "string"
        },
        "filingDate": {
         "type": "string"
        },
        "grantDate": {
         "type": "string"
        },
        "publicationDate": {
         "type": "string"
        },
        "inventor": {
         "type": "string"
        },
        "assignee": {
         "type": "string"
        },
        "publicationNumber": {
         "type": "string"
        },
        "language": {
         "type": "string"
        },
        "thumbnailUrl": {
         "type": "string"
        },
        "pdfUrl": {
         "type": "string"
        },
        "position": {
         "type": "integer"
        },
        "figures": {
         "type": "array",
         "items": {
          "type": "object",
          "properties": {
           "imageUrl": {
            "type": "string"
           },
           "thumbnailUrl": {
            "type": "string"
           }
          },
          "additionalProperties": false
         }
        }
       },
       "additionalProperties": true
      }
     }
    },
    "required": [
     "searchParameters",
     "organic",
     "credits"
    ],
    "additionalProperties": true
   },
   "SerperAutocompleteResponse": {
    "type": "object",
    "properties": {
     "searchParameters": {
      "$ref": "#/components/schemas/SerperSearchParameters"
     },
     "credits": {
      "type": "number"
     },
     "suggestions": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "value": {
         "type": "string"
        }
       },
       "required": [
        "value"
       ],
       "additionalProperties": false
      }
     },
     "attribution": {
      "type": "array",
      "description": "The open data projects the data comes from, with their licences. Show it with the data.",
      "items": {
       "$ref": "#/components/schemas/DataAttribution"
      }
     }
    },
    "required": [
     "searchParameters",
     "suggestions",
     "credits"
    ],
    "additionalProperties": true
   },
   "SerperLensResponse": {
    "type": "object",
    "properties": {
     "searchParameters": {
      "$ref": "#/components/schemas/SerperSearchParameters"
     },
     "credits": {
      "type": "number"
     },
     "organic": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "title": {
         "type": "string"
        },
        "source": {
         "type": "string"
        },
        "link": {
         "type": "string"
        },
        "imageUrl": {
         "type": "string"
        },
        "thumbnailUrl": {
         "type": "string"
        },
        "position": {
         "type": "integer"
        }
       },
       "additionalProperties": true
      }
     }
    },
    "required": [
     "searchParameters",
     "organic",
     "credits"
    ],
    "additionalProperties": true
   },
   "SerperWebpageResponse": {
    "type": "object",
    "properties": {
     "text": {
      "type": "string"
     },
     "markdown": {
      "type": "string"
     },
     "metadata": {
      "type": "object",
      "properties": {},
      "additionalProperties": {
       "type": "string"
      }
     },
     "jsonld": {
      "type": "object",
      "properties": {},
      "description": "The JSON-LD block, or {\"@graph\": [...]} when the page has several.",
      "additionalProperties": true
     },
     "links": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {},
       "additionalProperties": true
      }
     },
     "images": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {},
       "additionalProperties": true
      }
     },
     "credits": {
      "type": "number"
     }
    },
    "required": [
     "text",
     "credits"
    ],
    "additionalProperties": true
   },
   "McpMessage": {
    "type": "object",
    "properties": {
     "jsonrpc": {
      "type": "string",
      "const": "2.0"
     },
     "id": {
      "type": [
       "string",
       "integer",
       "null"
      ]
     },
     "method": {
      "type": "string"
     },
     "params": {
      "type": "object",
      "properties": {},
      "additionalProperties": true
     },
     "result": {
      "type": "object",
      "properties": {},
      "additionalProperties": true
     },
     "error": {
      "type": "object",
      "properties": {
       "code": {
        "type": "integer"
       },
       "message": {
        "type": "string"
       },
       "data": {}
      },
      "required": [
       "code",
       "message"
      ],
      "additionalProperties": true
     }
    },
    "required": [
     "jsonrpc"
    ],
    "description": "JSON-RPC 2.0 message of the MCP streamable HTTP transport.",
    "additionalProperties": true
   },
   "DataAttribution": {
    "type": "object",
    "properties": {
     "source": {
      "type": "string",
      "description": "Name of the open data set the fact comes from."
     },
     "url": {
      "type": "string",
      "format": "uri"
     },
     "license": {
      "type": "string",
      "description": "For example CC BY-SA 4.0 or CC0 1.0."
     }
    },
    "required": [
     "source",
     "url",
     "license"
    ],
    "additionalProperties": false
   },
   "KnowledgeRequest": {
    "type": "object",
    "properties": {
     "q": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256,
      "description": "The name of the entity, at most 200 characters. Runs of spaces become one space."
     },
     "language": {
      "type": "string",
      "description": "BCP 47 language tag. Detected from q when absent.",
      "maxLength": 12
     }
    },
    "required": [
     "q"
    ],
    "additionalProperties": false
   },
   "KnowledgeResponse": {
    "type": "object",
    "properties": {
     "object": {
      "type": "string",
      "const": "web.knowledge"
     },
     "request_id": {
      "type": "string",
      "description": "Same as the X-Request-Id header."
     },
     "created": {
      "type": "integer",
      "description": "Unix seconds (UTC)."
     },
     "input": {
      "type": "object",
      "properties": {},
      "description": "The parameters as applied, defaults filled in.",
      "additionalProperties": true
     },
     "usage": {
      "$ref": "#/components/schemas/Usage"
     },
     "warnings": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/Warning"
      }
     },
     "panel": {
      "$ref": "#/components/schemas/KnowledgePanel"
     }
    },
    "required": [
     "object",
     "request_id",
     "created",
     "input",
     "usage"
    ],
    "additionalProperties": false
   }
  }
 }
}
