{
  "openapi": "3.0.3",
  "info": {
    "title": "Felo Data Search",
    "version": "1.0.0",
    "description": "Search through Felo Data API and return source titles, URLs and summaries."
  },
  "servers": [
    {
      "url": "https://openapi.felo.ai"
    }
  ],
  "security": [
    {
      "FeloApiKey": []
    }
  ],
  "components": {
    "securitySchemes": {
      "FeloApiKey": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Key"
      }
    }
  },
  "paths": {
    "/v1/beta/tavily/search": {
      "post": {
        "operationId": "felo_data_search",
        "summary": "Search the web using Felo Data API",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "query"
                ],
                "properties": {
                  "query": {
                    "type": "string",
                    "description": "The search query"
                  },
                  "max_results": {
                    "type": "integer",
                    "default": 3
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Search results",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "query": {
                      "type": "string"
                    },
                    "request_id": {
                      "type": "string"
                    },
                    "results": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "title": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          },
                          "content": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
