{"openapi":"3.1.0","info":{"title":"Voting Monitor data API","description":"Read-only access to Voting Monitor's measurements of how ChatGPT, Claude, Gemini and Grok answered voter-style questions about the 2026 U.S. Senate races in Alaska, Iowa, Maine, Michigan, Ohio and Texas and three more Alaska races, with prediction markets, polls and the results. Every file is JSON under /data/; start at /data/manifest.json. No key or account is needed, and nothing can be written. Data is CC-BY-4.0 (credit Voting Monitor, votingmonitor.org). robots.txt Content-Signal: search=yes, ai-train=yes, ai-input=yes.","version":"1"},"paths":{"/health":{"get":{"summary":"Service health","description":"Liveness + scheduler status.\n\nO(1) checks only - no rglob. scheduler.get_jobs() is O(jobs) and tiny.\n\nv0.22 Phase A: accepts HEAD so external uptime monitors that prefer\nHEAD (most do) don't see 405s.\n\nv0.43: cost block — research project, costs are intentionally\npublic. Today + yesterday spend grouped by step and provider,\ncached for 30s so a hammering Cloudflare uptime check doesn't\nreread the JSONL on every ping.","operationId":"health_health_head","responses":{"200":{"description":"The service status, the scheduled jobs and today's and yesterday's model spend.","content":{"application/json":{"schema":{}}}}}}},"/.well-known/api-catalog":{"get":{"summary":"API catalog (RFC 9727)","description":"RFC 9727 API Catalog: agent discovery for the public dataset.\n\nA linkset (RFC 9264) with the RFC 9727 profile and an item link to /api; the\ncontent is discovery.API_CATALOG (v1.87). Cached for an hour: the linkset\nrarely changes, and the OpenAPI document it points at is generated per deploy.","operationId":"serve_api_catalog__well_known_api_catalog_head","responses":{"200":{"description":"A linkset naming this API, its OpenAPI document and its reference.","content":{"application/json":{"schema":{}}}}}}},"/api":{"get":{"summary":"Index of operations","description":"v1.87 (readiness A2): generated from the OpenAPI document, so it cannot list an operation\nthe spec does not have.","operationId":"api_index_api_head","responses":{"200":{"description":"What this API is, every operation in the OpenAPI document, and where to start.","content":{"application/json":{"schema":{}}}}}}},"/data/{path}":{"get":{"summary":"A dataset file","description":"Serve JSON data from the Railway volume.\n\nThe dashboard's data loader fetches paths like /data/manifest.json,\n/data/markets/latest.json, etc.\nPath-traversal guard rejects any resolved path that escapes the volume.\n\nv0.22 Phase A: HEAD support + CORS (via global middleware) so dataset\ncrawlers (Google Dataset Search) and notebook researchers can fetch\ncross-origin.","operationId":"serve_data_data__path__head","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"A file under /data/, such as manifest.json, election-monitor.json or markets/latest.json. Start at manifest.json, which names the rest.","title":"Path"},"description":"A file under /data/, such as manifest.json, election-monitor.json or markets/latest.json. Start at manifest.json, which names the rest."}],"responses":{"200":{"description":"The JSON file at that path. A missing file is a JSON 404.","content":{"application/json":{"schema":{}}}}}}}}}