{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/audioscrape-com/json-schema/audioscrape-com-agent-search-request-schema.json",
  "title": "AgentSearchRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/audioscrape-com-agent-rail-api-openapi.yml#/components/schemas/AgentSearchRequest",
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "content_types": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      },
      "description": "e.g. `government_meeting`, `court_hearing`, `podcast_episode`."
    },
    "date_from": {
      "type": [
        "string",
        "null"
      ],
      "description": "YYYY-MM-DD."
    },
    "date_to": {
      "type": [
        "string",
        "null"
      ],
      "description": "YYYY-MM-DD."
    },
    "limit": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32",
      "description": "1–10 results (default 5)."
    },
    "query": {
      "type": "string",
      "description": "What to find, 1–300 characters."
    },
    "search_type": {
      "type": [
        "string",
        "null"
      ],
      "description": "`text` (default) or `semantic`."
    }
  }
}