{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/serpkite-com/json-schema/serpkite-com-batch-create-request-schema.json",
  "title": "BatchCreateRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/serpkite-com-batches-api-openapi.yml#/components/schemas/BatchCreateRequest",
  "type": "object",
  "required": [
    "endpoint",
    "requests"
  ],
  "properties": {
    "endpoint": {
      "type": "string",
      "enum": [
        "search",
        "images",
        "videos",
        "news",
        "maps",
        "places",
        "place",
        "reviews",
        "shopping",
        "scholar",
        "patents",
        "autocomplete",
        "webpage",
        "chatgpt",
        "gemini",
        "copilot",
        "ai_mode",
        "brave_ai"
      ]
    },
    "requests": {
      "type": "array",
      "minItems": 1,
      "maxItems": 100,
      "description": "Request bodies for `endpoint` (same fields as the realtime endpoint)",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "webhook_url": {
      "type": "string",
      "format": "uri",
      "description": "POSTed each job's result, always signed with X-SerpKite-Signature (v1=hex HMAC-SHA256 of `<timestamp>.<body>` with the account webhook secret; see createBatches). Defaults to the account webhook"
    }
  }
}