{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/venice-ai/json-schema/venice-ai-web-search-request-schema.json",
  "title": "WebSearchRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/venice-ai-augment-api-openapi.yml#/components/schemas/WebSearchRequest",
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 1,
      "maxLength": 400,
      "description": "The search query"
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 20,
      "default": 10,
      "description": "Maximum number of results to return (default: 10, max: 20)"
    },
    "search_provider": {
      "type": "string",
      "enum": [
        "google",
        "brave"
      ],
      "description": "Search provider to use. \"brave\" uses Brave Search with Zero Data Retention (ZDR) for maximum privacy — search queries are never stored or logged. \"google\" uses Google Search with anonymized queries — searches are proxied through Venice's infrastructure so that your identity is not associated with the search request sent to Google. Venice does not store or log search queries. Defaults to \"brave\"."
    }
  },
  "required": [
    "query"
  ]
}