{
  "openapi": "3.1.0",
  "info": {
    "title": "HopperLabs Quant MCP",
    "version": "1.8.0",
    "summary": "US equity research from SEC, FRED and exchange sources (each under its own terms; Yahoo Finance prices labelled unlicensed), V18 Graph Intelligence (bitemporal corporate trees, subsidiary->ticker resolution, supply-chain contagion, corporate executive/board interlocks, Congress-agency-contractor STOCK Act triangles & 7-stage trade provenance lineage), multi-source Catalyst Wire, Media Signal Extraction from caller text, Custom Universe $Formula Builder, 9-Slot Weekly Rebalance Cadence, Glass-Box RV/RS/RT/VST ratings, market timing signal, GICS industry rankings, 26-strategy Quant Derby (lookahead, current members), Rank IC (lookahead), multi-strategy book optimizer, pre-trade tax (withdrawn: typed tax rule-bundle refusal), deterministic claim refutation, SEC 8-K/13D/Dilution/Form 4/10-Q/13F, FINRA daily short volume, US Treasury/NY Fed desk, FDIC bank health, USASpending contracts, House STOCK Act disclosures, ClinicalTrials/OpenFDA, binary .xlsx models, and smart alert workflows.",
    "description": "Read-only factor investing presets, US equity screening, OHLCV charts, factor scorecards, and deterministic research deep links."
  },
  "servers": [
    {
      "url": "https://quant.hopperlabs.ai",
      "description": "HopperLabs Quant MCP Production Edge"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "HopperLabs-HMAC-SHA256"
      },
      "apiKeyHeader": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Hopper-Api-Key"
      }
    }
  },
  "paths": {
    "/api/v1/stocks/{symbol}": {
      "get": {
        "operationId": "getStockSummary",
        "summary": "Get stock fundamentals, 5-pillar report card, Base DCF, SEC 10-K financials, and SHA-256 receipt.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "US equity ticker symbol (e.g. NVDA, AAPL)"
          },
          {
            "name": "quote",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": true
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Institutional equity dossier JSON",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/insiders/{symbol}": {
      "get": {
        "operationId": "getInsiderTransactions",
        "summary": "Parse recent SEC Form 4 XML filings for executive/director buys, sales, and Cluster Buy detection.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 6,
              "minimum": 1,
              "maximum": 10
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Parsed Form 4 insider activity and summary",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/quarterly/{symbol}": {
      "get": {
        "operationId": "getQuarterlyFinancials",
        "summary": "Get up to 8 standalone US-GAAP 10-Q/10-K quarters with YoY revenue, net income, and EPS growth.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Quarterly GAAP statement rows",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/search": {
      "get": {
        "operationId": "searchSecurities",
        "summary": "Search 1,914 US equities and 40+ ETFs by symbol, name, or sector.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 12,
              "minimum": 1,
              "maximum": 25
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Matching US securities",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/screener": {
      "get": {
        "operationId": "screenEquities",
        "summary": "Filter and rank US equities by sector, index, P/E, ROIC, market cap, FCF yield, and dividend yield.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "sector",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "index",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "SP500",
                "NASDAQ100",
                "DOW30"
              ]
            }
          },
          {
            "name": "maxPe",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "minRoic",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "minMarketCapM",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "mc",
                "r1y",
                "roic",
                "pe",
                "fcfY",
                "divY"
              ]
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 20,
              "minimum": 1,
              "maximum": 50
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Screened equities",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/breadth": {
      "get": {
        "operationId": "getMarketBreadth",
        "summary": "Get internal US market breadth across 1,914 equities, S&P 500, and 11 GICS sectors.",
        "x-openai-isConsequential": false,
        "responses": {
          "200": {
            "description": "Market breadth snapshot",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/macro": {
      "get": {
        "operationId": "getYieldCurveAndLiquidity",
        "summary": "Get live FRED Treasury yield curve, HY OAS, DXY, Fed Funds, TIPS Real Yield, Sahm Rule, and NFCI.",
        "x-openai-isConsequential": false,
        "responses": {
          "200": {
            "description": "Macro liquidity and yield curve state",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/liquidity": {
      "get": {
        "operationId": "getFedNetLiquidity",
        "summary": "Get live FRED Fed Net Liquidity (WALCL - TGA - RRP), 4W/13W deltas, CPI YoY, Unemployment, Claims, and WTI.",
        "x-openai-isConsequential": false,
        "responses": {
          "200": {
            "description": "Fed Net Liquidity and macro pulse",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/cot": {
      "get": {
        "operationId": "getCftcCotPositioning",
        "summary": "Get weekly CFTC Commitments of Traders positioning across ES, NQ, ZN, Gold, and Crude Oil.",
        "x-openai-isConsequential": false,
        "responses": {
          "200": {
            "description": "CFTC COT contracts and 52W crowding index",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/superinvestors": {
      "get": {
        "operationId": "getSuperinvestors13f",
        "summary": "Get recent SEC 13F-HR holdings across flagship superinvestors and multi-fund consensus.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "cik",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "13F superinvestor portfolios and consensus",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/briefing": {
      "get": {
        "operationId": "getMorningBriefing",
        "summary": "Get unified daily Market Regime, Breadth, Fed Net Liquidity, CFTC COT, and Watchlist briefing.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "watchlist",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Morning intelligence briefing",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/rrg": {
      "get": {
        "operationId": "getSectorRrg",
        "summary": "Get JdK Relative Rotation Graph metrics across all 11 Sector SPDR ETFs.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "benchmark",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "SPY"
            }
          },
          {
            "name": "trailPoints",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 6,
              "minimum": 2,
              "maximum": 12
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Sector RRG trails",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/drip/{symbol}": {
      "get": {
        "operationId": "getDividendDrip",
        "summary": "Get dividend safety grade and multi-year DRIP compounding simulation for a ticker.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "principal",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number",
              "default": 25000
            }
          },
          {
            "name": "years",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 10,
              "minimum": 1,
              "maximum": 30
            }
          },
          {
            "name": "cagr",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "reinvest",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": true
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Dividend safety and DRIP schedule",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/presets": {
      "get": {
        "operationId": "getQuantPresets",
        "summary": "List verified systematic factor strategy presets and CSL formulas.",
        "x-openai-isConsequential": false,
        "responses": {
          "200": {
            "description": "Quant presets list",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/draft/{presetId}": {
      "get": {
        "operationId": "exportTradingDraftV1",
        "summary": "Build a SHA-256-sealed hopper.trading-draft.v1 read-only strategy draft (promotable: false) for Travis Trading Desk.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "presetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Classic Quant preset ID (e.g. qmom-quality, tiny-titans)"
          },
          {
            "name": "capital",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number",
              "default": 100000
            }
          },
          {
            "name": "topN",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 3,
              "maximum": 30
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Sealed hopper.trading-draft.v1 JSON payload",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/workbook/{kind}": {
      "get": {
        "operationId": "getWorkbookModelSpec",
        "summary": "Generate multi-sheet OOXML (.xlsx) workbook structure, live formula counts, SHA-256 digest, and Workbook Studio handoff metadata.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "kind",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "stocks",
                "markets",
                "quant"
              ]
            }
          },
          {
            "name": "symbol",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Equity ticker when kind='stocks' (default NVDA)"
          },
          {
            "name": "presetId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Preset ID when kind='quant' (default qmom-quality)"
          }
        ],
        "responses": {
          "200": {
            "description": "Multi-sheet Workbook Studio model metadata and SHA-256 checksum",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/workbook/xlsx": {
      "get": {
        "operationId": "downloadWorkbookXlsx",
        "summary": "Download a ready-to-open binary OOXML (.xlsx) workbook with live Excel <f> formulas.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "kind",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "stocks",
                "markets",
                "quant",
                "alpha"
              ],
              "default": "alpha"
            }
          },
          {
            "name": "symbol",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "NVDA"
            }
          },
          {
            "name": "presetId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "qmom-quality"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Binary .xlsx OOXML workbook",
            "content": {
              "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/sec-events/{symbol}": {
      "get": {
        "operationId": "getSecEventsAndDilution",
        "summary": "Get SEC 8-K events, 13D/13G activists, S-3/424B5/144 dilution radar & optional 10-Q/10-K risk diff.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "includeDiff",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "SEC events and dilution profile",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/market-events": {
      "get": {
        "operationId": "getSecMarketCatalysts",
        "summary": "Scan real-time SEC EFTS market-wide 8-K, Schedule 13D, and S-3/424B5 catalysts.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "kind",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "8k",
                "13d",
                "dilution"
              ],
              "default": "all"
            }
          },
          {
            "name": "days",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 7
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Market catalyst stream",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/short-volume/{symbol}": {
      "get": {
        "operationId": "getFinraShortVolume",
        "summary": "Get FINRA Reg SHO daily consolidated short sale volume history for a US equity.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "days",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 5
            }
          }
        ],
        "responses": {
          "200": {
            "description": "FINRA short volume series",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/treasury-desk": {
      "get": {
        "operationId": "getTreasuryAndNyFedDesk",
        "summary": "Get live US Treasury auctions, Daily TGA cash, NY Fed SOFR/EFFR/RRP & ECB rate spread.",
        "x-openai-isConsequential": false,
        "responses": {
          "200": {
            "description": "Treasury & NY Fed funding desk",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/fdic-banks": {
      "get": {
        "operationId": "getFdicBankHealth",
        "summary": "Get latest FDIC quarterly Call Report bank balance-sheet and uninsured deposit metrics.",
        "x-openai-isConsequential": false,
        "responses": {
          "200": {
            "description": "FDIC banking health",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/gov-contracts/{symbol}": {
      "get": {
        "operationId": "getFederalContracts",
        "summary": "Get trailing 18-month USASpending.gov federal contract awards.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "USASpending federal contract awards",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/congress": {
      "get": {
        "operationId": "getCongressionalDisclosures",
        "summary": "Get US House Clerk STOCK Act Periodic Transaction Reports with official PDF links.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 25
            }
          }
        ],
        "responses": {
          "200": {
            "description": "STOCK Act PTR filings",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/fda-trials/{symbol}": {
      "get": {
        "operationId": "getBiotechCatalysts",
        "summary": "Get ClinicalTrials.gov v2 studies & OpenFDA Drugs@FDA approvals.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Biotech trials & approvals",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/keys/status": {
      "get": {
        "operationId": "getApiKeyStatus",
        "summary": "Check current Bearer/X-Hopper-Api-Key tier, rate-limit window, and commercial tier catalog.",
        "x-openai-isConsequential": false,
        "responses": {
          "200": {
            "description": "API access tier & quota status",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/keys/sandbox": {
      "post": {
        "operationId": "mintSandboxApiKey",
        "summary": "Mint a 24-hour evaluation Bearer key for the market data API (600 req/min).",
        "x-openai-isConsequential": false,
        "responses": {
          "200": {
            "description": "Ephemeral 24h evaluation key",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/alerts/evaluate": {
      "post": {
        "operationId": "evaluateSmartAlerts",
        "summary": "Evaluate SEC, FINRA short-volume & macro alert rules against live official data.",
        "x-openai-isConsequential": false,
        "responses": {
          "200": {
            "description": "Alert triggers with SHA-256 receipt",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/alerts/dispatch": {
      "post": {
        "operationId": "dispatchSmartAlerts",
        "summary": "Format (dryRun preview) or deliver SSRF-guarded Slack, Discord, Email Digest, or HMAC-SHA256 webhook alerts. Delivery (dryRun=false) needs a signed-in HopperLabs session (X-Hopper-Session).",
        "x-openai-isConsequential": true,
        "responses": {
          "200": {
            "description": "Formatted or delivered webhook payload",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "401": {
            "description": "dryRun=false without a signed-in session: SIGN_IN_REQUIRED"
          }
        }
      }
    },
    "/api/v1/broker/sync": {
      "post": {
        "operationId": "syncByoBroker",
        "summary": "Zero-storage normalization of live Alpaca/IBKR Flex read-only portfolios to canonical CSV. Needs a signed-in HopperLabs session (X-Hopper-Session).",
        "x-openai-isConsequential": true,
        "responses": {
          "200": {
            "description": "Normalized canonical portfolio fills",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "401": {
            "description": "No signed-in session: SIGN_IN_REQUIRED"
          }
        }
      }
    },
    "/api/v1/ratings": {
      "get": {
        "operationId": "getGlassBoxRatings",
        "summary": "Get Glass-Box RV/RS/RT/VST/CI daily ratings, intrinsic values, and trailing stops.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "ticker",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "recommendation",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "BUY",
                "HOLD",
                "SELL"
              ]
            }
          },
          {
            "name": "sector",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "vst",
                "rt",
                "rs",
                "rv",
                "ci"
              ],
              "default": "vst"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 25,
              "minimum": 1,
              "maximum": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Glass-Box stock ratings",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/color-guard": {
      "get": {
        "operationId": "getMarketTimingColorGuard",
        "summary": "Get Timing Signal (GREEN/YELLOW/RED), MTI (0-2), BSR, Primary Wave, DEW, Distribution Days, and threshold provenance.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "aaaYieldPct",
            "in": "query",
            "required": false,
            "description": "What-if yield; omitted, FRED AAA is used with its date.",
            "schema": {
              "type": "number",
              "minimum": 2,
              "maximum": 12
            }
          },
          {
            "name": "distDaysOverride",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Timing Signal & Market Timing Composite",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/industries": {
      "get": {
        "operationId": "getIndustryGroupRankings",
        "summary": "Get GICS sector & sub-industry RT/VST/RS/Buy% rotation rankings and Top-10 rising industries.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "sector",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 25
            }
          }
        ],
        "responses": {
          "200": {
            "description": "GICS industry group rankings",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/derby": {
      "get": {
        "operationId": "getStrategyDerby",
        "summary": "Evaluate all 26 systematic strategies with CAGR, Sharpe, MaxDD, regime fit, and SHA-256 receipt.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "category",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "sharpe",
                "cagr",
                "calmar",
                "low-dd"
              ],
              "default": "sharpe"
            }
          },
          {
            "name": "horizonYears",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "enum": [
                3,
                5
              ],
              "default": 3
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 26
            }
          }
        ],
        "responses": {
          "200": {
            "description": "26-strategy Derby leaderboard",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/rank-performance": {
      "get": {
        "operationId": "getWalkforwardRankPerformance",
        "summary": "Decile/quintile Rank IC, monotonicity rho, and bucket CAGRs. Not point-in-time: lookahead over current members (see method).",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "presetId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "universe",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "SP1500"
            }
          },
          {
            "name": "bucketCount",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "enum": [
                5,
                10
              ],
              "default": 10
            }
          },
          {
            "name": "horizon",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "1Y",
                "3Y",
                "5Y"
              ],
              "default": "3Y"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Factor rank performance & Rank IC",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "postWalkforwardRankPerformance",
        "summary": "Decile/quintile Rank IC for a custom ranking formula. Not point-in-time: lookahead over current members (see method).",
        "x-openai-isConsequential": false,
        "responses": {
          "200": {
            "description": "Factor rank performance & Rank IC",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/book": {
      "get": {
        "operationId": "getMultiStrategyBook",
        "summary": "Build a correlated multi-strategy book with Equal-Weight, Inverse-Volatility, and Max-Sharpe frontier allocations.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "presetIds",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "optimizationMode",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "equal",
                "inv-vol",
                "max-sharpe"
              ],
              "default": "max-sharpe"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Multi-strategy book optimization",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "postMultiStrategyBook",
        "summary": "Optimize a 2-6 leg multi-strategy book and Sharpe frontier.",
        "x-openai-isConsequential": false,
        "responses": {
          "200": {
            "description": "Multi-strategy book optimization",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/pretrade-tax": {
      "get": {
        "operationId": "getPretradeTaxImpact",
        "summary": "Withdrawn: answers 501 TAX_RULE_BUNDLE_REQUIRED naming the future tax rule bundle; no tax amount is computed.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "ticker",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "shares",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "costBasisPerShare",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "holdingDays",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "501": {
            "description": "Typed refusal: tax rule bundle not yet published",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "postPretradeTaxImpact",
        "summary": "Withdrawn: answers 501 TAX_RULE_BUNDLE_REQUIRED naming the future tax rule bundle; no tax amount is computed.",
        "x-openai-isConsequential": false,
        "responses": {
          "501": {
            "description": "Typed refusal: tax rule bundle not yet published",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/refute-claim": {
      "get": {
        "operationId": "getRefuteThesisClaim",
        "summary": "Deterministically check investment thesis or backtest claim for 10-K lookahead >150d, survivorship bias, split-unnormalized EPS, price-only omission, low DSR & SHA-256 citation integrity.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "claim",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ticker",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Deterministic claim refutation report",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "postRefuteThesisClaim",
        "summary": "Deterministically audit a thesis/backtest claim for lookahead, survivorship, split-EPS, price-only, DSR, and SHA-256 integrity.",
        "x-openai-isConsequential": false,
        "responses": {
          "200": {
            "description": "Deterministic claim refutation report",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/wire": {
      "get": {
        "operationId": "getCatalystWire",
        "summary": "Unified multi-source Catalyst Wire across SEC, Form 4 insiders, short volume, FDA, gov contracts, Congress & audited investor commentary.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "ticker",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "days",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 30
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 30
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Unified catalyst wire & sentiment pulse",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/investors": {
      "get": {
        "operationId": "getInvestorIndex",
        "summary": "Withdrawn (unsourced): answers 410 withdrawn: unsourced.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "category",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "query",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ticker",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "410": {
            "description": "Withdrawn: unsourced",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/investors/{id}/audit": {
      "get": {
        "operationId": "getInvestorTrackRecordAudit",
        "summary": "Withdrawn (unsourced): answers 410 withdrawn: unsourced.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "benchmark",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "SPY"
            }
          }
        ],
        "responses": {
          "410": {
            "description": "Withdrawn: unsourced",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/investors/consensus": {
      "get": {
        "operationId": "getInvestorConsensusOverlap",
        "summary": "Withdrawn (unsourced): answers 410 withdrawn: unsourced.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "minProfiles",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 2
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 20
            }
          }
        ],
        "responses": {
          "410": {
            "description": "Withdrawn: unsourced",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/investors/extract": {
      "get": {
        "operationId": "getExtractMediaSignals",
        "summary": "Extract validated hopper.investor.signal.v1 ticker mentions & sentiment from transcript/watchlist text.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "text",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "profileId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Signals extracted from the caller's text (source: caller-supplied)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "TEXT_REQUIRED: no text was given",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "postExtractMediaSignals",
        "summary": "Extract hopper.investor.signal.v1 ticker mentions from the caller's transcript or watchlist text (text required).",
        "x-openai-isConsequential": false,
        "responses": {
          "200": {
            "description": "Extracted investor signals",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/investors/{id}/screen": {
      "get": {
        "operationId": "getCloneInvestorScreen",
        "summary": "Withdrawn (unsourced): answers 410 withdrawn: unsourced.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 15
            }
          }
        ],
        "responses": {
          "410": {
            "description": "Withdrawn: unsourced",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/universes": {
      "get": {
        "operationId": "getCustomUniverseScreen",
        "summary": "Build & evaluate custom equity universes (No-OTC, Non-ADR, ADT liquidity) & reusable $Formula variables across 1,914 US equities.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "universeId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "formula",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 20
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Custom universe & $Formula screening result",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "postCustomUniverseScreen",
        "summary": "Evaluate custom universe filters, ticker overrides & $Formula expressions across 1,914 US equities.",
        "x-openai-isConsequential": false,
        "responses": {
          "200": {
            "description": "Custom universe & $Formula screening result",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/cadence": {
      "get": {
        "operationId": "getWeeklyCadencePlan",
        "summary": "Compute the 9-slot (Mon..Final) Weekly Rebalance Cadence basket & SHA-256 sealed hopper.trading-draft.v1 Desk handoff.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "capitalUsd",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number",
              "default": 100000
            }
          },
          {
            "name": "topN",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 12
            }
          },
          {
            "name": "daySlot",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "all"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "9-slot Weekly Cadence rebalance plan & trading draft",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "postWeeklyCadencePlan",
        "summary": "Generate a custom 9-slot Weekly Cadence basket & sealed hopper.trading-draft.v1 Desk handoff.",
        "x-openai-isConsequential": false,
        "responses": {
          "200": {
            "description": "9-slot Weekly Cadence rebalance plan & trading draft",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/graph/people-network": {
      "get": {
        "operationId": "getGraphPeopleNetwork",
        "summary": "Directors and officers who file Form 4 for this company, and the other companies where SEC records show them as a director or officer — from EDGAR ownership filings, each link cited to its record.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "ticker",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "query",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "People Network (Shared Directors & Officers)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "502": {
            "description": "The public source did not answer; nothing is claimed.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/graph/major-holders": {
      "get": {
        "operationId": "getGraphMajorHolders",
        "summary": "Current 5%+ holders from Schedule 13D (activist) and 13G (passive) filings about this company over the last three years, with percent of class and shares where the filing states them.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "ticker",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "query",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Major Holders (Schedule 13D / 13G)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "502": {
            "description": "The public source did not answer; nothing is claimed.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/graph/lobbying": {
      "get": {
        "operationId": "getGraphLobbying",
        "summary": "Federal lobbying (Lobbying Disclosure Act filings) by this company, its former names and listed subsidiaries: spend by year, issues, agencies lobbied, former officials who lobbied for it — and which of those agencies also award it contracts.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "ticker",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "query",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Federal Lobbying & the Agencies That Pay",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "502": {
            "description": "The public source did not answer; nothing is claimed.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/graph/federal-awards": {
      "get": {
        "operationId": "getGraphFederalAwards",
        "summary": "Federal awards to this company and its child recipients, attributed through USASpending's own parent/child recipient hierarchy (UEI), not by name guessing.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "ticker",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "query",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Federal Awards by Recipient Family",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "502": {
            "description": "The public source did not answer; nothing is claimed.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/graph/subsidiary-history": {
      "get": {
        "operationId": "getGraphSubsidiaryHistory",
        "summary": "How the company's Exhibit 21 subsidiary list changed across its annual reports: when each subsidiary first and last appeared, and what was added or removed each year.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "ticker",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "query",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "years",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 5
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Subsidiary History (Exhibit 21 over the years)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "502": {
            "description": "The public source did not answer; nothing is claimed.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/graph/legal-entities": {
      "get": {
        "operationId": "getGraphLegalEntities",
        "summary": "The company's Legal Entity Identifier, its consolidating parents and child entities from GLEIF, reconciled against its Exhibit 21 subsidiary list.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "ticker",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "query",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Legal Entities (GLEIF LEI tree)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "502": {
            "description": "The public source did not answer; nothing is claimed.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/graph/recipes": {
      "get": {
        "operationId": "getGraphRecipes",
        "summary": "List all 8 @hopper/domain-graph-investing-intelligence recipes and live 1,914-equity snapshot summary.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "recipeId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ticker",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 25
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Graph intelligence recipe catalog & snapshot",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/graph/corporate-tree": {
      "get": {
        "operationId": "getGraphCorporateTree",
        "summary": "Resolve subsidiaries/products to parent issuers and return bitemporal corporate trees, supply-chain contagion & catalysts.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "ticker",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "query",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "hops",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 2
            }
          },
          {
            "name": "direction",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "both"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Bitemporal corporate tree & supply-chain graph",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "postGraphCorporateTree",
        "summary": "Query bitemporal corporate trees, subsidiary resolution, and multi-hop supply-chain contagion.",
        "x-openai-isConsequential": false,
        "responses": {
          "200": {
            "description": "Bitemporal corporate tree & supply-chain graph",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/graph/insider-interlocks": {
      "get": {
        "operationId": "getGraphInsiderInterlocks",
        "summary": "Project executive & board interlocks across SEC DEF 14A / Form 4 issuers with reversible same_party/pending_proposal status.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "ticker",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "resolutionStatus",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "all"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 25
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Executive & board interlock graph",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/graph/congress-contracts": {
      "get": {
        "operationId": "getGraphCongressContracts",
        "summary": "Inspect Congressional committee <-> federal agency <-> contractor <-> STOCK Act PTR overlap triangles.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "ticker",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "committee",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "agency",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Congressional committee-agency-contractor triangles",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/graph/investor-network": {
      "get": {
        "operationId": "getGraphInvestorNetwork",
        "summary": "Withdrawn (unsourced): answers 410 withdrawn: unsourced.",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "investorId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ticker",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "410": {
            "description": "Withdrawn: unsourced",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/graph/trade-lineage": {
      "get": {
        "operationId": "getGraphTradeLineage",
        "summary": "Build end-to-end 7-stage trade provenance lineage (Signal -> Screen -> Travis Draft -> Order/Execution -> Period Close -> Tax/Refutation).",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "ticker",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "NVDA"
            }
          },
          {
            "name": "presetId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "qmom-quality"
            }
          },
          {
            "name": "capitalUsd",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number",
              "default": 100000
            }
          }
        ],
        "responses": {
          "200": {
            "description": "End-to-end trade provenance lineage",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "postGraphTradeLineage",
        "summary": "Compute 7-stage trade provenance lineage from Quantitative Research through Travis Trading & Broker Execution.",
        "x-openai-isConsequential": false,
        "responses": {
          "200": {
            "description": "End-to-end trade provenance lineage",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/market": {
      "get": {
        "operationId": "queryLiveMarketFeed",
        "summary": "Edge-cached market feed across V16/V17 operations (source terms apply; Yahoo Finance data labelled unlicensed).",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "op",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "health",
                "quotes",
                "chart",
                "financials",
                "quarterly",
                "filings",
                "insiders",
                "news",
                "macro",
                "liquidity",
                "cot",
                "superinvestors",
                "sec-events",
                "market-events",
                "short-volume",
                "treasury-desk",
                "fdic-banks",
                "gov-contracts",
                "congress",
                "fda-trials",
                "ratings",
                "color-guard",
                "industries",
                "derby",
                "rank-performance",
                "book",
                "pretrade-tax",
                "refute-claim",
                "wire",
                "investors",
                "investor-audit",
                "investor-consensus",
                "investor-extract",
                "investor-screen",
                "universes",
                "cadence",
                "graph-recipes",
                "graph-corporate-tree",
                "graph-insider-interlocks",
                "graph-congress-contracts",
                "graph-investor-network",
                "graph-trade-lineage",
                "graph-people-network",
                "graph-major-holders",
                "graph-lobbying",
                "graph-federal-awards",
                "graph-subsidiary-history",
                "graph-legal-entities"
              ]
            }
          },
          {
            "name": "symbol",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "symbols",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cik",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "extended",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "0",
                "1"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Market feed response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    }
  }
}
