{
  "name": "scorpiox-metasearch-server-native",
  "version": "1.1.0",
  "description": "SearXNG-compatible JSON/XML protocol handlers for Personal Search — never HTML",
  "engine": "scorpiox-metasearch",
  "platforms": [
    "linux-x64",
    "win-x64"
  ],
  "deploy": "PROTOCOL LAYER ONLY. A browser UI deploy uses scorpiox-metasearch-server-webui, which vendors these handlers under core/ and adds the HTML pages.",
  "routes": [
    {
      "name": "search",
      "route": "/search",
      "method": "GET",
      "params": ["q", "category", "page", "format"],
      "output": "application/json; charset=utf-8",
      "description": "SearXNG-compatible JSON: query, number_of_results, page, results[] (url/title/content/engine/score), answers, corrections, infoboxes, suggestions"
    },
    {
      "name": "status",
      "route": "/status",
      "method": "GET",
      "output": "application/json; charset=utf-8",
      "description": "Engine health telemetry: per-engine health (working/empty/blocked/error/disabled/idle), tier, latency_ms, last_count, last_error plus LRU cache stats"
    },
    {
      "name": "opensearch",
      "route": "/opensearch.xml",
      "method": "GET",
      "output": "application/opensearchdescription+xml; charset=utf-8",
      "description": "OpenSearch 1.1 autodiscovery manifest"
    },
    {
      "name": "autocompleter",
      "route": "/autocompleter",
      "method": "GET",
      "params": ["q"],
      "output": "application/json; charset=utf-8",
      "description": "OpenSearch suggestion array [\"query\",[s1,s2,...]]"
    },
    {
      "name": "_fallback",
      "route": "/*",
      "method": "ANY",
      "output": "application/json; charset=utf-8",
      "description": "JSON 404 and the opensearch.xml embed (scorpiox-server cannot route a name containing a dot)"
    }
  ],
  "contract": "NO HTML IN THIS REPO. tests/test_routes.sh asserts it — the 2026-09-22 stored XSS existed because one file rendered both.",
  "verification": {
    "route_checks": 19,
    "route_failures": 0,
    "status": "PASS"
  }
}
