{
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "description": "",
    "title": "Google Flights",
    "version": "1",
    "x-aisa-capabilities": {
      "idempotency": "Idempotency-Key",
      "max_price": "X-AISA-Max-Price-USD",
      "quote": {
        "header": "X-AISA-Cost-Mode",
        "value": "quote"
      }
    },
    "x-aisa-catalogs": {
      "google-flights": {
        "description": "",
        "title": "Google Flights",
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          }
        },
        "x-aisa-document": {
          "facts_hash": "9e3f57c1ee3ad68bc9a0e4e1cbe54f92de1531a9f3141c029dc4198c0c4a91c2",
          "generator_version": "3",
          "protocol_version": "1",
          "schema_version": "1"
        },
        "x-aisa-plans": {
          "builder": 1.0,
          "display_plan": "payg",
          "payg": 1.0,
          "similarweb_payg": 1.0,
          "team": 1.0,
          "version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"
        }
      }
    },
    "x-aisa-configured-paths": [
      "/apis/v1/google-flights/search"
    ],
    "x-aisa-document": {
      "composer_version": "31",
      "facts_hash": "9e3f57c1ee3ad68bc9a0e4e1cbe54f92de1531a9f3141c029dc4198c0c4a91c2",
      "generator_version": "3",
      "protocol_version": "1",
      "response_pending": [],
      "schema_version": "1",
      "public_projection": {
        "version": "4",
        "source_document_hash": "sha256:17b4bf4b5352d661c53b1f62a01da5ff42946ab9df9c5eac6b41ffb25f9d92f4"
      },
      "document_hash": "sha256:2fcaa685a755fc4f52c66a540d4f3719a53346b58d5054a0bb848cb2f594c148"
    },
    "x-aisa-plans": {
      "builder": 1.0,
      "display_plan": "payg",
      "payg": 1.0,
      "similarweb_payg": 1.0,
      "team": 1.0,
      "version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"
    },
    "x-aisa-provider": "google-flights"
  },
  "jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
  "openapi": "3.1.0",
  "paths": {
    "/apis/v1/google-flights/search": {
      "post": {
        "description": "Google Flights Search Flights\n\n> **Request example pending verification.** The request example for this endpoint has not yet been verified in production. Static examples describe the request format; replace sample values with your own. Check the estimated price with a free quote request (`X-AISA-Cost-Mode: quote`) before running it.",
        "operationId": "post_google_flights_apis_v1_google_flights_search",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "properties": {
                      "country": {
                        "maxLength": 2,
                        "minLength": 2,
                        "type": "string"
                      },
                      "date": {
                        "format": "date",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                        "type": "string"
                      },
                      "destination": {
                        "pattern": "^[A-Za-z]{3}$",
                        "type": "string"
                      },
                      "origin": {
                        "pattern": "^[A-Za-z]{3}$",
                        "type": "string"
                      },
                      "returnDate": {
                        "format": "date",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                        "type": "string"
                      },
                      "type": {
                        "const": "OW",
                        "type": "string"
                      }
                    },
                    "required": [
                      "origin",
                      "destination",
                      "type",
                      "date",
                      "country"
                    ],
                    "type": "object"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "country": {
                        "maxLength": 2,
                        "minLength": 2,
                        "type": "string"
                      },
                      "date": {
                        "format": "date",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                        "type": "string"
                      },
                      "destination": {
                        "pattern": "^[A-Za-z]{3}$",
                        "type": "string"
                      },
                      "origin": {
                        "pattern": "^[A-Za-z]{3}$",
                        "type": "string"
                      },
                      "returnDate": {
                        "format": "date",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                        "type": "string"
                      },
                      "type": {
                        "const": "RT",
                        "type": "string"
                      }
                    },
                    "required": [
                      "origin",
                      "destination",
                      "type",
                      "date",
                      "returnDate",
                      "country"
                    ],
                    "type": "object"
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "description": "The response envelope and container type are documented, but the business fields are not fully specified.",
                  "properties": {
                    "data": {
                      "additionalProperties": true,
                      "minProperties": 1,
                      "type": "object"
                    }
                  },
                  "required": [
                    "data"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Normalized successful response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Google Flights Search Flights",
        "tags": [
          "Google Flights"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "quote": {
            "supported": true
          },
          "x402": false
        },
        "x-aisa-catalog-id": "google-flights",
        "x-aisa-category": "google-flights",
        "x-aisa-contract-source": "handler",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/google-flights/post_google_flights_apis_v1_google_flights_search",
        "x-aisa-example": {
          "reason": "inputs_undeclared",
          "request_contract_sha256": "c604ac167558c67778c68a7c6d0b87ebc9f2d72df81332057bb4c2747e9f113a",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-18",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "data": {
                  "additionalProperties": true,
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "estimate_source": "unavailable",
          "estimate_unavailable_reason": "reference_request_unavailable"
        },
        "x-aisa-response-contract-hash": "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a",
        "x-aisa-runtime-operation": {
          "method": "POST",
          "operation_id": "post_google_flights_apis_v1_google_flights_search",
          "path": "/apis/v1/google-flights/search"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "inputs_undeclared"
        }
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ]
}
