{"openapi":"3.1.0","info":{"title":"QuantLogix API","version":"1.0.0","description":"Market signals, news, and the QL Agents developer API — grounded AI market Q&A plus programmatic agent lifecycle (create, run, schedule). Authenticate with a self-serve ql_ key from https://quantlogix.ai/profile. Ask/agents endpoints require a Pro or Institutional subscription and spend the account's monthly AI token budget. Versioning: the version is in the path (/api/v1); within it changes are additive only, and a breaking change ships under a new version path. Deprecation: a retiring endpoint is marked deprecated here and its responses carry Deprecation (RFC 9745) and Sunset (RFC 8594) headers at least 90 days before removal (https://quantlogix.ai/api-docs#versioning). Rate limits: responses carry RateLimit-Policy and RateLimit-Limit (IETF RateLimit header fields) beside X-RateLimit-Limit; a 429 carries Retry-After when the wait is the per-minute window."},"servers":[{"url":"https://origin.quantlogix.ai/api/v1"}],"security":[{"apiKeyHeader":[]},{"bearerKey":[]}],"paths":{"/signal":{"get":{"summary":"5-factor composite signal for a ticker","parameters":[{"name":"ticker","in":"query","required":true,"schema":{"type":"string"},"example":"NVDA"}],"responses":{"200":{"description":"Signal payload","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSignalResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate or quota limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"free","operationId":"get_signal"}},"/seasonality":{"get":{"summary":"Month-by-month seasonality statistics for a ticker","x-required-tier":"free","parameters":[{"name":"ticker","in":"query","required":true,"schema":{"type":"string"},"example":"NVDA"}],"responses":{"200":{"description":"Payload","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSeasonalityResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Tier does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate or quota limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"operationId":"get_seasonality"}},"/promise-ledger":{"get":{"summary":"Management Promise Ledger — kept / missed / walked-back earnings-call commitments with receipts","x-required-tier":"enterprise","parameters":[{"name":"ticker","in":"query","required":false,"schema":{"type":"string"},"example":"NVDA","description":"Required unless demo=1"},{"name":"quarters","in":"query","schema":{"type":"integer","minimum":2,"maximum":8,"default":6}},{"name":"demo","in":"query","schema":{"type":"integer","enum":[0,1]},"description":"1 → fictional Meridian Compute (MRDC) ledger; no transcript quota"}],"responses":{"200":{"description":"Ledger with credibility index, archetype, and receipted promises","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPromiseLedgerResponse"}}}},"400":{"description":"Missing ticker","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Insufficient published transcripts","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"operationId":"get_promise_ledger"}},"/activist-ledger":{"get":{"summary":"QL Activist Ledger — every named activist's 13D campaign graded vs SPY at 1/3/6/12 months, with EDGAR receipts and computed activist track records","parameters":[{"name":"activist","in":"query","required":false,"schema":{"type":"string"},"example":"elliott","description":"Activist slug for its full campaign ledger (see /activist-ledger for the roster)"},{"name":"ticker","in":"query","required":false,"schema":{"type":"string"},"example":"LUV","description":"Every tracked activist campaign on this ticker"},{"name":"sort","in":"query","schema":{"type":"string","enum":["filed","entry","excess"],"default":"filed"},"description":"Live-book order"}],"responses":{"200":{"description":"Summary, per-horizon distributions, activist track records, the graded record with receipts, and the live book (full at Institutional, laddered preview below)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetActivistLedgerResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Unknown activist / no campaigns on ticker","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"free","operationId":"get_activist_ledger"}},"/strategist-ledger":{"get":{"summary":"QL Strategist Ledger — every Wall Street year-end S&P 500 target graded deterministically against the actual close: signed error, direction, the field's consensus miss by year, per-firm records (mean absolute error, bias, revisions), and the open year's distance-to-target","parameters":[{"name":"firm","in":"query","required":false,"schema":{"type":"string"},"example":"goldman-sachs","description":"Firm slug for its record and every target it published (see the board for slugs)"},{"name":"year","in":"query","required":false,"schema":{"type":"integer"},"example":2026,"description":"Target year — every firm's call, the median, the actual close (or the live distance if open)"}],"responses":{"200":{"description":"Summary, vintages, close table with sources, the graded record, and the ranked board (full at Institutional, laddered preview below)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetStrategistLedgerResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Unknown firm / no targets for year","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"free","operationId":"get_strategist_ledger"}},"/raise-tape":{"get":{"summary":"QL Raise Tape — every SEC Form D as it is filed, linked to the tracked private-company roster, hash-chained, and graded against the press (confirmed / pending / unannounced)","parameters":[{"name":"slug","in":"query","required":false,"schema":{"type":"string"},"example":"databricks","description":"Roster slug — every filing linked to that covered company"},{"name":"cik","in":"query","required":false,"schema":{"type":"string"},"description":"SEC CIK — every filing by that issuer"},{"name":"days","in":"query","required":false,"schema":{"type":"integer"},"example":30,"description":"Only filings from the last N days"},{"name":"industry","in":"query","required":false,"schema":{"type":"string"},"description":"Filing industry group"},{"name":"roster","in":"query","required":false,"schema":{"type":"string","enum":["1"]},"description":"Only filings linked to a covered company"},{"name":"min","in":"query","required":false,"schema":{"type":"integer"},"description":"Minimum size in USD"}],"responses":{"200":{"description":"Tape summary, hash-chain head, graded roster board and the tier-laddered filing rows","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetRaiseTapeResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No filings for that company or issuer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"free","operationId":"get_raise_tape"}},"/ipo-filings":{"get":{"summary":"QL IPO Filing Teardowns — every US IPO registration (S-1 / F-1 / S-11 for REITs, amendments, S-1MEF / S-11MEF, 424B4) read field by field: price range and its changes, final price, shares offered, implied value, underwriters, lock-up, share classes, controlled-company status, summary financials, charter terms and the step from the last private mark, each with the quoted text and the EDGAR URL","parameters":[{"name":"id","in":"query","required":false,"schema":{"type":"string"},"example":"1859836-333-294679","description":"One registration (CIK-file number)"},{"name":"slug","in":"query","required":false,"schema":{"type":"string"},"description":"Roster slug — that company's registrations"},{"name":"cik","in":"query","required":false,"schema":{"type":"string"},"description":"SEC CIK — every IPO registration by that issuer"},{"name":"ticker","in":"query","required":false,"schema":{"type":"string"},"description":"Proposed ticker"},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["filed","range_set","priced","withdrawn"]},"description":"Registration status"},{"name":"days","in":"query","required":false,"schema":{"type":"integer"},"example":30,"description":"Only registrations with a filing in the last N days"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"example":25,"description":"Rows (default 50, max 200)"}],"responses":{"200":{"description":"Methodology, counts, exclusions and the registration rows (one id/slug/cik returns full rows with every quote)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetIpoFilingsResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No IPO registration on file for that id, company or issuer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"free","operationId":"get_ipo_filings"}},"/charter-terms":{"get":{"summary":"QL Charter Terms — liquidation preference, participation, seniority, dividends and anti-dilution read out of filed certificates of incorporation","parameters":[{"name":"slug","in":"query","required":false,"schema":{"type":"string"},"description":"Covered company slug for that issuer's charter"},{"name":"cik","in":"query","required":false,"schema":{"type":"string"},"description":"SEC CIK of the filer"}],"responses":{"200":{"description":"Charter census across every parsed filing plus the tier-laddered per-series terms","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetCharterTermsResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No filed charter parsed for that company","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"free","operationId":"get_charter_terms"}},"/lp-tape":{"get":{"summary":"QL LP Tape — fund-level net IRR, DPI and TVPI from public-pension disclosures, with GP scorecards and vintage benchmarks","parameters":[{"name":"gp","in":"query","required":false,"schema":{"type":"string"},"example":"Insight Partners","description":"Manager name for its scorecard and disclosed funds"},{"name":"investor","in":"query","required":false,"schema":{"type":"string"},"description":"Investor-roster slug for the same manager"},{"name":"vintage","in":"query","required":false,"schema":{"type":"integer"},"example":2019,"description":"Vintage year filter"},{"name":"lp","in":"query","required":false,"schema":{"type":"string"},"example":"calpers","description":"Reporting limited partner"}],"responses":{"200":{"description":"Pooled summary, vintage benchmarks with quartiles, and the tier-laddered fund and GP rows","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetLpTapeResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No disclosed funds for that manager","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"free","operationId":"get_lp_tape"}},"/round-odds":{"get":{"summary":"QL Round Odds — monthly sealed P(a priced round is disclosed in 6 months) per private company, plus the conditional step-up band and down-round odds, graded against announced rounds and Form D sales","parameters":[],"responses":{"200":{"description":"Graded record, calibration tables, board distribution and the tier-laddered sealed calls with their disclosed drivers","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetRoundOddsResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"free","operationId":"get_round_odds"}},"/private-market-monitor":{"get":{"summary":"QL Private Market Monitor — the quarterly state of private markets composed only from graded records, each issue sealed with a hash chained to the previous one","parameters":[{"name":"issue","in":"query","required":false,"schema":{"type":"string"},"example":"2026-Q3","description":"Sealed issue id — omit for the in-progress issue plus the sealed list"}],"responses":{"200":{"description":"The issue: headline numbers, sectioned metrics each naming its record and as-of date, provenance, seal and chain verification","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPrivateMarketMonitorResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"That issue is not sealed yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"free","operationId":"get_private_market_monitor"}},"/short-ledger":{"get":{"summary":"QL Short Report Ledger — every activist short seller's report graded vs SPY from the short's side at 1/3/6/12 months, with report receipts and computed firm track records","parameters":[{"name":"firm","in":"query","required":false,"schema":{"type":"string"},"example":"hindenburg","description":"Short-seller slug for its full report ledger (see /short-ledger for the roster)"},{"name":"ticker","in":"query","required":false,"schema":{"type":"string"},"example":"NKLA","description":"Every tracked short report on this ticker"},{"name":"sort","in":"query","schema":{"type":"string","enum":["filed","entry","excess"],"default":"filed"},"description":"Live-book order"}],"responses":{"200":{"description":"Summary, per-horizon short-alpha distributions, firm track records, the graded record with receipts, and the live book (full at Institutional, laddered preview below)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetShortLedgerResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Unknown firm / no reports on ticker","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"free","operationId":"get_short_ledger"}},"/signal-factor-500":{"get":{"summary":"QL Signal Factor 500 — the S&P 500 ranked nightly by the five-pillar engine, sealed in QL Rewind and graded vs SPY at 21 / 63 trading days (quintile spreads, rank IC per pillar, regimes)","parameters":[{"name":"ticker","in":"query","required":false,"schema":{"type":"string"},"example":"NVDA","description":"One member's current rank, quintile, pillars, regime and latest graded forward read (every key)"},{"name":"replay","in":"query","schema":{"type":"integer","enum":[0,1]},"description":"1 → include the simulated pre-launch replay curve (technical + momentum pillars only, labelled simulated)"}],"responses":{"200":{"description":"Snapshot meta (date, seal hash, census), the ranked rows (full at Pro+, top-25 + identity-only below), the accrued record per horizon, latest grades, and methodology","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSignalFactor500Response"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Ticker not in the sealed snapshot","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"free","operationId":"get_signal_factor_500"}},"/priced-in":{"get":{"summary":"QL Priced-In — the annual revenue growth every S&P 500 price demands under a standardized DCF (flat 9% discount, filed margin + reinvestment, 2.5% terminal), vs the growth reported last FY; sealed in QL Rewind, graded when the next fiscal year is reported","parameters":[{"name":"ticker","in":"query","required":false,"schema":{"type":"string"},"example":"NVDA","description":"One member's citation: demanded growth, reported growth, gap, standardized inputs, sealed history and any grade (every key)"}],"responses":{"200":{"description":"Snapshot meta (date, seal hash, census, summary), the board rows (full at Pro+, top-25 + identity-only below), the not-modelled bucket with reasons, the accrued record by decile, and methodology","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPricedInResponse"}}}},"401":{"description":"Missing or invalid key"}},"x-required-tier":"free","operationId":"get_priced_in"}},"/red-flag-ledger":{"get":{"summary":"QL Red Flag Ledger — every accounting and governance red flag disclosed on an 8-K (auditor changes 4.01, restatements / non-reliance 4.02, CEO and CFO exits 5.02), sealed the day EDGAR indexes it and graded forward against SPY at 1/3/6/12 months from the undisturbed close before the filing; base rates per flag type with the filing as the receipt.","x-required-tier":"free","parameters":[{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["restatement","auditor_change","cfo_exit","ceo_exit"]},"description":"Filter the board and record to one flag type."},{"name":"ticker","in":"query","required":false,"schema":{"type":"string"},"example":"NCPL","description":"One company's full flag history — public at every key."}],"responses":{"200":{"description":"Summary, base rates per flag type (median/mean excess, confirmation rate, N per horizon), distributions, most-flagged companies, the graded record with receipts, the live board (full at Institutional, laddered below) and the methodology.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetRedFlagLedgerResponse"}}}}},"operationId":"get_red_flag_ledger"}},"/pdufa-ledger":{"get":{"summary":"QL PDUFA Ledger — every FDA decision (PDUFA) date a listed drug developer disclosed on an 8-K, sealed the day it was first filed and graded forward: the 30-day run-up, the undisturbed close, the reaction, SPY-relative excess at 1/3/6/12 months, and the outcome (approved / Complete Response Letter / no filing found) from a strict later 8-K. Base rates by outcome, company records, and the sealed calendar of dates still ahead.","x-required-tier":"free","parameters":[{"name":"outcome","in":"query","required":false,"schema":{"type":"string","enum":["approved","crl","unknown"]},"description":"Filter the record to one outcome."},{"name":"ticker","in":"query","required":false,"schema":{"type":"string"},"example":"RARE","description":"One company's full decision history — public at every key."}],"responses":{"200":{"description":"Summary, base rates by outcome, the graded record of FDA decision dates with returns at each horizon, company histories, the live board (full at Institutional, laddered below) and the methodology","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPdufaLedgerResponse"}}}}},"operationId":"get_pdufa_ledger"}},"/guidance-ledger":{"get":{"summary":"QL Guidance Ledger — every revenue guidance range an S&P 500 company published in an earnings-release 8-K, sealed the day it landed and graded against the revenue it later reported in XBRL: beat / within / miss, the sandbag versus the midpoint, per-company records (sandbagger / straight shooter / over-promiser), base rates, and the board of guidance still pending.","x-required-tier":"free","parameters":[{"name":"verdict","in":"query","required":false,"schema":{"type":"string","enum":["beat","within","miss"]},"description":"Filter the resolved record to one verdict."},{"name":"ticker","in":"query","required":false,"schema":{"type":"string"},"example":"CSCO","description":"One company's full guidance history — public at every key."}],"responses":{"200":{"description":"Summary, base rates by verdict, the graded record of revenue guidance against reported revenue, company histories, the live board (full at Institutional, laddered below) and the methodology","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetGuidanceLedgerResponse"}}}}},"operationId":"get_guidance_ledger"}},"/deal-notes":{"get":{"summary":"QL Deal Notes — QuantLogix's automatic, sourced analysis of each new deal event (acquisitions of listed companies and their closing or break, IPO registrations and pricings, large private rounds and Form D sales, sharp moves in the sealed odds boards), each published as a QL Update whose figures are checked by code against its evidence pack.","x-required-tier":"free","parameters":[{"name":"ticker","in":"query","required":false,"schema":{"type":"string"},"example":"GTLS","description":"Notes naming this listed ticker (target, acquirer or issuer)."},{"name":"slug","in":"query","required":false,"schema":{"type":"string"},"example":"kapital","description":"Notes on this private company (as in /private-company/<slug>)."},{"name":"deal","in":"query","required":false,"schema":{"type":"string"},"description":"A QL M&A Close Ledger deal id."},{"name":"cik","in":"query","required":false,"schema":{"type":"string"},"description":"The SEC CIK of an IPO issuer."},{"name":"kind","in":"query","required":false,"schema":{"type":"string","enum":["ma","ipo","round","odds"]},"description":"Event type."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"description":"Max notes, newest first."}],"responses":{"200":{"description":"The newest published deal notes: URL, title, event id, kind, state, version (with earlier versions), entities, and the methodology.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetDealNotesResponse"}}}}},"operationId":"get_deal_notes"}},"/ma-ledger":{"get":{"summary":"QL M&A Close Ledger — every announced US takeover tracked from announcement to CLOSE or BREAK, the graded record, each acquirer's track record, and the live spread board priced off the tape.","x-required-tier":"free","parameters":[{"name":"deal","in":"query","required":false,"schema":{"type":"string"},"example":"HZNP","description":"A deal id or the target ticker — the full per-deal view, public at every tier."}],"responses":{"200":{"description":"Summary, the graded record, acquirer track records, the live spread board (full at Institutional, laddered below) and the methodology.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetMaLedgerResponse"}}}}},"operationId":"get_ma_ledger"}},"/takeover-watch":{"get":{"summary":"QL Takeover Watch — listed US companies with a dated, sourced precursor of an acquisition (strategic review, disclosed proposal, activist sale demand, strategic 13D, cited report, broken deal), each with the quoted filing sentence, a sealed 12-month probability from published weights, and the record graded against the M&A Close Ledger.","x-required-tier":"free","parameters":[{"name":"ticker","in":"query","required":false,"schema":{"type":"string"},"example":"MNRO","description":"A listed ticker for that company's precursors, probability and sealed call; 404 when nothing qualifies."}],"responses":{"200":{"description":"Summary, the board (highest probability first), resolved rows, the latest sealed board, the graded record and the published methodology.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetTakeoverWatchResponse"}}}},"404":{"description":"No dated, sourced precursor is on file for the ticker."}},"operationId":"get_takeover_watch"}},"/buyback-ledger":{"get":{"summary":"QL Buyback Ledger — which companies actually buy their own stock well, graded from SEC XBRL repurchase facts against the tape.","x-required-tier":"free","parameters":[{"name":"ticker","in":"query","required":false,"schema":{"type":"string"},"example":"AAPL","description":"One company's full buyback ledger, with its board rank."}],"responses":{"200":{"description":"Summary, execution mix, the graded record, the ranked board (full at Pro+, laddered below) and the methodology.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetBuybackLedgerResponse"}}}}},"operationId":"get_buyback_ledger"}},"/rates-desk":{"get":{"summary":"QL Rates Desk — key-rate durations, carry and roll, named curve scenarios, crisis replays, a curve-alpha board and simulated 12-month cones over a preset or custom bond-ETF book.","x-required-tier":"free","parameters":[{"name":"preset","in":"query","required":false,"schema":{"type":"string","enum":["conservative","balanced","income","ladder","barbell"]},"example":"balanced","description":"A preset bond book."},{"name":"total","in":"query","required":false,"schema":{"type":"number"},"example":1000000,"description":"Book size in USD (default 1,000,000)."},{"name":"book","in":"query","required":false,"schema":{"type":"string"},"example":"IEF:40,LQD:35,HYG:25","description":"A custom book as TICKER:weight pairs — Institutional; ignored below that tier."}],"responses":{"200":{"description":"Book analytics (KRD ladder, duration, carry and roll), curve scenarios, crisis replays, the alpha board and — at Institutional — the simulated 12-month cones.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetRatesDeskResponse"}}}}},"operationId":"get_rates_desk"}},"/true-cost":{"get":{"summary":"QL True Cost — what a trade actually costs at your size: modeled spread, impact, the all-in round trip in bps and dollars, a tradability grade, participation, time-to-fill and max clean size.","x-required-tier":"free","parameters":[{"name":"ticker","in":"query","required":false,"schema":{"type":"string"},"example":"MU","description":"A US common stock or ETF carrying a live QuantLogix signal. Omit for the cheapest / most-expensive boards."},{"name":"size","in":"query","required":false,"schema":{"type":"number"},"example":250000,"description":"Trade size in USD (Starter+; pinned to $10,000 below that)."}],"responses":{"200":{"description":"One name's X-ray with the size ladder and grade, or the public cheapest / most-expensive boards at the standard size.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetTrueCostResponse"}}}}},"operationId":"get_true_cost"}},"/expectations":{"get":{"summary":"QL Expectations — the baseline behind a listed ticker's price: latest annual revenue, margins, share count and the previous close, normalized for reverse-DCF scenarios. `view=street` returns the Street & tape view: analyst consensus and price targets, the 12-month target backtest, EPS beat record and the technical / risk battery.","x-required-tier":"free","parameters":[{"name":"ticker","in":"query","required":true,"schema":{"type":"string"},"example":"NVDA","description":"A listed operating company. Funds, SPACs and very recent IPOs often have no annual filing on file yet."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["baseline","street"]},"example":"street","description":"Omit for the filing baseline. `street` returns analyst consensus + price targets (latest per firm, trailing 12 months), the consensus-target history, the backward test of every 12-month target (hit rate, implied vs realized, bias), directional grades, EPS beats and the technical / risk battery (RSI, moving averages, 52-week range, momentum, realized volatility, drawdown, beta, Sharpe, Sortino). Prices are previous closes; targets are third-party opinions, not recommendations."}],"responses":{"200":{"description":"The normalized company baseline (revenue, margins, share count, previous close as an editable reference price) — or, with view=street, the Street & tape view.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetExpectationsResponse"}}}}},"operationId":"get_expectations"}},"/dividend-ledger":{"get":{"summary":"QL Dividend Ledger — the monthly sealed Top 100 of dividend value stocks ranked on fundamentals / growth / valuation pillars, pillar-space clusters, and the record grading every sealed board vs SPY, SCHD and VIG on total return","x-required-tier":"free","parameters":[{"name":"ticker","in":"query","required":false,"schema":{"type":"string"},"example":"KO","description":"One company's row (pillars when entitled) and every sealed board it sat on, with graded returns"}],"responses":{"200":{"description":"Summary, the Top-100 board (pillars per entitlement), clusters, sector heat, sealed-board grades by horizon and decile, the record, migration and methodology","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetDividendLedgerResponse"}}}}},"operationId":"get_dividend_ledger"}},"/readthrough-basket":{"get":{"summary":"Private→public read-through basket — generated equal-weight sleeve from the crossmarket graph","x-required-tier":"pro","parameters":[{"name":"slug","in":"query","required":false,"schema":{"type":"string"},"example":"databricks","description":"Required unless demo=1"},{"name":"demo","in":"query","schema":{"type":"integer","enum":[0,1]},"description":"1 → fictional Helios Robotics sleeve; no roster I/O"},{"name":"max","in":"query","schema":{"type":"integer","minimum":5,"maximum":10,"default":10}}],"responses":{"200":{"description":"Sleeve with holdings, relation mix, and 5-factor roll-up","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetReadthroughBasketResponse"}}}},"400":{"description":"Missing slug","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Tier does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Unknown private company","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Fewer than 5 public tickers on the graph","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"operationId":"get_readthrough_basket"}},"/shadow-book":{"get":{"summary":"QL Shadow Book — ranked private-market shadow of a public book","x-required-tier":"pro","parameters":[{"name":"tickers","in":"query","required":false,"schema":{"type":"string"},"example":"NVDA,MSFT,GOOGL","description":"CSV override. Omit to use the signed-in book on the Clerk door."},{"name":"demo","in":"query","schema":{"type":"integer","enum":[0,1]},"description":"1 → NVDA/MSFT/GOOGL demo book; ranking math withheld"}],"responses":{"200":{"description":"Ranked private shadow, posture, IPO pipeline, ripples, investor slice","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetShadowBookResponse"}}}},"400":{"description":"Missing tickers","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Tier does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"operationId":"get_shadow_book"}},"/gap-stats":{"get":{"summary":"Historical opening-gap fill statistics","x-required-tier":"free","parameters":[{"name":"ticker","in":"query","required":true,"schema":{"type":"string"},"example":"NVDA"}],"responses":{"200":{"description":"Payload","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetGapStatsResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Tier does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate or quota limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"operationId":"get_gap_stats"}},"/street-grades":{"get":{"summary":"Analyst street grades and rating distribution","x-required-tier":"free","parameters":[{"name":"ticker","in":"query","required":true,"schema":{"type":"string"},"example":"NVDA"}],"responses":{"200":{"description":"Payload","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetStreetGradesResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Tier does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate or quota limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"operationId":"get_street_grades"}},"/microstructure":{"get":{"summary":"Order-flow microstructure: institutional bias, volume profile, spread","x-required-tier":"pro","parameters":[{"name":"ticker","in":"query","required":true,"schema":{"type":"string"},"example":"NVDA"}],"responses":{"200":{"description":"Payload","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetMicrostructureResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Tier does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate or quota limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"operationId":"get_microstructure"}},"/earnings-setup":{"get":{"summary":"Pre-earnings setup: expected move, historical drift, positioning","x-required-tier":"pro","parameters":[{"name":"ticker","in":"query","required":true,"schema":{"type":"string"},"example":"NVDA"}],"responses":{"200":{"description":"Payload","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetEarningsSetupResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Tier does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate or quota limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"operationId":"get_earnings_setup"}},"/earnings-calendar":{"get":{"summary":"Per-ticker earnings calendar: quarterly EPS/revenue history, YoY growth, and the ESTIMATED next report date (from filing cadence)","x-required-tier":"pro","parameters":[{"name":"ticker","in":"query","required":true,"schema":{"type":"string"},"example":"NVDA"}],"responses":{"200":{"description":"Payload","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetEarningsCalendarResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Tier does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate or quota limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"operationId":"get_earnings_calendar"}},"/corporate-events":{"get":{"summary":"Per-ticker corporate-event timeline: earnings, dividends (ex/pay date, amount, yield), splits, analyst actions, insider trades, SEC filings, conferences and M&A news","x-required-tier":"pro","parameters":[{"name":"ticker","in":"query","required":true,"schema":{"type":"string"},"example":"NVDA"}],"responses":{"200":{"description":"Payload","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetCorporateEventsResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Tier does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate or quota limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"operationId":"get_corporate_events"}},"/catalysts":{"get":{"summary":"Market-wide forward calendar — earnings (who reports when), IPOs, dividend ex-dates, splits, macro prints, opex and disclosed Congress trades in a window; omit ticker for the whole market","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":60,"default":21},"description":"Forward window in days, clamped to your tier"},{"name":"types","in":"query","required":false,"schema":{"type":"string"},"example":"earnings,dividend,split","description":"CSV of earnings, ipo, dividend, split, macro, opex, congress. Default: every type your tier allows"},{"name":"ticker","in":"query","required":false,"schema":{"type":"string"},"example":"NVDA","description":"Scope to one name; omit for the market-wide calendar"}],"responses":{"200":{"description":"today, window_days, count, events[], tier, limits, clamped","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetCatalystsResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate or quota limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"free","operationId":"get_catalysts"}},"/institutional":{"get":{"summary":"13F institutional holders of a ticker","x-required-tier":"pro","parameters":[{"name":"ticker","in":"query","required":true,"schema":{"type":"string"},"example":"NVDA"}],"responses":{"200":{"description":"Payload","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetInstitutionalResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Tier does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate or quota limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"operationId":"get_institutional"}},"/dca":{"get":{"summary":"Dollar-cost-averaging backtest for a ticker","x-required-tier":"free","parameters":[{"name":"ticker","in":"query","required":true,"schema":{"type":"string"},"example":"NVDA"},{"name":"monthly","in":"query","schema":{"type":"integer","minimum":10,"maximum":1000000,"default":500}},{"name":"years","in":"query","schema":{"type":"integer","minimum":1,"maximum":15,"default":10}}],"responses":{"200":{"description":"Backtest result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetDcaResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate or quota limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"operationId":"get_dca"}},"/screener":{"get":{"summary":"Screen the stock universe by signal, composite score, sector, market-cap band, price, market cap and today's change","x-required-tier":"pro","parameters":[{"name":"signal","in":"query","schema":{"type":"string"},"description":"Comma-separated labels: Strong Buy, Buy, Neutral, Sell, Strong Sell"},{"name":"min_score","in":"query","schema":{"type":"number"},"description":"Lowest composite score, 0-100"},{"name":"max_score","in":"query","schema":{"type":"number"},"description":"Highest composite score, 0-100"},{"name":"sector","in":"query","schema":{"type":"string"},"description":"Comma-separated GICS sector labels, e.g. Technology,Healthcare"},{"name":"cap","in":"query","schema":{"type":"string"},"description":"Comma-separated market-cap bands: mega, large, mid, small, micro"},{"name":"min_price","in":"query","schema":{"type":"number"},"description":"Lowest share price"},{"name":"max_price","in":"query","schema":{"type":"number"},"description":"Highest share price"},{"name":"min_market_cap","in":"query","schema":{"type":"number"},"description":"Lowest market cap in US dollars"},{"name":"max_market_cap","in":"query","schema":{"type":"number"},"description":"Highest market cap in US dollars"},{"name":"min_change","in":"query","schema":{"type":"number"},"description":"Lowest percent change today"},{"name":"max_change","in":"query","schema":{"type":"number"},"description":"Highest percent change today"},{"name":"sort","in":"query","schema":{"type":"string","enum":["score","change","market_cap","price"],"default":"score"}},{"name":"order","in":"query","schema":{"type":"string","enum":["desc","asc"],"default":"desc"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Matching rows","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetScreenerResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Tier does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"operationId":"get_screener"}},"/signals":{"get":{"summary":"Batch signals for up to 50 tickers in one call","x-required-tier":"pro","parameters":[{"name":"tickers","in":"query","required":true,"schema":{"type":"string"},"example":"NVDA,AAPL,MSFT"}],"responses":{"200":{"description":"Signal payload per ticker","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSignalsResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Tier does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"operationId":"get_signals"}},"/engine/model-card":{"get":{"summary":"Signal-engine model card — methodology, factor weights and measured accuracy","x-required-tier":"pro","parameters":[{"name":"window","in":"query","schema":{"type":"string","enum":["30d","90d","365d","all"],"default":"90d"}}],"responses":{"200":{"description":"Model card","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetEngineModelCardResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Tier does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"operationId":"get_engine_model_card"}},"/private-companies/list":{"get":{"summary":"List tracked private companies with live valuations, 5-pillar Growth Trajectory (pm-gt-v2) scores/stages/CAGR, cross-sectional QL Ranks, rank momentum deltas, and forward-only calibration track_record","x-required-tier":"pro","parameters":[{"name":"sector","in":"query","schema":{"type":"string"},"description":"Filter by sector (case-insensitive)"},{"name":"q","in":"query","schema":{"type":"string"},"description":"Search name, slug, tagline, or tags"},{"name":"sort","in":"query","schema":{"type":"string","enum":["valuation","ql_score","ql_rank","rank","trajectory","rank_movers"],"default":"valuation"},"description":"Valuation descending by default. ql_score uses the published score then growth engine rank for ties. ql_rank returns the engine order."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":200,"default":50}}],"responses":{"200":{"description":"Companies with ql_overall_rank, ql_sector_rank, ql_rank_tier, trajectory_score, trajectory_stage, estimated_cagr_pct, ql_rank_delta, and top-level track_record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPrivateCompaniesListResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Tier does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"operationId":"get_private_companies_list"}},"/private-companies/{slug}":{"get":{"summary":"Single private-company profile with live valuation overlay, funding rounds, investors, full 5-pillar growth_trajectory_model (pm-gt-v2), nightly rank_series, and forward-only track_record","x-required-tier":"pro","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"},"example":"databricks"},{"name":"include","in":"query","schema":{"type":"string","enum":["dossier"]},"description":"dossier adds the background + fundraising record: narrative, leadership and board (SEC Form D directors), milestones, every disclosed round with implied pre-money / stake sold / step-up and leads, each investor's role and firm profile, syndicate mix, and matched SEC Form D filings (same as the get_private_company_dossier MCP tool)"}],"responses":{"200":{"description":"Company profile with growth_trajectory_model, rank_series, and track_record; plus dossier when include=dossier","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPrivateCompaniesSlugResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Tier does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Company not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"operationId":"get_private_companies_by_slug"}},"/private-companies/search":{"get":{"summary":"QL Private-Market Search — hybrid keyword + semantic search over company profiles, investor profiles, funding news, SEC Form D filings, company websites, press releases and investor blogs. $0.50 per query (49 AI credits), charged only when results come back. No account? POST /api/v1/agent-pay/search (MPP).","x-required-tier":"pro","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":3,"maxLength":500},"example":"who led the Series A in robotics simulation"},{"name":"types","in":"query","schema":{"type":"string"},"description":"CSV of company,investor,news,form_d,web_company,web_article,newswire,vc_blog"},{"name":"company","in":"query","schema":{"type":"string"},"example":"antioch"},{"name":"since","in":"query","schema":{"type":"string","format":"date"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":15}}],"responses":{"200":{"description":"Results + charged_usd + credits_charged","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPrivateCompaniesSearchResponse"}}}},"400":{"description":"Missing query","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"AI credits exhausted — refill or use the pay-per-query door","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Tier does not include this endpoint, or key not bound to an account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"operationId":"get_private_companies_search"}},"/public-markets/search":{"get":{"summary":"QL Public-Market Search — hybrid keyword + semantic search over QL Wire and QL Updates articles, market briefings, QL Research theses, company guidance quoted from SEC filings, FDA PDUFA dates, activist 13D stakes, short-seller reports, M&A deals, earnings press-release summaries and listed-company profiles. $0.50 per query (49 AI credits), charged only when results come back. No account? POST /api/v1/agent-pay/search?market=public (MPP).","x-required-tier":"pro","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":3,"maxLength":500},"example":"raised full-year revenue guidance semiconductors"},{"name":"ticker","in":"query","schema":{"type":"string"},"example":"NVDA"},{"name":"types","in":"query","schema":{"type":"string"},"description":"CSV of ql_wire,ql_update,briefing,thesis,guidance,pdufa,short_report,activist,ma_deal,earnings_release,ticker"},{"name":"since","in":"query","schema":{"type":"string","format":"date"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":15}}],"responses":{"200":{"description":"Results + charged_usd + credits_charged","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPublicMarketsSearchResponse"}}}},"400":{"description":"Missing query","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"AI credits exhausted — refill or use the pay-per-query door","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Tier does not include this endpoint, or key not bound to an account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"operationId":"get_public_markets_search"}},"/private-companies/comparables":{"get":{"summary":"Comparable private funding rounds: for a company (slug) or for a sector, stage and revenue band","x-required-tier":"pro","parameters":[{"name":"slug","in":"query","schema":{"type":"string"},"description":"Company to find comparable rounds for. Omit to filter by sector, stage and revenue instead."},{"name":"sector","in":"query","schema":{"type":"string"},"description":"Sector of the comparable rounds"},{"name":"stage","in":"query","schema":{"type":"string"},"description":"Round stage, e.g. series b"},{"name":"arr_min","in":"query","schema":{"type":"number"},"description":"Lowest annual recurring revenue, US dollars"},{"name":"arr_max","in":"query","schema":{"type":"number"},"description":"Highest annual recurring revenue, US dollars"},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1},"description":"Maximum rounds to return"}],"responses":{"200":{"description":"Payload","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPrivateCompaniesComparablesResponse"}}}},"400":{"description":"Unknown slug","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Tier does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"operationId":"get_private_companies_comparables"}},"/private-companies/financials":{"get":{"summary":"Dilution history, financial scorecard and the public-comps revenue bridge for a private company","x-required-tier":"pro","parameters":[{"name":"slug","in":"query","required":true,"schema":{"type":"string"},"example":"stripe"}],"responses":{"200":{"description":"Payload","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPrivateCompaniesFinancialsResponse"}}}},"400":{"description":"Missing or unknown slug","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Tier does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"operationId":"get_private_companies_financials"}},"/private-companies/ipo-readiness":{"get":{"summary":"IPO-readiness score for a private company, or the ranked board when slug is omitted","x-required-tier":"pro","parameters":[{"name":"slug","in":"query","schema":{"type":"string"},"description":"Company to score. Omit for the ranked board."},{"name":"sector","in":"query","schema":{"type":"string"},"description":"Board only: limit to one sector"},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1},"description":"Board only: maximum companies"}],"responses":{"200":{"description":"Payload","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPrivateCompaniesIpoReadinessResponse"}}}},"400":{"description":"Unknown slug","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Tier does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"operationId":"get_private_companies_ipo_readiness"}},"/private-companies/ql-score":{"get":{"summary":"The QL Score — one graded 0-100 number per private company (weights frozen per version, forward-only public grading record). ?slug for one company; omit for the leaderboard. Commercial license rides the API plan; free editorial citation stays on the public endpoint.","x-required-tier":"pro","parameters":[{"name":"slug","in":"query","schema":{"type":"string"},"example":"databricks"},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":200}}],"responses":{"200":{"description":"Score + pillars + band (or leaderboard)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPrivateCompaniesQlScoreResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Tier does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Unknown slug","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"operationId":"get_private_companies_ql_score"}},"/private-companies/liquidity":{"get":{"summary":"Secondary-market liquidity for a private company, or the directory when slug is omitted","x-required-tier":"pro","parameters":[{"name":"slug","in":"query","schema":{"type":"string"},"description":"Company to assess. Omit for the directory of the largest companies."}],"responses":{"200":{"description":"Payload","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPrivateCompaniesLiquidityResponse"}}}},"400":{"description":"Unknown slug","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Tier does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"operationId":"get_private_companies_liquidity"}},"/private-companies/spaces":{"get":{"summary":"Emerging Spaces — momentum-ranked thematic space board (or one space with momentum components, 8-quarter funding trend, and top companies)","x-required-tier":"pro","parameters":[{"name":"space","in":"query","schema":{"type":"string"},"example":"ai-agents"},{"name":"band","in":"query","schema":{"type":"string","enum":["Surging","Heating","Steady","Cooling"]}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":50,"default":50}}],"responses":{"200":{"description":"Momentum-ranked space board, or single-space detail with methodology","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPrivateCompaniesSpacesResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Tier does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Unknown space, or below the publication floor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"operationId":"get_private_companies_spaces"}},"/private-companies/mark-tape":{"get":{"summary":"QL Mark Tape — SEC-filed mutual-fund marks on private companies (price per share, matched-basis quarterly re-mark, cross-manager dispersion)","x-required-tier":"enterprise","parameters":[{"name":"sort","in":"query","schema":{"type":"string","enum":["value","remark","dispersion"],"default":"value"}},{"name":"slug","in":"query","schema":{"type":"string"},"description":"Restrict to one roster company"},{"name":"min_holders","in":"query","schema":{"type":"integer","minimum":0}},{"name":"roster_only","in":"query","schema":{"type":"string","enum":["1"]}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":3000,"default":100}}],"responses":{"200":{"description":"Mark tape with summary, methodology, per-company marks and history","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPrivateCompaniesMarkTapeResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Tier does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"operationId":"get_private_companies_mark_tape"}},"/private-companies/secondary-tape":{"get":{"summary":"QL Secondary Tape — observed secondary-market events on private companies (tender offers, reported block sales, marketplace indications), every price carrying its source URL","x-required-tier":"enterprise","parameters":[{"name":"sort","in":"query","schema":{"type":"string","enum":["fresh","value","premium","prints"],"default":"fresh"}},{"name":"kind","in":"query","schema":{"type":"string","enum":["tender","block","indication","authorized_secondary"]}},{"name":"confidence","in":"query","schema":{"type":"string","enum":["disclosed","reported","indicative"]}},{"name":"from_month","in":"query","schema":{"type":"string"},"description":"First event month, inclusive (YYYY-MM)"},{"name":"to_month","in":"query","schema":{"type":"string"},"description":"Last event month, inclusive (YYYY-MM)"},{"name":"slug","in":"query","schema":{"type":"string"},"description":"Restrict to one roster company"},{"name":"limit","in":"query","schema":{"type":"integer","minimum":5,"maximum":1000,"default":200}}],"responses":{"200":{"description":"Tape with summary and per-company event rows, each event carrying its source URL","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPrivateCompaniesSecondaryTapeResponse"}}}},"400":{"description":"Invalid event month range","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Tier does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No prints for slug","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"operationId":"get_private_companies_secondary_tape"}},"/private-companies/stake-map":{"get":{"summary":"QL Stake Map — disclosed stakes LISTED companies hold in private roster names, sized on a stated basis with exposure per $10,000 of the holder, every row carrying its source URL. ?slug= resolves ONE company on every plan; the full board and ?view=holders books are Pro.","x-required-tier":"pro","parameters":[{"name":"slug","in":"query","schema":{"type":"string"},"description":"One roster company — its full listed-owner list (any key)"},{"name":"view","in":"query","schema":{"type":"string","enum":["holders"]},"description":"Per-holder private books (Pro)"},{"name":"sort","in":"query","schema":{"type":"string","enum":["value","holders","fresh"],"default":"value"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":5,"maximum":1000,"default":200}}],"responses":{"200":{"description":"Stake map with summary, methodology, per-company holder rows (kind, stated %, est. value with basis, exposure per $10k, source URL)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPrivateCompaniesStakeMapResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Board/holder views require Pro","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No curated stakes for slug","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"operationId":"get_private_companies_stake_map"}},"/private-companies/marks":{"get":{"summary":"QL Private Marks — model-marked valuations (round + secondary print + public comps, freshness-weighted, with confidence grade and per-component provenance)","x-required-tier":"enterprise","parameters":[{"name":"confidence","in":"query","schema":{"type":"string","enum":["high","medium","low"]}},{"name":"basis","in":"query","schema":{"type":"string","enum":["blended","secondary_led","comps_led","round_anchored"]}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":3000,"default":100}}],"responses":{"200":{"description":"Marks board with summary, methodology and per-component legs","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPrivateCompaniesMarksResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Tier does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"operationId":"get_private_companies_marks"}},"/private-price":{"get":{"summary":"QL Private Price — one dated, citable price per private company, published with a permanent accuracy record graded against the next priced round. ?slug= resolves ONE company on every plan; the full board is Institutional.","x-required-tier":"enterprise","parameters":[{"name":"slug","in":"query","schema":{"type":"string"},"description":"One company — available on every plan. Omit for the Institutional board."},{"name":"confidence","in":"query","schema":{"type":"string","enum":["high","medium","low"]}},{"name":"basis","in":"query","schema":{"type":"string","enum":["blended","secondary_led","comps_led","round_anchored"]}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":3000,"default":100}}],"responses":{"200":{"description":"Price(s) with price_id, evidence legs, publication history, graded track record and methodology","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPrivatePriceResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The board requires Institutional; ?slug= does not","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"operationId":"get_private_price"}},"/datasets":{"get":{"summary":"QL Datasets — versioned, hash-verified bulk datasets (signal rankings, ETF rankings, private roster, mark tape). Catalog, manifests, hashes and samples are public; full rows need a key. Every version is a QL Rewind archive snapshot, SHA-256-stamped and publicly chain-verifiable.","x-required-tier":"pro","parameters":[{"name":"dataset","in":"query","schema":{"type":"string","enum":["signal-rankings","etf-rankings","private-roster","mark-tape","secondary-marks","fund-exposure"]},"description":"Omit for the public catalog"},{"name":"data","in":"query","schema":{"type":"string","enum":["1"]},"description":"Return the full rows (requires X-API-Key)"},{"name":"format","in":"query","schema":{"type":"string","enum":["json","jsonl","csv"],"default":"json"}},{"name":"version","in":"query","schema":{"type":"string","format":"date"},"description":"Archived version — resolves to the newest capture on or before this date"}],"responses":{"200":{"description":"Catalog, manifest+versions, or full dataset rows with version + sha256 headers","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetDatasetsResponse"}}}},"401":{"description":"Missing/invalid key (full-rows mode)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Tier does not include this dataset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Unknown dataset or no capture at that version","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"operationId":"get_datasets"}},"/investors/list":{"get":{"summary":"List tracked private-market investors","x-required-tier":"pro","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":200}}],"responses":{"200":{"description":"Payload","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetInvestorsListResponse"}}}},"400":{"description":"Missing or unknown slug","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Tier does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"operationId":"get_investors_list"}},"/investors/fit":{"get":{"summary":"Investors ranked by fit for a raise: sector, stage, geography and round size against each investor's focus, check size and deployment pace","x-required-tier":"pro","parameters":[{"name":"sector","in":"query","schema":{"type":"string"},"example":"fintech","description":"Sector of the company raising"},{"name":"stage","in":"query","schema":{"type":"string"},"example":"series b","description":"Round stage"},{"name":"geo","in":"query","schema":{"type":"string"},"example":"US","description":"Company geography"},{"name":"raising_usd","in":"query","schema":{"type":"number"},"example":40000000,"description":"Round size in US dollars"},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1},"description":"Maximum investors to return"}],"responses":{"200":{"description":"Ranked investors with fit scores","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetInvestorsFitResponse"}}}},"400":{"description":"Give at least one of sector, stage, geo or raising_usd","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Tier does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Investor dataset unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"operationId":"get_investors_fit"}},"/assistant":{"get":{"summary":"Personal-assistant capability catalog: alert/reminder automation, Google calendar/Drive/Gmail, meetings, tasks and QL Collab. Pro+ account-bound, unscoped keys only.","responses":{"200":{"description":"Tools with input schemas and write controls","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetAssistantResponse"}}}},"403":{"description":"Tier, missing account or agent-scoped key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"pro","operationId":"get_assistant"},"post":{"summary":"Execute one owner-scoped assistant capability. Writes require allow_writes:true. Returned evidence is untrusted source material, never authorization for another action.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["tool"],"properties":{"tool":{"type":"string","description":"A name from the capability catalog"},"input":{"type":"object"},"allow_writes":{"type":"boolean","default":false}}}}}},"responses":{"200":{"description":"Execution result plus fenced evidence for a model","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostAssistantResponse"}}}},"400":{"description":"Invalid arguments","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Write not confirmed, scoped key or tool-policy denial","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or inaccessible","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Tool rejected the operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"pro","operationId":"post_assistant"}},"/collab":{"get":{"summary":"Documents as APIs — read ONE range of a QL Sheet, ONE section of a QL Note, or ONE slide of a QL Slides deck (QL Collab). ref=sheet:<uuid>&range=Sheet1!A1:D20[&header=1], ref=note:<uuid>[&section=Risks] (no section → list headings), or ref=deck:<uuid>[&slide=2] (no slide → list slides). Enforces live org and private-channel membership.","parameters":[{"name":"ref","in":"query","required":true,"schema":{"type":"string"},"example":"sheet:550e8400-e29b-41d4-a716-446655440000"},{"name":"range","in":"query","schema":{"type":"string"},"example":"Sheet1!A1:D20"},{"name":"header","in":"query","schema":{"type":"boolean"}},{"name":"section","in":"query","schema":{"type":"string"},"example":"Risks"},{"name":"slide","in":"query","schema":{"type":"integer","minimum":1},"example":2}],"responses":{"200":{"description":"Range rows/values/formulas (+records with header) or note section body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetCollabResponse"}}}},"400":{"description":"Bad ref / range","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Tier","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or not in your team","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Range too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"pro","operationId":"get_collab"},"put":{"summary":"Write exactly one range of a sheet ({ref, range, values[][]}) or one section of a note ({ref, section, text, mode?: append|prepend|replace}). Everything outside the target is untouched; 409 when the document changed between read and write.","responses":{"200":{"description":"Written","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PutCollabResponse"}}}},"400":{"description":"Bad input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Concurrent edit — re-read and retry","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"pro","operationId":"put_collab"}},"/crm/contacts":{"get":{"summary":"List CRM contacts (or one by ?id) — Starter+","parameters":[{"name":"id","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["new","contacted","qualified","proposal","won","lost"]}},{"name":"category","in":"query","required":false,"schema":{"type":"string","enum":["lead","prospect","customer","partner","other"]}},{"name":"q","in":"query","required":false,"schema":{"type":"string"},"description":"Free-text search on name/email/company/handle"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"default":100}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Contacts (owner-scoped to the key's account)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetCrmContactsResponse"}}}},"402":{"description":"CRM requires Starter+","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key not bound to an account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"starter","operationId":"get_crm_contacts"},"post":{"summary":"Create a contact (respects the tier contact cap) — Starter+","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string"},"email":{"type":"string"},"company":{"type":"string"},"title":{"type":"string"},"phone":{"type":"string"},"category":{"type":"string"},"status":{"type":"string"},"ticker":{"type":"string"},"notes":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"est_deal_value_usd":{"type":"number"}}}}}},"responses":{"201":{"description":"Created contact; fires contact.created webhooks","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostCrmContactsResponse"}}}},"402":{"description":"Cap reached or tier required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"starter","operationId":"post_crm_contacts"},"patch":{"summary":"Update a contact by id — Starter+","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string"}},"additionalProperties":true}}}},"responses":{"200":{"description":"Updated contact; fires contact.updated webhooks","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchCrmContactsResponse"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"starter","operationId":"patch_crm_contacts"}},"/crm/deals":{"get":{"summary":"List CRM deals + live pipeline rollup — Starter+","parameters":[{"name":"contact_id","in":"query","required":false,"schema":{"type":"string"}},{"name":"stage","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["open","won","lost"]}}],"responses":{"200":{"description":"Deals + pipeline (open/weighted/won value)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetCrmDealsResponse"}}}},"402":{"description":"CRM requires Starter+","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"starter","operationId":"get_crm_deals"},"post":{"summary":"Create a deal — Starter+","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["title"],"properties":{"title":{"type":"string"},"contact_id":{"type":"string"},"stage":{"type":"string"},"value_usd":{"type":"number"},"probability":{"type":"number"},"expected_close_at":{"type":"string"},"pipeline_id":{"type":"string","description":"Custom pipeline id; stages then validate against ITS ladder"},"notes":{"type":"string"}}}}}},"responses":{"201":{"description":"Created deal; fires deal.created webhooks","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostCrmDealsResponse"}}}}},"x-required-tier":"starter","operationId":"post_crm_deals"},"patch":{"summary":"Update a deal (stage moves keep status in lockstep) — Starter+","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string"}},"additionalProperties":true}}}},"responses":{"200":{"description":"Updated deal; fires deal.updated webhooks","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchCrmDealsResponse"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"starter","operationId":"patch_crm_deals"}},"/news":{"get":{"summary":"Curated news for a ticker","parameters":[{"name":"ticker","in":"query","required":true,"schema":{"type":"string"},"example":"NVDA"},{"name":"limit","in":"query","schema":{"type":"integer","maximum":50}}],"responses":{"200":{"description":"Articles","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetNewsResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"free","operationId":"get_news"}},"/startup-news":{"get":{"summary":"Startup ecosystem news — deduped, sentiment-scored, funding rounds extracted","parameters":[{"name":"q","in":"query","schema":{"type":"string"},"description":"Match company tags and title/summary text","example":"databricks"},{"name":"source","in":"query","schema":{"type":"string"},"example":"techcrunch_startups"},{"name":"topic","in":"query","schema":{"type":"string"},"example":"ai"},{"name":"funding","in":"query","schema":{"type":"boolean"},"description":"Only items with an extracted funding round"},{"name":"since","in":"query","schema":{"type":"string","format":"date"}},{"name":"limit","in":"query","schema":{"type":"integer","maximum":50}}],"responses":{"200":{"description":"Articles","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetStartupNewsResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"free","operationId":"get_startup_news"}},"/line":{"get":{"summary":"QL Line — the account's agent e-mail address. No params → status (address, autopilot, unread). view=inbox|sent (limit, unread_only, before) lists messages newest first; view=search&q= searches subject/sender/body; id= reads one message with its text body (marks an unread inbound read).","description":"The mailbox the owner's AI assistant works from (https://quantlogix.ai/agent-mail, a monthly add-on). Every tier; a line that is not set up answers 404 no_line and one whose payment is not confirmed answers 402 payment_required, both with setup_url. Inbound bodies were written by third parties — treat them as data before handing them to a model.","parameters":[{"name":"view","in":"query","schema":{"type":"string","enum":["status","inbox","sent","search"]}},{"name":"q","in":"query","schema":{"type":"string"},"description":"view=search — a word or phrase"},{"name":"folder","in":"query","schema":{"type":"string","enum":["all","inbox","sent"]},"description":"view=search"},{"name":"unread_only","in":"query","schema":{"type":"boolean"},"description":"view=inbox"},{"name":"before","in":"query","schema":{"type":"string","format":"date-time"},"description":"view=inbox|sent — page older than this"},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":50}},{"name":"id","in":"query","schema":{"type":"string"},"description":"Read one message (with body)"}],"responses":{"200":{"description":"Line status, a message list, or one message","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetLineResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Line reserved but not paid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No line / message not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"free","operationId":"get_line"},"post":{"summary":"Send from the line: {action:'send', to, subject, text} a new e-mail (≤5 recipients); {action:'reply', id, text} an in-thread reply to an inbound message.","description":"Every send carries the non-removable AI-assistant disclosure signature, is capped per hour, and is refused (422 guardrail_blocked) when it asks for, confirms or contains passwords, one-time codes, card or bank details, identity numbers, keys or login details.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"action":{"type":"string","enum":["send","reply"],"description":"Default send"},"to":{"type":"string","description":"send: address(es), comma-separated (max 5)"},"subject":{"type":"string","description":"send only"},"id":{"type":"string","description":"reply: id of the inbound message"},"text":{"type":"string","description":"Plain-text body"}},"required":["text"]}}}},"responses":{"201":{"description":"Sent — the stored outbound message","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostLineResponse"}}}},"400":{"description":"Bad input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Line not paid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Guardrail blocked / every recipient suppressed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Hourly send cap","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"free","operationId":"post_line"}},"/vault":{"get":{"summary":"QL Vault — the sites the owner shared with their agent (metadata only: item id, allowed hosts, read-only vs writes, approval rule). Credentials are never returned.","description":"The agent half of the Password Manager for agents (https://quantlogix.ai/vault). A key sees exactly what an agent run sees: items with agent access on; strict mode (423 vault_locked) and the tier ladder apply. Creating, reading, rotating or unlocking items stays on the owner's own session at /vault.","responses":{"200":{"description":"Items the agent may use","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetVaultResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key door disabled on this deployment","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"Vault locked — owner must unlock at /vault","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"free","operationId":"get_vault"},"post":{"summary":"{action:'request', item_id, url, method?, headers?, body?|json?} performs an HTTPS request AS the owner on one of the item's allowed hosts — the vault injects the credential (or signs in first) and returns a REDACTED response; {action:'login_check', item_id} establishes/verifies the sign-in without fetching anything.","description":"Writes (POST/PUT/PATCH/DELETE) need the item's allow_writes and a Pro+ plan (403 writes_tier). An item marked \"approve each use\" answers 403 approval_required until the owner taps Approve next use at /vault (valid 10 minutes). Hourly cap per plan (429 hourly_cap). Every use is audited.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"action":{"type":"string","enum":["request","login_check"],"description":"Default request"},"item_id":{"type":"string"},"url":{"type":"string","description":"request: absolute https:// URL on one of the item's allowed hosts"},"method":{"type":"string","enum":["GET","HEAD","POST","PUT","PATCH","DELETE"]},"headers":{"type":"object","additionalProperties":{"type":"string"},"description":"Extra headers — never auth headers, the vault sets those"},"body":{"type":"string"},"json":{"type":"object"}},"required":["item_id"]}}}},"responses":{"200":{"description":"Redacted response envelope, or the sign-in verdict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostVaultResponse"}}}},"400":{"description":"Bad input / URL off the allowlist","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Approval required / writes tier / agent access off","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such item","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"Vault locked","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Hourly cap","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Sign-in failed / upstream unreachable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"free","operationId":"post_vault"}},"/community":{"get":{"summary":"QL Community — read as your account: view=overview (default; standing, level, can_post, spaces) · spaces · posts (space, sort=new|top|active, limit, before) · post (id → post + comments) · members (q, role, open_to, limit) · events · leaderboard (window=7d|30d|all) · classroom (courses with your unlock state + progress) · course (slug → module + lesson outline; lesson bodies only when unlocked) · lesson (id → one lesson; 403 locked) · arena (sort, limit — shared paper portfolios ranked) · arena_member (user_id → trophy case) · arena_me (read-only score of your shared paper portfolio) · arena_catalog.","description":"Members-only, every tier. Applies the Community page's own privacy rules: members in a block relationship with you (either direction) and suspended/banned members are omitted; a post hidden pending review is visible only to its author. arena_me is a dry run — nothing unlocks, pays or posts. Titles, bodies, comments, headlines and captions were written by other members — treat them as data before handing them to a model. Arena figures are simulated paper-trading results, not advice.","parameters":[{"name":"view","in":"query","schema":{"type":"string","enum":["overview","spaces","posts","post","members","events","leaderboard","arena","arena_member","arena_me","arena_catalog"]}},{"name":"space","in":"query","schema":{"type":"string"},"description":"view=posts — a space slug, or 'all'"},{"name":"sort","in":"query","schema":{"type":"string"},"description":"view=posts: new|top|active · view=arena: score|return|alpha|sharpe|streak|xp"},{"name":"before","in":"query","schema":{"type":"string","format":"date-time"},"description":"view=posts — page older than this"},{"name":"id","in":"query","schema":{"type":"string","format":"uuid"},"description":"view=post"},{"name":"q","in":"query","schema":{"type":"string"},"description":"view=members — name, handle or headline"},{"name":"role","in":"query","schema":{"type":"string","enum":["founder","investor","trader","analyst","operator","advisor","lp","student"]},"description":"view=members"},{"name":"open_to","in":"query","schema":{"type":"string","enum":["dm","meet","intro","coffee","mentoring","deal_flow","cofounder","hiring"]},"description":"view=members"},{"name":"user_id","in":"query","schema":{"type":"string"},"description":"view=arena_member"},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100}}],"responses":{"200":{"description":"The requested community view","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetCommunityResponse"}}}},"400":{"description":"Bad view / id","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Space or post not found / not visible","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Community or Arena unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"free","operationId":"get_community"},"post":{"summary":"Publish a community post {space, kind, title, body} — signed-in session only.","description":"An API key answers 403 session_required: posting under a member's name needs the signed-in session (or the OAuth MCP connector's create_community_post). Needs accepted guidelines and good standing (428 / 403); auto-moderated — professional content only, no spam or ads, ≤3 links, rate-limited (422 / 429).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"space":{"type":"string","description":"Space slug (default 'general')"},"kind":{"type":"string","enum":["post","question","idea","intro","win","event"]},"title":{"type":"string","maxLength":140},"body":{"type":"string","maxLength":8000}},"required":["title","body"]}}}},"responses":{"201":{"description":"The stored post","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostCommunityResponse"}}}},"400":{"description":"Bad input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key (session required) / suspended","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Space not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Moderation refused","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"428":{"description":"Guidelines not accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"free","operationId":"post_community"}},"/usage":{"get":{"summary":"Key quota introspection (never consumes quota)","responses":{"200":{"description":"Current usage + limits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Usage"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"free","operationId":"get_usage"}},"/verified":{"get":{"summary":"QL Oracle — platform-graded verified datasets (all tiers)","description":"The verified stack as data infrastructure: dataset=conviction (raw crowd vs track-record-weighted consensus per ticker, optional ?ticker filter), dataset=index (the QL Verified Index long/short model book, level, equity curve), dataset=creators (leaderboard by graded win rate, optional ?limit), dataset=record&handle=<creator> (one creator's aggregate graded record), dataset=ledger (the QL Ledger — QuantLogix's own hash-chained report card: every graded call the platform makes, hits and misses, with the chain head + a public verifier). Every payload carries an attribution block (source, methodology, disclaimer, cite_as) — reproduce it when republishing the data. Records are graded by QuantLogix against real prices, never self-reported.","parameters":[{"name":"dataset","in":"query","required":true,"schema":{"type":"string","enum":["conviction","index","creators","record","ledger"]}},{"name":"ticker","in":"query","schema":{"type":"string"},"description":"conviction only — filter to one ticker"},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100},"description":"creators only"},{"name":"handle","in":"query","schema":{"type":"string"},"description":"record only — creator handle"}],"responses":{"200":{"description":"Verified dataset with attribution block","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetVerifiedResponse"}}}},"400":{"description":"Missing/invalid dataset or handle","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream dataset unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"free","operationId":"get_verified"}},"/webhooks":{"get":{"summary":"QL Webhooks — list your outbound event-push endpoints (secrets masked, recent deliveries included)","responses":{"200":{"description":"Endpoints + valid event types","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetWebhooksResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Tier does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"pro","operationId":"get_webhooks"},"post":{"summary":"Register a webhook endpoint (returns the whsec_ signing secret ONCE), or {action:\"test\",id} to fire a signed test delivery","description":"QuantLogix POSTs HMAC-signed JSON events (edge_alert.fired, mood.band_change) to registered HTTPS endpoints as they fire — the push half of the developer platform. Signature: X-QL-Signature = v1=HMAC-SHA256(secret, \"<X-QL-Timestamp>.<raw body>\"). Max 5 endpoints per account; 20 consecutive failures auto-disable an endpoint.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","description":"HTTPS receiver URL (register)"},"events":{"type":"array","items":{"type":"string","enum":["edge_alert.fired","mood.band_change","signal.flip","ipo.listing","webhook.test"]}},"action":{"type":"string","enum":["test"],"description":"With id: send a webhook.test delivery now"},"id":{"type":"string","description":"Endpoint id (we_…) for action:test"}}}}}},"responses":{"200":{"description":"Test delivery outcome","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostWebhooks200Response"}}}},"201":{"description":"Created (secret shown once)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostWebhooks201Response"}}}},"400":{"description":"Invalid URL or event type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Tier does not include this endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Duplicate URL","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"pro","operationId":"post_webhooks"},"delete":{"summary":"Delete a webhook endpoint by ?id=we_…","parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteWebhooksResponse"}}}},"404":{"description":"Endpoint not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"pro","operationId":"delete_webhooks"}},"/backtest":{"get":{"summary":"Strategy backtest — point-in-time replay of a classic timing strategy vs buy-and-hold (Starter+)","description":"Runs the same engine the Alpha Engine Week-10 Strategy Backtest Lab uses: pick one instrument, one strategy (buy_hold, trend, golden_cross, rsi_meanrev, macd — see /backtest/library), and up to 10 years of daily closes. Returns strategy vs buy-and-hold metrics (total return, CAGR, Sharpe, max drawdown, exposure, trade count), the per-metric edge delta, a walk-forward (train 70% / test 30%) Sharpe pair with an overfit verdict (ROBUST / MILD_DECAY / OVERFIT / NO_EDGE), and a down-sampled equity curve for charting. Results are cached 1h in the same Redis namespace as the anonymous /compute/backtest endpoint, so a hot ticker warms both.","parameters":[{"name":"ticker","in":"query","required":true,"schema":{"type":"string"},"example":"SPY"},{"name":"strategy","in":"query","required":true,"schema":{"type":"string","enum":["buy_hold","trend","golden_cross","rsi_meanrev","macd"]},"example":"trend"},{"name":"years","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":10,"default":10}},{"name":"bypass_cache","in":"query","required":false,"schema":{"type":"string","enum":["0","1"]}}],"responses":{"200":{"description":"Backtest result (ok:false with status:insufficient_data if fewer than ~260 daily closes are available)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetBacktestResponse"}}}},"400":{"description":"Invalid ticker or strategy","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Requires a Starter+ key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate or quota limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Polygon not configured","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"starter","operationId":"get_backtest"},"post":{"summary":"Strategy backtest via JSON body (Starter+)","description":"Same as GET /backtest but with a JSON body — nicer for SDK clients and MCP-generated wrappers.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ticker","strategy"],"properties":{"ticker":{"type":"string","example":"SPY"},"strategy":{"type":"string","enum":["buy_hold","trend","golden_cross","rsi_meanrev","macd"],"example":"trend"},"years":{"type":"integer","minimum":1,"maximum":10,"default":10},"bypass_cache":{"type":"boolean","default":false}}}}}},"responses":{"200":{"description":"Backtest result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostBacktestResponse"}}}},"400":{"description":"Invalid ticker or strategy","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Requires a Starter+ key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate or quota limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Polygon not configured","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"starter","operationId":"post_backtest"}},"/backtest/library":{"get":{"summary":"Runnable backtest strategy catalog + returned metrics (all tiers, unmetered)","description":"Discovery endpoint: strategy IDs, human labels, params, and the full metrics list every backtest returns. Call this before POST /backtest to pick a valid strategy id. Available on every tier and never consumes quota. Static — 24h private cache.","responses":{"200":{"description":"Strategy catalog","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetBacktestLibraryResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"free","operationId":"get_backtest_library"}},"/portfolio":{"get":{"summary":"5-factor portfolio roll-up — score a book vs the QuantLogix engine (Pro+)","description":"Bring-your-own holdings. Pass a compact spec (?holdings=NVDA:50,AAPL:30 or ?tickers=NVDA,AAPL for equal weight) and get the weighted composite posture (Bullish→Bearish), signal mix by weight, per-factor exposure, position + sector concentration (HHI, top-position, effective #positions), plain-English risk flags, and a prioritized review list. Max 25 holdings. Same engine as MCP analyze_portfolio and get_signal, rolled up. No AI tokens. Distinct from Clerk-gated POST /api/portfolio/analyze (SSE chat).","parameters":[{"name":"holdings","in":"query","required":false,"schema":{"type":"string"},"example":"NVDA:50,AAPL:30,MSFT:20","description":"Compact spec: TICKER or TICKER:weight, comma-separated."},{"name":"tickers","in":"query","required":false,"schema":{"type":"string"},"example":"NVDA,AAPL,MSFT","description":"Equal-weight shortcut when weights are omitted."}],"responses":{"200":{"description":"Portfolio roll-up","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPortfolioResponse"}}}},"400":{"description":"Missing or invalid holdings","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Requires a Pro+ key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate or quota limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"pro","operationId":"get_portfolio"},"post":{"summary":"5-factor portfolio roll-up via JSON body (Pro+)","description":"Same as GET /portfolio but with a JSON body — nicer for SDK clients. Each holding is { ticker, and one of weight | value | shares }; omit all three for equal weight.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["holdings"],"properties":{"holdings":{"type":"array","minItems":1,"maxItems":25,"items":{"type":"object","required":["ticker"],"properties":{"ticker":{"type":"string","example":"NVDA"},"weight":{"type":"number","description":"Portfolio weight (12.5 or 0.125). Optional."},"value":{"type":"number","description":"Position market value in USD. Optional."},"shares":{"type":"number","description":"Share count (weighted by live price). Optional."}}}}}}}}},"responses":{"200":{"description":"Portfolio roll-up","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostPortfolioResponse"}}}},"400":{"description":"Missing or invalid holdings","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Requires a Pro+ key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate or quota limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"pro","operationId":"post_portfolio"}},"/portfolio/analytics":{"post":{"summary":"Portfolio Desk analytics — institutional replay of a book vs SPY (Pro+)","x-required-tier":"pro","description":"Bring-your-own positions. A constant-share replay over up to 3 years of daily closes: CAGR, Sharpe / Sortino / Calmar, max drawdown with recovery and time under water, beta / alpha / R² / tracking error / information ratio, up- and down-capture, historical 1-day VaR / CVaR, skew / kurtosis, Euler risk decomposition (share of risk vs share of value), per-name contribution, asset-mix look-through, monthly-return table, growth + underwater series, plain-English notes and CAPM-blended projection inputs. A BACKCAST of the given positions (constant shares, dividends excluded), never a track record; unmeasurable metrics are null and a short-history name shortens the window and is named. Same compute as the dashboard Portfolio Desk and MCP get_portfolio_analytics. Max 30 names. Nothing stored. No AI tokens.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["positions"],"properties":{"positions":{"oneOf":[{"type":"string","example":"NVDA:10,MSFT:$5000,AAPL","description":"Compact spec: TICKER:shares, TICKER:$dollars, or TICKER alone (equal dollars)."},{"type":"array","minItems":1,"maxItems":30,"items":{"type":"object","required":["ticker"],"properties":{"ticker":{"type":"string","example":"NVDA"},"qty":{"type":"number","description":"Share count."},"value_usd":{"type":"number","description":"Position value in USD (converted at the live quote)."}}}}]},"section":{"type":"string","enum":["all","metrics","risk","series","projection"],"default":"all"},"include_series":{"type":"boolean","default":false,"description":"Also return rolling vol/beta and the return histogram."}}}}}},"responses":{"200":{"description":"metrics + benchmark_metrics, risk, contributions, asset_mix, series, notes, projection_inputs, method","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostPortfolioAnalyticsResponse"}}}},"400":{"description":"Missing positions or no live quotes","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Requires a Pro+ key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate or quota limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"operationId":"post_portfolio_analytics"}},"/portfolio/overlay":{"get":{"summary":"Portfolio Alpha overlay — what to do with a book (every tier, holdings-capped)","description":"Bring-your-own holdings against the QuantLogix 5-factor engine, returning WHAT TO DO rather than just the score. Every position gets a verdict (agree_hold / ql_says_sell / ql_says_add) and an action (CLOSE / ADD / HOLD / WATCH), rolled into a priority-sorted action_items queue, plus signal_gaps (strong-buy names the book does not hold), today's regime, and a portfolio_summary with an A–F risk grade. Free: up to 8 holdings; Starter+: up to 25. Compact spec (?holdings=NVDA:50,AAPL:30) treats the number as a value weight. Same engine as MCP portfolio_alpha_overlay and the /portfolio-alpha dashboard. ql_ keys must pass holdings — connected-brokerage overlay is OAuth/MCP only. Distinct from POST /portfolio (the score roll-up) and Clerk GET /api/portfolio-alpha-overlay.","parameters":[{"name":"holdings","in":"query","required":false,"schema":{"type":"string"},"example":"NVDA:50,AAPL:30,MSFT:20","description":"Compact spec: TICKER or TICKER:value, comma-separated. Numbers become value weights."},{"name":"tickers","in":"query","required":false,"schema":{"type":"string"},"example":"NVDA,AAPL,MSFT","description":"Equal-weight shortcut when values are omitted."}],"responses":{"200":{"description":"Overlay (ok:true) or no_signals (ok:false)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPortfolioOverlayResponse"}}}},"400":{"description":"Missing or invalid holdings","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Holdings cap for this tier","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate or quota limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"free","operationId":"get_portfolio_overlay"},"post":{"summary":"Portfolio Alpha overlay via JSON body (every tier, holdings-capped)","description":"Same as GET /portfolio/overlay but with a JSON body — nicer for SDK clients. Each holding is { ticker, and one of value | shares | weight }; weight is treated as value for overlay weighting. Omit all three for equal weight.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["holdings"],"properties":{"holdings":{"type":"array","minItems":1,"maxItems":25,"items":{"type":"object","required":["ticker"],"properties":{"ticker":{"type":"string","example":"NVDA"},"value":{"type":"number","description":"Position market value in USD (enables value weighting). Optional."},"shares":{"type":"number","description":"Share count. Optional."},"weight":{"type":"number","description":"Treated as value for overlay weighting (compact-spec compatibility). Optional."}}}}}}}}},"responses":{"200":{"description":"Overlay (ok:true) or no_signals (ok:false)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostPortfolioOverlayResponse"}}}},"400":{"description":"Missing or invalid holdings","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Holdings cap for this tier","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate or quota limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"free","operationId":"post_portfolio_overlay"}},"/simulate":{"post":{"summary":"QL Simulator — regime-switching Monte Carlo on a what-if book (Institutional)","description":"Roll a dollar-weighted what-if portfolio through thousands of Monte Carlo futures bootstrapped from real daily history. Optional regime-switching: each simulated day evolves a vol/trend Markov chain learned from the book itself (\"auto\" starts from today's state, \"stressed\" from its stressed twin). Returns the forward distribution (percentiles, odds of profit, VaR/CVaR dollars), a per-day cone, the regime context (dwell, shift risk, regime drift), a model-challenge read (bootstrap vs textbook lognormal vs zero-drift), and a validation-first confidence tag. Stateless — nothing is stored.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["positions"],"properties":{"positions":{"type":"array","minItems":1,"maxItems":30,"items":{"type":"object","required":["ticker","value_usd"],"properties":{"ticker":{"type":"string"},"value_usd":{"type":"number"}}}},"horizon_days":{"type":"number","minimum":5,"maximum":252,"default":126},"lookback_years":{"type":"number","minimum":1,"maximum":10,"default":5},"regime":{"type":"string","enum":["auto","stressed"]}}}}}},"responses":{"200":{"description":"Forward distribution + model challenge + confidence tag","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostSimulateResponse"}}}},"400":{"description":"No usable positions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Requires an Institutional-plan key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate/quota limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Market data unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"enterprise","operationId":"post_simulate"}},"/ask":{"post":{"summary":"Grounded AI market Q&A (Pro+)","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"description":"One-shot question through the QL Agents reasoning pipeline with live tools — every answer carries citations, confidence, and an as-of stamp. Spends the account's AI token budget.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["question"],"properties":{"question":{"type":"string","maxLength":600},"context":{"type":"string","maxLength":4000,"description":"Unverified research notes for this question."},"tickers":{"type":"array","items":{"type":"string"},"maxItems":8},"mode":{"type":"string","enum":["digest","research"],"default":"digest"}}}}}},"responses":{"200":{"description":"Grounded answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Answer"}}}},"400":{"description":"Invalid question or context","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"AI budget exhausted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Requires Pro+ key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate/quota limit or daily AI-token cap (check GET /usage ai_tokens)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Timed out — retry or narrow the question","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"pro","operationId":"post_ask"}},"/research-request":{"post":{"summary":"Commission a graded research thesis (Pro+, spends credits)","description":"Request a Thesis: the engine writes a full research note on your ticker or covered private company, publishes it to the public QL Research library, monitors its falsifiable claims live, and grades the outcome publicly at T+7/30/90 days. Flat upfront credit charge (default 40); automatic refund if the engine cannot produce a publishable note. Duplicate coverage is refused without charge (409 returns the existing thesis).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["entity"],"properties":{"entity":{"type":"string","description":"US-listed ticker (NVDA) or covered private company name/slug (OpenAI)","maxLength":60}}}}}},"responses":{"200":{"description":"Request queued — request_id, credits_charged, queue_position","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostResearchRequestResponse"}}}},"400":{"description":"Unknown entity — not a covered ticker or roster company","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Insufficient credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Requires Pro+ key bound to an account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Entity already covered (link returned) or already queued","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Daily request cap (3) or queue at capacity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Requests paused or validation data unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"pro","operationId":"post_research_request"},"get":{"summary":"List your thesis requests (Pro+)","description":"Your own requests newest-first with status pending | published | refunded; published rows carry thesis_id + url. Poll after commissioning — research runs at 14:10/17:10/20:10 UTC daily.","responses":{"200":{"description":"Your requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetResearchRequestResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key not bound to an account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"pro","operationId":"get_research_request"}},"/agents":{"get":{"summary":"List your agents, or read one with its run performance (Pro+)","description":"Without id: every agent on the account plus the plan cap. With id: { agent, stats, runs } — the agent, what its newest 100 runs add up to (success and fired rates, errors, total spend, health) and its most recent runs. An agent-scoped key sees only the agents on its list; any other id answers 404.","parameters":[{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Read ONE agent with stats and recent runs."},{"name":"runs_limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"default":10},"description":"With id: how many recent runs to return."}],"responses":{"200":{"description":"Agents + plan cap, or one agent with stats and runs","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetAgentsResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Agent not found or outside the key scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"pro","operationId":"get_agents"},"post":{"summary":"Create an agent (Pro+)","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentInput"}}}},"responses":{"201":{"description":"Created agent","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostAgentsResponse"}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan agent cap reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"scoped_key — agent-scoped keys are read-and-run only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"idempotency_in_progress","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"idempotency_key_reused","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"pro","operationId":"post_agents"},"patch":{"summary":"Update an agent (Pro+)","requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/AgentInput"},{"type":"object","required":["id"],"properties":{"id":{"type":"string"}}}]}}}},"responses":{"200":{"description":"Updated agent","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchAgentsResponse"}}}},"403":{"description":"scoped_key — agent-scoped keys are read-and-run only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"pro","operationId":"patch_agents"},"delete":{"summary":"Delete an agent (Pro+)","parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAgentsResponse"}}}},"400":{"description":"id required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"scoped_key — agent-scoped keys are read-and-run only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such agent","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"delete_failed — the store did not confirm the delete","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"pro","operationId":"delete_agents"}},"/agents/run":{"post":{"summary":"Run an agent once — sync, or async with a pollable run_id (Pro+)","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"description":"Runs a saved agent (by id) or an inline draft definition and returns the result in the response. With async:true (saved agents only) it returns 202 { run_id, poll_url } immediately and executes in the background with a ~280s budget — poll GET /runs/{id} until status leaves pending. Spends the account's AI token budget.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"agent":{"$ref":"#/components/schemas/AgentInput"},"async":{"type":"boolean","default":false,"description":"Return 202 + run_id immediately; poll GET /runs/{id} for the result. Requires a saved agent id."},"overrides":{"type":"object","description":"Saved agents only: run against other tickers and/or with extra standing context for THIS run. Nothing is saved and the run does not write to the agent's memory. Refused for agent-scoped keys (403 scoped_key).","additionalProperties":false,"properties":{"tickers":{"type":"array","items":{"type":"string"},"maxItems":12},"context":{"type":"string","maxLength":800}}}}}}}},"responses":{"200":{"description":"Run result (sync)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunResult"}}}},"202":{"description":"Async run accepted — poll poll_url","content":{"application/json":{"schema":{"type":"object","properties":{"run_id":{"type":"string"},"status":{"type":"string"},"poll_url":{"type":"string"}}}}}},"402":{"description":"AI budget exhausted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Agent not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate/quota limit or daily AI-token cap (check GET /usage ai_tokens)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"pro","operationId":"post_agents_run"}},"/runs":{"get":{"summary":"Run history across your agents (Pro+)","description":"Newest first. Scheduled cron runs carry summaries; developer-API runs carry the full structured result. Filter to one agent with agent_id, to one status, or to a time window; page by passing the previous response's next_before as before. An agent-scoped key sees the runs of its own agents only.","parameters":[{"name":"agent_id","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"default":30}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["pending","fired","clear","skipped","error","test"]}},{"name":"since","in":"query","required":false,"schema":{"type":"string","format":"date-time"},"description":"Runs at or after this instant."},{"name":"before","in":"query","required":false,"schema":{"type":"string","format":"date-time"},"description":"Runs strictly before this instant — the previous page's next_before."}],"responses":{"200":{"description":"Run list","content":{"application/json":{"schema":{"type":"object","properties":{"runs":{"type":"array","items":{"$ref":"#/components/schemas/Run"}},"count":{"type":"integer"},"has_more":{"type":"boolean"},"next_before":{"type":"string","nullable":true,"description":"Pass as before to fetch the next page; null on the last page."}}}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Requires Pro+ key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"agent_id not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"pro","operationId":"get_runs"}},"/runs/{id}":{"get":{"summary":"One run by id — the async-run poll target (Pro+)","description":"status pending = an async run is still executing; poll again in a few seconds. Terminal statuses: fired | clear | skipped | error.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Run","content":{"application/json":{"schema":{"type":"object","properties":{"run":{"$ref":"#/components/schemas/Run"}}}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Run not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"pro","operationId":"get_runs_by_id"}},"/agents/connectors":{"get":{"summary":"List your outbound connectors (Pro+)","responses":{"200":{"description":"Connectors (secrets masked — has_secret only) + cap","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetAgentsConnectorsResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Requires agents_advanced (Pro+)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"pro","operationId":"get_agents_connectors"},"post":{"summary":"Register an outbound REST/MCP connector, or ?action=test to probe one (Pro+)","description":"Connectors are external platforms (your HTTPS JSON APIs or remote MCP servers) that agents may call during a run when attached via the agent's connector_ids. base_url must be https on a public DNS host — IP literals, ports, credentials, query strings, and private/internal names are rejected. Secrets are write-only: encrypted at rest, never returned. With ?action=test and { id }, performs a live connectivity probe instead.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorInput"}}}},"responses":{"200":{"description":"Test result (?action=test)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostAgentsConnectors200Response"}}}},"201":{"description":"Created connector","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostAgentsConnectors201Response"}}}},"400":{"description":"Invalid input (e.g. base_url_https_required, base_url_host_not_allowed)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Tier or connector cap","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Secret vault unconfigured","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"pro","operationId":"post_agents_connectors"},"patch":{"summary":"Update a connector (Pro+)","requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ConnectorInput"},{"type":"object","required":["id"],"properties":{"id":{"type":"string"}}}]}}}},"responses":{"200":{"description":"Updated connector","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchAgentsConnectorsResponse"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"pro","operationId":"patch_agents_connectors"},"delete":{"summary":"Delete a connector (Pro+)","parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAgentsConnectorsResponse"}}}},"400":{"description":"id required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"pro","operationId":"delete_agents_connectors"}},"/agents/mesh":{"get":{"summary":"Agent Mesh — directory, your listings/grants, or the call audit trail (Pro+)","description":"The QL Agent Mesh lets accounts publish native QuantLogix agents or connector-backed agents, grant other accounts scoped access, subscribe to public listings, and call agents shared with them — with QuantLogix brokering every call. First-party flagships QL Deep Dive ({ ticker }) and VC Deal Scout ({ round, sector? }) are always in the directory. ?view=directory returns public listings (METADATA ONLY — endpoints, connector ids, agent ids, and owner account ids never leave the server; target_type and first_party are public); ?view=calls returns your audit trail (both directions); the default view returns your listings plus grants given/received and tier limits.","parameters":[{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["directory","calls"]}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Directory, listings+grants, or calls","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetAgentsMeshResponse"}}}},"401":{"description":"Missing/invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Requires a Pro+ plan","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"pro","operationId":"get_agents_mesh"},"post":{"summary":"Mesh actions: publish · grant · subscribe · revoke · call (Pro+)","description":"action=publish registers one of YOUR native QL agents (agent_id) or connectors (connector_id) as a mesh agent (ownership verified; platform: targets are first-party only). action=subscribe self-grants on a PUBLIC directory listing (how you invoke QL Deep Dive / VC Deal Scout). action=grant issues a scoped delegation — allowed_capabilities must be a subset of the published set, calls_per_day clamps to your tier ceiling, and the qlm_ grant token is returned EXACTLY ONCE (stored only as a SHA-256 hash, and additionally bound to the grantee account, so a leaked token authorizes nothing elsewhere). action=call executes a brokered call via grant_token, grant_id, or listing_id (auto-subscribes): payloads are credential-redacted in BOTH directions, the response arrives wrapped as untrusted third-party content, budgets are enforced atomically per grant per day (failing CLOSED if the budget store is unreachable), and every call is audited for both parties. action=revoke (owner or grantee) takes effect immediately.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["action"],"properties":{"action":{"type":"string","enum":["publish","grant","subscribe","revoke","call"]},"name":{"type":"string"},"description":{"type":"string"},"connector_id":{"type":"string"},"agent_id":{"type":"string"},"capabilities":{"type":"array","items":{"type":"string"}},"visibility":{"type":"string","enum":["private","unlisted","public"]},"listing_id":{"type":"string"},"grantee":{"type":"string"},"allowed_capabilities":{"type":"array","items":{"type":"string"}},"calls_per_day":{"type":"integer"},"expires_at":{"type":"string"},"grant_id":{"type":"string"},"grant_token":{"type":"string"},"capability":{"type":"string"},"input":{"type":"object"}}}}}},"responses":{"200":{"description":"Call result (untrusted-wrapped) / revoked","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostAgentsMesh200Response"}}}},"201":{"description":"Listing or grant created (grant_token shown once)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostAgentsMesh201Response"}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Tier, cap, ownership, capability, or account-binding gate","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Grant budget exhausted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Remote agent failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"pro","operationId":"post_agents_mesh"},"delete":{"summary":"Unpublish a mesh listing — its grants are revoked with it (Pro+)","parameters":[{"name":"listing_id","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAgentsMeshResponse"}}}},"400":{"description":"listing_id required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"pro","operationId":"delete_agents_mesh"}},"/agents/memory":{"get":{"summary":"An agent's private memory notes (Pro+)","description":"Notes the agent chose to keep between runs (the remember field of its results) — isolated per agent, newest first, capped at 30.","parameters":[{"name":"agent_id","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Notes","content":{"application/json":{"schema":{"type":"object","properties":{"agent_id":{"type":"string"},"notes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"note":{"type":"string"},"created_at":{"type":"string"}}}}}}}}},"404":{"description":"Agent not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"pro","operationId":"get_agents_memory"},"delete":{"summary":"Delete one memory note (note_id) or wipe the agent's memory (all=1) (Pro+)","parameters":[{"name":"agent_id","in":"query","required":true,"schema":{"type":"string"}},{"name":"note_id","in":"query","required":false,"schema":{"type":"string"}},{"name":"all","in":"query","required":false,"schema":{"type":"string","enum":["1"]}}],"responses":{"200":{"description":"Deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAgentsMemoryResponse"}}}},"400":{"description":"note_id or all=1 required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Agent not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"pro","operationId":"delete_agents_memory"}},"/crm/tasks":{"get":{"summary":"List CRM tasks by scope — Starter+","parameters":[{"name":"scope","in":"query","required":false,"schema":{"type":"string","enum":["open","overdue","today","upcoming","done","all"],"default":"open"}},{"name":"contact_id","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":500,"default":200}}],"responses":{"200":{"description":"Tasks + counts","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetCrmTasksResponse"}}}},"402":{"description":"CRM requires Starter+","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"starter","operationId":"get_crm_tasks"},"post":{"summary":"Create a task — Starter+","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["title"],"properties":{"title":{"type":"string"},"due_at":{"type":"string"},"priority":{"type":"string","enum":["low","normal","high"]},"contact_id":{"type":"string"}}}}}},"responses":{"201":{"description":"Created task; fires task.created webhooks","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostCrmTasksResponse"}}}}},"x-required-tier":"starter","operationId":"post_crm_tasks"},"patch":{"summary":"Update a task (done:true fires task.completed webhooks) — Starter+","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string"},"done":{"type":"boolean"}},"additionalProperties":true}}}},"responses":{"200":{"description":"Updated task","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchCrmTasksResponse"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"starter","operationId":"patch_crm_tasks"}},"/crm/interactions":{"get":{"summary":"A contact's interaction timeline — Starter+","parameters":[{"name":"contact_id","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Interactions, newest first","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetCrmInteractionsResponse"}}}},"402":{"description":"CRM requires Starter+","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"starter","operationId":"get_crm_interactions"},"post":{"summary":"Log an interaction (note/call/email/meeting) — Starter+","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["contact_id","body"],"properties":{"contact_id":{"type":"string"},"type":{"type":"string","enum":["note","call","email","meeting","task","status_change"]},"subject":{"type":"string"},"body":{"type":"string"}}}}}},"responses":{"201":{"description":"Logged; call/email/meeting bump last-contacted; fires interaction.logged webhooks","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostCrmInteractionsResponse"}}}},"404":{"description":"Contact not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"starter","operationId":"post_crm_interactions"}},"/crm/report":{"get":{"summary":"CRM analytics rollup: pipelines, follow-ups, tasks — Starter+","responses":{"200":{"description":"contacts, contact_pipeline, deal_pipeline (custom-pipeline aware), follow_ups, tasks","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetCrmReportResponse"}}}},"402":{"description":"CRM requires Starter+","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-tier":"starter","operationId":"get_crm_report"}}},"components":{"securitySchemes":{"apiKeyHeader":{"type":"apiKey","in":"header","name":"X-API-Key"},"bearerKey":{"type":"http","scheme":"bearer","bearerFormat":"ql_..."}},"parameters":{"IdempotencyKey":{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":8,"maxLength":128,"pattern":"^[A-Za-z0-9_.:-]+$"},"description":"Makes a retry safe. The first response to a key is kept for 24 hours and returned again (header Idempotent-Replayed: true) instead of creating a second agent or billing a second run. A duplicate that arrives while the first is still running answers 409 idempotency_in_progress; the same key with a different body answers 422 idempotency_key_reused. Only a success is kept: after any 4xx or 5xx (or a run that returned ok:false) a retry with the same key runs for real."}},"schemas":{"Error":{"type":"object","properties":{"error":{"type":"string","description":"A snake_case code on endpoint failures; a display sentence on authentication and quota failures (branch on code for those)."},"code":{"type":"string","description":"Stable machine code on authentication and quota failures of the Agents API: api_key_required | invalid_api_key | api_key_expired | tier_required | endpoint_not_enabled | scoped_key | rate_limited | monthly_quota_exhausted."},"message":{"type":"string"},"retry_after_s":{"type":"integer","description":"On 429: seconds until the limit resets. The per-minute limit also sends it as the Retry-After header; a quota (monthly requests, or reset_in_s for the daily AI-token cap) states its wait in the body only."}}},"Usage":{"type":"object","properties":{"tier":{"type":"string"},"month":{"type":"string"},"requests":{"type":"object","properties":{"used":{"type":"integer"},"limit":{"type":["integer","null"]},"remaining":{"type":["integer","null"]}}},"rate_limit_per_minute":{"type":["integer","null"]},"endpoints":{"type":"array","items":{"type":"string"}},"ai_tokens":{"type":"object","description":"Daily AI-token spend vs the key's cap (only on tiers that can call /ask). Self-throttle on `remaining` to avoid 429 daily_token_cap_reached.","properties":{"today_used":{"type":"integer"},"daily_cap":{"type":"integer"},"remaining":{"type":"integer"},"resets_in_s":{"type":["integer","null"]}}}}},"Answer":{"type":"object","properties":{"answer":{"type":"object","properties":{"headline":{"type":"string"},"detail":{"type":"string"},"sources":{"type":"array","items":{"type":"object"}},"confidence":{"type":["number","null"]},"as_of":{"type":["string","null"]},"disclaimer":{"type":"string"}}},"usage":{"type":"object","properties":{"total_tokens":{"type":"integer"},"cost_usd":{"type":"number"},"credits_used":{"type":"integer","description":"Model usage in account AI credits, rounded up for display."}}}}},"AgentInput":{"type":"object","properties":{"name":{"type":"string","maxLength":80},"mode":{"type":"string","enum":["digest","alert","research","committee"]},"task_prompt":{"type":"string","maxLength":1200},"context":{"type":"string","maxLength":800},"tickers":{"type":"array","items":{"type":"string"},"maxItems":12},"cadence":{"type":"string","enum":["premarket","close","weekly","once","intraday"]},"enabled":{"type":"boolean"},"webhook_url":{"type":"string","description":"HTTPS webhook fired on agent results (Starter+ advanced feature)"},"connector_ids":{"type":"array","items":{"type":"string"},"maxItems":3,"description":"Outbound connectors (see /agents/connectors) the agent may call during its run (Pro+ advanced feature)"}}},"ConnectorInput":{"type":"object","properties":{"name":{"type":"string","maxLength":60},"type":{"type":"string","enum":["rest","mcp"]},"base_url":{"type":"string","description":"https only; public DNS hosts only (no IP literals, ports, credentials, or query strings)"},"auth_mode":{"type":"string","enum":["none","bearer","header"],"default":"none"},"auth_header":{"type":"string","description":"Header name when auth_mode is 'header' (defaults to X-API-Key)"},"secret":{"type":"string","maxLength":4096,"description":"Write-only credential — encrypted at rest, never returned (views carry has_secret only)"},"allowed_paths":{"type":"array","items":{"type":"string"},"maxItems":20,"description":"REST: path-prefix allowlist; empty = nothing callable"},"allowed_tools":{"type":"array","items":{"type":"string"},"maxItems":20,"description":"MCP: tool-name allowlist; empty = all listed tools"},"enabled":{"type":"boolean"}}},"Run":{"type":"object","description":"One run-history row. result is present on developer-API runs; cron runs carry summary only.","properties":{"id":{"type":"string"},"agent_id":{"type":"string"},"ran_at":{"type":"string","format":"date-time"},"status":{"type":["string","null"],"enum":["pending","fired","clear","skipped","error",null]},"fired":{"type":"boolean"},"models":{"type":"string"},"summary":{"type":"string"},"error":{"type":["string","null"]},"result":{"type":["object","null"],"properties":{"headline":{"type":"string"},"detail":{"type":"string"},"confidence":{"type":["number","null"]},"sources":{"type":"array","items":{"type":"object"}},"as_of":{"type":["string","null"]}}},"usage":{"type":"object","properties":{"total_tokens":{"type":"integer"},"cost_usd":{"type":"number"}}}}},"RunResult":{"type":"object","properties":{"ok":{"type":"boolean"},"fired":{"type":"boolean"},"result":{"type":["object","null"],"properties":{"headline":{"type":"string"},"detail":{"type":"string"},"confidence":{"type":["number","null"]},"sources":{"type":"array","items":{"type":"object"}},"as_of":{"type":["string","null"]}}},"models":{"type":"string"},"tool_calls":{"type":"integer"},"usage":{"type":"object","properties":{"total_tokens":{"type":"integer"},"cost_usd":{"type":"number"}}}}},"GetSignalResponse":{"type":"object","properties":{"ticker":{"type":"string"},"signal":{"type":"string","description":"Headline call label, e.g. Strong Buy, Buy, Neutral, Sell, Strong Sell"},"engine_signal":{"type":"string","description":"Raw engine label, when it differs from the headline call"},"call":{"type":"object","description":"Present when the engine issued a call","properties":{"label":{"type":"string"},"action":{"type":"string"},"direction":{"type":"string"},"edge":{"type":["number","null"]},"short_kpi":{"type":["string","null"]},"reason":{"type":["string","null"]},"version":{"type":"string"}}},"stability":{"type":"object","description":"Present when the signal is being held steady against a fresh reading","properties":{"version":{"type":"string"},"state":{"type":"string"},"raw_signal":{"type":"string"},"held":{"type":"boolean"},"standing":{"type":["string","null"]},"pending":{"type":["string","null"]},"note":{"type":["string","null"]}}},"composite_score":{"type":"number","description":"Composite of the factor scores"},"confidence":{"type":"number"},"calibrated_prob":{"type":"number","description":"Calibrated probability, when available"},"calibrated_prob_directional":{"type":"object","description":"Calibrated directional probability with its sample and error stats, when available"},"decision_engine":{"type":"object","description":"Decision-engine detail, when available"},"price":{"type":"object","properties":{"current":{"type":["number","null"]},"open":{"type":["number","null"]},"high":{"type":["number","null"]},"low":{"type":["number","null"]},"prev_close":{"type":["number","null"]},"change":{"type":["number","null"]},"change_pct":{"type":["number","null"]},"after_hours":{"type":["number","null"]},"pre_market":{"type":["number","null"]},"last_trade":{"type":["number","null"]},"vwap":{"type":["number","null"]},"volume":{"type":["number","null"]}}},"used_weights":{"type":["object","null"],"description":"Factor weights applied to the composite","properties":{"technical":{"type":"number"},"momentum":{"type":"number"},"fundamental":{"type":"number"},"options":{"type":"number"},"microstructure":{"type":"number"}}},"historical_accuracy":{"type":"object","description":"Verified historical record for this setup; absent when not yet available","properties":{"win_rate":{"type":["number","null"]},"avg_return":{"type":["number","null"]},"sample":{"type":["integer","null"]},"granularity":{"type":"string"},"cohort":{"type":["string","null"]},"basis":{"type":["string","null"]}}},"timestamp":{"type":"string","description":"ISO 8601 time of this response"},"api_version":{"type":"string","description":"Always \"v1\""},"tier":{"type":"string","description":"API key tier: free, basic, starter, pro or enterprise"},"scores":{"type":"object","description":"Pro: technical and momentum only. Enterprise: every factor with details","properties":{"technical":{"type":"object","properties":{"score":{"type":["number","null"]},"weight":{"type":["number","null"]},"display_only":{"type":["boolean","null"]},"details":{"type":"object","description":"Enterprise only"}}},"momentum":{"type":"object","properties":{"score":{"type":["number","null"]},"weight":{"type":["number","null"]},"display_only":{"type":["boolean","null"]},"details":{"type":"object","description":"Enterprise only"}}},"fundamental":{"type":"object","description":"Enterprise only"},"options":{"type":"object","description":"Enterprise only"},"microstructure":{"type":"object","description":"Enterprise only"}}},"indicators":{"type":"object","description":"Pro and Enterprise; Enterprise returns the full indicator set","properties":{"rsi":{"type":["number","null"]},"sma_20":{"type":["number","null"]},"sma_50":{"type":["number","null"]},"sma_200":{"type":["number","null"]},"macd_histogram":{"type":["number","null"]}}},"volume_adjust":{"type":"number","description":"Volume adjustment applied to the score, when non-zero (always on Enterprise)"},"microstructure":{"type":"object","description":"Enterprise only, when available"},"market_cap":{"type":["number","null"]},"sector":{"type":["string","null"]}},"required":["ticker","signal","composite_score","price","used_weights","timestamp","api_version","tier","market_cap","sector"]},"GetSeasonalityResponse":{"type":"object","properties":{"ticker":{"type":"string"},"generated_at":{"type":"string"},"month_count":{"type":"integer","description":"Monthly returns in the sample"},"years_covered":{"type":"number"},"from":{"type":["string","null"],"description":"First month in the sample, YYYY-MM"},"to":{"type":["string","null"],"description":"Last month in the sample, YYYY-MM"},"months":{"type":"array","description":"Twelve calendar-month rows","items":{"type":"object","properties":{"month":{"type":"integer","description":"1-12"},"label":{"type":"string"},"n":{"type":"integer","description":"Years observed"},"avg":{"type":["number","null"],"description":"Fraction, e.g. 0.0123"},"median":{"type":["number","null"]},"win_rate":{"type":["number","null"],"description":"Share of years positive, 0-1"},"best":{"type":["object","null"],"properties":{"year":{"type":"integer"},"ret":{"type":"number"}}},"worst":{"type":["object","null"],"properties":{"year":{"type":"integer"},"ret":{"type":"number"}}}}}},"strongest":{"type":["object","null"],"properties":{"month":{"type":"integer","description":"1-12"},"label":{"type":"string"},"avg":{"type":["number","null"],"description":"Average monthly return, fraction"}}},"weakest":{"type":["object","null"],"properties":{"month":{"type":"integer","description":"1-12"},"label":{"type":"string"},"avg":{"type":["number","null"],"description":"Average monthly return, fraction"}}},"current":{"type":["object","null"],"description":"The current calendar month","properties":{"month":{"type":"integer"},"label":{"type":"string"},"avg":{"type":["number","null"]},"win_rate":{"type":["number","null"]},"n":{"type":"integer"},"partial_ret":{"type":["number","null"],"description":"Return so far in the current month, fraction"}}},"api_version":{"type":"string","description":"Always \"v1\""},"tier":{"type":"string","description":"API key tier: free, basic, starter, pro or enterprise"}},"required":["ticker","months","api_version","tier"]},"GetPromiseLedgerResponse":{"type":"object","properties":{"demo":{"type":"boolean","description":"True for the built-in demo ledger"},"ticker":{"type":"string"},"company":{"type":"string","description":"Demo ledger only"},"quarters_used":{"type":"array","description":"Fiscal quarters read, e.g. 2025Q2","items":{"type":"string"}},"quarters_missing":{"type":"array","description":"Quarters with no usable transcript; live ledgers only","items":{"type":"string"}},"partial":{"type":"boolean","description":"True when some quarters could not be read"},"rate_limited":{"type":"boolean","description":"Present and true when transcript retrieval was throttled"},"promises":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"quarter_made":{"type":"string"},"filing_date":{"type":["string","null"]},"source":{"type":["string","null"]},"url":{"type":["string","null"]},"speaker":{"type":["string","null"]},"title":{"type":["string","null"]},"text":{"type":"string","description":"The quoted commitment"},"metric":{"type":["string","null"]},"metric_label":{"type":["string","null"]},"direction":{"type":["string","null"]},"strength":{"type":"string","description":"hard or soft"},"quantified":{"type":["object","null"],"description":"The numeric target, when one was stated","properties":{"kind":{"type":"string"},"value":{"type":["number","null"]},"min":{"type":["number","null"]},"max":{"type":["number","null"]},"unit":{"type":["string","null"]},"raw":{"type":["string","null"]}}},"horizon":{"type":["string","null"]},"deadline":{"type":["string","null"]},"verifiable":{"type":"boolean"},"resolution":{"type":"object","properties":{"status":{"type":"string","description":"kept, missed, walked_back, pending or unverifiable"},"kind":{"type":["string","null"]},"resolved_in_quarter":{"type":["string","null"]},"evidence":{"type":["string","null"]},"overdue":{"type":"boolean"},"basis":{"type":["string","null"]},"guided":{"type":["number","null"]},"reported":{"type":["number","null"]},"unit":{"type":["string","null"]}}}}}},"summary":{"type":"object","properties":{"total":{"type":"integer"},"verifiable":{"type":"integer"},"unverifiable":{"type":"integer"},"kept":{"type":"integer"},"missed":{"type":"integer"},"walked_back":{"type":"integer"},"pending":{"type":"integer"},"overdue":{"type":"integer"},"say_do":{"type":["number","null"],"description":"Kept share of resolved promises"},"credibility":{"type":["number","null"],"description":"Credibility index, 0-100"},"credibility_weight":{"type":["number","null"]},"streak":{"type":"integer","description":"Consecutive kept promises, most recent first"},"recent_breaks":{"type":"integer"},"archetype":{"type":"string","description":"insufficient_data, opaque_operator, straight_shooter, overpromiser or steady_hand"},"verdict_line":{"type":"string"},"resolved_by_reported_results":{"type":"integer"}}},"quarters_analyzed":{"type":"integer"},"quarterlies_read":{"type":"integer"},"as_of":{"type":["string","null"]},"api_version":{"type":"string","description":"Always \"v1\""},"tier":{"type":"string","description":"API key tier: free, basic, starter, pro or enterprise"}},"required":["ticker","promises","summary","api_version","tier"]},"GetActivistLedgerResponse":{"type":"object","properties":{"product":{"type":"string"},"engine_version":{"type":"string"},"summary":{"type":"object","properties":{"activists":{"type":"integer"},"activists_with_campaigns":{"type":"integer"},"campaigns":{"type":"integer"},"priced":{"type":"integer"},"unpriced_no_ticker":{"type":"integer"},"unpriced_no_tape":{"type":"integer"},"live":{"type":"integer"},"graded":{"type":"integer"},"worked":{"type":"integer"},"failed":{"type":"integer"},"flat":{"type":"integer"},"worked_rate_pct":{"type":["number","null"]},"avg_excess_m12_pp":{"type":["number","null"]},"median_excess_m12_pp":{"type":["number","null"]},"share_positive_m12_pct":{"type":["number","null"]},"avg_reaction_pct":{"type":["number","null"]},"tape_ended":{"type":"integer"},"labelled":{"type":"integer"},"side":{"type":"string"},"window_start":{"type":["string","null"]}}},"distribution":{"type":"object","description":"Excess-return distribution keyed reaction, m1, m3, m6, m12","additionalProperties":{"type":"object","properties":{"n":{"type":"integer","description":"Sample size"},"mean_pp":{"type":["number","null"]},"median_pp":{"type":["number","null"]},"p25_pp":{"type":["number","null"]},"p75_pp":{"type":["number","null"]},"p10_pp":{"type":["number","null"]},"p90_pp":{"type":["number","null"]},"share_positive_pct":{"type":["number","null"]}}}},"coverage":{"type":"object","description":"Data-coverage counters","properties":{"campaigns_total":{"type":"integer"}}},"methodology":{"type":"object","description":"Plain-language method notes keyed by topic","additionalProperties":{"type":"string"}},"generated_at":{"type":"string"},"api_version":{"type":"string","description":"Always \"v1\""},"tier":{"type":"string","description":"API key tier: free, basic, starter, pro or enterprise"},"sort":{"type":"string","description":"Live-book order: filed, entry or excess"},"activists":{"type":"array","description":"Track record per activist. Not with ?activist=","items":{"type":"object","properties":{"activist":{"type":"string","description":"Slug"},"activist_name":{"type":"string"},"campaigns":{"type":"integer"},"priced":{"type":"integer"},"unpriced":{"type":"integer"},"live":{"type":"integer"},"graded":{"type":"integer"},"worked":{"type":"integer"},"flat":{"type":"integer"},"failed":{"type":"integer"},"worked_rate_pct":{"type":["number","null"]},"avg_excess_m12_pp":{"type":["number","null"]},"median_excess_m12_pp":{"type":["number","null"]},"p25_excess_m12_pp":{"type":["number","null"]},"p75_excess_m12_pp":{"type":["number","null"]},"avg_reaction_pct":{"type":["number","null"]},"last_entry":{"type":["string","null"]},"label":{"type":"string","description":"alpha_generator, value_destroyer, mixed_record or thin_record"},"label_line":{"type":"string"},"label_basis":{"type":["string","null"]}}}},"activist":{"type":"object","description":"Only with ?activist=: that activist's track record, same fields as an activists row"},"unpriced":{"type":"array","description":"Only with ?activist=: campaigns that could not be priced, same shape as record rows","items":{"type":"object"}},"ticker":{"type":"string","description":"Only with ?ticker="},"subject":{"type":["string","null"],"description":"Only with ?ticker=: the matched company name"},"record":{"type":"array","description":"Graded campaigns, filtered by ?activist= or ?ticker= when given","items":{"type":"object","properties":{"id":{"type":"string"},"activist":{"type":"string","description":"Slug"},"activist_name":{"type":"string"},"subject":{"type":"string","description":"Target company"},"ticker":{"type":["string","null"]},"entry":{"type":"string","description":"Date of the first filing"},"receipt_url":{"type":"string","description":"SEC EDGAR filing"},"filings":{"type":"integer"},"amendments":{"type":"integer"},"last_filing":{"type":["string","null"]},"last_form":{"type":["string","null"]},"priced":{"type":"boolean"},"unpriced_reason":{"type":["string","null"]},"entry_price":{"type":["number","null"]},"reaction_pct":{"type":["number","null"],"description":"First-day reaction, percent"},"horizons":{"type":"object","description":"Keyed m1, m3, m6, m12: date, price, ret_pct, spy_pct, excess_pp, ended; null until reached","additionalProperties":{"type":["object","null"]}},"to_date":{"type":["object","null"],"description":"Latest mark, same fields as a horizon leg"},"age_days":{"type":["integer","null"]},"graded":{"type":"boolean"},"verdict":{"type":["string","null"],"description":"worked, failed, flat or null"},"grade_basis":{"type":["string","null"],"description":"twelve_months or tape_ended"},"live":{"type":"boolean","description":"True while the 12-month grade is still open"}}}},"live_book":{"type":"array","description":"Campaigns still inside 12 months that this key can see; same shape as record rows","items":{"type":"object"}},"locked_live":{"type":"array","description":"Identity-only rows beyond the preview (locked: true)","items":{"type":"object"}},"live_full":{"type":"boolean","description":"True when the whole live book is returned"},"live_preview_rows":{"type":"integer","description":"Only on a preview: live rows shown"},"upgrade_required":{"type":"string","description":"Only on a preview: the plan that unlocks the full live book"},"upgrade_url":{"type":"string","description":"Only on a preview response"}},"required":["product","engine_version","summary","distribution","methodology","generated_at","api_version","tier","record","live_book","locked_live","live_full"]},"GetStrategistLedgerResponse":{"type":"object","properties":{"product":{"type":"string"},"engine_version":{"type":"string"},"summary":{"type":"object","properties":{"total":{"type":"integer"},"initial":{"type":"integer"},"revisions":{"type":"integer"},"graded":{"type":"integer"},"open":{"type":"integer"},"firms":{"type":"integer"},"ranked_firms":{"type":"integer"},"years_graded":{"type":"integer"},"field_mae_pct":{"type":["number","null"],"description":"Mean absolute error of all graded targets, percent"},"field_bias_pct":{"type":["number","null"]},"within_band":{"type":"integer"},"direction_right":{"type":"integer"},"direction_n":{"type":"integer"},"consensus_years_wrong_direction":{"type":"integer"},"live_level":{"type":["number","null"],"description":"Current S&P 500 level used for open targets"},"live_as_of":{"type":["string","null"]},"min_graded_for_rank":{"type":"integer"}}},"vintages":{"type":"array","description":"One row per target year: median target, actual close, consensus error, best and worst firm","items":{"type":"object"}},"closes":{"type":"object","description":"Year-end close table keyed by year: close, date, source_url, source_name","additionalProperties":{"type":"object"}},"live":{"type":["object","null"],"description":"Live index level used for the open year, or null","properties":{"level":{"type":"number"},"as_of":{"type":"string"},"basis":{"type":"string"},"ratio":{"type":["number","null"]},"note":{"type":["string","null"]}}},"methodology":{"type":"object","description":"Plain-language method notes keyed by topic","additionalProperties":{"type":"string"}},"generated_at":{"type":"string"},"api_version":{"type":"string","description":"Always \"v1\""},"tier":{"type":"string","description":"API key tier: free, basic, starter, pro or enterprise"},"targets":{"type":"array","description":"Every target, filtered by ?firm= or ?year= when given","items":{"type":"object","properties":{"id":{"type":"string"},"firm":{"type":"string"},"firm_slug":{"type":"string"},"strategist":{"type":["string","null"]},"strategist_source_url":{"type":["string","null"]},"year":{"type":"integer"},"kind":{"type":"string","description":"initial or revision"},"target":{"type":"number"},"from":{"type":["number","null"],"description":"Prior target, on a revision"},"date":{"type":"string"},"quote":{"type":["string","null"]},"paraphrase":{"type":"boolean"},"eps":{"type":["number","null"]},"source_url":{"type":"string"},"source_name":{"type":"string"},"note":{"type":["string","null"]},"grade":{"type":"object"}}}},"board":{"type":"array","description":"Firm records this key can see, best first. Not with ?firm= or ?year=","items":{"type":"object","properties":{"firm":{"type":"string"},"firm_slug":{"type":"string"},"strategist":{"type":["string","null"]},"years":{"type":"array","items":{"type":"integer"}},"graded":{"type":"integer"},"open":{"type":"integer"},"total":{"type":"integer"},"mae_pct":{"type":["number","null"]},"shrunk_mae_pct":{"type":["number","null"]},"bias_pct":{"type":["number","null"]},"direction_right":{"type":"integer"},"direction_n":{"type":"integer"},"within_band":{"type":"integer"},"best":{"type":["object","null"],"description":"Best year: year, target, actual, error_pct"},"worst":{"type":["object","null"]},"accuracy":{"type":["string","null"]},"accuracy_line":{"type":["string","null"]},"bias":{"type":["string","null"]},"bias_line":{"type":["string","null"]},"revisions":{"type":"object","description":"Revision record: count, years, helped, hurt, round_trips"},"ranked":{"type":"boolean"},"latest_open":{"type":["object","null"],"description":"Open-year target: year, target, distance_pct, implied_return_pct"}}}},"locked_board":{"type":"array","description":"Identity-only firm rows beyond the preview (locked: true). Default view only","items":{"type":"object"}},"board_full":{"type":"boolean","description":"Default view only"},"board_preview_rows":{"type":"integer","description":"Only on a preview"},"upgrade_required":{"type":"string","description":"Only on a preview: the plan that unlocks the full board"},"upgrade_url":{"type":"string","description":"Only on a preview response"},"firm":{"type":"string","description":"Only with ?firm=: the firm name"},"firm_slug":{"type":"string","description":"Only with ?firm="},"record":{"type":["object","null"],"description":"Only with ?firm=: that firm's record, same fields as a board row"},"year":{"type":"integer","description":"Only with ?year="},"vintage":{"type":["object","null"],"description":"Only with ?year=: that year's vintage row"}},"required":["product","engine_version","summary","vintages","closes","methodology","generated_at","api_version","tier","targets"]},"GetRaiseTapeResponse":{"type":"object","properties":{"product":{"type":"string"},"version":{"type":"string"},"generated_at":{"type":"string"},"chain":{"type":"object","description":"Hash-chain verification","properties":{"ok":{"type":"boolean"},"head":{"type":["string","null"]},"length":{"type":"integer"},"broken_at":{"type":["string","null"]}}},"methodology":{"type":"object","description":"Plain-language method notes keyed by topic","additionalProperties":{"type":"string"}},"api_version":{"type":"string","description":"Always \"v1\""},"tier":{"type":"string","description":"List view: plan rung (free, starter, pro, institutional). With ?slug= or ?cik=: the API key tier"},"ok":{"type":"boolean","description":"List view only"},"teaser":{"type":"boolean","description":"List view: true when rows are a preview"},"required_tier":{"type":"string","description":"List view: plan that unlocks every row"},"visible_rows":{"type":"integer","description":"List view"},"summary":{"type":"object","description":"List view only","properties":{"filings":{"type":"integer"},"issuers":{"type":"integer"},"amendments":{"type":"integer"},"sold_usd":{"type":"number"},"sold_usd_30d":{"type":"number"},"filings_30d":{"type":"integer"},"largest":{"type":"array","items":{"type":"object"},"description":"Largest recent raises: issuer, sold_usd, size_usd, filed_at, slug"},"roster_matched":{"type":"integer"},"roster_issuers":{"type":"integer"},"confirmed":{"type":"integer"},"pending":{"type":"integer"},"pending_issuers":{"type":"integer"},"pending_sold_usd":{"type":"number"},"unannounced":{"type":"integer"},"tape_led":{"type":"integer"},"tape_led_share":{"type":["number","null"]},"median_lead_days":{"type":["number","null"]},"median_sale_to_press_days":{"type":["number","null"]},"first_filed_at":{"type":["string","null"]},"last_filed_at":{"type":["string","null"]},"rejected":{"type":"object","description":"Counts of filings left out, by reason"}}},"industries":{"type":"object","description":"List view: totals keyed by industry","additionalProperties":{"type":"object","properties":{"issuers":{"type":"integer"},"sold_usd":{"type":"number"}}}},"rows":{"type":"array","description":"List view: filings this key can see in full","items":{"type":"object","properties":{"accession":{"type":"string"},"cik":{"type":"string"},"form":{"type":"string","description":"D or D/A"},"issuer":{"type":"string"},"filed_at":{"type":"string"},"first_sale":{"type":["string","null"]},"entity_type":{"type":["string","null"]},"jurisdiction":{"type":["string","null"]},"state":{"type":["string","null"]},"city":{"type":["string","null"]},"year_of_inc":{"type":["string","null"]},"previous_names":{"type":"array","items":{"type":"string"}},"industry":{"type":["string","null"]},"revenue_range":{"type":["string","null"]},"equity":{"type":["boolean","null"]},"offering_usd":{"type":["number","null"]},"sold_usd":{"type":["number","null"]},"remaining_usd":{"type":["number","null"]},"investors":{"type":["integer","null"]},"min_investment_usd":{"type":["number","null"]},"officers":{"type":"array","items":{"type":"object"},"description":"Named officers and directors: name, roles"},"source_url":{"type":"string"},"filing_index_url":{"type":"string"},"edgar_company_url":{"type":"string"},"roster":{"type":["object","null"],"description":"Matched tracked private company, or null"},"prior_accession":{"type":["string","null"]},"prior_sold_usd":{"type":["number","null"]},"sold_delta_usd":{"type":["number","null"]},"grade":{"type":"object"},"seal":{"type":"object"}}}},"locked_rows":{"type":"array","description":"List view: identity-only rows beyond the preview (locked: true)","items":{"type":"object"}},"roster_rows":{"type":"array","description":"List view: filings matched to tracked companies; full or locked row shape, with grade","items":{"type":"object"}},"filters":{"type":"object","description":"List view: filters applied"},"sources":{"type":"object","description":"List view: row counts by origin"},"slug":{"type":["string","null"],"description":"Only with ?slug= or ?cik="},"cik":{"type":["string","null"],"description":"Only with ?slug= or ?cik="},"company":{"type":["string","null"],"description":"Only with ?slug= or ?cik="},"filings":{"type":"array","description":"Only with ?slug= or ?cik=: that company's filings, same shape as rows","items":{"type":"object"}}},"required":["product","version","generated_at","chain","methodology","api_version","tier"]},"GetIpoFilingsResponse":{"type":"object","properties":{"product":{"type":"string"},"version":{"type":"string"},"refreshed_at":{"type":["string","null"]},"source":{"type":"string","description":"List view only: origin of the data set"},"methodology":{"type":"object","description":"Plain-language method notes keyed by topic","additionalProperties":{"type":"string"}},"stats":{"type":"object","description":"List view only","properties":{"registrations":{"type":"integer"},"by_status":{"type":"object","properties":{"filed":{"type":"integer"},"range_set":{"type":"integer"},"priced":{"type":"integer"},"withdrawn":{"type":"integer"}}},"roster_linked":{"type":"integer"},"excluded":{"type":"integer"},"excluded_by_reason":{"type":"object","additionalProperties":{"type":"integer"}}}},"filters":{"type":"object","description":"List view only","properties":{"status":{"type":["string","null"]},"days":{"type":["integer","null"]},"limit":{"type":"integer"}}},"total":{"type":"integer","description":"List view only: rows matching the filters"},"filings":{"type":"array","description":"Summary rows by default; full teardown rows with ?id=, ?slug=, ?cik= or ?ticker=","items":{"type":"object","properties":{"id":{"type":"string"},"issuer":{"type":"string"},"cik":{"type":"string"},"slug":{"type":["string","null"],"description":"Tracked private-company slug, when linked"},"ticker":{"type":["string","null"]},"exchange":{"type":["string","null"]},"kind":{"type":["string","null"]},"status":{"type":"string","description":"filed, range_set, priced or withdrawn"},"first_filed":{"type":["string","null"]},"last_filed":{"type":["string","null"]},"real_estate":{"type":["boolean","null"]},"price_range":{"type":["object","null"],"description":"List view: low and high only. Detail view adds midpoint, quote and source","properties":{"low":{"type":["number","null"]},"high":{"type":["number","null"]},"midpoint":{"type":["number","null"]},"fixed":{"type":["boolean","null"]},"quote":{"type":["string","null"]},"source":{"type":["string","null"]}}},"final_price":{"type":["number","object","null"],"description":"List view: the price. Detail view: object with value, quote, source"},"shares_offered":{"type":["number","object","null"],"description":"List view: share count. Detail view: object with the count and its quote"},"implied_value_usd":{"type":["number","null"],"description":"List view only"},"implied_value_basis":{"type":["string","null"],"description":"List view only"},"step_from_last_mark":{"type":["number","object","null"],"description":"List view: multiple of the last private mark. Detail view: full comparison object"},"lockup_days":{"type":["integer","null"],"description":"List view only"},"underwriters":{"type":["array","object","null"],"description":"List view: underwriter names. Detail view: object with names and quote"},"url":{"type":["string","null"],"description":"List view only: link to the latest filing"},"registration_no":{"type":["string","null"],"description":"Detail view only"},"foreign_private_issuer":{"type":["boolean","null"],"description":"Detail view only"},"registration_form":{"type":["string","null"],"description":"Detail view only"},"withdrawn":{"type":["boolean","null"],"description":"Detail view only"},"listing":{"type":["object","null"],"description":"Detail view only"},"security":{"type":["object","null"],"description":"Detail view only"},"price_range_history":{"type":"array","description":"Detail view only","items":{"type":"object"}},"shares_outstanding_after":{"type":["object","null"],"description":"Detail view only"},"implied_value":{"type":["object","null"],"description":"Detail view only","properties":{"at_midpoint":{"type":["number","null"]},"at_pricing":{"type":["number","null"]},"method":{"type":["string","null"]}}},"use_of_proceeds":{"type":["object","null"],"description":"Detail view only"},"lockup":{"type":["object","null"],"description":"Detail view only: includes days"},"share_classes":{"type":["object","null"],"description":"Detail view only"},"controlled_company":{"type":["object","null"],"description":"Detail view only"},"financials":{"type":["object","null"],"description":"Detail view only"},"reit":{"type":["object","null"],"description":"Detail view only"},"charter_terms":{"type":["object","null"],"description":"Detail view only"},"roster":{"type":["object","null"],"description":"Detail view only","properties":{"slug":{"type":"string"},"name":{"type":"string"},"confidence":{"type":"string"}}},"sources":{"type":"array","description":"Detail view only: every filing read","items":{"type":"object","properties":{"form":{"type":"string"},"filed":{"type":"string"},"url":{"type":"string"}}}}}}},"excluded_sample":{"type":"array","description":"List view only: sample of registrations left out, with the reason","items":{"type":"object","properties":{"issuer":{"type":"string"},"form":{"type":"string"},"filed":{"type":"string"},"reason":{"type":"string"},"quote":{"type":["string","null"]},"url":{"type":"string"}}}},"api_version":{"type":"string","description":"Always \"v1\""},"tier":{"type":"string","description":"API key tier: free, basic, starter, pro or enterprise"}},"required":["product","version","methodology","filings","api_version","tier"]},"GetCharterTermsResponse":{"type":"object","properties":{"product":{"type":"string"},"census":{"type":"object","description":"Shares across every parsed charter","properties":{"charters":{"type":"integer"},"non_participating_share":{"type":["number","null"]},"participating_share":{"type":["number","null"]},"cumulative_dividend_share":{"type":["number","null"]},"senior_stack_share":{"type":["number","null"]},"multiple_gt_1_share":{"type":["number","null"]},"full_ratchet_share":{"type":["number","null"]},"median_series":{"type":["number","null"]},"median_dividend_rate_pct":{"type":["number","null"]},"known":{"type":"object","properties":{"participation":{"type":"integer"},"dividends":{"type":"integer"},"seniority":{"type":"integer"}}}}},"api_version":{"type":"string","description":"Always \"v1\""},"tier":{"type":"string","description":"List view: plan rung (free, starter, pro, institutional). With ?slug= or ?cik=: the API key tier"},"teaser":{"type":"boolean","description":"List view: true when rows are a preview"},"required_tier":{"type":"string","description":"List view: plan that unlocks every row"},"rows":{"type":"array","description":"List view: charters this key can see in full","items":{"type":"object","properties":{"version":{"type":"string"},"company":{"type":"string"},"cik":{"type":["string","null"]},"form":{"type":["string","null"]},"file_date":{"type":["string","null"]},"accession":{"type":["string","null"]},"exhibit_url":{"type":["string","null"]},"source":{"type":"string"},"series":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"original_issue_price":{"type":["number","null"]},"conversion_price":{"type":["number","null"]},"liquidation_multiple":{"type":["number","null"]},"participating":{"type":["boolean","null"]},"participation_cap_multiple":{"type":["number","null"]},"dividends_cumulative":{"type":["boolean","null"]},"dividend_rate_pct":{"type":["number","null"]},"anti_dilution":{"type":["string","null"]}}}},"stack":{"type":"string","description":"stacked, pari_passu, single_series or unknown"},"junior_to":{"type":["array","string","null"]},"flags":{"type":"array","items":{"type":"string"}},"evidence":{"type":"object","description":"Quoted charter text behind each term","properties":{"issue_price":{"type":["string","null"]},"multiple":{"type":["string","null"]},"participation":{"type":["string","null"]},"seniority":{"type":["string","null"]},"dividends":{"type":["string","null"]},"anti_dilution":{"type":["string","null"]}}},"quality":{"type":"object","properties":{"fields_found":{"type":"array","items":{"type":"string"}},"series_count":{"type":"integer"},"prices_found":{"type":"integer"},"chars":{"type":"integer"}}},"roster":{"type":["object","null"],"properties":{"slug":{"type":"string"},"name":{"type":"string"},"confidence":{"type":"string"}}},"mark":{"type":"object","description":"Present when the company has a tracked valuation","properties":{"current_valuation_usd":{"type":["number","null"]},"valuation_as_of":{"type":["string","null"]},"total_raised_usd":{"type":["number","null"]}}},"structure":{"type":["string","null"],"description":"One-line summary of the preference structure"}}}},"locked_rows":{"type":"array","description":"List view: identity-only rows beyond the preview","items":{"type":"object","properties":{"cik":{"type":["string","null"]},"company":{"type":"string"},"roster":{"type":["object","null"]},"file_date":{"type":["string","null"]},"form":{"type":["string","null"]},"series_count":{"type":"integer"},"locked":{"type":"boolean"}}}},"slug":{"type":["string","null"],"description":"Only with ?slug= or ?cik="},"company":{"type":["string","null"],"description":"Only with ?slug= or ?cik="},"charters":{"type":"array","description":"Only with ?slug= or ?cik=: that company's charters, same shape as rows","items":{"type":"object"}}},"required":["product","census","api_version","tier"]},"GetLpTapeResponse":{"type":"object","properties":{"product":{"type":"string"},"version":{"type":"string"},"generated_at":{"type":"string"},"summary":{"type":"object","properties":{"funds":{"type":"integer"},"funds_meaningful":{"type":"integer"},"gps":{"type":"integer"},"gps_linked":{"type":"integer"},"lps":{"type":"array","items":{"type":"string"}},"as_of":{"type":"object","description":"Report date keyed by pension","additionalProperties":{"type":"string"}},"committed_usd":{"type":"number"},"cash_in_usd":{"type":"number"},"cash_out_usd":{"type":"number"},"total_value_usd":{"type":"number"},"pooled_dpi":{"type":["number","null"]},"pooled_tvpi":{"type":["number","null"]},"median_net_irr_pct":{"type":["number","null"]},"median_tvpi":{"type":["number","null"]},"median_dpi":{"type":["number","null"]},"vintages":{"type":["array","null"],"description":"First and last vintage year","items":{"type":"integer"}},"dpi_under_1_share_2014_plus":{"type":["number","null"]}}},"benchmarks":{"type":"array","description":"Quartiles per vintage year","items":{"type":"object","properties":{"vintage":{"type":"integer"},"funds":{"type":"integer"},"committed_usd":{"type":["number","null"]},"net_irr":{"type":"object","description":"Quartiles: p25, median, p75"},"tvpi":{"type":"object","description":"Quartiles: p25, median, p75"},"dpi":{"type":"object","description":"Quartiles: p25, median, p75"},"pooled_dpi":{"type":["number","null"]},"pooled_tvpi":{"type":["number","null"]}}}},"sources":{"type":"array","description":"The public-pension disclosures read","items":{"type":"object","properties":{"lp":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"cadence":{"type":"string"}}}},"methodology":{"type":"object","description":"Plain-language method notes keyed by topic","additionalProperties":{"type":"string"}},"api_version":{"type":"string","description":"Always \"v1\""},"tier":{"type":"string","description":"List view: plan rung (free, starter, pro, institutional). With ?gp= or ?investor=: the API key tier"},"teaser":{"type":"boolean","description":"List view: true when rows are a preview"},"required_tier":{"type":"string","description":"List view: plan that unlocks every row"},"funds":{"type":"array","description":"Fund rows this key can see; with ?gp= or ?investor=, that manager's funds","items":{"type":"object","properties":{"lp":{"type":"string"},"fund":{"type":"string"},"vintage":{"type":["integer","null"]},"committed_usd":{"type":["number","null"]},"cash_in_usd":{"type":["number","null"]},"cash_out_usd":{"type":["number","null"]},"total_value_usd":{"type":["number","null"]},"net_irr_pct":{"type":["number","null"]},"multiple":{"type":["number","null"]},"dpi":{"type":["number","null"]},"tvpi":{"type":["number","null"]},"remaining_value_usd":{"type":["number","null"]},"unfunded_usd":{"type":["number","null"]},"not_meaningful":{"type":"boolean"},"as_of":{"type":["string","null"]},"source_url":{"type":"string"},"gp":{"type":"string"},"gp_key":{"type":"string"},"investor":{"type":["object","null"],"description":"Matched tracked investor, or null"},"quartile":{"type":["integer","null"],"description":"Net-IRR quartile within the vintage, 1 (top) to 4"}}}},"locked_funds":{"type":"array","description":"List view: identity-only fund rows beyond the preview (locked: true)","items":{"type":"object"}},"gps":{"type":"array","description":"List view: manager scorecards this key can see","items":{"type":"object","properties":{"gp":{"type":"string"},"gp_key":{"type":"string"},"investor":{"type":["object","null"],"description":"Matched tracked investor, or null"},"lps":{"type":"array","items":{"type":"string"}},"funds":{"type":"integer"},"funds_meaningful":{"type":"integer"},"committed_usd":{"type":["number","null"]},"cash_in_usd":{"type":["number","null"]},"cash_out_usd":{"type":["number","null"]},"total_value_usd":{"type":["number","null"]},"pooled_dpi":{"type":["number","null"]},"pooled_tvpi":{"type":["number","null"]},"median_net_irr_pct":{"type":["number","null"]},"median_tvpi":{"type":["number","null"]},"median_dpi":{"type":["number","null"]},"best_fund":{"type":["object","null"],"properties":{"fund":{"type":"string"},"net_irr_pct":{"type":["number","null"]}}},"vintages":{"type":"array","items":{"type":"integer"}},"latest_vintage":{"type":["integer","null"]}}}},"locked_gps":{"type":"array","description":"List view: identity-only manager rows beyond the preview (locked: true)","items":{"type":"object"}},"gp":{"type":"string","description":"Only with ?gp= or ?investor=: the manager name"},"investor":{"type":["object","null"],"description":"Only with ?gp= or ?investor=","properties":{"slug":{"type":"string"},"name":{"type":"string"},"how":{"type":"string"}}},"scorecard":{"type":["object","null"],"description":"Only with ?gp= or ?investor=: that manager's scorecard, same fields as a gps row"}},"required":["product","version","generated_at","summary","benchmarks","sources","methodology","api_version","tier","funds"]},"GetRoundOddsResponse":{"type":"object","properties":{"ok":{"type":"boolean"},"product":{"type":"string"},"model_version":{"type":"string"},"bands":{"type":"array","description":"Step-up bands: down, flat, up, big","items":{"type":"string"}},"band_labels":{"type":"object","description":"Display label per band","additionalProperties":{"type":"string"}},"board_date":{"type":["string","null"]},"sealed_at":{"type":["string","null"]},"sealed":{"type":"boolean"},"horizon_days":{"type":"integer"},"base_rate":{"type":["number","null"],"description":"Unconditional probability of a priced round in the horizon"},"band_base_rates":{"type":"object","properties":{"down":{"type":["number","null"]},"flat":{"type":["number","null"]},"up":{"type":["number","null"]},"big":{"type":["number","null"]}}},"universe":{"type":"integer"},"eligible":{"type":"integer"},"board_size":{"type":"integer"},"tape":{"type":"object","description":"Form D coverage behind the board","properties":{"available":{"type":"boolean"},"rows":{"type":"integer"},"last_filed_at":{"type":["string","null"]}}},"momentum":{"type":["object","null"],"properties":{"universe":{"type":"integer"}}},"distribution":{"type":"object","properties":{"n":{"type":"integer"},"mean_p_round":{"type":["number","null"]},"mean_p_down":{"type":["number","null"]},"expected_rounds":{"type":["number","null"]},"expected_down_rounds":{"type":["number","null"]},"mean_bands":{"type":"object"},"top_mix":{"type":"object"},"form_d_states":{"type":"object","additionalProperties":{"type":"integer"}},"hist":{"type":"array","items":{"type":"object"},"description":"Histogram of p_round: lo, hi, n"},"implied":{"type":"object","description":"Implied count of rounds across the board"},"sectors":{"type":"array","items":{"type":"object"},"description":"Per sector: n, mean_p_round, mean_p_down, expected_rounds"}}},"record":{"type":"object","description":"Graded record of past sealed boards","properties":{"boards_graded":{"type":"integer"},"graded":{"type":"integer"},"ungradable":{"type":"integer"},"exited":{"type":"integer"},"rounds":{"type":"integer"},"round_rate_pct":{"type":["number","null"]},"brier":{"type":["number","null"]},"brier_base_rate":{"type":["number","null"]},"brier_never":{"type":["number","null"]},"band_graded":{"type":"integer"},"band_unknown":{"type":"integer"},"by_band":{"type":"object"},"band_hit_rate_pct":{"type":["number","null"]},"band_brier":{"type":["number","null"]},"band_brier_base_rates":{"type":["number","null"]},"band_brier_uniform":{"type":["number","null"]},"calibration":{"type":"object","description":"Calibration tables: round and down, each rows of band, n, realized_pct"}}},"resolving":{"type":"object","description":"Sealed calls already resolved by a disclosed round","properties":{"n":{"type":"integer"},"exited":{"type":"integer"},"by_band":{"type":"object"},"examples":{"type":"array","items":{"type":"object"},"description":"Resolved calls with the claimed probability and the disclosed round"}}},"first_grade_expected":{"type":["string","null"],"description":"Date the first board matures"},"methodology":{"type":"array","description":"Method notes, one paragraph per entry","items":{"type":"string"}},"teaser":{"type":"boolean"},"tier":{"type":"string","description":"Plan rung: free, starter, pro or institutional"},"required_tier":{"type":"string","description":"Only on a preview"},"preview_rows":{"type":"integer","description":"Only on a preview"},"upgrade_url":{"type":"string","description":"Only on a preview response"},"calls":{"type":"array","description":"Sealed calls this key can see","items":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"sector":{"type":["string","null"]},"p_round":{"type":"number","description":"Probability of a priced round within the horizon"},"bands":{"type":"object","description":"Conditional step-up band probabilities","properties":{"down":{"type":["number","null"]},"flat":{"type":["number","null"]},"up":{"type":["number","null"]},"big":{"type":["number","null"]}}},"p_down":{"type":["number","null"]},"top_band":{"type":["string","null"]},"drivers":{"type":"array","items":{"type":"object"},"description":"Disclosed drivers: key, label and their effect on the round and band odds"},"baseline_valuation_usd":{"type":["number","null"]},"baseline_round":{"type":["string","null"]},"baseline_round_date":{"type":["string","null"]},"baseline_round_months":{"type":["number","null"]},"form_d_state":{"type":["string","null"]}}}},"locked_calls":{"type":"array","description":"Only on a preview: identity-only rows (locked: true)","items":{"type":"object"}},"api_version":{"type":"string","description":"Always \"v1\""},"key_tier":{"type":"string","description":"API key tier: free, basic, starter, pro or enterprise"}},"required":["ok","product","model_version","teaser","tier","calls","api_version","key_tier"]},"GetPrivateMarketMonitorResponse":{"type":"object","properties":{"ok":{"type":"boolean"},"product":{"type":"string"},"api_version":{"type":"string","description":"Always \"v1\""},"tier":{"type":"string","description":"API key tier: free, basic, starter, pro or enterprise"},"current":{"type":"object","description":"Default view: the issue for the current quarter","properties":{"version":{"type":"string"},"issue":{"type":"string","description":"Issue id, e.g. 2026-Q4"},"quarter":{"type":"object","properties":{"id":{"type":"string"},"year":{"type":"integer"},"q":{"type":"integer"},"start":{"type":"string"},"end":{"type":"string"},"start_date":{"type":"string"},"end_date":{"type":"string"},"seals_at":{"type":"string"}}},"in_progress":{"type":"boolean","description":"True while the quarter is still open"},"generated_at":{"type":"string"},"headline":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":["number","string","null"]},"unit":{"type":["string","null"]}}}},"sections":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"status":{"type":"string","description":"ok or unavailable"},"source":{"type":"object","properties":{"product":{"type":"string"},"href":{"type":"string"},"api":{"type":["string","null"]},"as_of":{"type":["string","null"]}}},"metrics":{"type":"array","items":{"type":"object","properties":{"k":{"type":"string"},"label":{"type":"string"},"value":{"type":["number","string","null"]},"unit":{"type":["string","null"]},"note":{"type":["string","null"]}}}},"highlights":{"type":"array","items":{"type":"string"}}}}},"coverage":{"type":"object","properties":{"sections":{"type":"integer"},"available":{"type":"integer"}}},"seal":{"type":["object","null"],"properties":{"hash":{"type":"string"},"prev":{"type":["string","null"]},"sealed":{"type":"boolean"}}},"methodology":{"type":"object","properties":{"what":{"type":"string"},"rules":{"type":["array","string"]},"cite":{"type":"string"}}},"provenance":{"type":"object","description":"Per record: live, snapshot or unavailable","additionalProperties":{"type":"string"}}}},"issues":{"type":"array","description":"Default view: index of sealed issues","items":{"type":"object","properties":{"issue":{"type":"string"},"sealed_at":{"type":["string","null"]},"seal":{"type":["object","string","null"]},"headline":{"type":"array","items":{"type":"object"}},"quarter":{"type":["object","null"]}}}},"chain":{"type":"object","description":"Default view: hash-chain verification","properties":{"ok":{"type":"boolean"},"head":{"type":["string","null"]},"length":{"type":"integer"},"broken_at":{"type":["string","null"]}}},"version":{"type":"string"},"issue":{"type":"string","description":"Only with ?issue=: the issue id, e.g. 2026-Q4"},"quarter":{"type":"object","description":"Only with ?issue=; same shape as under current"},"in_progress":{"type":"boolean","description":"Only with ?issue=; same shape as under current"},"generated_at":{"type":"string","description":"Default view: response time. With ?issue=: when the issue was composed"},"headline":{"type":"array","description":"Only with ?issue=; same shape as under current","items":{"type":"object"}},"sections":{"type":"array","description":"Only with ?issue=; same shape as under current","items":{"type":"object"}},"coverage":{"type":"object","description":"Only with ?issue=; same shape as under current"},"seal":{"type":["object","null"],"description":"Only with ?issue=; same shape as under current"},"methodology":{"type":"object","description":"Only with ?issue=; same shape as under current"},"sealed_at":{"type":["string","null"],"description":"Only with ?issue="},"verified":{"type":"object","description":"Only with ?issue=: recomputed seal check","properties":{"ok":{"type":"boolean"},"hash":{"type":["string","null"]},"reason":{"type":["string","null"]}}}},"required":["ok","product","api_version","tier"]},"GetShortLedgerResponse":{"type":"object","properties":{"product":{"type":"string"},"engine_version":{"type":"string"},"summary":{"type":"object","properties":{"firms":{"type":"integer"},"firms_with_reports":{"type":"integer"},"reports":{"type":"integer"},"unpriced_non_us":{"type":"integer"},"follow_ups":{"type":"integer"},"priced":{"type":"integer"},"unpriced_no_ticker":{"type":"integer"},"unpriced_no_tape":{"type":"integer"},"live":{"type":"integer"},"graded":{"type":"integer"},"worked":{"type":"integer"},"failed":{"type":"integer"},"flat":{"type":"integer"},"worked_rate_pct":{"type":["number","null"]},"avg_excess_m12_pp":{"type":["number","null"]},"median_excess_m12_pp":{"type":["number","null"]},"share_positive_m12_pct":{"type":["number","null"]},"avg_reaction_pct":{"type":["number","null"]},"tape_ended":{"type":"integer"},"labelled":{"type":"integer"},"side":{"type":"string"},"window_start":{"type":["string","null"]}}},"distribution":{"type":"object","description":"Short-side excess distribution keyed reaction, m1, m3, m6, m12","additionalProperties":{"type":"object","properties":{"n":{"type":"integer","description":"Sample size"},"mean_pp":{"type":["number","null"]},"median_pp":{"type":["number","null"]},"p25_pp":{"type":["number","null"]},"p75_pp":{"type":["number","null"]},"p10_pp":{"type":["number","null"]},"p90_pp":{"type":["number","null"]},"share_positive_pct":{"type":["number","null"]}}}},"coverage":{"type":"object","description":"Data-coverage counters"},"methodology":{"type":"object","description":"Plain-language method notes keyed by topic","additionalProperties":{"type":"string"}},"generated_at":{"type":"string"},"api_version":{"type":"string","description":"Always \"v1\""},"tier":{"type":"string","description":"API key tier: free, basic, starter, pro or enterprise"},"sort":{"type":"string","description":"Live-book order: filed, entry or excess"},"firms":{"type":"array","description":"Track record per short seller. Not with ?firm=","items":{"type":"object","properties":{"firm":{"type":"string","description":"Slug"},"firm_name":{"type":"string"},"campaigns":{"type":"integer","description":"Reports published"},"priced":{"type":"integer"},"unpriced":{"type":"integer"},"live":{"type":"integer"},"graded":{"type":"integer"},"worked":{"type":"integer"},"flat":{"type":"integer"},"failed":{"type":"integer"},"worked_rate_pct":{"type":["number","null"]},"avg_excess_m12_pp":{"type":["number","null"]},"median_excess_m12_pp":{"type":["number","null"]},"p25_excess_m12_pp":{"type":["number","null"]},"p75_excess_m12_pp":{"type":["number","null"]},"avg_reaction_pct":{"type":["number","null"]},"last_entry":{"type":["string","null"]},"label":{"type":"string","description":"alpha_generator, value_destroyer, mixed_record or thin_record"},"label_line":{"type":"string"},"label_basis":{"type":["string","null"]},"label_name":{"type":"string"}}}},"firm":{"type":"object","description":"Only with ?firm=: that firm's track record, same fields as a firms row"},"unpriced":{"type":"array","description":"Only with ?firm=: reports that could not be priced, same shape as record rows","items":{"type":"object"}},"ticker":{"type":"string","description":"Only with ?ticker="},"company":{"type":["string","null"],"description":"Only with ?ticker=: the matched company name"},"record":{"type":"array","description":"Graded reports, filtered by ?firm= or ?ticker= when given. Excess is SPY minus the stock","items":{"type":"object","properties":{"id":{"type":"string"},"firm":{"type":"string","description":"Slug"},"firm_name":{"type":"string"},"company":{"type":"string","description":"Target company"},"ticker":{"type":["string","null"]},"exchange":{"type":["string","null"]},"published":{"type":"string","description":"Report date"},"title":{"type":["string","null"]},"report_url":{"type":"string"},"follow_ups":{"type":"array","items":{"type":"object"},"description":"Later reports on the same name: date, title, url"},"last_report":{"type":["string","null"]},"priced":{"type":"boolean"},"unpriced_reason":{"type":["string","null"]},"entry_price":{"type":["number","null"]},"reaction_pct":{"type":["number","null"],"description":"First-day reaction, percent"},"horizons":{"type":"object","description":"Keyed m1, m3, m6, m12: date, price, ret_pct, spy_pct, excess_pp, ended; null until reached","additionalProperties":{"type":["object","null"]}},"to_date":{"type":["object","null"],"description":"Latest mark, same fields as a horizon leg"},"age_days":{"type":["integer","null"]},"graded":{"type":"boolean"},"verdict":{"type":["string","null"],"description":"worked, failed, flat or null"},"grade_basis":{"type":["string","null"],"description":"twelve_months or tape_ended"},"live":{"type":"boolean","description":"True while the 12-month grade is still open"}}}},"live_book":{"type":"array","description":"Reports still inside 12 months that this key can see; same shape as record rows","items":{"type":"object"}},"locked_live":{"type":"array","description":"Identity-only rows beyond the preview (locked: true)","items":{"type":"object"}},"live_full":{"type":"boolean","description":"True when the whole live book is returned"},"live_preview_rows":{"type":"integer","description":"Only on a preview: live rows shown"},"upgrade_required":{"type":"string","description":"Only on a preview: the plan that unlocks the full live book"},"upgrade_url":{"type":"string","description":"Only on a preview response"}},"required":["product","engine_version","summary","distribution","methodology","generated_at","api_version","tier","record","live_book","locked_live","live_full"]},"GetSignalFactor500Response":{"type":"object","properties":{"ok":{"type":"boolean","description":"False when no snapshot is available yet"},"error":{"type":"string","description":"Only when ok is false"},"product":{"type":"string"},"engine_version":{"type":"string"},"generated_at":{"type":"string","description":"List view only"},"captured_at":{"type":["string","null"],"description":"List view only"},"snapshot":{"type":"object","properties":{"date":{"type":"string"},"n":{"type":"integer","description":"Names ranked"},"engine_version":{"type":"string"},"regime_census":{"type":"object","additionalProperties":{"type":"integer"}},"call_census":{"type":"object","additionalProperties":{"type":"integer"}},"seal":{"type":["object","null"],"description":"Seal of the snapshot, or null","properties":{"date":{"type":"string"},"sha256":{"type":"string"},"captured_at":{"type":["string","null"]},"bytes":{"type":["integer","null"]},"verify_url":{"type":"string"}}}}},"index_dates":{"type":"integer","description":"List view: number of sealed snapshots"},"horizons":{"type":"array","description":"List view only","items":{"type":"object","properties":{"key":{"type":"string","description":"h21 or h63"},"label":{"type":"string"},"calendar_days":{"type":"integer"}}}},"record":{"type":"object","description":"Accrued record per grading horizon","properties":{"h21":{"type":"object","properties":{"horizon":{"type":"string"},"label":{"type":"string"},"graded_snapshots":{"type":"integer"},"first_date":{"type":["string","null"]},"last_date":{"type":["string","null"]},"avg_spread_pp":{"type":["number","null"],"description":"Top-minus-bottom quintile excess"},"median_spread_pp":{"type":["number","null"]},"share_spread_positive_pct":{"type":["number","null"]},"avg_ic":{"type":["number","null"],"description":"Average rank IC"},"ic_by_pillar":{"type":["object","null"]},"quintiles":{"type":"array","items":{"type":"object","properties":{"q":{"type":"integer"},"snapshots":{"type":"integer"},"avg_excess_pp":{"type":["number","null"]}}}},"monotonic":{"type":["boolean","null"]},"regimes":{"type":"array","items":{"type":"object"}},"status":{"type":"string","description":"graded or accruing"},"min_for_record":{"type":"integer"},"series":{"type":"array","items":{"type":"object"}}}},"h63":{"type":"object","description":"Same fields as h21"}}},"graded":{"type":["array","object"],"description":"List view: array of graded snapshot summaries. With ?ticker=: that name's latest grade per horizon","items":{"type":"object"}},"latest_graded":{"type":"object","description":"List view only","properties":{"h21":{"type":["object","null"],"description":"Latest graded snapshot: date, exit_date, n_graded, spread_pp, ic"},"h63":{"type":["object","null"],"description":"Same fields as h21"}}},"replay":{"type":["object","null"],"description":"List view: simulated historical replay, or null"},"methodology":{"type":"object","description":"Plain-language method notes keyed by topic","additionalProperties":{"type":"string"}},"rows":{"type":"array","description":"List view: ranked rows this key can see","items":{"type":"object","properties":{"rank":{"type":"integer"},"q":{"type":"integer","description":"Quintile, 1 = top"},"t":{"type":"string","description":"Ticker"},"n":{"type":["string","null"],"description":"Company name"},"s":{"type":["string","null"],"description":"Sector"},"m":{"type":["number","null"],"description":"Market cap"},"comp":{"type":["number","null"],"description":"Composite score"},"tech":{"type":["number","null"]},"mom":{"type":["number","null"]},"fund":{"type":["number","null"]},"opt":{"type":["number","null"]},"micro":{"type":["number","null"]},"tape":{"type":["number","null"]},"fq":{"type":["number","null"]},"regime":{"type":["string","null"]},"regime_label":{"type":["string","null"]},"call":{"type":["string","null"]},"engine_signal":{"type":["string","null"]},"px":{"type":["number","null"],"description":"Price"},"chg":{"type":["number","null"],"description":"Day change, percent"},"fwd":{"type":["object","null"],"description":"Forward excess where graded"}}}},"locked_rows":{"type":"array","description":"List view: identity-only rows below Pro (locked: true)","items":{"type":"object"}},"locked_count":{"type":"integer","description":"List view only"},"preview_rows":{"type":"integer","description":"List view only"},"tier":{"type":"string","description":"Plan rung of the key"},"upgrade_required":{"type":"string","description":"Below Pro: the plan that unlocks every row"},"upgrade_url":{"type":"string","description":"Below Pro"},"ticker":{"type":"string","description":"Only with ?ticker="},"row":{"type":["object","null"],"description":"Only with ?ticker=: that name's row, same fields as a rows item"}},"required":["ok"]},"GetPricedInResponse":{"type":"object","properties":{"ok":{"type":"boolean","description":"False when no snapshot is available yet"},"error":{"type":"string","description":"Only when ok is false"},"product":{"type":"string"},"engine_version":{"type":"string"},"generated_at":{"type":"string"},"captured_at":{"type":["string","null"],"description":"List view only"},"close_date":{"type":["string","null"],"description":"List view only"},"standard":{"type":"object","description":"List view: standardized DCF assumptions (discount, terminal, tax, years, caps)"},"growth_window":{"type":"array","description":"List view: lowest and highest growth rate solved for, percent","items":{"type":"number"}},"snapshot":{"type":"object","properties":{"date":{"type":"string"},"n":{"type":"integer"},"not_modelled":{"type":"integer"},"engine_version":{"type":"string"},"census":{"type":"object","description":"Counts: modelled, not_modelled, reasons, bands, sectors"},"summary":{"type":"object","properties":{"median_implied_g":{"type":["number","null"]},"mean_implied_g":{"type":["number","null"]},"median_gap_pp":{"type":["number","null"]},"share_acceleration_pct":{"type":["number","null"]}}},"seal":{"type":["object","null"],"description":"Seal of the snapshot, or null","properties":{"date":{"type":"string"},"sha256":{"type":"string"},"captured_at":{"type":["string","null"]},"bytes":{"type":["integer","null"]},"verify_url":{"type":"string"}}}}},"index_dates":{"type":"integer","description":"List view: number of sealed snapshots"},"record":{"type":"object","description":"Accrued record: growth delivered vs growth demanded","properties":{"graded_name_years":{"type":"integer"},"first_graded":{"type":["string","null"]},"last_graded":{"type":["string","null"]},"overall":{"type":"object","properties":{"n":{"type":"integer"},"avg_pp":{"type":["number","null"]},"median_pp":{"type":["number","null"]},"share_delivered_pct":{"type":["number","null"]}}},"deciles":{"type":"array","items":{"type":"object"},"description":"Per decile of demanded growth: n, avg_pp, median_pp, share_delivered_pct"},"top_minus_bottom_pp":{"type":["number","null"]},"by_year":{"type":["array","object"]},"by_sector":{"type":["array","object"]},"status":{"type":"string","description":"graded or accruing"},"min_for_record":{"type":"integer"},"recent":{"type":"array","description":"Most recent graded name-years","items":{"type":"object"}}}},"methodology":{"type":"object","description":"Plain-language method notes"},"rows":{"type":"array","description":"List view: modelled rows this key can see","items":{"type":"object","properties":{"rank":{"type":["integer","null"]},"dec":{"type":["integer","null"],"description":"Decile of demanded growth"},"t":{"type":"string","description":"Ticker"},"n":{"type":["string","null"],"description":"Company name"},"s":{"type":["string","null"],"description":"Sector"},"m":{"type":["number","null"],"description":"Market cap"},"status":{"type":"string","description":"modelled or not_modelled"},"reason":{"type":["string","null"]},"reason_label":{"type":["string","null"]},"fy":{"type":["integer","null"],"description":"Fiscal year of the filed baseline"},"period":{"type":["string","null"]},"px":{"type":["number","null"],"description":"Close used"},"implied_g":{"type":["number","null"],"description":"Annual revenue growth the price demands, percent"},"reported_g":{"type":["number","null"],"description":"Growth reported last fiscal year, percent"},"gap_pp":{"type":["number","null"]},"band":{"type":["string","null"]},"band_label":{"type":["string","null"]},"margin":{"type":["number","null"]},"margin_used":{"type":["number","null"]},"reinvest":{"type":["number","null"]},"shares":{"type":["number","null"]},"rev":{"type":["number","null"]},"tv_share":{"type":["number","null"]},"bound_pct":{"type":["number","null"]},"source":{"type":["string","null"]},"graded":{"type":["object","null"],"properties":{"fy":{"type":"integer"},"demanded_g":{"type":["number","null"]},"realized_g":{"type":["number","null"]},"delivered_pp":{"type":["number","null"]},"delivered":{"type":["boolean","null"]}}}}}},"excluded":{"type":"array","description":"List view: names not modelled, with the reason; full row shape at Pro and above","items":{"type":"object"}},"locked_rows":{"type":"array","description":"List view: identity-only rows below Pro (locked: true)","items":{"type":"object"}},"locked_count":{"type":"integer","description":"List view only"},"preview_rows":{"type":"integer","description":"List view only"},"tier":{"type":"string","description":"Plan rung of the key"},"upgrade_required":{"type":"string","description":"Below Pro: the plan that unlocks every row"},"upgrade_url":{"type":"string","description":"Below Pro"},"ticker":{"type":"string","description":"Only with ?ticker="},"row":{"type":["object","null"],"description":"Only with ?ticker=: that name's row, same fields as a rows item"},"citation":{"type":"object","description":"Only with ?ticker=: a citable statement of the reading"},"history":{"type":"array","description":"Only with ?ticker=: the name across sealed snapshots (date, implied_g, px, fy, dec)","items":{"type":"object"}},"grades":{"type":"array","description":"Only with ?ticker=: graded fiscal years for the name","items":{"type":"object"}},"expectations_url":{"type":"string","description":"Only with ?ticker="}},"required":["ok"]},"GetRedFlagLedgerResponse":{"type":"object","properties":{"api_version":{"type":"string","description":"Always \"v1\""},"product":{"type":"string"},"engine_version":{"type":"string"},"tier":{"type":"string","description":"API key tier: free, basic, starter, pro or enterprise"},"summary":{"type":"object","properties":{"flags":{"type":"integer"},"companies":{"type":"integer"},"priced":{"type":"integer"},"graded":{"type":"integer"},"live":{"type":"integer"},"fresh_30d":{"type":"integer"},"confirmed":{"type":"integer"},"confirmation_rate_pct":{"type":["number","null"]},"median_excess_m12_pp":{"type":["number","null"]},"mean_excess_m12_pp":{"type":["number","null"]},"unpriced_no_ticker":{"type":"integer"},"by_type":{"type":"object","properties":{"auditor_change":{"type":"integer"},"restatement":{"type":"integer"},"cfo_exit":{"type":"integer"},"ceo_exit":{"type":"integer"}}},"window_start":{"type":["string","null"]}}},"base_rates":{"type":"object","description":"Keyed by flag type: auditor_change, restatement, cfo_exit, ceo_exit","additionalProperties":{"type":"object","properties":{"type":{"type":"string"},"label":{"type":"string"},"icon":{"type":"string"},"item":{"type":"string","description":"8-K item number"},"flags":{"type":"integer"},"priced":{"type":"integer"},"graded":{"type":"integer"},"confirmed":{"type":"integer"},"confirmation_rate_pct":{"type":["number","null"]},"labelled":{"type":"boolean"},"reaction":{"type":"object","description":"First-day reaction distribution"},"horizons":{"type":"object","description":"Distribution keyed m1, m3, m6, m12","additionalProperties":{"type":"object"}}}}},"distribution":{"type":"object","description":"All flags: excess distribution keyed m1, m3, m6, m12","additionalProperties":{"type":"object"}},"companies":{"type":"array","description":"Most-flagged companies (up to 200)","items":{"type":"object","properties":{"cik":{"type":"string"},"company":{"type":"string"},"ticker":{"type":["string","null"]},"flags":{"type":"integer"},"flags_12m":{"type":"integer"},"types":{"type":"object","additionalProperties":{"type":"integer"}},"first_flag":{"type":"string"},"last_flag":{"type":"string"},"graded":{"type":"integer"},"confirmed":{"type":"integer"},"median_excess_m12_pp":{"type":["number","null"]},"labelled":{"type":"boolean"}}}},"methodology":{"type":"object","description":"Plain-language method notes keyed by topic","additionalProperties":{"type":"string"}},"generated_at":{"type":"string"},"type":{"type":["string","null"],"description":"Default view: the ?type= filter applied, or null"},"ticker":{"type":"string","description":"Only with ?ticker="},"company":{"type":["object","null"],"description":"Only with ?ticker=: that company's record, same fields as a companies row"},"unpriced":{"type":"array","description":"Only with ?ticker=: flags that could not be priced","items":{"type":"object"}},"record":{"type":"array","description":"Graded flags. Excess is SPY minus the stock","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"type_label":{"type":"string"},"item":{"type":"array","description":"8-K items on the filing","items":{"type":"string"}},"form":{"type":"string"},"company":{"type":"string"},"ticker":{"type":["string","null"]},"cik":{"type":"string"},"sic":{"type":["string","null"]},"filed":{"type":"string"},"receipt_url":{"type":"string"},"priced":{"type":"boolean"},"unpriced_reason":{"type":["string","null"]},"entry_price":{"type":["number","null"]},"reaction_pct":{"type":["number","null"],"description":"First-day reaction, percent"},"horizons":{"type":"object","description":"Keyed m1, m3, m6, m12: date, price, ret_pct, spy_pct, excess_pp, ended; null until reached","additionalProperties":{"type":["object","null"]}},"to_date":{"type":["object","null"],"description":"Latest mark, same fields as a horizon leg"},"age_days":{"type":["integer","null"]},"graded":{"type":"boolean"},"verdict":{"type":["string","null"],"description":"confirmed, false_alarm, noise or null"},"grade_basis":{"type":["string","null"],"description":"twelve_months or tape_ended"},"live":{"type":"boolean","description":"True while the 12-month grade is still open"}}}},"board":{"type":"array","description":"Live flags still inside 12 months that this key can see; same shape as record rows","items":{"type":"object"}},"locked_board":{"type":"array","description":"Identity-only rows beyond the preview (locked: true)","items":{"type":"object"}},"board_full":{"type":"boolean"},"preview_rows":{"type":"integer","description":"Only on a preview"},"upgrade_required":{"type":"string","description":"Only on a preview: the plan that unlocks the full board"},"upgrade_url":{"type":"string","description":"Only on a preview response"}},"required":["api_version","product","engine_version","tier","summary","base_rates","distribution","companies","methodology","generated_at","record","board","locked_board","board_full"]},"GetPdufaLedgerResponse":{"type":"object","properties":{"api_version":{"type":"string","description":"Always \"v1\""},"product":{"type":"string"},"engine_version":{"type":"string"},"tier":{"type":"string","description":"API key tier: free, basic, starter, pro or enterprise"},"summary":{"type":"object","properties":{"events":{"type":"integer"},"companies":{"type":"integer"},"upcoming":{"type":"integer"},"next_30d":{"type":"integer"},"decided":{"type":"integer"},"priced":{"type":"integer"},"graded":{"type":"integer"},"approved":{"type":"integer"},"crl":{"type":"integer","description":"Complete Response Letters"},"unknown":{"type":"integer"},"approval_rate_pct":{"type":["number","null"]},"median_reaction_approved_pct":{"type":["number","null"]},"median_reaction_crl_pct":{"type":["number","null"]},"median_runup_pct":{"type":["number","null"]},"unpriced_no_ticker":{"type":"integer"},"window_start":{"type":["string","null"]}}},"base_rates":{"type":"object","properties":{"by_outcome":{"type":"object","description":"Keyed approved, crl, unknown: events, priced, reaction, runup, horizons","additionalProperties":{"type":"object"}},"approval_rate_pct":{"type":["number","null"]},"known_outcomes":{"type":"integer"},"by_year":{"type":"object","description":"Keyed by year: decisions, approved, crl","additionalProperties":{"type":"object"}}}},"distribution":{"type":"object","description":"All events: excess distribution keyed m1, m3, m6, m12","additionalProperties":{"type":"object"}},"companies":{"type":"array","description":"Company records (up to 200)","items":{"type":"object","properties":{"ticker":{"type":["string","null"]},"cik":{"type":"string"},"company":{"type":"string"},"sic":{"type":["string","null"]},"events":{"type":"integer"},"upcoming":{"type":"integer"},"decided":{"type":"integer"},"approved":{"type":"integer"},"crl":{"type":"integer"},"unknown":{"type":"integer"},"next_date":{"type":["string","null"]},"last_date":{"type":["string","null"]},"drugs":{"type":"array","items":{"type":"string"}},"median_reaction_pct":{"type":["number","null"]},"label":{"type":"string","description":"clean_sheet, mixed, crl_history or accruing"},"label_text":{"type":"string"},"labelled":{"type":"boolean"}}}},"methodology":{"type":"object","description":"Plain-language method notes keyed by topic","additionalProperties":{"type":"string"}},"generated_at":{"type":"string"},"outcome":{"type":["string","null"],"description":"Default view: the ?outcome= filter applied, or null"},"recent":{"type":"array","description":"Default view: most recent decided events (up to 100), same shape as record rows","items":{"type":"object"}},"ticker":{"type":"string","description":"Only with ?ticker="},"company":{"type":["object","null"],"description":"Only with ?ticker=: that company's record, same fields as a companies row"},"record":{"type":"array","description":"Decided events with grades","items":{"type":"object","properties":{"id":{"type":"string"},"company":{"type":"string"},"ticker":{"type":["string","null"]},"cik":{"type":"string"},"sic":{"type":["string","null"]},"drug":{"type":["string","null"]},"drug_confidence":{"type":["string","null"],"description":"high, medium or low"},"pdufa_date":{"type":"string"},"disclosed":{"type":"string","description":"Date the 8-K first disclosed it"},"days_to_date":{"type":["integer","null"]},"extended":{"type":"boolean"},"receipt_url":{"type":"string"},"doc_url":{"type":["string","null"]},"clause":{"type":"string","description":"Quoted filing text"},"outcome":{"type":"string","description":"approved, crl or unknown"},"outcome_label":{"type":"string"},"outcome_filed":{"type":["string","null"]},"outcome_receipt_url":{"type":["string","null"]},"upcoming":{"type":"boolean"},"decided":{"type":"boolean"},"priced":{"type":"boolean"},"unpriced_reason":{"type":["string","null"]},"entry_price":{"type":["number","null"]},"runup_pct":{"type":["number","null"],"description":"30-day run-up into the date"},"reaction_pct":{"type":["number","null"]},"horizons":{"type":"object","description":"Keyed m1, m3, m6, m12: date, price, ret_pct, spy_pct, excess_pp, ended; null until reached","additionalProperties":{"type":["object","null"]}},"to_date":{"type":["object","null"],"description":"Latest mark, same fields as a horizon leg"},"age_days":{"type":["integer","null"]},"graded":{"type":"boolean"},"tape_verdict":{"type":["string","null"]},"grade_basis":{"type":["string","null"]},"live":{"type":"boolean"}}}},"calendar":{"type":"array","description":"Dates still ahead that this key can see; same shape as record rows","items":{"type":"object"}},"locked_calendar":{"type":"array","description":"Identity-only rows beyond the preview (locked: true)","items":{"type":"object"}},"calendar_full":{"type":"boolean"},"preview_rows":{"type":"integer","description":"Only on a preview"},"upgrade_required":{"type":"string","description":"Only on a preview: the plan that unlocks the full calendar"},"upgrade_url":{"type":"string","description":"Only on a preview response"}},"required":["api_version","product","engine_version","tier","summary","base_rates","distribution","companies","methodology","generated_at","record","calendar","locked_calendar","calendar_full"]},"GetGuidanceLedgerResponse":{"type":"object","properties":{"api_version":{"type":"string","description":"Always \"v1\""},"product":{"type":"string"},"engine_version":{"type":"string"},"tier":{"type":"string","description":"API key tier: free, basic, starter, pro or enterprise"},"summary":{"type":"object","properties":{"rows":{"type":"integer"},"companies":{"type":"integer"},"companies_labelled":{"type":"integer"},"resolved":{"type":"integer"},"pending":{"type":"integer"},"unmatched":{"type":"integer"},"fresh_30d":{"type":"integer"},"beat":{"type":"integer"},"within":{"type":"integer"},"miss":{"type":"integer"},"beat_rate_pct":{"type":["number","null"]},"miss_rate_pct":{"type":["number","null"]},"median_vs_mid_pct":{"type":["number","null"],"description":"Median actual vs guidance midpoint, percent"},"mean_vs_mid_pct":{"type":["number","null"]},"sandbaggers":{"type":"integer"},"over_promisers":{"type":"integer"},"straight_shooters":{"type":"integer"},"window_start":{"type":["string","null"]}}},"base_rates":{"type":"object","properties":{"all":{"type":"object","description":"All resolved guidance: resolved, beat_pct, within_pct, miss_pct, vs_mid"},"by_period":{"type":"object","description":"Keyed quarter, year; same fields as all","additionalProperties":{"type":"object"}},"by_revision":{"type":"object","description":"Keyed initial, raised, lowered, maintained","additionalProperties":{"type":"object"}},"by_kind":{"type":"object","description":"Keyed range, point","additionalProperties":{"type":"object"}},"reaction_by_verdict":{"type":"object","description":"Reaction distribution keyed beat, within, miss","additionalProperties":{"type":"object"}}}},"roster_size":{"type":"integer","description":"Companies in the tracked universe"},"companies":{"type":"array","description":"Per-company records","items":{"type":"object","properties":{"ticker":{"type":"string"},"cik":{"type":"string"},"company":{"type":"string"},"guided":{"type":"integer"},"resolved":{"type":"integer"},"pending":{"type":"integer"},"beat":{"type":"integer"},"within":{"type":"integer"},"miss":{"type":"integer"},"raised":{"type":"integer"},"lowered":{"type":"integer"},"unmatched":{"type":"integer"},"last_filed":{"type":["string","null"]},"latest":{"type":["object","null"],"description":"Latest guidance: period, low, high, revision, filed"},"median_vs_mid_pct":{"type":["number","null"]},"mean_vs_mid_pct":{"type":["number","null"]},"beat_rate_pct":{"type":["number","null"]},"miss_rate_pct":{"type":["number","null"]},"label":{"type":"string","description":"sandbagger, straight_shooter, over_promiser or accruing"},"label_text":{"type":"string"},"labelled":{"type":"boolean"}}}},"methodology":{"type":"object","description":"Plain-language method notes keyed by topic","additionalProperties":{"type":"string"}},"generated_at":{"type":"string"},"verdict":{"type":["string","null"],"description":"Default view: the ?verdict= filter applied, or null"},"ticker":{"type":"string","description":"Only with ?ticker="},"company":{"type":["object","null"],"description":"Only with ?ticker=: that company's record, same fields as a companies row"},"record":{"type":"array","description":"Resolved guidance with verdicts","items":{"type":"object","properties":{"id":{"type":"string"},"company":{"type":"string"},"ticker":{"type":"string"},"cik":{"type":"string"},"filed":{"type":"string"},"receipt_url":{"type":"string"},"accession":{"type":"string"},"period":{"type":"string","description":"e.g. Q2 FY2026"},"fy":{"type":["integer","null"]},"fp":{"type":["string","null"],"description":"Q1-Q4 or FY"},"fy_inferred":{"type":"boolean"},"metric":{"type":"string"},"low":{"type":["number","null"],"description":"USD"},"high":{"type":["number","null"],"description":"USD"},"mid":{"type":["number","null"]},"kind":{"type":"string","description":"range or point"},"sentence":{"type":"string","description":"Quoted guidance sentence"},"revision":{"type":["string","null"],"description":"initial, raised, lowered or maintained"},"prev_mid":{"type":["number","null"]},"resolved":{"type":"boolean"},"verdict":{"type":["string","null"],"description":"beat, within, miss, unmatched or null"},"verdict_label":{"type":["string","null"]},"actual":{"type":["number","null"],"description":"Reported revenue, USD"},"actual_end":{"type":["string","null"]},"actual_accn":{"type":["string","null"]},"actual_source":{"type":["string","null"]},"vs_mid_pct":{"type":["number","null"]},"vs_low_pct":{"type":["number","null"]},"vs_high_pct":{"type":["number","null"]},"priced":{"type":"boolean"},"reaction_pct":{"type":["number","null"]},"reaction_excess_pp":{"type":["number","null"]},"age_days":{"type":["integer","null"]},"live":{"type":"boolean"}}}},"board":{"type":"array","description":"Guidance still pending that this key can see; same shape as record rows","items":{"type":"object"}},"locked_board":{"type":"array","description":"Identity-only rows beyond the preview (locked: true)","items":{"type":"object"}},"board_full":{"type":"boolean"},"preview_rows":{"type":"integer","description":"Only on a preview"},"upgrade_required":{"type":"string","description":"Only on a preview: the plan that unlocks the full board"},"upgrade_url":{"type":"string","description":"Only on a preview response"}},"required":["api_version","product","engine_version","tier","summary","base_rates","companies","methodology","generated_at","record","board","locked_board","board_full"]},"GetDealNotesResponse":{"type":"object","properties":{"api_version":{"type":"string","description":"Always \"v1\""},"tier":{"type":"string","description":"API key tier: free, basic, starter, pro or enterprise"},"product":{"type":"string"},"version":{"type":"string"},"refreshed_at":{"type":["string","null"]},"count":{"type":"integer","description":"Notes returned"},"notes":{"type":"array","description":"Newest first","items":{"type":"object","properties":{"event_id":{"type":"string"},"kind":{"type":"string","description":"Event family, e.g. acquisition, IPO, private round, odds move"},"subtype":{"type":["string","null"]},"state":{"type":["string","null"]},"version":{"type":"integer","description":"Version of this note"},"slug":{"type":"string"},"url":{"type":"string","description":"Absolute URL of the published note"},"title":{"type":"string"},"deck":{"type":["string","null"],"description":"One-line summary"},"published_at":{"type":"string"},"as_of":{"type":["string","null"]},"tickers":{"type":"array","items":{"type":"string"}},"subject":{"type":["object","null"],"description":"Main entity: ticker or private-company slug"},"companies":{"type":"array","description":"Private-company slugs","items":{"type":"string"}},"deal_id":{"type":["string","null"]},"cik":{"type":["string","null"]},"filing_id":{"type":["string","null"]},"previous_slug":{"type":["string","null"]},"versions":{"type":"array","description":"Slugs of earlier versions","items":{"type":"string"}}}}},"methodology":{"type":"object","description":"Plain-language method notes keyed by topic","additionalProperties":{"type":"string"}}},"required":["api_version","tier","product","notes","methodology"]},"GetMaLedgerResponse":{"type":"object","properties":{"api_version":{"type":"string","description":"Always \"v1\""},"product":{"type":"string"},"engine_version":{"type":"string"},"methodology":{"type":"object","description":"Plain-language method notes keyed by topic","additionalProperties":{"type":"string"}},"generated_at":{"type":"string"},"summary":{"type":"object","description":"Not with ?deal=","properties":{"total":{"type":"integer"},"live":{"type":"integer"},"overdue":{"type":"integer"},"closed":{"type":"integer"},"broken":{"type":"integer"},"close_rate_pct":{"type":["number","null"]},"late_close_pct":{"type":["number","null"]},"median_days_to_close":{"type":["number","null"]}}},"record":{"type":"array","description":"Resolved deals (closed or broken). Not with ?deal=","items":{"type":"object","properties":{"id":{"type":"string"},"target":{"type":"string"},"target_ticker":{"type":["string","null"]},"acquirer":{"type":"string"},"acquirer_ticker":{"type":["string","null"]},"announced":{"type":"string"},"type":{"type":"string","description":"cash, stock or mixed"},"offer_per_share":{"type":["number","null"]},"exchange_ratio":{"type":["number","null"]},"deal_value_usd":{"type":["number","null"]},"expected_close":{"type":["string","null"]},"pre_announcement_price":{"type":["number","null"]},"premium_pct":{"type":["number","null"]},"status_note":{"type":["string","null"]},"price_change_note":{"type":["string","null"]},"source_url":{"type":"string"},"source_name":{"type":["string","null"]},"status_url":{"type":["string","null"]},"math":{"type":["object","null"],"description":"Live spread maths; null once the deal has resolved","properties":{"offer_value":{"type":["number","null"]},"price":{"type":["number","null"]},"gross_spread_pct":{"type":["number","null"]},"annualized_spread_pct":{"type":["number","null"]},"days_to_expected_close":{"type":["integer","null"]},"implied_close_odds":{"type":["number","null"]}}},"status":{"type":"object","properties":{"status":{"type":"string","description":"pending, closed or broken"},"overdue":{"type":"boolean"},"resolved_at":{"type":["string","null"]},"days_announced_to_resolution":{"type":["integer","null"]},"late":{"type":["boolean","null"]},"evidence":{"type":["string","null"]},"evidence_url":{"type":["string","null"]}}}}}},"acquirers":{"type":"array","description":"Not with ?deal=","items":{"type":"object","properties":{"acquirer":{"type":"string"},"deals":{"type":"integer"},"resolved":{"type":"integer"},"closed":{"type":"integer"},"broken":{"type":"integer"},"pending":{"type":"integer"},"close_rate_pct":{"type":["number","null"]},"median_days_to_close":{"type":["number","null"]},"label":{"type":"string","description":"serial_closer, deal_breaker, mixed_record or thin_record"},"label_line":{"type":"string"}}}},"tier":{"type":"string","description":"API key tier. Not with ?deal="},"teaser":{"type":"boolean","description":"Not with ?deal="},"board":{"type":"array","description":"Pending deals this key can see, with live spread maths; same shape as record rows. Not with ?deal=","items":{"type":"object"}},"locked_board":{"type":"array","description":"Identity-only rows beyond the preview. Not with ?deal=","items":{"type":"object","properties":{"target":{"type":"string"},"target_ticker":{"type":["string","null"]},"acquirer":{"type":"string"},"announced":{"type":"string"},"locked":{"type":"boolean"}}}},"required_tier":{"type":"string","description":"Only on a preview"},"preview_rows":{"type":"integer","description":"Only on a preview"},"upgrade_url":{"type":"string","description":"Only on a preview response"},"deal":{"type":"object","description":"Only with ?deal=: the deal, same fields as a record row"},"acquirer_record":{"type":["object","null"],"description":"Only with ?deal=: the acquirer's track record, same fields as an acquirers row"}},"required":["api_version","product","engine_version","methodology","generated_at"]},"GetTakeoverWatchResponse":{"type":"object","properties":{"api_version":{"type":"string","description":"Always \"v1\""},"tier":{"type":"string","description":"API key tier: free, basic, starter, pro or enterprise"},"ok":{"type":"boolean"},"product":{"type":"string"},"engine_version":{"type":"string"},"model_version":{"type":"string"},"horizon_days":{"type":"integer"},"generated_at":{"type":"string"},"summary":{"type":"object","properties":{"candidates":{"type":"integer"},"by_status":{"type":"object","additionalProperties":{"type":"integer"}},"by_type":{"type":"object","additionalProperties":{"type":"integer"}},"mean_p":{"type":["number","null"]},"sealed_boards":{"type":"integer"},"latest_board":{"type":["object","null"],"properties":{"board_date":{"type":"string"},"sealed_at":{"type":"string"},"calls":{"type":"integer"},"board_hash":{"type":"string"}}},"next_board":{"type":["string","null"]},"prices":{"type":"object","description":"Price-coverage counts","properties":{"last":{"type":["integer","null"]},"undisturbed":{"type":["integer","null"]},"undisturbed_pending":{"type":["integer","null"]}}}}},"record":{"type":"object","description":"Sealed calls graded against announced deals","properties":{"boards":{"type":"integer"},"graded_calls":{"type":"integer"},"hits":{"type":"integer"},"misses":{"type":"integer"},"pending":{"type":"integer"},"excluded":{"type":"integer"},"hit_rate":{"type":["number","null"]},"mean_predicted":{"type":["number","null"]},"brier":{"type":["number","null"]},"brier_baseline":{"type":["number","null"]},"min_graded_for_rate":{"type":"integer"},"calibration":{"type":"array","items":{"type":"object","properties":{"band":{"type":"string"},"calls":{"type":"integer"},"predicted":{"type":["number","null"]},"realized":{"type":["number","null"]}}}}}},"graded_boards":{"type":"array","items":{"type":"object","properties":{"board_date":{"type":"string"},"sealed_at":{"type":"string"},"board_hash":{"type":"string"},"verified":{"type":"boolean"},"horizon_end":{"type":"string"},"due":{"type":"boolean"},"calls":{"type":"integer"},"hits":{"type":"integer"},"misses":{"type":"integer"},"pending":{"type":"integer"},"excluded":{"type":"integer"}}}},"methodology":{"type":"object","description":"Published weights and rules"},"measures":{"type":"string","description":"What the probability measures"},"does_not_measure":{"type":"string"},"board":{"type":"array","description":"Default view: live candidates, highest probability first","items":{"type":"object","properties":{"ticker":{"type":"string"},"company":{"type":"string"},"status":{"type":"string","description":"candidate, or a resolved state"},"p":{"type":["number","null"],"description":"Sealed 12-month probability, 0-1"},"components":{"type":"array","description":"Per-precursor contributions to p","items":{"type":"object"}},"first_precursor_date":{"type":["string","null"]},"latest_precursor_date":{"type":["string","null"]},"types":{"type":"array","items":{"type":"string"}},"precursors":{"type":"array","items":{"type":"object"},"description":"Dated, sourced precursors: type, date, source_url, quote, counterparty, closed"},"exclusion":{"type":["object","null"]},"deal":{"type":["object","null"],"description":"Announced deal, when one followed"},"price":{"type":["object","null"]},"sector":{"type":["string","null"]},"sector_acquirers":{"type":"array","description":"Recent acquirers in the sector","items":{"type":"object"}},"activist_campaigns":{"type":"array","description":"Activist campaigns on the name","items":{"type":"object"}},"links":{"type":"object"}}}},"resolved":{"type":"array","description":"Default view: names that left the board (deal announced or excluded); same shape as board rows","items":{"type":"object"}},"latest_board":{"type":["object","null"],"description":"Latest sealed board. With ?ticker=: only board_date, sealed_at and board_hash","properties":{"v":{"type":"integer"},"model_version":{"type":"string"},"board_date":{"type":"string"},"sealed_at":{"type":"string"},"horizon_days":{"type":"integer"},"prev_hash":{"type":["string","null"]},"board_hash":{"type":"string"},"calls":{"type":"array","description":"Default view only: sealed calls (ticker, company, p, types, price_at_seal)","items":{"type":"object"}}}},"row":{"type":["object","null"],"description":"Only with ?ticker=: that name's row, same fields as a board row"},"sealed_call":{"type":["object","null"],"description":"Only with ?ticker=: the name's call on the latest sealed board, or null"}},"required":["api_version","tier","ok","product","engine_version","model_version","horizon_days","generated_at","summary","record","graded_boards","methodology"]},"GetBuybackLedgerResponse":{"type":"object","properties":{"api_version":{"type":"string","description":"Always \"v1\""},"product":{"type":"string"},"engine_version":{"type":"string"},"summary":{"type":"object","properties":{"companies":{"type":"integer"},"ranked":{"type":"integer"},"gross_usd":{"type":"number"},"priced_years":{"type":"integer"},"timed_years":{"type":"integer"},"timing_mix":{"type":"object","description":"Fiscal years bought below, near or above the year's average price"},"record":{"type":"object","description":"Graded fiscal years: graded, won, lost, push, open, avg_fwd_pct"},"archetypes":{"type":"object","description":"Counts keyed disciplined, steady, chaser, theater, net_issuer, accruing","additionalProperties":{"type":"integer"}},"theater_usd":{"type":"number"},"basis_refused_years":{"type":"integer"},"low_confidence_years":{"type":"integer"},"tape_coverage_pct":{"type":["number","null"]}}},"methodology":{"type":"object","description":"Plain-language method notes keyed by topic","additionalProperties":{"type":"string"}},"generated_at":{"type":"string"},"tier":{"type":"string","description":"API key tier: free, basic, starter, pro or enterprise"},"teaser":{"type":"boolean","description":"True below Pro"},"required_tier":{"type":"string"},"board":{"type":"array","description":"Default view: ranked rows this key can see","items":{"type":"object","properties":{"ticker":{"type":"string"},"name":{"type":"string"},"sector":{"type":["string","null"]},"gross_usd":{"type":"number"},"net_conversion_pct":{"type":["number","null"]},"timed_years":{"type":"integer"},"timing_edge_pct":{"type":["number","null"],"description":"Dollar-weighted price paid vs the year's average price"},"timing_mix":{"type":"object","description":"Fiscal years bought below, near or above the year's average price"},"record":{"type":"object"},"mtm":{"type":["object","null"]},"count":{"type":["object","null"],"description":"Share-count path"},"archetype":{"type":"string"},"buyback_yield_pct":{"type":["number","null"]}}}},"locked_board":{"type":"array","description":"Default view, below Pro: identity-only rows (up to 12, locked: true)","items":{"type":"object"}},"locked_count":{"type":"integer","description":"Default view, below Pro"},"starter_examples":{"type":"array","description":"Starter only: tickers open in full","items":{"type":"string"}},"upgrade_url":{"type":"string","description":"Below Pro"},"ticker":{"type":"string","description":"Only with ?ticker="},"company":{"type":"object","description":"Only with ?ticker=: the company ledger, or its identity view when locked","properties":{"ticker":{"type":"string"},"cik":{"type":["string","null"]},"name":{"type":"string"},"sector":{"type":["string","null"]},"rank":{"type":["integer","null"]},"board_size":{"type":"integer"},"locked":{"type":"boolean","description":"True when only the identity view is returned"},"years":{"type":"array","description":"Full view only","items":{"type":"object"}},"years_count":{"type":"integer","description":"Locked view only"},"gross_usd":{"type":"number"},"proceeds_usd":{"type":["number","null"]},"net_usd":{"type":["number","null"]},"net_conversion_pct":{"type":["number","null"]},"shares_bought":{"type":["number","null"]},"timed_years":{"type":"integer"},"timing_edge_pct":{"type":["number","null"]},"timing_mix":{"type":"object"},"record":{"type":"object"},"mtm":{"type":["object","null"],"description":"Mark to market: pct, usd, as_of"},"count":{"type":["object","null"],"description":"Share-count path: first, last, change_pct, label"},"theater":{"type":["boolean","null"]},"net_issuer":{"type":["boolean","null"]},"archetype":{"type":"string"},"archetype_line":{"type":"string"},"ranked":{"type":"boolean"},"price_now":{"type":["number","null"]},"price_date":{"type":["string","null"]},"mcap_now_usd":{"type":["number","null"]},"buyback_yield_pct":{"type":["number","null"]},"headroom":{"type":["object","null"],"description":"Remaining authorization: remaining_usd, as_of, years_at_pace, receipt_url"}}},"lock_reason":{"type":"string","description":"Only with ?ticker= on a locked view: starter_limited or upgrade_required"}},"required":["api_version","product","engine_version","summary","methodology","generated_at","tier","teaser","required_tier"]},"GetRatesDeskResponse":{"type":"object","properties":{"api_version":{"type":"string","description":"Always \"v1\""},"product":{"type":"string"},"tier":{"type":"string","description":"API key tier: free, basic, starter, pro or enterprise"},"teaser":{"type":"boolean","description":"True below Institutional"},"required_tier":{"type":"string"},"preset":{"type":["string","null"],"description":"Preset book used; null for a custom book"},"total_usd":{"type":"number"},"book_source":{"type":"string","description":"preset or custom"},"custom_book_ignored":{"type":"boolean","description":"Present and true when a custom book was sent on a plan that cannot use one"},"upgrade_url":{"type":"string","description":"Below Institutional"},"ok":{"type":"boolean"},"engine_version":{"type":"string"},"curve":{"type":"object","description":"Treasury yields in percent, keyed 3M, 2Y, 5Y, 10Y, 30Y","additionalProperties":{"type":["number","null"]}},"oas":{"type":"object","description":"Credit spreads in basis points","properties":{"ig_bp":{"type":["number","null"]},"hy_bp":{"type":["number","null"]},"ig_range_bp":{"type":["object","null"],"description":"Trailing-year min and max"},"hy_range_bp":{"type":["object","null"]}}},"regime":{"type":"object","properties":{"curve_2s10s_bp":{"type":["integer","null"]},"curve_3m10y_bp":{"type":["integer","null"]},"shape":{"type":"string","description":"inverted, flat, normal, steep or unknown"},"ig_oas_bp":{"type":["number","null"]},"hy_oas_bp":{"type":["number","null"]},"ig_range_pos":{"type":["number","null"]},"hy_range_pos":{"type":["number","null"]},"credit_state":{"type":"string","description":"tight, mid, wide or unknown"},"notes":{"type":"array","items":{"type":"string"}}}},"book":{"type":"object","description":"Book analytics; open at every tier","properties":{"total":{"type":"number"},"holdings":{"type":"array","items":{"type":"object"},"description":"Per holding: ticker, name, sleeve, duration, yield, krd, amount, weight, roll_down_pct"},"blended_yield":{"type":"number"},"duration":{"type":"number"},"convexity":{"type":"number"},"roll_down_pct":{"type":"number"},"krd":{"type":"object","description":"Key-rate durations by tenor","additionalProperties":{"type":"number"}},"spread_duration":{"type":"object"},"annual_carry_usd":{"type":"number"}}},"scenarios":{"type":"array","description":"Named curve scenarios over one year; rows beyond the preview are identity-only","items":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"blurb":{"type":"string"},"window":{"type":["string","null"]},"days":{"type":["integer","null"]},"locked":{"type":"boolean","description":"True on an identity-only row"},"shocks":{"type":"object","description":"Basis points per tenor","additionalProperties":{"type":"number"}},"spreads":{"type":"object","description":"Basis points: ig, hy","additionalProperties":{"type":"number"}},"book":{"type":"object","description":"Book result: rates, convexity, spread, carry, instant and total (pct and usd); absent when locked"},"holdings":{"type":"array","description":"Per-holding contributions","items":{"type":"object"}},"curve":{"type":"object","description":"Curve after the shock (scenarios only)","additionalProperties":{"type":["number","null"]}}}}},"crises":{"type":"array","description":"Historical crisis replays, same row shape as scenarios; rows beyond the preview are identity-only","items":{"type":"object"}},"simulation":{"type":"object","description":"Simulated 12-month factor paths","properties":{"ok":{"type":"boolean"},"locked":{"type":"boolean","description":"True below Institutional"},"reason":{"type":"string","description":"When ok is false"},"model":{"type":"string"},"paths":{"type":"integer"},"horizon_days":{"type":"integer"},"block_days":{"type":"integer"},"seed":{"type":"integer"},"drift":{"type":"string"},"history":{"type":"object"},"terminal":{"type":"object","description":"Terminal return stats (mean, percentiles, VaR, CVaR); locked view: mean and prob_negative"},"cone":{"type":"array","items":{"type":"object"},"description":"Percentile cone by day: day, p5, p10, p50, p90, p95"},"y10":{"type":"object","description":"10-year yield path"},"instruments":{"type":"array","description":"Per-instrument simulated return stats","items":{"type":"object"}}}},"empirical":{"type":"object","description":"Cross-check simulated from the funds' own returns","properties":{"ok":{"type":"boolean"},"locked":{"type":"boolean"},"reason":{"type":"string","description":"When ok is false"},"model":{"type":"string"},"drift":{"type":"string"},"history_days":{"type":"integer"},"hist_annual_drift_pct":{"type":["number","null"]},"hist_annual_vol_pct":{"type":["number","null"]},"terminal":{"type":"object"},"cone":{"type":"array","items":{"type":"object"}}}},"alpha":{"type":"object","description":"Curve-alpha board; rows beyond the preview carry identity only","properties":{"cash_yield_pct":{"type":"number"},"basis":{"type":"string","description":"simulated or static"},"rows":{"type":"array","items":{"type":"object"}}}},"custom":{"type":["object","null"],"description":"Custom-shock result; Institutional POST requests only, otherwise null"},"tenors":{"type":"array","items":{"type":"object"},"description":"Curve tenors: key, years, ref_duration"},"methodology":{"type":"array","items":{"type":"object","properties":{"k":{"type":"string","description":"Topic"},"v":{"type":"string","description":"Explanation"}}}},"disclosure":{"type":"string"},"locked":{"type":"array","description":"Sections withheld at this tier","items":{"type":"string"}}},"required":["api_version","product","tier","teaser","required_tier","preset","total_usd","book_source","ok","engine_version","curve","oas","regime","book","scenarios","crises","simulation","empirical","alpha","tenors","methodology","disclosure","locked"]},"GetTrueCostResponse":{"type":"object","properties":{"api_version":{"type":"string","description":"Always \"v1\""},"product":{"type":"string"},"tier":{"type":"string","description":"API key tier: free, basic, starter, pro or enterprise"},"ok":{"type":"boolean"},"as_of":{"type":"string"},"params":{"type":"object","description":"Model constants: impact coefficient, participation cap, standard size, spread tiers"},"methodology":{"type":"string"},"standard_size_usd":{"type":"number","description":"Board view only: the trade size every name is graded at"},"universe":{"type":"integer","description":"Board view: names graded"},"board_scope":{"type":"string","description":"Board view: common_stocks"},"grades":{"type":"object","description":"Board view: count of names per tradability grade","properties":{"A":{"type":"integer"},"B":{"type":"integer"},"C":{"type":"integer"},"D":{"type":"integer"},"F":{"type":"integer"}}},"cheapest":{"type":"array","description":"Board view: 25 cheapest names to trade at the standard size","items":{"type":"object","properties":{"t":{"type":"string","description":"Ticker"},"name":{"type":"string"},"sector":{"type":["string","null"]},"price":{"type":["number","null"]},"market_cap":{"type":["number","null"]},"adv_usd":{"type":"number","description":"Average daily dollar volume"},"round_trip_bps":{"type":"number"},"round_trip_usd":{"type":"number"},"max_clean_usd":{"type":"number"},"participation_pct":{"type":"number"},"untradable_at_size":{"type":"boolean"},"grade":{"type":["string","null"],"description":"A to F"}}}},"most_expensive":{"type":"array","description":"Board view: 25 most expensive names; same shape as cheapest","items":{"type":"object"}},"ticker":{"type":"string","description":"Only with ?ticker="},"name":{"type":"string","description":"Only with ?ticker="},"sector":{"type":["string","null"],"description":"Only with ?ticker="},"asset_type":{"type":"string","description":"Only with ?ticker=: stock or etf"},"xray":{"type":"object","description":"Only with ?ticker=: modeled cost at the requested size (standard size below Starter)","properties":{"size_usd":{"type":"number"},"adv_usd":{"type":"number"},"sigma_daily_pct":{"type":"number"},"participation_pct":{"type":"number","description":"Starter and above"},"spread_bps":{"type":"number"},"impact_bps":{"type":"number","description":"One-way"},"round_trip_bps":{"type":"number"},"round_trip_usd":{"type":"number"},"days_to_fill":{"type":"number","description":"Starter and above"},"max_clean_usd":{"type":"number","description":"Starter and above"},"spread_modeled":{"type":"boolean"},"untradable_at_size":{"type":"boolean"}}},"grade":{"type":["string","null"],"description":"Only with ?ticker=: tradability grade A to F at the standard size"},"ladder":{"type":"array","description":"Only with ?ticker=: cost across trade sizes; empty below Starter","items":{"type":"object","properties":{"size_usd":{"type":"number"},"round_trip_bps":{"type":"number"},"round_trip_usd":{"type":"number"},"days_to_fill":{"type":"number"}}}},"entitled":{"type":"boolean","description":"Only with ?ticker=: true when the key can size the trade"},"teaser":{"type":"object","description":"Only with ?ticker= below Starter","properties":{"required_tier":{"type":"string"},"standard_size_usd":{"type":"number"},"locked_fields":{"type":"array","items":{"type":"string"}},"note":{"type":"string"},"upgrade_url":{"type":["string","null"]}}}},"required":["api_version","product","tier","ok","as_of","params","methodology"]},"GetExpectationsResponse":{"type":"object","properties":{"api_version":{"type":"string","description":"Always \"v1\""},"product":{"type":"string"},"tier":{"type":"string","description":"API key tier: free, basic, starter, pro or enterprise"},"view":{"type":"string","description":"baseline or street"},"generated_at":{"type":"string"},"company":{"type":"object","description":"Baseline view (default)","properties":{"ticker":{"type":"string"},"name":{"type":"string"},"sector":{"type":"string"},"live":{"type":"boolean"},"dataVersion":{"type":"string"},"period":{"type":"string","description":"Fiscal period end date"},"fiscalYear":{"type":"integer"},"revenue":{"type":"number","description":"Latest annual revenue, USD billions"},"priorRevenue":{"type":["number","null"],"description":"USD billions"},"operatingIncome":{"type":["number","null"],"description":"USD billions"},"shares":{"type":"number","description":"Share count, billions"},"source":{"type":"string","description":"Link to the annual filing"},"sourceLabel":{"type":"string"},"referencePrice":{"type":["object","null"]},"history":{"type":"array","description":"Annual revenue, newest first: fy, end, rev (USD billions)","items":{"type":"object"}},"context":{"type":"string"},"drivers":{"type":"array","items":{"type":"string"}},"defaults":{"type":"object","description":"Starting assumptions for a reverse-DCF"}}},"street":{"type":"object","description":"Only with ?view=street","properties":{"version":{"type":"string"},"ticker":{"type":"string"},"asOf":{"type":"string"},"price":{"type":["number","null"]},"bars":{"type":"array","description":"Daily [date, close] pairs","items":{"type":"array","items":{"type":["string","number","null"]}}},"coverage":{"type":"object","description":"Analyst coverage: firms, actions, from, to"},"consensus":{"type":["object","null"]},"targets":{"type":["object","null"],"description":"Price-target consensus"},"firmTargets":{"type":"array","items":{"type":"object"}},"targetHistory":{"type":"array","items":{"type":"object"}},"momentum90":{"type":"object","description":"Rating actions in the last 90 days"},"backtest":{"type":["object","null"],"description":"12-month price-target backtest"},"directional":{"type":["object","null"],"description":"Record of upgrades and downgrades against the tape"},"earnings":{"type":["object","null"],"description":"EPS estimate-vs-actual record"},"technicals":{"type":"object"}}}},"required":["api_version","product","tier","view","generated_at"]},"GetDividendLedgerResponse":{"type":"object","properties":{"product":{"type":"string"},"engine_version":{"type":"string"},"chain_version":{"type":"string"},"as_of":{"type":["string","null"],"description":"Date of the ranking"},"built_at":{"type":["string","null"]},"generated_at":{"type":"string"},"summary":{"type":"object","properties":{"screened":{"type":["integer","null"]},"eligible":{"type":"integer"},"board":{"type":"integer"},"reasons":{"type":"object","description":"Exclusion counts by reason","additionalProperties":{"type":"integer"}},"median_yield_pct":{"type":["number","null"]},"median_div_cagr_5y":{"type":["number","null"]},"sealed_boards":{"type":"integer"},"latest_seal":{"type":["object","null"],"description":"Latest sealed board: id, as_of, hash"},"drift_since_seal":{"type":"integer"},"chain":{"type":"object","description":"Hash-chain verification: ok, head, length"},"record_m12":{"type":"object","description":"12-month record, same fields as record.horizons.m12"}}},"pillars":{"type":"array","items":{"type":"object"},"description":"Pillar definitions: key, label, weight"},"horizons":{"type":"array","items":{"type":"object"},"description":"Grading horizons: key (m3, m6, m12), days, label"},"benchmarks":{"type":"array","description":"Benchmark tickers","items":{"type":"string"}},"universe":{"type":["array","object"],"description":"Default view: ranked rows beyond the Top 100. With ?ticker=: eligibility rules object","items":{"type":"object"}},"clusters":{"type":"object","description":"Pillar-space clusters of the board","properties":{"k":{"type":"integer"},"groups":{"type":"array","items":{"type":"object"}},"nodes":{"type":"array","items":{"type":"object"},"description":"ticker, cluster"},"edges":{"type":"array","items":{"type":"object"},"description":"Nearest-neighbour links: a, b, d"}}},"sector_heat":{"type":"array","items":{"type":"object"},"description":"Per sector: n, on_board, mean pillar scores, composite, yield_pct"},"boards":{"type":"array","description":"Every sealed monthly board with its grades","items":{"type":"object","properties":{"id":{"type":"string"},"as_of":{"type":"string"},"sealed_at":{"type":["string","null"]},"hash":{"type":"string"},"prev_hash":{"type":["string","null"]},"size":{"type":"integer"},"horizons":{"type":"object","description":"Grades keyed m3, m6, m12, to_date: board_tr, bench, excess, deciles","additionalProperties":{"type":"object"}},"verdict":{"type":"string","description":"beat, matched, lagged or open"},"cuts":{"type":"array","description":"Tickers that cut the dividend","items":{"type":"string"}},"cut_rate_pct":{"type":["number","null"]},"entries":{"type":"array","description":"Sealed rows with total return per horizon","items":{"type":"object"}}}}},"migration":{"type":"array","description":"Rank changes between consecutive boards: from, to, entered, exited, moves, turnover_pct","items":{"type":"object"}},"record":{"type":"object","properties":{"boards":{"type":"integer"},"graded_m12":{"type":"integer"},"verdicts":{"type":"object","description":"Board counts: beat, matched, lagged, open"},"horizons":{"type":"object","description":"Keyed m3, m6, m12: boards, board_tr, excess by benchmark, beat_rate_pct, deciles","additionalProperties":{"type":"object"}},"cut_rate_pct":{"type":["number","null"]},"primary_benchmark":{"type":"string"},"verdict_band_pp":{"type":"number"}}},"coverage":{"type":"object","properties":{"live_prices":{"type":"integer"},"quoted":{"type":"boolean"},"applied":{"type":"integer"}}},"methodology":{"type":"object","description":"Plain-language method notes keyed by topic","additionalProperties":{"type":"string"}},"api_version":{"type":"string","description":"Always \"v1\""},"tier":{"type":"string","description":"API key tier: free, basic, starter, pro or enterprise"},"board":{"type":"array","description":"Default view: the Top 100","items":{"type":"object","properties":{"rank":{"type":"integer"},"ticker":{"type":"string"},"name":{"type":"string"},"sector":{"type":["string","null"]},"market_cap":{"type":["number","null"]},"price":{"type":["number","null"]},"yield_pct":{"type":["number","null"]},"dps_annual":{"type":["number","null"]},"div_cagr_5y":{"type":["number","null"]},"streak_years":{"type":["integer","null"]},"composite":{"type":["number","null"],"description":"Composite score, 0-100"},"cluster":{"type":["integer","null"]},"pillars":{"type":"object","description":"Pillar scores, where this key is entitled"},"pe":{"type":["number","null"]},"detail":{"type":"object","description":"Pillar component detail, where entitled"},"pillars_locked":{"type":"boolean","description":"True when pillar scores are withheld"}}}},"pillar_rows":{"type":"integer","description":"Default view: rows that carry pillar scores"},"universe_locked":{"type":"boolean","description":"Default view"},"universe_count":{"type":"integer","description":"Default view: ranked names beyond the Top 100"},"upgrade_required":{"type":"string","description":"Below Starter: the plan that unlocks pillars and company views"},"upgrade_url":{"type":"string","description":"Below Starter"},"ticker":{"type":"string","description":"Only with ?ticker="},"company":{"type":"object","description":"Only with ?ticker=: board-row fields plus dividend history detail, or an identity view when locked","properties":{"ticker":{"type":"string"},"ranked":{"type":"boolean","description":"False when the name sat only on earlier boards"},"note":{"type":"string"},"rank":{"type":"integer"},"name":{"type":"string"},"composite":{"type":["number","null"]},"yield_pct":{"type":["number","null"]},"locked":{"type":"boolean"},"first_ex":{"type":["string","null"]},"payments":{"type":["integer","null"]},"frequency":{"type":["integer","string","null"]},"price_date":{"type":["string","null"]},"live_price":{"type":["number","null"]},"live_yield_pct":{"type":["number","null"]}}},"open":{"type":"boolean","description":"Only with ?ticker=: true when the full company view is returned"},"board_size":{"type":"integer","description":"Only with ?ticker="},"universe_size":{"type":"integer","description":"Only with ?ticker="},"history":{"type":"array","description":"Only with ?ticker=: each sealed board the name sat on (rank, price, composite, tr, cut)","items":{"type":"object"}}},"required":["product","engine_version","chain_version","generated_at","summary","pillars","horizons","benchmarks","universe","clusters","sector_heat","boards","migration","record","coverage","methodology","api_version","tier"]},"GetReadthroughBasketResponse":{"type":"object","properties":{"demo":{"type":"boolean","description":"True for the fictional demo sleeve"},"as_of":{"type":"string","description":"Date the sleeve was built, YYYY-MM-DD"},"slug":{"type":["string","null"]},"company":{"type":["object","null"],"properties":{"slug":{"type":["string","null"]},"name":{"type":["string","null"]},"sector":{"type":["string","null"]}}},"count":{"type":"integer","description":"Number of holdings (5 to 10)"},"weighting":{"type":"string","description":"Always \"equal\""},"generated":{"type":"boolean"},"method":{"type":"string"},"thesis":{"type":"string"},"by_relation":{"type":"object","properties":{"rival":{"type":"integer"},"supplier":{"type":"integer"},"investor":{"type":"integer"},"customer":{"type":"integer"},"comp":{"type":"integer"}},"description":"Holding count per relation"},"holdings":{"type":"array","items":{"type":"object","properties":{"ticker":{"type":"string"},"weight":{"type":"number","description":"Portfolio weight, 0 to 1"},"relation":{"type":"string","description":"rival, supplier, investor, customer or comp"},"camp":{"type":"string"},"detail":{"type":["string","null"]},"href":{"type":"string"},"score":{"type":["number","null"],"description":"Signal score for the ticker when available"},"label":{"type":["string","null"],"description":"Signal label for the ticker when available"}}}},"rollup":{"type":["object","null"],"properties":{"posture":{"type":"string","description":"Bullish, Neutral, Bearish or Unknown"},"weighted_composite_score":{"type":["number","null"]},"n_scored":{"type":"integer"},"n_holdings":{"type":"integer"},"signal_mix":{"type":"object","properties":{"Bullish":{"type":"number"},"Neutral":{"type":"number"},"Bearish":{"type":"number"}},"description":"Weight share per signal bucket"}}},"href":{"type":"string"},"overlay_href":{"type":"string"},"continuum_href":{"type":"string"},"api_version":{"type":"string"},"tier":{"type":"string"}},"required":["demo","as_of","count","weighting","generated","method","thesis","by_relation","holdings","href","overlay_href","continuum_href","api_version","tier"]},"GetShadowBookResponse":{"type":"object","properties":{"ok":{"type":"boolean"},"mode":{"type":"string","description":"demo or tickers"},"generated_at":{"type":["string","null"],"description":"Roster timestamp; null when the book is empty"},"status":{"type":"string","description":"ok, or no_book when no public tickers were supplied"},"book":{"type":"object","properties":{"tickers":{"type":"array","items":{"type":"string"}},"holdings":{"type":"integer"},"watchlist":{"type":"integer"},"theses":{"type":"integer"},"private_held":{"type":"integer"}}},"posture":{"type":"object","properties":{"ticker":{"type":"string","description":"Always \"BOOK\""},"posture":{"type":"string","description":"none, net_beneficiary, net_competitive, balanced or read_through"},"headline":{"type":"string"},"net_tilt_usd":{"type":"number"},"beneficiary_valuation_usd":{"type":"number"},"competitive_valuation_usd":{"type":"number"},"dominant_relation":{"type":["string","null"],"description":"Most significant relation type in the book"},"bullets":{"type":"array","items":{"type":"object"}}}},"rows":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"integer"},"slug":{"type":"string"},"name":{"type":"string"},"sector":{"type":["string","null"]},"subsector":{"type":["string","null"]},"valuation_usd":{"type":["number","null"]},"ipo_status":{"type":["string","null"]},"ipo":{"type":["object","null"],"description":"IPO-readiness score and band"},"stage":{"type":["object","null"]},"primary_relation":{"type":"string","description":"rival, supplier, investor, customer, comp or held_private"},"why":{"type":"string"},"score":{"type":"number","description":"Book-relevance score used for ranking"},"holdings_count":{"type":"integer","description":"Distinct book tickers linked to this company"},"links":{"type":"array","items":{"type":"object"}},"investors":{"type":"array","items":{"type":"string"}},"url":{"type":"string"},"continuum_href":{"type":"string"},"crossmarket_href":{"type":"string"}}},"description":"Ranked private companies linked to the book"},"ipo_pipeline":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"stage":{"type":["object","null"]},"ipo":{"type":["object","null"]},"primary_relation":{"type":"string"},"url":{"type":"string"},"continuum_href":{"type":"string"}}}},"ripples":{"type":"array","items":{"type":"object","properties":{"type":{"type":["string","null"]},"company_slug":{"type":["string","null"]},"company_name":{"type":["string","null"]},"date":{"type":["string","null"]},"summary":{"type":["string","null"]},"ripples":{"type":"array","items":{"type":"object"}}}}},"investors":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"companies":{"type":"integer"},"slugs":{"type":"array","items":{"type":"string"}},"href":{"type":"string"}}}},"public_signals":{"type":"array","items":{"type":"object","properties":{"ticker":{"type":"string"},"relation":{"type":"string"},"source":{"type":"string"},"label":{"type":["string","null"]},"score":{"type":["number","null"]}}}},"kpis":{"type":"object","properties":{"holdings_scanned":{"type":"integer"},"shadow_names":{"type":"integer"},"ipo_window_names":{"type":"integer"},"posture":{"type":"string"}}},"disclaimer":{"type":"string","description":"Absent when the book is empty"},"teaser":{"type":"boolean","description":"True only for the demo book"},"demo":{"type":"boolean","description":"Only with ?demo=1"},"upgrade_url":{"type":"string","description":"Only with ?demo=1"},"preview_rows":{"type":"integer","description":"Only with ?demo=1: number of unlocked rows"},"locked_count":{"type":"integer","description":"Only with ?demo=1"},"locked_rows":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"sector":{"type":["string","null"]},"subsector":{"type":["string","null"]},"primary_relation":{"type":["string","null"]},"holdings":{"type":"array","items":{"type":"object"}},"url":{"type":["string","null"]},"locked":{"type":"boolean"}}},"description":"Only with ?demo=1: identity-only rows"}},"required":["ok","mode","generated_at","status","book","posture","rows","ipo_pipeline","ripples","investors","public_signals","kpis","teaser"]},"GetGapStatsResponse":{"type":"object","properties":{"ticker":{"type":"string"},"generated_at":{"type":"string","description":"ISO timestamp"},"sessions":{"type":"integer","description":"Trading sessions in the sample"},"from":{"type":"string","description":"First session date"},"to":{"type":"string","description":"Last session date"},"gap_count":{"type":"integer","description":"Overnight gaps of 0.5% or more"},"gap_frequency":{"type":"number","description":"Gaps per session, 0 to 1"},"up":{"type":"object","properties":{"n":{"type":"integer","description":"Number of gaps"},"fill_rate":{"type":["number","null"],"description":"Share filled the same day, 0 to 1"},"follow_rate":{"type":["number","null"],"description":"Share that closed in the gap direction, 0 to 1"},"avg_gap":{"type":["number","null"],"description":"Average gap as a fraction"},"avg_open_close":{"type":["number","null"],"description":"Average open-to-close return as a fraction"}}},"dn":{"type":"object","properties":{"n":{"type":"integer","description":"Number of gaps"},"fill_rate":{"type":["number","null"],"description":"Share filled the same day, 0 to 1"},"follow_rate":{"type":["number","null"],"description":"Share that closed in the gap direction, 0 to 1"},"avg_gap":{"type":["number","null"],"description":"Average gap as a fraction"},"avg_open_close":{"type":["number","null"],"description":"Average open-to-close return as a fraction"}}},"buckets":{"type":"array","items":{"type":"object","properties":{"dir":{"type":"string","description":"up or dn"},"size":{"type":"string","description":"small, medium, large or huge"},"label":{"type":"string"},"n":{"type":"integer","description":"Number of gaps"},"fill_rate":{"type":["number","null"],"description":"Share filled the same day, 0 to 1"},"follow_rate":{"type":["number","null"],"description":"Share that closed in the gap direction, 0 to 1"},"avg_gap":{"type":["number","null"],"description":"Average gap as a fraction"},"avg_open_close":{"type":["number","null"],"description":"Average open-to-close return as a fraction"}}},"description":"Stats by direction and gap size"},"recent":{"type":"object","properties":{"window":{"type":"string"},"gap_count":{"type":"integer"},"up":{"type":"object","properties":{"n":{"type":"integer","description":"Number of gaps"},"fill_rate":{"type":["number","null"],"description":"Share filled the same day, 0 to 1"},"follow_rate":{"type":["number","null"],"description":"Share that closed in the gap direction, 0 to 1"},"avg_gap":{"type":["number","null"],"description":"Average gap as a fraction"},"avg_open_close":{"type":["number","null"],"description":"Average open-to-close return as a fraction"}}},"dn":{"type":"object","properties":{"n":{"type":"integer","description":"Number of gaps"},"fill_rate":{"type":["number","null"],"description":"Share filled the same day, 0 to 1"},"follow_rate":{"type":["number","null"],"description":"Share that closed in the gap direction, 0 to 1"},"avg_gap":{"type":["number","null"],"description":"Average gap as a fraction"},"avg_open_close":{"type":["number","null"],"description":"Average open-to-close return as a fraction"}}}}},"largest_up":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string"},"gap":{"type":"number","description":"Gap as a fraction of the prior close"},"dir":{"type":"string","description":"up or dn"},"filled":{"type":"boolean"},"open_close":{"type":"number"}}}},"largest_dn":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string"},"gap":{"type":"number","description":"Gap as a fraction of the prior close"},"dir":{"type":"string","description":"up or dn"},"filled":{"type":"boolean"},"open_close":{"type":"number"}}}},"last_gap":{"type":"object","properties":{"date":{"type":"string"},"gap":{"type":"number","description":"Gap as a fraction of the prior close"},"dir":{"type":"string","description":"up or dn"},"filled":{"type":"boolean"},"open_close":{"type":"number"}}},"api_version":{"type":"string"},"tier":{"type":"string"}},"required":["ticker","generated_at","sessions","from","to","gap_count","gap_frequency","up","dn","buckets","recent","largest_up","largest_dn","last_gap","api_version","tier"]},"GetStreetGradesResponse":{"type":"object","properties":{"ticker":{"type":"string"},"generated_at":{"type":"string","description":"ISO timestamp"},"from":{"type":"string","description":"Date of the first rating action"},"to":{"type":"string","description":"Last price date"},"actions_total":{"type":"integer"},"upgrade_count":{"type":"integer"},"downgrade_count":{"type":"integer"},"firms_covered":{"type":"integer"},"read":{"type":"string","description":"Plain-language verdict on following upgrades"},"edge_3m":{"type":"object","properties":{"upgrades":{"type":["number","null"]},"downgrades":{"type":["number","null"]}},"description":"Median 3-month return after the action minus the baseline median"},"scoreboard":{"type":"object","properties":{"m1":{"type":"object","properties":{"upgrades":{"type":"object","properties":{"n":{"type":"integer"},"median":{"type":["number","null"],"description":"Median forward return as a fraction"},"win_rate":{"type":["number","null"],"description":"Share of positive returns, 0 to 1"}}},"downgrades":{"type":"object","properties":{"n":{"type":"integer"},"median":{"type":["number","null"],"description":"Median forward return as a fraction"},"win_rate":{"type":["number","null"],"description":"Share of positive returns, 0 to 1"}}}}},"m3":{"type":"object","properties":{"upgrades":{"type":"object","properties":{"n":{"type":"integer"},"median":{"type":["number","null"],"description":"Median forward return as a fraction"},"win_rate":{"type":["number","null"],"description":"Share of positive returns, 0 to 1"}}},"downgrades":{"type":"object","properties":{"n":{"type":"integer"},"median":{"type":["number","null"],"description":"Median forward return as a fraction"},"win_rate":{"type":["number","null"],"description":"Share of positive returns, 0 to 1"}}}}},"m6":{"type":"object","properties":{"upgrades":{"type":"object","properties":{"n":{"type":"integer"},"median":{"type":["number","null"],"description":"Median forward return as a fraction"},"win_rate":{"type":["number","null"],"description":"Share of positive returns, 0 to 1"}}},"downgrades":{"type":"object","properties":{"n":{"type":"integer"},"median":{"type":["number","null"],"description":"Median forward return as a fraction"},"win_rate":{"type":["number","null"],"description":"Share of positive returns, 0 to 1"}}}}}},"description":"Forward returns after upgrades and downgrades at 1, 3 and 6 months"},"baseline":{"type":"object","properties":{"m1":{"type":"object","properties":{"n":{"type":"integer"},"median":{"type":["number","null"],"description":"Median forward return as a fraction"},"win_rate":{"type":["number","null"],"description":"Share of positive returns, 0 to 1"}}},"m3":{"type":"object","properties":{"n":{"type":"integer"},"median":{"type":["number","null"],"description":"Median forward return as a fraction"},"win_rate":{"type":["number","null"],"description":"Share of positive returns, 0 to 1"}}},"m6":{"type":"object","properties":{"n":{"type":"integer"},"median":{"type":["number","null"],"description":"Median forward return as a fraction"},"win_rate":{"type":["number","null"],"description":"Share of positive returns, 0 to 1"}}}},"description":"Unconditional forward returns of the stock at 1, 3 and 6 months"},"targets":{"type":"object","properties":{"scored":{"type":"integer"},"hit_rate_12m":{"type":["number","null"],"description":"Share of price targets reached within 12 months"},"median_implied":{"type":["number","null"],"description":"Median implied move to target, fraction"},"median_realized_12m":{"type":["number","null"]}}},"firms":{"type":"array","items":{"type":"object","properties":{"firm":{"type":"string"},"calls":{"type":"integer"},"beat_tape":{"type":"integer"},"beat_rate":{"type":"number"},"last_action":{"type":"string"}}},"description":"Up to 10 firms ranked by share of calls that beat the baseline"},"recent":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string"},"firm":{"type":["string","null"]},"action":{"type":["string","null"]},"rating":{"type":["string","null"]},"previous_rating":{"type":["string","null"]},"pt":{"type":["number","null"],"description":"Price target"},"ret_since":{"type":["number","null"],"description":"Return since the action, fraction"}}},"description":"Latest 8 rating actions, newest first"},"api_version":{"type":"string"},"tier":{"type":"string"}},"required":["ticker","generated_at","from","to","actions_total","upgrade_count","downgrade_count","firms_covered","read","edge_3m","scoreboard","baseline","targets","firms","recent","api_version","tier"]},"GetMicrostructureResponse":{"type":"object","properties":{"ticker":{"type":"string"},"available":{"type":"boolean","description":"False when there was no trade data to measure; score is then not a read"},"data_quality":{"type":"object","properties":{"daily_bars":{"type":"integer"},"minute_bars":{"type":"integer"},"amihud":{"type":"boolean"},"vpin":{"type":"boolean"},"quote":{"type":"boolean"}}},"score":{"type":"number","description":"Composite microstructure health, 0 to 100"},"health":{"type":"object","properties":{"label":{"type":"string","description":"Excellent, Healthy, Fair, Weak or Poor"},"color":{"type":"string"}}},"bias":{"type":"object","properties":{"direction":{"type":"string","description":"Bullish, Bearish or Neutral"},"strength":{"type":"integer"},"signals":{"type":"integer"}}},"metrics":{"type":"object","properties":{"amihud":{"type":"object","description":"Omitted when not measurable"},"vpin":{"type":"object","description":"Omitted when not measurable"},"kyle_lambda":{"type":"object"},"roll_spread":{"type":"object"},"bid_ask_spread":{"type":"object","description":"Omitted when no quote is available"},"order_flow_imbalance":{"type":"object"},"rvol":{"type":"object"},"hv30":{"type":"object"},"intraday_vol":{"type":"object"},"poc":{"type":"object"},"smart_money":{"type":"object"},"price_efficiency":{"type":"object"},"vol_regime":{"type":"object"}}},"institutional":{"type":"object","properties":{"buy_pct":{"type":"number"},"sell_pct":{"type":"number"},"buy_vol":{"type":"number"},"sell_vol":{"type":"number"},"total_pct":{"type":"number","description":"Institutional share of volume, percent"},"label":{"type":"string"}}},"volume_profile":{"type":"array","items":{"type":"object","properties":{"price":{"type":"number"},"volume":{"type":"number"}}},"description":"Top 10 price levels by traded volume"},"hourly_volume":{"type":"array","items":{"type":"object","properties":{"hour":{"type":"integer"},"volume":{"type":"number"},"label":{"type":"string"}}}},"cum_delta":{"type":"object","properties":{"final":{"type":"number"},"points":{"type":"array","items":{"type":"object"}}}},"price":{"type":"number"},"timestamp":{"type":"string","description":"ISO timestamp"},"api_version":{"type":"string"},"tier":{"type":"string"}},"required":["ticker","available","score","health","bias","metrics","institutional","volume_profile","hourly_volume","cum_delta","price","timestamp","api_version","tier"]},"GetEarningsSetupResponse":{"type":"object","properties":{"ok":{"type":"boolean"},"ticker":{"type":"string"},"company_name":{"type":["string","null"]},"next_earnings_estimate":{"type":["string","null"],"description":"Estimated next report date, YYYY-MM-DD"},"days_until_earnings":{"type":["integer","null"]},"date_is_estimate":{"type":"boolean","description":"Always true"},"implied_move_pct":{"type":["number","null"],"description":"Options-implied move to the nearest expiry, percent"},"earnings_isolated_move_pct":{"type":["number","null"],"description":"Implied move attributed to the earnings event, percent"},"atm_iv":{"type":["number","null"],"description":"At-the-money implied volatility"},"implied_expiry":{"type":["string","null"],"description":"Option expiry used for the implied move"},"signal":{"type":["object","null"],"properties":{"label":{"type":["string","null"]},"score":{"type":["number","null"]}}},"revision":{"type":["object","null"],"properties":{"momentum":{"type":["number","null"]},"direction":{"type":["string","null"]},"net_latest":{"type":["number","null"]},"net_prior":{"type":["number","null"]},"price_target_median":{"type":["number","null"]},"analyst_count":{"type":["number","null"]}},"description":"Analyst recommendation momentum and price target"},"fundamentals":{"type":["object","null"],"properties":{"revenue_growth_yoy":{"type":["number","null"],"description":"Percent"},"eps_growth_yoy":{"type":["number","null"],"description":"Percent"}}},"history":{"type":"array","items":{"type":"object","properties":{"period":{"type":["string","null"]},"fiscal_year":{"type":["integer","string","null"]},"period_date":{"type":["string","null"]},"revenue":{"type":["number","null"]},"eps_diluted":{"type":["number","null"]}}},"description":"Up to 4 most recent reported quarters"},"generated_at":{"type":"string"},"headline":{"type":"string"},"posture":{"type":"string","description":"One-line descriptive read; may be empty"},"has_upcoming":{"type":"boolean","description":"True when a forward earnings date was resolved"}},"required":["ok","ticker","company_name","next_earnings_estimate","days_until_earnings","date_is_estimate","implied_move_pct","earnings_isolated_move_pct","atm_iv","implied_expiry","signal","revision","fundamentals","history","generated_at","headline","posture","has_upcoming"]},"GetEarningsCalendarResponse":{"type":"object","properties":{"ok":{"type":"boolean"},"ticker":{"type":"string"},"next_earnings_estimate":{"type":["string","null"],"description":"Estimated next report date from filing cadence, YYYY-MM-DD"},"days_until_earnings":{"type":["integer","null"]},"earnings_history":{"type":"array","items":{"type":"object","properties":{"period":{"type":["string","null"],"description":"Fiscal period, e.g. Q2"},"fiscal_year":{"type":["integer","string","null"]},"period_date":{"type":"string"},"filing_date":{"type":["string","null"]},"revenue":{"type":["number","null"]},"net_income":{"type":["number","null"]},"eps_basic":{"type":["number","null"]},"eps_diluted":{"type":["number","null"]}}},"description":"Up to 8 most recent quarterly reports, newest first"},"revenue_growth_yoy":{"type":["number","null"],"description":"Percent"},"eps_growth_yoy":{"type":["number","null"],"description":"Percent"},"total_reports":{"type":"integer"},"cached_at":{"type":"string"},"next_earnings_is_estimate":{"type":"boolean","description":"Always true"},"api_version":{"type":"string"}},"required":["ok","ticker","next_earnings_estimate","days_until_earnings","earnings_history","revenue_growth_yoy","eps_growth_yoy","total_reports","cached_at","next_earnings_is_estimate","api_version"]},"GetCorporateEventsResponse":{"type":"object","properties":{"ok":{"type":"boolean"},"ticker":{"type":"string"},"company":{"type":"object","properties":{"name":{"type":"string"},"market_cap":{"type":["number","null"]},"sector":{"type":["string","null"]},"exchange":{"type":["string","null"]},"homepage":{"type":["string","null"]},"locale":{"type":"string"}}},"summary":{"type":"object","properties":{"total_events":{"type":"integer"},"upcoming_count":{"type":"integer"},"recent_count":{"type":"integer"},"earnings":{"type":["object","null"],"properties":{"latest_period":{"type":"string"},"latest_eps":{"type":["number","null"]},"latest_eps_estimate":{"type":["number","null"]},"latest_surprise_pct":{"type":["number","null"]},"latest_revenue":{"type":["number","null"]},"next_estimate":{"type":["string","null"]},"next_confirmed":{"type":"boolean"},"next_time_of_day":{"type":["string","null"]},"next_eps_consensus":{"type":["number","null"]},"days_until":{"type":["integer","null"]},"total_quarters":{"type":"integer"},"forward_quarters":{"type":"integer"}}},"dividends":{"type":["object","null"],"properties":{"latest_amount":{"type":["number","null"]},"latest_ex_date":{"type":["string","null"]},"next_pay_date":{"type":["string","null"]},"frequency":{"type":["string","null"]},"estimated_annual":{"type":["number","null"]},"history_count":{"type":"integer"}}},"analyst":{"type":["object","null"],"properties":{"total_actions_90d":{"type":"integer"},"upgrades":{"type":"integer"},"downgrades":{"type":"integer"},"initiates":{"type":"integer"},"reiterates":{"type":"integer"},"avg_price_target":{"type":["number","null"]},"high_target":{"type":["number","null"]},"low_target":{"type":["number","null"]},"consensus":{"type":"string","description":"bullish, bearish, neutral or mixed"}},"description":"Analyst actions in the last 90 days"},"has_splits":{"type":"boolean"},"has_insider":{"type":"boolean"}}},"upcoming":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"e.g. earnings, dividend, split, analyst_rating, insider_transaction, sec_filing, conference"},"category":{"type":"string","description":"earnings, dividends, corporate_actions, analyst, insider, filings or investor_events"},"date":{"type":["string","null"]},"title":{"type":"string"},"icon":{"type":"string"},"importance":{"type":"string","description":"high, medium or low"},"details":{"type":"object","description":"Fields depend on the event type"},"upcoming":{"type":"boolean","description":"Present on forward-dated earnings events"},"url":{"type":"string","description":"News-derived events only"},"source":{"type":"string","description":"News-derived events only"},"sentiment":{"type":"string","description":"News-derived events only"}}},"description":"Events dated today or later, soonest first"},"recent":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"e.g. earnings, dividend, split, analyst_rating, insider_transaction, sec_filing, conference"},"category":{"type":"string","description":"earnings, dividends, corporate_actions, analyst, insider, filings or investor_events"},"date":{"type":["string","null"]},"title":{"type":"string"},"icon":{"type":"string"},"importance":{"type":"string","description":"high, medium or low"},"details":{"type":"object","description":"Fields depend on the event type"},"upcoming":{"type":"boolean","description":"Present on forward-dated earnings events"},"url":{"type":"string","description":"News-derived events only"},"source":{"type":"string","description":"News-derived events only"},"sentiment":{"type":"string","description":"News-derived events only"}}},"description":"Events from the past 90 days, newest first"},"events":{"type":"object","properties":{"earnings":{"type":"array","items":{"type":"object"}},"dividends":{"type":"array","items":{"type":"object"}},"splits":{"type":"array","items":{"type":"object"}},"analyst":{"type":"array","items":{"type":"object"}},"insider":{"type":"array","items":{"type":"object"}},"filings":{"type":"array","items":{"type":"object"}},"conferences":{"type":"array","items":{"type":"object"}},"corporate":{"type":"array","items":{"type":"object"}}},"description":"All events grouped by kind; items have the same fields as upcoming"},"related":{"type":"array","items":{"type":"string"},"description":"Up to 8 related tickers"},"cached_at":{"type":"string"},"api_version":{"type":"string"}},"required":["ok","ticker","company","summary","upcoming","recent","events","related","cached_at","api_version"]},"GetCatalystsResponse":{"type":"object","properties":{"ok":{"type":"boolean"},"today":{"type":"string","description":"YYYY-MM-DD"},"window_days":{"type":"integer","description":"Forward window actually applied after plan limits"},"ticker":{"type":["string","null"],"description":"Ticker filter applied, or null for the whole market"},"count":{"type":"integer"},"events":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","description":"YYYY-MM-DD"},"type":{"type":"string","description":"earnings, ipo, dividend, congress, split, macro or opex"},"ticker":{"type":["string","null"]},"title":{"type":"string"},"detail":{"type":["string","null"]},"meta":{"type":"object","description":"Type-specific fields, e.g. cash_amount, pay_date, split_from, impact, politician"}}},"description":"Date-sorted events"},"tier":{"type":"string","description":"free, starter or pro"},"limits":{"type":"object","properties":{"max_days":{"type":"integer"},"types":{"type":["array","null"],"items":{"type":"string"},"description":"Event types the plan includes; null means all"}}},"clamped":{"type":"object","properties":{"days":{"type":"boolean"},"types":{"type":"boolean"}},"description":"Which request dimension was narrowed to the plan limit"},"api_version":{"type":"string"},"note":{"type":"string","description":"Only when a ticker filter returns no events"}},"required":["ok","today","window_days","ticker","count","events","tier","limits","clamped","api_version"]},"GetInstitutionalResponse":{"type":"object","properties":{"api_version":{"type":"string"},"endpoint":{"type":"string","description":"institutional.holders with ?ticker=, institutional.fund with ?cik="},"tier":{"type":"string"},"available":{"type":"boolean","description":"False when the ticker or manager is not tracked"},"source":{"type":"string"},"hint":{"type":"string","description":"Only when available is false"},"timestamp":{"type":"string"},"tier_limits":{"type":"object","properties":{"holders_returned":{"type":"integer"},"holdings_returned":{"type":"integer"}}},"ticker":{"type":"string","description":"Only with ?ticker="},"as_of":{"type":["string","null"],"description":"Only with ?ticker=: latest report period among holders"},"holder_count":{"type":"integer","description":"Only with ?ticker="},"total_institutional_value_usd":{"type":"number","description":"Only with ?ticker="},"top1_concentration_pct":{"type":"number","description":"Only with ?ticker="},"top5_concentration_pct":{"type":"number","description":"Only with ?ticker="},"holders":{"type":"array","items":{"type":"object","properties":{"manager_name":{"type":"string"},"cik":{"type":"string"},"shares":{"type":"number"},"value_usd":{"type":"number"},"pct_of_their_portfolio":{"type":"number"},"filing_date":{"type":"string"},"period_of_report":{"type":"string"}}},"description":"Only with ?ticker=: tracked managers holding the stock, largest first"},"coverage":{"type":"string","description":"Only with ?ticker="},"reason":{"type":"string","description":"Only with ?ticker= when available is false"},"cik":{"type":"string","description":"Only with ?cik="},"manager_name":{"type":"string","description":"Only with ?cik="},"accession":{"type":"string","description":"Only with ?cik=: SEC accession number"},"filing_date":{"type":"string","description":"Only with ?cik="},"period_of_report":{"type":"string","description":"Only with ?cik="},"total_value_usd":{"type":"number","description":"Only with ?cik="},"holding_count":{"type":"integer","description":"Only with ?cik="},"holdings":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"class":{"type":"string"},"cusip":{"type":"string"},"value_usd":{"type":"number"},"shares":{"type":"number"},"type":{"type":"string"},"put_call":{"type":["string","null"]}}},"description":"Only with ?cik=: 13F positions, largest value first"}},"required":["api_version","endpoint","tier","source","timestamp","tier_limits"]},"GetDcaResponse":{"type":"object","properties":{"ticker":{"type":"string"},"generated_at":{"type":"string"},"monthly_amount":{"type":"number","description":"Contribution per month, USD"},"purchases":{"type":"integer","description":"Number of monthly buys"},"from":{"type":"string","description":"First purchase date"},"to":{"type":"string","description":"Last price date"},"years":{"type":"number"},"invested":{"type":"number"},"shares":{"type":"number"},"final_price":{"type":"number"},"final_value":{"type":"number"},"profit":{"type":"number"},"multiple":{"type":"number","description":"Final value divided by amount invested"},"xirr":{"type":["number","null"],"description":"Annualized money-weighted return, fraction"},"max_drawdown":{"type":"number","description":"Worst peak-to-trough fall in account value, negative fraction"},"best_purchase":{"type":"object","properties":{"date":{"type":"string"},"price":{"type":"number"}}},"worst_purchase":{"type":"object","properties":{"date":{"type":"string"},"price":{"type":"number"}}},"lucky":{"type":"object","properties":{"invested":{"type":"number"},"final_value":{"type":"number"},"multiple":{"type":"number"},"xirr":{"type":["number","null"],"description":"Annualized money-weighted return, fraction"}},"description":"Same schedule buying each month's low"},"unlucky":{"type":"object","properties":{"invested":{"type":"number"},"final_value":{"type":"number"},"multiple":{"type":"number"},"xirr":{"type":["number","null"],"description":"Annualized money-weighted return, fraction"}},"description":"Same schedule buying each month's high"},"lump_sum":{"type":"object","properties":{"final_value":{"type":"number"},"multiple":{"type":"number"},"xirr":{"type":["number","null"]}},"description":"Whole amount invested at the first purchase"},"series":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string"},"invested":{"type":"number"},"value":{"type":"number"}}},"description":"Account value at each purchase and at the end"},"benchmark":{"type":["object","null"],"properties":{"ticker":{"type":"string"},"invested":{"type":"number"},"final_value":{"type":"number"},"multiple":{"type":"number"},"xirr":{"type":["number","null"]},"purchases":{"type":"integer"}},"description":"Same plan in the benchmark ETF; null when the ticker is the benchmark"},"api_version":{"type":"string"},"tier":{"type":"string"}},"required":["ticker","generated_at","monthly_amount","purchases","from","to","years","invested","shares","final_price","final_value","profit","multiple","xirr","max_drawdown","best_purchase","worst_purchase","lucky","unlucky","lump_sum","series","benchmark","api_version","tier"]},"GetScreenerResponse":{"type":"object","properties":{"count":{"type":"integer","description":"Rows in this page"},"total_matched":{"type":"integer"},"total_universe":{"type":"integer"},"offset":{"type":"integer"},"limit":{"type":"integer"},"filters":{"type":"object","properties":{"signal":{"type":"array","items":{"type":"string"}},"sector":{"type":"array","items":{"type":"string"}},"cap":{"type":"array","items":{"type":"string"}},"min_score":{"type":["number","null"]},"max_score":{"type":["number","null"]},"min_price":{"type":["number","null"]},"max_price":{"type":["number","null"]},"min_market_cap":{"type":["number","null"]},"max_market_cap":{"type":["number","null"]},"min_change":{"type":["number","null"]},"max_change":{"type":["number","null"]},"sort":{"type":"string"},"order":{"type":"string","description":"asc or desc"}},"description":"Filters as applied"},"results":{"type":"array","items":{"type":"object","properties":{"ticker":{"type":"string"},"name":{"type":["string","null"]},"sector":{"type":["string","null"]},"cap":{"type":["string","null"],"description":"Market-cap class"},"market_cap":{"type":["number","null"]},"signal":{"type":["string","null"]},"composite_score":{"type":["integer","null"],"description":"0 to 100"},"price":{"type":["number","null"]},"change_pct":{"type":["number","null"]}}}},"generated_at":{"type":"string"},"api_version":{"type":"string"},"tier":{"type":"string"}},"required":["count","total_matched","total_universe","offset","limit","filters","results","generated_at","api_version","tier"]},"GetSignalsResponse":{"type":"object","properties":{"count":{"type":"integer","description":"Tickers resolved"},"requested":{"type":"integer"},"not_found":{"type":"array","items":{"type":"string"},"description":"Requested tickers with no signal"},"results":{"type":"object","additionalProperties":{"type":"object","properties":{"ticker":{"type":"string"},"name":{"type":["string","null"]},"sector":{"type":["string","null"]},"market_cap":{"type":["number","null"]},"signal":{"type":["string","null"]},"composite_score":{"type":["integer","null"],"description":"0 to 100"},"price":{"type":["number","null"]},"change_pct":{"type":["number","null"]}}},"description":"Map of ticker to its signal row"},"generated_at":{"type":"string"},"api_version":{"type":"string"},"tier":{"type":"string"}},"required":["count","requested","not_found","results","generated_at","api_version","tier"]},"GetEngineModelCardResponse":{"type":"object","properties":{"ok":{"type":"boolean"},"api_version":{"type":"string"},"engine":{"type":"object","properties":{"name":{"type":"string"},"methodology":{"type":"string"},"measured_universe":{"type":"string"},"record_basis":{"type":"string"}}},"window":{"type":"object","properties":{"requested":{"type":"string","description":"30d, 90d, 365d or all"},"from":{"type":["string","null"]},"to":{"type":["string","null"]}}},"record":{"type":["object","null"],"properties":{"n_resolved":{"type":["number","null"]},"wins":{"type":["number","null"]},"win_rate":{"type":["number","null"]},"win_rate_ci95":{"type":["object","null"],"properties":{"lo":{"type":["number","null"]},"hi":{"type":["number","null"]}}},"avg_return_pct":{"type":["number","null"]},"return_t_stat":{"type":["number","null"]},"return_p_value":{"type":["number","null"]},"sharpe_per_trade":{"type":["number","null"]}},"description":"Resolved-signal track record for the window; null when unavailable"},"validation":{"type":"object","properties":{"significance":{"type":["object","null"],"properties":{"grade":{"type":["string","null"]},"verdict":{"type":["string","null"]},"p_win_rate":{"type":["number","null"]},"p_return":{"type":["number","null"]},"bootstrap_p_positive":{"type":["number","null"]},"sample_adequate":{"type":["boolean","null"]}}},"calibration":{"type":["object","null"],"properties":{"grade":{"type":["string","null"]},"ece":{"type":["number","null"],"description":"Expected calibration error"},"brier":{"type":["number","null"]},"brier_baseline":{"type":["number","null"]},"monotonic":{"type":["boolean","null"]}}},"discrimination":{"type":["object","null"],"properties":{"grade":{"type":["string","null"]},"roc_auc":{"type":["number","null"]},"gini":{"type":["number","null"]},"ks":{"type":["number","null"]},"rank_ic":{"type":["number","null"]},"rank_ic_significant":{"type":["boolean","null"]},"ls_return_spread_pp":{"type":["number","null"],"description":"Long-short return spread, percentage points"}}},"robustness":{"type":["object","null"],"properties":{"grade":{"type":["string","null"]},"verdict":{"type":["string","null"]},"probabilistic_sharpe":{"type":["number","null"]},"skew":{"type":["number","null"]},"excess_kurtosis":{"type":["number","null"]},"min_track_record":{"type":["number","null"]},"seasoned":{"type":["boolean","null"]},"oos_holds":{"type":["boolean","null"]},"time_consistency":{"type":["number","null"]},"max_drawdown_pp":{"type":["number","null"]},"edge_trend":{"type":["string","null"]}}}}},"factor_health":{"type":["array","null"],"items":{"type":"object","properties":{"factor":{"type":"string"},"ic_full":{"type":["number","null"]},"ic_recent":{"type":["number","null"]},"n_full":{"type":["number","null"]},"n_recent":{"type":["number","null"]},"verdict":{"type":["string","null"]}}},"description":"Per-factor information coefficient, full sample vs recent"},"links":{"type":"object","properties":{"proof":{"type":"string"},"docs":{"type":"string"}}},"disclaimer":{"type":"string"},"generated_at":{"type":"string"}},"required":["ok","api_version","engine","window","record","validation","factor_health","links","disclaimer","generated_at"]},"GetPrivateCompaniesListResponse":{"type":"object","properties":{"count":{"type":"integer"},"filters":{"type":"object","properties":{"sector":{"type":["string","null"]},"q":{"type":["string","null"]},"sort":{"type":"string"},"limit":{"type":"integer"}}},"generated_at":{"type":["string","null"],"description":"Roster build timestamp"},"overlay_refreshed_at":{"type":["string","null"]},"track_record":{"type":["object","null"],"properties":{"model_version":{"type":"string"},"inception_date":{"type":["string","null"]},"updated_at":{"type":["string","null"]},"total_events":{"type":"integer"},"graded_directional":{"type":"integer"},"neutral_events":{"type":"integer"},"hits":{"type":"integer"},"hit_rate_pct":{"type":["number","null"]},"spearman_rank_ic":{"type":["number","null"]},"median_change_pct":{"type":["number","null"]},"by_tier":{"type":"array","items":{"type":"object"}},"recent_grades":{"type":"array","items":{"type":"object"},"description":"Five most recent graded repricing events"},"company_grades":{"type":"array","items":{"type":"object"},"description":"Graded events for the requested company; empty on the list endpoint"}},"description":"Forward-only grading record of the trajectory model"},"timestamp":{"type":"string"},"api_version":{"type":"string"},"tier":{"type":"string"},"companies":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"tagline":{"type":["string","null"]},"sector":{"type":"string"},"subsector":{"type":["string","null"]},"founded":{"type":["integer","string","null"]},"hq":{"type":["string","null"]},"country":{"type":["string","null"]},"employees":{"type":["integer","string","null"]},"ceo":{"type":["string","null"]},"founders":{"type":"array","items":{"type":"string"}},"website":{"type":["string","null"]},"logo_domain":{"type":["string","null"]},"logo_url":{"type":["string","null"]},"current_valuation_usd":{"type":["number","null"]},"valuation_as_of":{"type":["string","null"]},"valuation_source":{"type":["string","null"]},"leadership":{"type":["object","array","null"]},"leadership_refreshed_at":{"type":["string","null"]},"last_round":{"type":["object","string","null"],"description":"Most recent funding round"},"total_raised_usd":{"type":["number","null"]},"investors":{"type":"array","items":{"type":"string"}},"products":{"type":"array","items":{"type":"string"}},"competitors":{"type":"array","items":{"type":"string"}},"ipo_status":{"type":["string","null"]},"rumored_ipo_year":{"type":["integer","string","null"]},"revenue_record":{"type":"object","description":"Present only when a tracked revenue record exists"},"estimated_revenue_usd":{"type":["number","null"]},"estimated_revenue_as_of":{"type":["string","null"]},"growth_descriptor":{"type":["string","null"]},"funding_history":{"type":"array","items":{"type":"object"}},"revenue_history":{"type":"array","items":{"type":"object"}},"recent_activities":{"type":"array","items":{"type":"object"}},"funding_status":{"type":["string","null"]},"tags":{"type":"array","items":{"type":"string"}},"description":{"type":["string","null"]},"news_topics":{"type":"array","items":{"type":"string"}},"overlay_refreshed_at":{"type":["string","null"]},"ql_score":{"type":["number","null"],"description":"QL Score, 0 to 100"},"ql_score_band":{"type":["string","null"]},"ql_score_rank":{"type":["integer","null"]},"ql_rank_score":{"type":"number","description":"Present when the company is ranked"},"ql_rank_tier":{"type":"string","description":"S, A, B or C; present when ranked"},"ql_overall_rank":{"type":"integer","description":"Present when ranked"},"ql_overall_total":{"type":"integer"},"ql_sector_rank":{"type":"integer"},"ql_sector_total":{"type":"integer"},"trajectory_score":{"type":"number","description":"Growth trajectory score; present when ranked"},"trajectory_stage":{"type":"string"},"estimated_cagr_pct":{"type":"number"},"ql_rank_delta":{"type":"number","description":"Change in overall rank over the momentum window; present when history exists"},"ql_sector_rank_delta":{"type":"number"},"ql_trajectory_delta":{"type":"number"},"ql_rank_window_days":{"type":"integer"}},"required":["slug","name","sector","founders","investors","products","competitors","funding_history","revenue_history","recent_activities","tags","news_topics"]}}},"required":["count","filters","overlay_refreshed_at","track_record","timestamp","api_version","tier","companies"]},"GetPrivateCompaniesSlugResponse":{"type":"object","properties":{"timestamp":{"type":"string"},"api_version":{"type":"string"},"tier":{"type":"string"},"overlay_refreshed_at":{"type":["string","null"]},"track_record":{"type":["object","null"],"properties":{"model_version":{"type":"string"},"inception_date":{"type":["string","null"]},"updated_at":{"type":["string","null"]},"total_events":{"type":"integer"},"graded_directional":{"type":"integer"},"neutral_events":{"type":"integer"},"hits":{"type":"integer"},"hit_rate_pct":{"type":["number","null"]},"spearman_rank_ic":{"type":["number","null"]},"median_change_pct":{"type":["number","null"]},"by_tier":{"type":"array","items":{"type":"object"}},"recent_grades":{"type":"array","items":{"type":"object"},"description":"Five most recent graded repricing events"},"company_grades":{"type":"array","items":{"type":"object"},"description":"Graded events for the requested company; empty on the list endpoint"}},"description":"Trajectory-model grading record; company_grades holds this company's events"},"company":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"tagline":{"type":["string","null"]},"sector":{"type":"string"},"subsector":{"type":["string","null"]},"founded":{"type":["integer","string","null"]},"hq":{"type":["string","null"]},"country":{"type":["string","null"]},"employees":{"type":["integer","string","null"]},"ceo":{"type":["string","null"]},"founders":{"type":"array","items":{"type":"string"}},"website":{"type":["string","null"]},"logo_domain":{"type":["string","null"]},"logo_url":{"type":["string","null"]},"current_valuation_usd":{"type":["number","null"]},"valuation_as_of":{"type":["string","null"]},"valuation_source":{"type":["string","null"]},"leadership":{"type":["object","array","null"]},"leadership_refreshed_at":{"type":["string","null"]},"last_round":{"type":["object","string","null"],"description":"Most recent funding round"},"total_raised_usd":{"type":["number","null"]},"investors":{"type":"array","items":{"type":"string"}},"products":{"type":"array","items":{"type":"string"}},"competitors":{"type":"array","items":{"type":"string"}},"ipo_status":{"type":["string","null"]},"rumored_ipo_year":{"type":["integer","string","null"]},"revenue_record":{"type":"object","description":"Present only when a tracked revenue record exists"},"estimated_revenue_usd":{"type":["number","null"]},"estimated_revenue_as_of":{"type":["string","null"]},"growth_descriptor":{"type":["string","null"]},"funding_history":{"type":"array","items":{"type":"object"}},"revenue_history":{"type":"array","items":{"type":"object"}},"recent_activities":{"type":"array","items":{"type":"object"}},"funding_status":{"type":["string","null"]},"tags":{"type":"array","items":{"type":"string"}},"description":{"type":["string","null"]},"news_topics":{"type":"array","items":{"type":"string"}},"overlay_refreshed_at":{"type":["string","null"]},"ql_score":{"type":["number","null"],"description":"QL Score, 0 to 100"},"ql_score_band":{"type":["string","null"]},"ql_score_rank":{"type":["integer","null"]},"ql_rank_score":{"type":"number","description":"Present when the company is ranked"},"ql_rank_tier":{"type":"string","description":"S, A, B or C; present when ranked"},"ql_overall_rank":{"type":"integer","description":"Present when ranked"},"ql_overall_total":{"type":"integer"},"ql_sector_rank":{"type":"integer"},"ql_sector_total":{"type":"integer"},"trajectory_score":{"type":"number","description":"Growth trajectory score; present when ranked"},"trajectory_stage":{"type":"string"},"estimated_cagr_pct":{"type":"number"},"ql_rank_delta":{"type":"number","description":"Change in overall rank over the momentum window; present when history exists"},"ql_sector_rank_delta":{"type":"number"},"ql_trajectory_delta":{"type":"number"},"ql_rank_window_days":{"type":"integer"},"growth_trajectory_model":{"type":"object","description":"Full growth-trajectory model with pillar detail; other fields not listed here"}},"required":["slug","name","sector","founders","investors","products","competitors","funding_history","revenue_history","recent_activities","tags","news_topics"]},"dossier":{"type":["object","null"],"properties":{"version":{"type":"string"},"background":{"type":"object","description":"Narrative, leadership, board and milestones"},"fundraise":{"type":"object","description":"Rounds, investors, summary and matched SEC Form D filings"}},"description":"Only with ?include=dossier"}},"required":["timestamp","api_version","tier","overlay_refreshed_at","track_record","company"]},"GetPrivateCompaniesSearchResponse":{"type":"object","properties":{"timestamp":{"type":"string"},"api_version":{"type":"string"},"tier":{"type":"string"},"market":{"type":"string","description":"Always \"private\""},"query":{"type":"string"},"count":{"type":"integer"},"results":{"type":"array","items":{"type":"object","properties":{"document_id":{"type":"string"},"title":{"type":["string","null"]},"url":{"type":["string","null"]},"source":{"type":"string","description":"Source label, with outlet when known"},"source_type":{"type":"string"},"published_date":{"type":["string","null"]},"companies":{"type":"array","items":{"type":"string"},"description":"Company slugs the document is about"},"investors":{"type":"array","items":{"type":"string"},"description":"Investor slugs the document is about"},"tickers":{"type":"array","items":{"type":"string"},"description":"Present when the document is tagged with tickers"},"snippet":{"type":"string","description":"Best-matching excerpt"},"score":{"type":"number"},"relevance":{"type":"object","properties":{"score":{"type":"number"},"anchor_coverage":{"type":"number"},"reasons":{"type":"array","items":{"type":"string"}}}},"evidence":{"type":"object"}}}},"research":{"type":"object","properties":{"plan":{"type":"object"},"coverage":{"type":"object"},"facets":{"type":"object","properties":{"companies":{"type":"array","items":{"type":"string"}},"investors":{"type":"array","items":{"type":"string"}},"source_types":{"type":"array","items":{"type":"string"}}}},"valuation_observations":{"type":"array","items":{"type":"object","properties":{"document_id":{"type":"string"},"url":{"type":["string","null"]},"companies":{"type":"array","items":{"type":"string"}},"amount_usd":{"type":"number"},"as_of":{"type":["string","null"]},"basis":{"type":"string"},"caveat":{"type":"string"}}}},"follow_up_queries":{"type":"array","items":{"type":"object","properties":{"company":{"type":"string"},"query":{"type":"string"}}}},"interpretation":{"type":"string"},"next_checks":{"type":"array","items":{"type":"string"}}},"description":"Research context for the result set"},"charged_usd":{"type":"number","description":"0.5 when results were returned, otherwise 0"},"credits_charged":{"type":"integer","description":"AI credits charged; 0 when nothing matched"},"note":{"type":"string","description":"Only when nothing matched"}},"required":["timestamp","api_version","tier","market","query","count","results","charged_usd","credits_charged"]},"GetPublicMarketsSearchResponse":{"type":"object","properties":{"timestamp":{"type":"string"},"api_version":{"type":"string"},"tier":{"type":"string"},"market":{"type":"string","description":"Always \"public\""},"query":{"type":"string"},"count":{"type":"integer"},"results":{"type":"array","items":{"type":"object","properties":{"document_id":{"type":"string"},"title":{"type":["string","null"]},"url":{"type":["string","null"]},"source":{"type":"string","description":"Source label, with outlet when known"},"source_type":{"type":"string"},"published_date":{"type":["string","null"]},"companies":{"type":"array","items":{"type":"string"},"description":"Company slugs the document is about"},"investors":{"type":"array","items":{"type":"string"},"description":"Investor slugs the document is about"},"tickers":{"type":"array","items":{"type":"string"},"description":"Present when the document is tagged with tickers"},"snippet":{"type":"string","description":"Best-matching excerpt"},"score":{"type":"number"},"relevance":{"type":"object","properties":{"score":{"type":"number"},"anchor_coverage":{"type":"number"},"reasons":{"type":"array","items":{"type":"string"}}}},"evidence":{"type":"object"}}}},"charged_usd":{"type":"number","description":"0.5 when results were returned, otherwise 0"},"credits_charged":{"type":"integer","description":"AI credits charged; 0 when nothing matched"},"note":{"type":"string","description":"Only when nothing matched"}},"required":["timestamp","api_version","tier","market","query","count","results","charged_usd","credits_charged"]},"GetPrivateCompaniesComparablesResponse":{"type":"object","properties":{"timestamp":{"type":"string"},"api_version":{"type":"string"},"tier":{"type":"string"},"generated_at":{"type":["string","null"]},"overlay_refreshed_at":{"type":["string","null"]},"target":{"type":["object","null"],"properties":{"slug":{"type":"string"},"name":{"type":"string"},"sector":{"type":["string","null"]},"subsector":{"type":["string","null"]},"latest_revenue_usd":{"type":["number","null"]},"current_valuation_usd":{"type":["number","null"]},"last_round":{"type":["object","string","null"],"description":"Most recent funding round as recorded on the roster"}},"description":"The company comps are matched against; null when no slug resolves"},"filters":{"type":"object","properties":{"slug":{"type":["string","null"]},"sector":{"type":["string","null"]},"stage":{"type":["string","null"]},"arr_min":{"type":["number","null"]},"arr_max":{"type":["number","null"]},"limit":{"type":"integer"}},"description":"Filters as applied"},"count":{"type":"integer"},"comparable_rounds":{"type":"array","items":{"type":"object","properties":{"company_slug":{"type":"string"},"company_name":{"type":"string"},"sector":{"type":["string","null"]},"subsector":{"type":["string","null"]},"round":{"type":"string"},"stage":{"type":["string","null"]},"date":{"type":["string","null"]},"amount_usd":{"type":["number","null"]},"post_valuation_usd":{"type":["number","null"]},"lead_investor":{"type":["string","null"]},"source_record":{"type":"string","description":"funding_history or last_round"},"revenue_usd":{"type":["number","null"]},"revenue_period":{"type":["string","null"]},"valuation_to_revenue":{"type":["number","null"],"description":"Post-money valuation divided by revenue at the round"},"investors":{"type":"array","items":{"type":"string"}},"match_score":{"type":"number","description":"Similarity to the target and filters; higher is closer"}}},"description":"Funding rounds of other private companies, best match first (max 25)"},"sector_facets":{"type":"array","items":{"type":"object","properties":{"sector":{"type":"string"},"rounds":{"type":"integer"}}},"description":"Sectors with enough disclosed rounds to form a comp set"}},"required":["timestamp","api_version","tier","overlay_refreshed_at","target","filters","count","comparable_rounds","sector_facets"]},"GetPrivateCompaniesFinancialsResponse":{"type":"object","properties":{"timestamp":{"type":"string"},"api_version":{"type":"string"},"tier":{"type":"string"},"generated_at":{"type":["string","null"]},"overlay_refreshed_at":{"type":["string","null"]},"slug":{"type":"string"},"company":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"sector":{"type":["string","null"]},"subsector":{"type":["string","null"]}}},"dilution":{"type":["object","null"],"properties":{"rounds":{"type":"array","items":{"type":"object","properties":{"round":{"type":"string"},"date":{"type":["string","null"]},"type":{"type":"string","description":"primary or secondary"},"amount_usd":{"type":["number","null"]},"post_valuation_usd":{"type":["number","null"]},"lead_investor":{"type":["string","null"]},"dilutive":{"type":"boolean"},"implied_new_money_pct":{"type":["number","null"]},"cumulative_dilution_pct":{"type":["number","null"]},"early_holders_retained_pct":{"type":["number","null"]}}}},"early_holders_retained_pct_est":{"type":["number","null"]},"cumulative_dilution_pct_est":{"type":["number","null"]},"primary_raised_usd":{"type":["number","null"]},"secondary_volume_usd":{"type":["number","null"]},"primary_rounds_priced":{"type":"integer"},"complete":{"type":"boolean"},"note":{"type":"string"}},"description":"Implied dilution from disclosed rounds; null when the company has no round history"},"scorecard":{"type":["object","null"],"properties":{"current_valuation_usd":{"type":["number","null"]},"total_raised_usd":{"type":["number","null"]},"round_multiple":{"type":["number","null"],"description":"Current valuation divided by total raised"},"capital_efficiency_band":{"type":["string","null"]},"capital_efficiency_note":{"type":["string","null"]},"markup_multiple":{"type":["number","null"],"description":"Last priced post-money divided by first"},"valuation_cagr_pct":{"type":["number","null"]},"priced_rounds":{"type":"integer"},"avg_round_gap_months":{"type":["number","null"]},"last_round_age_months":{"type":["number","null"]},"cumulative_dilution_pct_est":{"type":["number","null"]},"early_holders_retained_pct_est":{"type":["number","null"]},"dilution_per_markup":{"type":["number","null"]},"note":{"type":"string"}}},"comp_bridge":{"type":"object","properties":{"available":{"type":"boolean"},"reason":{"type":"string","description":"Only when available is false and no comp basket exists"},"basis":{"type":["string","null"],"description":"How the peer basket was chosen: slug, subsector or sector"},"comp_tickers":{"type":"array","items":{"type":"string"}},"private_revenue":{"type":["object","null"],"properties":{"revenue_usd":{"type":"number"},"period":{"type":["string","null"]}}},"private_mark_usd":{"type":["number","null"]},"implied":{"type":["object","null"],"properties":{"revenue_usd":{"type":"number"},"comp_count":{"type":"integer"},"median_ps":{"type":"number"},"low_ps":{"type":"number"},"high_ps":{"type":"number"},"implied_valuation_median":{"type":"number"},"implied_valuation_low":{"type":"number"},"implied_valuation_high":{"type":"number"},"multiples":{"type":"array","items":{"type":"object","properties":{"ticker":{"type":"string"},"ps":{"type":"number"}}}}}},"comparison":{"type":["object","null"],"properties":{"private_mark_usd":{"type":["number","null"]},"implied_median_usd":{"type":"number"},"premium_pct":{"type":"number"},"read":{"type":"string","description":"premium_to_public, discount_to_public or in_line_with_public"}}},"note":{"type":"string"}},"required":["available"],"description":"Valuation implied by public peers' price-to-sales"}},"required":["timestamp","api_version","tier","overlay_refreshed_at","slug","company","dilution","scorecard","comp_bridge"]},"GetPrivateCompaniesIpoReadinessResponse":{"type":"object","properties":{"ok":{"type":"boolean"},"tool":{"type":"string","description":"Always \"ipo_readiness\""},"mode":{"type":"string","description":"single with ?slug=, ranked without"},"company":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"sector":{"type":["string","null"]},"current_valuation_usd":{"type":["number","null"]},"last_round":{"type":["object","string","null"],"description":"Most recent funding round as recorded on the roster"}},"description":"Only with ?slug="},"readiness":{"type":"object","properties":{"composite":{"type":"number","description":"Readiness score, 0 to 100"},"band":{"type":"string","description":"e.g. Near-term, Watch, Excluded"},"band_note":{"type":"string"},"timing_estimate":{"type":"string"},"confidence":{"type":"string","description":"high, medium or low"},"weights":{"type":"object","description":"Axis weights"},"terminal":{"type":"boolean","description":"Present and true when the company is acquired or defunct"},"axes":{"type":"object","properties":{"signal":{"type":"object","properties":{"axis":{"type":"string"},"score":{"type":"number"},"label":{"type":"string"},"confidence":{"type":"string","description":"high, medium or low"},"basis":{"type":"string"}}},"scale":{"type":"object","properties":{"axis":{"type":"string"},"score":{"type":"number"},"label":{"type":"string"},"confidence":{"type":"string","description":"high, medium or low"},"basis":{"type":"string"}}},"maturity":{"type":"object","properties":{"axis":{"type":"string"},"score":{"type":"number"},"label":{"type":"string"},"confidence":{"type":"string","description":"high, medium or low"},"basis":{"type":"string"}}},"growth":{"type":"object","properties":{"axis":{"type":"string"},"score":{"type":"number"},"label":{"type":"string"},"confidence":{"type":"string","description":"high, medium or low"},"basis":{"type":"string"}}},"liquidity":{"type":"object","properties":{"axis":{"type":"string"},"score":{"type":"number"},"label":{"type":"string"},"confidence":{"type":"string","description":"high, medium or low"},"basis":{"type":"string"}}}}}},"description":"Only with ?slug="},"universe":{"type":"integer","description":"Only without slug: companies considered"},"scored":{"type":"integer","description":"Only without slug"},"returned":{"type":"integer","description":"Only without slug"},"truncated":{"type":"boolean","description":"Only without slug"},"sector":{"type":["string","null"],"description":"Only without slug: sector filter applied"},"weights":{"type":"object","properties":{"signal":{"type":"number"},"scale":{"type":"number"},"maturity":{"type":"number"},"growth":{"type":"number"},"liquidity":{"type":"number"}},"description":"Only without slug"},"companies":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"sector":{"type":["string","null"]},"current_valuation_usd":{"type":["number","null"]},"last_round":{"type":["object","string","null"],"description":"Most recent funding round as recorded on the roster"},"composite":{"type":"number"},"band":{"type":"string"},"timing_estimate":{"type":"string"},"confidence":{"type":"string"}}},"description":"Only without slug: ranked by composite, up to 40"}},"required":["ok","tool","mode"]},"GetPrivateCompaniesQlScoreResponse":{"type":"object","properties":{"version":{"type":"string","description":"Score model version"},"license":{"type":"string","description":"Commercial-use terms"},"slug":{"type":["string","null"],"description":"Only with ?slug="},"name":{"type":["string","null"],"description":"Only with ?slug="},"score":{"type":"number","description":"Only with ?slug=: QL Score, 0 to 100"},"band":{"type":"string","description":"Only with ?slug="},"pillars":{"type":"object","properties":{"fundamentals":{"type":["object","null"],"properties":{"score":{"type":"number"},"lean":{"type":"string","description":"COMPELLING, WATCH or PASS"},"confidence":{"type":"string"}}},"trajectory":{"type":["object","null"],"properties":{"score":{"type":"number"},"band":{"type":"string"},"timing":{"type":"string"},"confidence":{"type":"string"}}},"momentum":{"type":["object","null"],"properties":{"score":{"type":"number"},"confidence":{"type":"string"},"parts":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"score":{"type":"number"},"detail":{"type":"string"}}}}}}},"description":"Only with ?slug=: a pillar is null when it has no data"},"coverage":{"type":"array","items":{"type":"string"},"description":"Only with ?slug=: pillars that contributed"},"confidence":{"type":"string","description":"Only with ?slug=: high, medium or low"},"weights":{"type":"object","properties":{"fundamentals":{"type":"number"},"trajectory":{"type":"number"},"momentum":{"type":"number"}},"description":"Only with ?slug="},"ql_score_rank":{"type":["integer","null"],"description":"Only with ?slug=: rank among scored companies"},"engine_rank":{"type":["integer","null"],"description":"Only with ?slug=: growth-engine overall rank"},"verify_url":{"type":"string","description":"Only with ?slug="},"badge_url":{"type":"string","description":"Only with ?slug="},"history_url":{"type":"string","description":"Only with ?slug="},"scored_companies":{"type":"integer","description":"Leaderboard only"},"top":{"type":"array","items":{"type":"object","properties":{"slug":{"type":["string","null"]},"name":{"type":["string","null"]},"score":{"type":"number"},"band":{"type":"string"},"confidence":{"type":"string"},"ql_score_rank":{"type":["integer","null"]},"engine_rank":{"type":["integer","null"]}}},"description":"Leaderboard only: highest scores first"},"calibration_url":{"type":"string","description":"Leaderboard only"},"methodology":{"type":"string","description":"Leaderboard only: methodology URL"}},"required":["version","license"]},"GetPrivateCompaniesLiquidityResponse":{"type":"object","properties":{"ok":{"type":"boolean"},"tool":{"type":"string","description":"Always \"private_liquidity\""},"mode":{"type":"string","description":"navigate with ?slug=, directory without"},"company":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"sector":{"type":["string","null"]},"current_valuation_usd":{"type":["number","null"]},"last_round":{"type":["object","string","null"],"description":"Most recent funding round as recorded on the roster"}},"description":"Only with ?slug="},"result":{"type":"object","properties":{"company":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"sector":{"type":["string","null"]},"logo_domain":{"type":["string","null"]},"valuation_usd":{"type":["number","null"]},"valuation_as_of":{"type":["string","null"]},"last_round":{"type":["object","string","null"],"description":"Most recent funding round as recorded on the roster"},"total_raised_usd":{"type":["number","null"]},"investor_count":{"type":"integer"},"ipo_status":{"type":["string","null"]}}},"regime":{"type":"object","description":"Modeled transfer policy","properties":{"regime":{"type":"string"},"label":{"type":"string"},"source":{"type":"string","description":"modeled or override"},"reasons":{"type":"array","items":{"type":"string"}}}},"eligibility":{"type":"object","description":"Whether the holding can be sold, with the checks behind the verdict"},"pricing":{"type":"object","description":"Expected clearing price against the last round"},"net_proceeds":{"type":["object","null"],"description":"Null when the holding cannot be sold"},"decision":{"type":["object","null"],"description":"Sell-versus-wait comparison; null when the holding cannot be sold"},"demand":{"type":"object","description":"Buyer-demand score with its drivers"},"timing":{"type":"object","description":"Expected execution timeline"},"routing":{"type":"object","description":"Suggested sale channels","properties":{"routes":{"type":"array","items":{"type":"object"}},"primary":{"type":"string"}}}},"description":"Only with ?slug=: sale options for a holder of the company's shares"},"universe":{"type":"integer","description":"Directory only: tracked companies"},"active_marks":{"type":"integer","description":"Directory only: companies with an active secondary mark"},"returned":{"type":"integer","description":"Directory only"},"truncated":{"type":"boolean","description":"Directory only"},"note":{"type":"string","description":"Directory only"},"companies":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"sector":{"type":["string","null"]},"valuation_usd":{"type":["number","null"]},"mark_active":{"type":"boolean"}}},"description":"Directory only: up to 40, largest valuation first"},"market_context_marks":{"type":["integer","null"],"description":"Directory only"}},"required":["ok","tool","mode"]},"GetPrivateCompaniesSpacesResponse":{"type":"object","properties":{"generated_at":{"type":"string"},"methodology":{"type":"string","description":"Plain-language description of how spaces are built and scored"},"web":{"type":"string","description":"Page URL for the board or the space"},"count":{"type":"integer","description":"Board only"},"universe":{"type":"object","properties":{"tracked":{"type":"integer"},"published_spaces":{"type":"integer"}},"description":"Board only"},"spaces":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"blurb":{"type":"string"},"companies":{"type":"integer","description":"Tracked companies in the space"},"combined_valuation_usd":{"type":["number","null"]},"capital_90d_usd":{"type":"number"},"deals_90d":{"type":"integer"},"capital_prior_90d_usd":{"type":"number"},"deals_prior_90d":{"type":"integer"},"capital_1y_usd":{"type":"number"},"deals_1y":{"type":"integer"},"new_entrants_1y":{"type":"integer"},"news_30d":{"type":"integer"},"secondary_marks":{"type":"integer"},"median_secondary_vs_round_pct":{"type":["number","null"]},"momentum":{"type":["number","null"],"description":"Momentum score, 0 to 100"},"momentum_band":{"type":"string","description":"Surging, Heating, Steady, Cooling or Unrated"},"momentum_basis":{"type":"integer","description":"Number of components the score was computed from"},"top_companies":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"valuation_usd":{"type":["number","null"]},"valuation_as_of":{"type":["string","null"]},"last_round_date":{"type":["string","null"]},"secondary_vs_round":{"type":["number","null"]}}},"description":"Top 5 companies by valuation"}}},"description":"Board only: spaces ranked by momentum"},"space":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"blurb":{"type":"string"},"companies":{"type":"integer","description":"Tracked companies in the space"},"combined_valuation_usd":{"type":["number","null"]},"capital_90d_usd":{"type":"number"},"deals_90d":{"type":"integer"},"capital_prior_90d_usd":{"type":"number"},"deals_prior_90d":{"type":"integer"},"capital_1y_usd":{"type":"number"},"deals_1y":{"type":"integer"},"new_entrants_1y":{"type":"integer"},"news_30d":{"type":"integer"},"secondary_marks":{"type":"integer"},"median_secondary_vs_round_pct":{"type":["number","null"]},"momentum":{"type":["number","null"],"description":"Momentum score, 0 to 100"},"momentum_band":{"type":"string","description":"Surging, Heating, Steady, Cooling or Unrated"},"momentum_basis":{"type":"integer","description":"Number of components the score was computed from"},"momentum_components":{"type":["object","null"],"properties":{"funding_acceleration":{"type":["number","null"]},"deal_velocity":{"type":["number","null"]},"news_heat":{"type":["number","null"]},"secondary_temp":{"type":["number","null"]}},"description":"Each component 0 to 100; null when not computable"},"trend":{"type":"array","items":{"type":"object","properties":{"quarter":{"type":"string"},"capital_usd":{"type":"number"},"deals":{"type":"integer"}}},"description":"Funding by quarter, last 8 quarters"},"top_companies":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"valuation_usd":{"type":["number","null"]},"valuation_as_of":{"type":["string","null"]},"last_round_date":{"type":["string","null"]},"secondary_vs_round":{"type":["number","null"]}}},"description":"Largest companies in the space by valuation"}},"description":"Only with ?space=: one space with momentum components and quarterly trend"}},"required":["generated_at","methodology","web"]},"GetPrivateCompaniesMarkTapeResponse":{"type":"object","properties":{"ok":{"type":"boolean","description":"False when the tape is unavailable; only product and error are then returned"},"product":{"type":"string","description":"Always \"ql_mark_tape\""},"error":{"type":"string","description":"Only when ok is false"},"generated_at":{"type":"string"},"summary":{"type":"object","properties":{"companies":{"type":"integer"},"matched_to_roster":{"type":"integer"},"funds":{"type":"integer"},"managers":{"type":"integer"},"filings":{"type":"integer"},"positions":{"type":"integer"},"disclosed_value_usd":{"type":"number"},"latest_report_date":{"type":["string","null"]},"earliest_report_date":{"type":["string","null"]},"remarked_companies":{"type":"integer"},"markups":{"type":"integer"},"markdowns":{"type":"integer"},"unchanged":{"type":"integer"},"with_dispersion":{"type":"integer"},"with_implied_valuation":{"type":"integer"}}},"methodology":{"type":"object","description":"Named notes on source, filters and how each figure is computed"},"inputs":{"type":"object","properties":{"harvested_at":{"type":["string","null"]},"roster_companies":{"type":"integer"},"roster_generated_at":{"type":["string","null"]},"pc_overlay_refreshed_at":{"type":["string","null"]},"harvest_errors":{"type":["integer","null"]},"funds_harvested":{"type":["integer","null"]}}},"api_version":{"type":"string"},"tier":{"type":"string"},"filters":{"type":"object","properties":{"sort":{"type":"string"},"slug":{"type":["string","null"]},"min_holders":{"type":["integer","null"]},"roster_only":{"type":"boolean"},"limit":{"type":["integer","null"]}}},"returned":{"type":"integer"},"truncated":{"type":"boolean"},"rows":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"slug":{"type":["string","null"],"description":"Roster slug; null when the company is not on the roster"},"name":{"type":"string"},"sector":{"type":["string","null"]},"as_of":{"type":"string","description":"Latest fund report date"},"as_of_earliest_fund":{"type":"string"},"mark_pps":{"type":["number","null"],"description":"Headline mark, USD per share"},"avg_mark_pps":{"type":["number","null"]},"avg_mark_managers":{"type":"integer"},"mark_class":{"type":["string","null"]},"mark_spread_pct":{"type":["number","null"]},"class_count":{"type":"integer"},"remark_pct":{"type":["number","null"],"description":"Matched-basis change vs the prior quarter, percent"},"remark_basis":{"type":"integer","description":"Number of matched positions behind remark_pct"},"remark_outlier_only":{"type":"boolean"},"matched_marks":{"type":"array","items":{"type":"object"}},"holders":{"type":"array","items":{"type":"object"}},"holder_count":{"type":"integer"},"fund_count":{"type":"integer"},"total_value_usd":{"type":"number"},"series_ladder":{"type":"array","items":{"type":"object","properties":{"series":{"type":["string","null"]},"pps":{"type":"number"},"instrument":{"type":"string"},"funds":{"type":"integer"}}}},"dispersion":{"type":["object","null"],"description":"Cross-manager spread on the same share class"},"quarters":{"type":"integer"},"history":{"type":"array","items":{"type":"object","properties":{"as_of":{"type":"string"},"pps":{"type":"number"},"funds":{"type":"integer"}}}},"non_equity":{"type":"array","items":{"type":"object","properties":{"instrument":{"type":"string"},"series":{"type":["string","null"]},"as_of":{"type":"string"},"pps":{"type":"number"}}}},"implied":{"type":"object","description":"Implied company valuation; roster companies only, when computable"}}}}},"required":["ok","product"]},"GetPrivateCompaniesSecondaryTapeResponse":{"type":"object","properties":{"ok":{"type":"boolean","description":"False when the tape is unavailable; only reason or error, and an empty rows, are then returned"},"reason":{"type":"string","description":"Only when ok is false"},"product":{"type":"string","description":"Only when ok is false"},"error":{"type":"string","description":"Only when ok is false"},"api_version":{"type":"string"},"tier":{"type":"string"},"schema_version":{"type":"integer"},"summary":{"type":"object","properties":{"companies":{"type":"integer"},"prints_total":{"type":"integer"},"by_kind":{"type":"object","additionalProperties":{"type":"integer"},"description":"Print count per kind"},"by_confidence":{"type":"object","additionalProperties":{"type":"integer"},"description":"Print count per confidence level"},"median_vs_anchor_pct":{"type":["number","null"]},"compared":{"type":"integer","description":"Companies with a print comparable to the last round"},"sources":{"type":"integer"},"freshest_date":{"type":["string","null"]},"unmatched_prints":{"type":"integer"},"unmatched_slugs":{"type":"array","items":{"type":"string"}},"rejection_counts":{"type":"object","additionalProperties":{"type":"integer"},"description":"Rejected prints per reason"}}},"row":{"type":"object","description":"Only with ?slug=; same fields as one item of rows"},"rows":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"sector":{"type":["string","null"]},"logo_domain":{"type":["string","null"]},"anchor_valuation_usd":{"type":["number","null"],"description":"Last disclosed round valuation"},"print_count":{"type":"integer"},"kinds":{"type":"array","items":{"type":"string"}},"best":{"type":"object","properties":{"slug":{"type":"string"},"date":{"type":"string"},"kind":{"type":"string","description":"tender, block, indication or authorized_secondary"},"confidence":{"type":"string","description":"disclosed, reported or indicative"},"price_per_share_usd":{"type":["number","null"]},"implied_valuation_usd":{"type":["number","null"]},"size_usd":{"type":["number","null"]},"source":{"type":"string"},"source_url":{"type":"string"},"note":{"type":["string","null"]}},"description":"The print used for the headline valuation"},"implied_valuation_usd":{"type":["number","null"]},"vs_anchor_pct":{"type":["number","null"],"description":"Implied valuation vs the last round, percent"},"comparability":{"type":"string","description":"in_band, outside_band, no_valuation_print or no_anchor"},"freshness_days":{"type":["number","null"],"description":"Days since the newest print"},"prints":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"date":{"type":"string"},"kind":{"type":"string","description":"tender, block, indication or authorized_secondary"},"confidence":{"type":"string","description":"disclosed, reported or indicative"},"price_per_share_usd":{"type":["number","null"]},"implied_valuation_usd":{"type":["number","null"]},"size_usd":{"type":["number","null"]},"source":{"type":"string"},"source_url":{"type":"string"},"note":{"type":["string","null"]}}}}}},"description":"Board only; one row per company"},"filters":{"type":"object","properties":{"sort":{"type":"string"},"kind":{"type":["string","null"]},"confidence":{"type":["string","null"]},"from_month":{"type":["string","null"],"description":"YYYY-MM"},"to_month":{"type":["string","null"],"description":"YYYY-MM"},"slug":{"type":["string","null"]},"limit":{"type":["integer","null"],"description":"Null when all rows were requested"}},"description":"Board only"},"returned":{"type":"integer","description":"Board only"},"truncated":{"type":"boolean","description":"Board only"},"seed_generated_at":{"type":["string","null"],"description":"Board only; date of the curated print set"},"overlay_prints":{"type":"integer","description":"Board only; additional prints merged into the tape"}},"required":["ok"]},"GetPrivateCompaniesStakeMapResponse":{"type":"object","properties":{"ok":{"type":"boolean","description":"False when the map is unavailable; only reason and an empty rows are then returned"},"reason":{"type":"string","description":"Only when ok is false"},"api_version":{"type":"string"},"tier":{"type":"string"},"schema_version":{"type":"integer"},"methodology":{"type":"object","properties":{"inclusion":{"type":"string"},"estimate":{"type":"string"},"exposure":{"type":"string"},"absence":{"type":"string"},"no_llm":{"type":"string"}}},"summary":{"type":"object","properties":{"companies":{"type":"integer"},"stakes_total":{"type":"integer"},"holders_unique":{"type":"integer"},"by_kind":{"type":"object","additionalProperties":{"type":"integer"},"description":"Stake count per kind"},"est_total_usd":{"type":["number","null"]},"with_exposure_math":{"type":"integer"},"unmatched_stakes":{"type":"integer"},"unmatched_slugs":{"type":"array","items":{"type":"string"}},"rejection_counts":{"type":"object","additionalProperties":{"type":"integer"},"description":"Rejected stakes per reason"}}},"row":{"type":"object","description":"Only with ?slug=; same fields as one item of rows"},"holders":{"type":"array","items":{"type":"object","properties":{"holder_ticker":{"type":"string"},"holder_name":{"type":"string"},"holder_exchange":{"type":["string","null"]},"holder_market_cap_usd":{"type":["number","null"]},"positions":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"sector":{"type":["string","null"]},"kind":{"type":"string"},"stake_pct":{"type":["number","null"]},"est_value_usd":{"type":["number","null"]},"est_basis":{"type":"string"},"as_of":{"type":"string"},"relationship":{"type":"string"},"source_url":{"type":"string"}}}},"positions_count":{"type":"integer"},"unsized_positions":{"type":"integer"},"est_total_usd":{"type":["number","null"]},"pct_of_market_cap":{"type":["number","null"]}}},"description":"Only with ?view=holders; one entry per public holder"},"rows":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"sector":{"type":["string","null"]},"logo_domain":{"type":["string","null"]},"anchor_valuation_usd":{"type":["number","null"]},"holder_count":{"type":"integer"},"holder_tickers":{"type":"array","items":{"type":"string"}},"public_backing_usd":{"type":["number","null"],"description":"Sum of estimated stake values"},"unsized_holders":{"type":"integer"},"freshest_as_of":{"type":["string","null"]},"holders":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"holder_ticker":{"type":"string"},"holder_name":{"type":"string"},"holder_exchange":{"type":["string","null"]},"kind":{"type":"string","description":"disclosed or reported"},"relationship":{"type":"string"},"stake_pct":{"type":["number","null"]},"stake_value_usd":{"type":["number","null"]},"invested_usd":{"type":["number","null"]},"as_of":{"type":"string"},"source_url":{"type":"string"},"source_note":{"type":["string","null"]},"est_value_usd":{"type":["number","null"],"description":"Estimated current value of the stake"},"est_basis":{"type":"string","description":"stated_value, pct_x_anchor, invested_only or undisclosed"},"holder_market_cap_usd":{"type":["number","null"]},"pct_of_holder":{"type":["number","null"],"description":"Stake value as a percent of the holder market cap"},"exposure_per_10k_usd":{"type":["number","null"],"description":"Private exposure per $10,000 of the holder stock"},"as_of_days":{"type":["number","null"]}}}}}},"description":"Board only; one row per private company"},"seed_generated_at":{"type":["string","null"],"description":"Board only"},"filters":{"type":"object","properties":{"sort":{"type":"string","description":"value (default), holders or fresh"},"limit":{"type":["integer","null"],"description":"Null when all rows were requested"}},"description":"Board only"},"returned":{"type":"integer","description":"Board only"},"truncated":{"type":"boolean","description":"Board only"}},"required":["ok"]},"GetPrivateCompaniesMarksResponse":{"type":"object","properties":{"ok":{"type":"boolean","description":"False when the board is unavailable; only product and error are then guaranteed"},"product":{"type":"string","description":"Always \"ql_private_marks\""},"error":{"type":"string","description":"Only when ok is false"},"generated_at":{"type":"string"},"summary":{"type":"object","properties":{"covered":{"type":"integer"},"evidence_backed":{"type":"integer"},"round_anchored_only":{"type":"integer"},"median_vs_anchor_pct":{"type":["number","null"]},"comps_excluded_implausible":{"type":"integer"},"verdicts":{"type":"object","properties":{"marked_up":{"type":"integer"},"marked_down":{"type":"integer"},"in_line":{"type":"integer"},"round_anchored":{"type":"integer"}}},"confidence":{"type":"object","properties":{"high":{"type":"integer"},"medium":{"type":"integer"},"low":{"type":"integer"}}}}},"returned":{"type":"integer"},"truncated":{"type":"boolean"},"rows":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"sector":{"type":["string","null"]},"ipo_status":{"type":["string","null"]},"anchor_valuation_usd":{"type":"number","description":"Last disclosed round valuation"},"anchor_as_of":{"type":["string","null"]},"ql_mark_usd":{"type":"number","description":"Model-marked valuation"},"vs_anchor_pct":{"type":"number"},"confidence":{"type":"string","description":"high, medium or low"},"mark_basis":{"type":"string","description":"blended, secondary_led, comps_led or round_anchored"},"dispersion_pct":{"type":"number"},"comps_excluded_implausible":{"type":"boolean"},"components":{"type":"array","items":{"type":"object","properties":{"leg":{"type":"string","description":"primary, secondary or comps"},"value_usd":{"type":"number"},"as_of":{"type":["string","null"]},"age_days":{"type":["number","null"]},"weight":{"type":"number"},"vs_last_round_pct":{"type":["number","null"],"description":"Secondary leg only"},"open_interest":{"type":["number","null"],"description":"Secondary leg only"},"basis":{"type":["string","null"],"description":"Comps leg only"},"comp_count":{"type":["number","null"],"description":"Comps leg only"}}},"description":"Evidence legs behind the mark"}}}},"methodology":{"type":"object","properties":{"what_this_is":{"type":"string"},"weights":{"type":"string"},"secondary_leg":{"type":"string"},"round_anchored":{"type":"string"},"no_anchor":{"type":"string"},"confidence":{"type":"string"},"disclaimer":{"type":"string"}}},"inputs":{"type":"object","properties":{"roster_generated_at":{"type":["string","null"]},"pc_overlay_refreshed_at":{"type":["string","null"]},"secondary_overlay_as_of":{"type":["string","null"]},"secondary_rows":{"type":"integer"},"comps_covered":{"type":"integer"},"ps_tickers":{"type":"integer"}}},"api_version":{"type":"string"},"tier":{"type":"string"},"filters":{"type":"object","properties":{"confidence":{"type":["string","null"]},"basis":{"type":["string","null"]},"limit":{"type":["integer","null"]}}}},"required":["ok","product"]},"GetPrivatePriceResponse":{"type":"object","properties":{"ok":{"type":"boolean","description":"False when no price is available; error (and sometimes reason) are then returned"},"product":{"type":"string"},"generated_at":{"type":"string"},"error":{"type":"string","description":"Only when ok is false, e.g. no_price or temporarily_unavailable"},"reason":{"type":"string","description":"Only when ok is false with ?slug="},"slug":{"type":"string","description":"Only when ok is false with ?slug="},"price":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"sector":{"type":["string","null"]},"ipo_status":{"type":["string","null"]},"as_of":{"type":"string","description":"Publication date, YYYY-MM-DD"},"ql_price_usd":{"type":"number","description":"QuantLogix valuation estimate, USD"},"last_round_usd":{"type":["number","null"]},"last_round_as_of":{"type":["string","null"]},"vs_last_round_pct":{"type":["number","null"]},"claim":{"type":"string","description":"marked_up, marked_down, in_line or round_anchored"},"confidence":{"type":"string","description":"high, medium or low"},"mark_basis":{"type":"string","description":"blended, secondary_led, comps_led or round_anchored"},"dispersion_pct":{"type":["number","null"]},"extreme_repricing":{"type":"boolean"},"price_id":{"type":"string","description":"Stable identifier for citing this exact price"},"evidence":{"type":"array","items":{"type":"object"}}},"description":"Only with ?slug="},"history":{"type":"array","items":{"type":"object","properties":{"published_at":{"type":"string"},"ql_price_usd":{"type":"number"},"confidence":{"type":"string"},"mark_basis":{"type":"string"}}},"description":"Only with ?slug=; previously published prices"},"track_record":{"type":"object","properties":{"grades":{"type":"array","items":{"type":"object"},"description":"Same fields as the items of grades"},"summary":{"type":"object","description":"Same fields as accuracy"}},"description":"Only with ?slug="},"methodology":{"type":"object","additionalProperties":{"type":"string"},"description":"Named plain-language notes on how prices and grades are produced"},"series_write":{"type":["object","null"],"description":"Counts of price points recorded by this request; null when none were"},"summary":{"type":"object","properties":{"priced":{"type":"integer"},"evidence_backed":{"type":"integer"},"claims_live":{"type":"integer"},"extreme_repricings":{"type":"integer"},"series_slugs":{"type":"integer"},"series_updated_at":{"type":["string","null"]}},"description":"Board only"},"accuracy":{"type":"object","properties":{"graded":{"type":"integer"},"resolved":{"type":"integer"},"pushes":{"type":"integer"},"hits":{"type":"integer"},"misses":{"type":"integer"},"hit_rate_pct":{"type":["number","null"]},"beat_last_round":{"type":"integer"},"beat_last_round_pct":{"type":["number","null"]},"median_error_pct":{"type":["number","null"]},"median_baseline_error_pct":{"type":["number","null"]},"median_lead_days":{"type":["number","null"]},"sample_ok":{"type":"boolean"}},"description":"Board only; graded track record across all companies"},"watchlist":{"type":"object","properties":{"pending":{"type":"integer"},"already_resolved":{"type":"integer"},"rows":{"type":"array","items":{"type":"object"}}},"description":"Board only; open directional claims"},"skips":{"type":"object","additionalProperties":{"type":"integer"},"description":"Board only; rounds left ungraded, counted per reason"},"skip_reasons":{"type":"object","additionalProperties":{"type":"string"},"description":"Board only; explanation of each skip reason"},"grades":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"sector":{"type":["string","null"]},"published_at":{"type":"string"},"lead_days":{"type":"integer","description":"Days between the published price and the round"},"ql_price_usd":{"type":"number"},"anchor_usd":{"type":"number"},"confidence":{"type":"string"},"mark_basis":{"type":"string"},"claim":{"type":"string","description":"marked_up or marked_down"},"round":{"type":["string","null"]},"round_date":{"type":["string","null"]},"revealed_post_usd":{"type":"number","description":"Post-money valuation of the later round"},"revealed_vs_anchor_pct":{"type":["number","null"]},"verdict":{"type":"string","description":"hit, miss or push"},"error_pct":{"type":["number","null"]},"baseline_error_pct":{"type":["number","null"],"description":"Error of simply quoting the last round"},"beat_last_round":{"type":["boolean","null"]}}},"description":"Board only; up to 100 most recent resolutions"},"rows":{"type":"array","items":{"type":"object"},"description":"Board only; one price record per company, same fields as price"},"returned":{"type":"integer","description":"Board only"},"truncated":{"type":"boolean","description":"Board only"},"filters":{"type":"object","properties":{"confidence":{"type":["string","null"]},"basis":{"type":["string","null"]}},"description":"Board only"},"inputs":{"type":["object","null"],"properties":{"roster_generated_at":{"type":["string","null"]},"pc_overlay_refreshed_at":{"type":["string","null"]},"secondary_overlay_as_of":{"type":["string","null"]},"secondary_rows":{"type":"integer"},"comps_covered":{"type":"integer"},"ps_tickers":{"type":"integer"}},"description":"Board only; freshness of the inputs"}},"required":["ok","product"]},"GetDatasetsResponse":{"type":"object","properties":{"ok":{"type":"boolean"},"product":{"type":"string"},"generated_at":{"type":"string","description":"Catalog only"},"datasets":{"type":"array","items":{"type":"object","properties":{"dataset":{"type":"string","description":"Dataset slug"},"title":{"type":"string"},"version":{"type":["string","null"],"description":"Capture date, YYYY-MM-DD"},"captured_at":{"type":["string","null"]},"sha256":{"type":["string","null"]},"rows":{"type":"integer","description":"Row count"},"bytes":{"type":"integer"},"columns":{"type":"array","items":{"type":"string"}},"tier":{"type":"string","description":"Minimum plan for full rows"},"cadence":{"type":"string"},"source_generated":{"type":["string","null"]},"formats":{"type":"array","items":{"type":"string"}},"live_href":{"type":["string","null"]},"verify":{"type":"object","properties":{"how":{"type":"string"},"chain_url":{"type":"string"}}},"description":{"type":"string"},"age_hours":{"type":["number","null"]},"sample":{"type":"array","items":{"type":"object"},"description":"First rows of the latest version"},"data_url":{"type":"string"},"analytics":{"type":["object","null"],"description":"Distribution statistics; same shape as the top-level analytics"},"note":{"type":"string","description":"Only when the dataset has no version yet"}}},"description":"Catalog only (no ?dataset=); one manifest per dataset"},"versions_available":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string"},"manifest_sha256":{"type":["string","null"]}}},"description":"Catalog only; archived days"},"docs_url":{"type":"string","description":"Catalog only"},"auth":{"type":"string","description":"Catalog only; who may read what"},"manifest":{"type":"object","properties":{"dataset":{"type":"string","description":"Dataset slug"},"title":{"type":"string"},"version":{"type":["string","null"],"description":"Capture date, YYYY-MM-DD"},"captured_at":{"type":["string","null"]},"sha256":{"type":["string","null"]},"rows":{"type":"integer","description":"Row count"},"bytes":{"type":"integer"},"columns":{"type":"array","items":{"type":"string"}},"tier":{"type":"string","description":"Minimum plan for full rows"},"cadence":{"type":"string"},"source_generated":{"type":["string","null"]},"formats":{"type":"array","items":{"type":"string"}},"live_href":{"type":["string","null"]},"verify":{"type":"object","properties":{"how":{"type":"string"},"chain_url":{"type":"string"}}}},"description":"Only with ?dataset="},"description":{"type":"string","description":"Only with ?dataset= and no data=1"},"versions":{"type":"array","items":{"type":"object","properties":{"version":{"type":"string"},"sha256":{"type":["string","null"]}}},"description":"Only with ?dataset= and no data=1"},"analytics":{"type":"object","description":"Only with ?dataset= and no data=1; statistics, further blocks vary by dataset","properties":{"dataset":{"type":"string"},"version":{"type":["string","null"]},"identities":{"type":"boolean","description":"Whether individual rows are named in the statistics"},"top":{"type":["array","null"],"items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"value":{"type":"number"}}}},"drift":{"type":"object","properties":{"from_version":{"type":"string"},"to_version":{"type":"string"},"counts":{"type":"object","properties":{"added":{"type":"integer"},"removed":{"type":"integer"},"changed":{"type":"integer"},"unchanged":{"type":"integer"}}},"movers":{"type":["array","null"],"items":{"type":"object","properties":{"id":{"type":"string"},"fields":{"type":"array","items":{"type":"string"}}}}},"entered":{"type":["array","null"],"items":{"type":"string"}},"left":{"type":["array","null"],"items":{"type":"string"}}},"description":"Changes since the previous version"}}},"data_url":{"type":"string","description":"Only with ?dataset= and no data=1"},"api_version":{"type":"string","description":"Only with data=1"},"tier":{"type":"string","description":"Only with data=1"},"meta":{"type":["object","null"],"description":"Only with data=1; capture metadata of the version"},"rows":{"type":"array","items":{"type":"object"},"description":"Only with data=1; keys are the manifest columns"}},"required":["ok","product"]},"GetInvestorsListResponse":{"type":"object","properties":{"count":{"type":"integer"},"filters":{"type":"object","properties":{"firm_type":{"type":["string","null"]},"q":{"type":["string","null"]},"sort":{"type":"string"},"limit":{"type":"integer"}}},"generated_at":{"type":["string","null"]},"as_of_disclaimer":{"type":["string","null"]},"overlay_refreshed_at":{"type":["string","null"]},"timestamp":{"type":"string"},"api_version":{"type":"string"},"tier":{"type":"string"},"investors":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"short_name":{"type":["string","null"]},"tagline":{"type":["string","null"]},"firm_type":{"type":["string","null"]},"subtype":{"type":["string","null"]},"founded":{"type":["integer","null"],"description":"Year founded"},"hq":{"type":["string","null"]},"country":{"type":["string","null"]},"geo_focus":{"type":["array","string","null"],"items":{"type":"string"}},"website":{"type":["string","null"]},"logo_domain":{"type":["string","null"]},"logo_url":{"type":["string","null"]},"aum_usd":{"type":["number","null"]},"aum_as_of":{"type":["string","null"]},"dry_powder_usd":{"type":["number","null"]},"active_fund":{"type":["object","null"],"description":"Most recent fund"},"stage_focus":{"type":"array","items":{"type":"string"}},"sector_focus":{"type":"array","items":{"type":"string"}},"notable_partners":{"type":"array","items":{"type":"string"}},"notable_portfolio":{"type":"array","items":{"type":"string"}},"portfolio_companies":{"type":"array","items":{"type":"object"}},"portfolio_refreshed_at":{"type":["string","null"]},"portfolio_source":{"type":["string","null"]},"portfolio_count":{"type":["integer","null"]},"exits_highlight":{"type":"array","items":{"type":"string"}},"recent_investments":{"type":"array","items":{"type":"object"}},"description":{"type":["string","null"]},"tags":{"type":"array","items":{"type":"string"}},"news_topics":{"type":"array","items":{"type":"string"}},"overlay_refreshed_at":{"type":["string","null"]}}}}},"required":["count","filters","timestamp","api_version","tier","investors"]},"GetInvestorsFitResponse":{"type":"object","properties":{"ok":{"type":"boolean"},"tool":{"type":"string","description":"Always \"investor_fit\""},"company":{"type":"object","description":"The profile that was matched; only the fields supplied in the query appear","properties":{"sector":{"type":"string"},"stage":{"type":"string"},"geo":{"type":"string"},"raising_usd":{"type":"number","description":"Round size being raised, USD"}}},"result":{"type":"array","description":"Investors ranked best fit first (limit 1-24, default 12)","items":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"short_name":{"type":["string","null"]},"firm_type":{"type":["string","null"]},"hq":{"type":["string","null"]},"logo_domain":{"type":["string","null"],"description":"Domain usable for a logo lookup"},"sector_focus":{"type":"array","items":{"type":"string"}},"stage_focus":{"type":"array","items":{"type":"string"}},"notable_portfolio":{"type":"array","description":"Up to 4 portfolio company slugs","items":{"type":"string"}},"score":{"type":"number","description":"Fit score; higher is a better match"},"fit_reasons":{"type":"array","description":"Plain-language reasons behind the score","items":{"type":"string"}}}}}},"required":["ok","tool","company","result"]},"GetAssistantResponse":{"type":"object","properties":{"ok":{"type":"boolean"},"tools":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Value to send as \"tool\" on POST"},"description":{"type":"string"},"input_schema":{"type":"object","description":"JSON Schema of the tool input"},"write_control":{"type":"string","enum":["read","allow_writes_required","action-dependent"],"description":"Whether POST needs allow_writes:true for this tool"}},"required":["name","write_control"]}},"google_read_actions":{"type":"array","description":"google_assistant actions that are reads and need no allow_writes","items":{"type":"string"}},"research":{"type":"object","description":"Paths of the agent endpoints used for research runs","properties":{"create":{"type":"string"},"start":{"type":"string"},"results":{"type":"string"}}},"api_version":{"type":"string"}},"required":["ok","tools","google_read_actions","research","api_version"]},"PostAssistantResponse":{"type":"object","properties":{"ok":{"type":"boolean","description":"Always true on 200"},"tool":{"type":"string","description":"Name of the tool that ran"},"result":{"type":"object","description":"Tool-specific result; shape depends on the tool"},"evidence":{"type":"string","description":"The result as JSON text inside begin/end untrusted-evidence markers, for passing to a model"},"api_version":{"type":"string"}},"required":["ok","tool","result","evidence","api_version"]},"GetCollabResponse":{"type":"object","properties":{"item_ref":{"type":"string","description":"The document reference, e.g. sheet:<uuid>"},"title":{"type":["string","null"],"description":"Document title"},"updated_at":{"type":["string","null"],"description":"Last change time of the document"},"sheet":{"type":"string","description":"Sheet refs: tab name"},"sheet_id":{"type":"string","description":"Sheet refs: tab id"},"range":{"type":"string","description":"Sheet refs: the A1 range actually read, with tab name"},"rows":{"type":"array","items":{"type":"array","items":{"type":["string","number","boolean"]}},"description":"Sheet refs: cell values; formula cells read as \"=...\" text"},"values":{"type":"array","items":{"type":"array","items":{"type":["string","number","boolean"]}},"description":"Sheet refs: computed values, including for formula cells"},"formulas":{"type":"array","items":{"type":"array","items":{"type":["string","null"]}},"description":"Sheet refs: formula text per cell, null where the cell has none"},"row_count":{"type":"integer","description":"Sheet refs: number of rows returned (excludes the header row with header=1)"},"col_count":{"type":"integer","description":"Sheet refs"},"header":{"type":"array","description":"Sheet refs with header=1: first row as column names","items":{"type":"string"}},"records":{"type":"array","description":"Sheet refs with header=1: one object per row keyed by header","items":{"type":"object"}},"sections":{"type":"array","description":"Note refs without section: the headings in the note","items":{"type":"object","properties":{"heading":{"type":"string"},"level":{"type":"integer","description":"Heading level 1-6"},"slug":{"type":"string"},"chars":{"type":"integer","description":"Length of the section body"}}}},"heading":{"type":"string","description":"Note refs with section, deck refs with slide"},"level":{"type":"integer","description":"Note refs with section: heading level 1-6"},"slug":{"type":"string","description":"Note refs with section"},"body":{"type":"string","description":"Note section text below its heading, or slide text without speaker notes"},"markdown":{"type":"string","description":"Note section (with heading) or slide, as markdown"},"pins":{"type":"object","description":"Note section or slide: price pins keyed by ticker","additionalProperties":{"type":"object"}},"theme":{"type":"string","description":"Deck refs"},"total_slides":{"type":"integer","description":"Deck refs"},"slides":{"type":"array","description":"Deck refs without slide: outline of every slide","items":{"type":"object","properties":{"slide":{"type":"integer","description":"1-based slide number"},"heading":{"type":"string"},"chars":{"type":"integer"},"has_notes":{"type":"boolean"}}}},"slide":{"type":"integer","description":"Deck refs with slide: 1-based slide number"},"speaker_notes":{"type":"string","description":"Deck refs with slide"}},"required":["item_ref","title","updated_at"]},"PutCollabResponse":{"type":"object","properties":{"item_ref":{"type":"string","description":"The document reference that was written"},"updated_at":{"type":"string","description":"New last-change time of the document"},"written":{"type":"object","description":"Sheet writes only","properties":{"range":{"type":"string","description":"A1 range written, with tab name"},"cells":{"type":"integer","description":"Number of cells written or cleared"}}},"heading":{"type":"string","description":"Note writes only: heading of the section written"},"created":{"type":"boolean","description":"Note writes only: true when the section did not exist and was added"},"mode":{"type":"string","description":"Note writes: append, prepend or replace. Deck writes: replace, insert, append or delete"},"slide":{"type":"integer","description":"Deck writes only: 1-based number of the slide written"},"total_slides":{"type":"integer","description":"Deck writes only"}},"required":["item_ref","updated_at"]},"GetCrmContactsResponse":{"type":"object","properties":{"contacts":{"type":"array","description":"List mode (no id): most recently updated first","items":{"type":"object","properties":{"id":{"type":"string","description":"Contact id (uuid)"},"owner_user_id":{"type":"string","description":"Account that owns the contact"},"org_id":{"type":["string","null"],"description":"Team the contact is shared with, if any"},"name":{"type":"string"},"email":{"type":["string","null"]},"phone":{"type":["string","null"]},"company":{"type":["string","null"]},"title":{"type":["string","null"]},"handle":{"type":["string","null"]},"channel_url":{"type":["string","null"]},"category":{"type":"string","description":"lead, prospect, customer, partner or other"},"status":{"type":"string","description":"new, contacted, qualified, proposal, won or lost"},"notes":{"type":["string","null"]},"tags":{"type":"array","items":{"type":"string"}},"est_deal_value_usd":{"type":["number","null"]},"last_contacted_at":{"type":["string","null"]},"next_followup_at":{"type":["string","null"]},"source":{"type":"string","description":"manual, ai or import"},"ticker":{"type":["string","null"],"description":"Linked public ticker"},"private_company_slug":{"type":["string","null"]},"investor_slug":{"type":["string","null"]},"attrs":{"type":"object","description":"Custom field values"},"created_at":{"type":"string"},"updated_at":{"type":"string"}}}},"count":{"type":"integer","description":"List mode: number of contacts in this response"},"cap":{"type":["integer","null"],"description":"List mode: contact limit of the plan; null when unlimited"},"contact":{"type":"object","description":"Only with ?id=","properties":{"id":{"type":"string","description":"Contact id (uuid)"},"owner_user_id":{"type":"string","description":"Account that owns the contact"},"org_id":{"type":["string","null"],"description":"Team the contact is shared with, if any"},"name":{"type":"string"},"email":{"type":["string","null"]},"phone":{"type":["string","null"]},"company":{"type":["string","null"]},"title":{"type":["string","null"]},"handle":{"type":["string","null"]},"channel_url":{"type":["string","null"]},"category":{"type":"string","description":"lead, prospect, customer, partner or other"},"status":{"type":"string","description":"new, contacted, qualified, proposal, won or lost"},"notes":{"type":["string","null"]},"tags":{"type":"array","items":{"type":"string"}},"est_deal_value_usd":{"type":["number","null"]},"last_contacted_at":{"type":["string","null"]},"next_followup_at":{"type":["string","null"]},"source":{"type":"string","description":"manual, ai or import"},"ticker":{"type":["string","null"],"description":"Linked public ticker"},"private_company_slug":{"type":["string","null"]},"investor_slug":{"type":["string","null"]},"attrs":{"type":"object","description":"Custom field values"},"created_at":{"type":"string"},"updated_at":{"type":"string"}}}}},"PostCrmContactsResponse":{"type":"object","properties":{"contact":{"type":"object","description":"The stored contact","properties":{"id":{"type":"string","description":"Contact id (uuid)"},"owner_user_id":{"type":"string","description":"Account that owns the contact"},"org_id":{"type":["string","null"],"description":"Team the contact is shared with, if any"},"name":{"type":"string"},"email":{"type":["string","null"]},"phone":{"type":["string","null"]},"company":{"type":["string","null"]},"title":{"type":["string","null"]},"handle":{"type":["string","null"]},"channel_url":{"type":["string","null"]},"category":{"type":"string","description":"lead, prospect, customer, partner or other"},"status":{"type":"string","description":"new, contacted, qualified, proposal, won or lost"},"notes":{"type":["string","null"]},"tags":{"type":"array","items":{"type":"string"}},"est_deal_value_usd":{"type":["number","null"]},"last_contacted_at":{"type":["string","null"]},"next_followup_at":{"type":["string","null"]},"source":{"type":"string","description":"manual, ai or import"},"ticker":{"type":["string","null"],"description":"Linked public ticker"},"private_company_slug":{"type":["string","null"]},"investor_slug":{"type":["string","null"]},"attrs":{"type":"object","description":"Custom field values"},"created_at":{"type":"string"},"updated_at":{"type":"string"}}}},"required":["contact"]},"PatchCrmContactsResponse":{"type":"object","properties":{"contact":{"type":"object","description":"The contact after the update","properties":{"id":{"type":"string","description":"Contact id (uuid)"},"owner_user_id":{"type":"string","description":"Account that owns the contact"},"org_id":{"type":["string","null"],"description":"Team the contact is shared with, if any"},"name":{"type":"string"},"email":{"type":["string","null"]},"phone":{"type":["string","null"]},"company":{"type":["string","null"]},"title":{"type":["string","null"]},"handle":{"type":["string","null"]},"channel_url":{"type":["string","null"]},"category":{"type":"string","description":"lead, prospect, customer, partner or other"},"status":{"type":"string","description":"new, contacted, qualified, proposal, won or lost"},"notes":{"type":["string","null"]},"tags":{"type":"array","items":{"type":"string"}},"est_deal_value_usd":{"type":["number","null"]},"last_contacted_at":{"type":["string","null"]},"next_followup_at":{"type":["string","null"]},"source":{"type":"string","description":"manual, ai or import"},"ticker":{"type":["string","null"],"description":"Linked public ticker"},"private_company_slug":{"type":["string","null"]},"investor_slug":{"type":["string","null"]},"attrs":{"type":"object","description":"Custom field values"},"created_at":{"type":"string"},"updated_at":{"type":"string"}}}},"required":["contact"]},"GetCrmDealsResponse":{"type":"object","properties":{"deals":{"type":"array","description":"Most recently updated first","items":{"type":"object","properties":{"id":{"type":"string","description":"Deal id (uuid)"},"owner_user_id":{"type":"string","description":"Account that owns the deal"},"org_id":{"type":["string","null"],"description":"Team the deal is shared with, if any"},"contact_id":{"type":["string","null"]},"title":{"type":"string"},"stage":{"type":"string","description":"new, contacted, qualified, proposal, won or lost, or a custom pipeline stage key"},"value_usd":{"type":["number","null"]},"probability":{"type":["number","null"],"description":"Win probability 0-100; null means derive from the stage"},"expected_close_at":{"type":["string","null"]},"status":{"type":"string","description":"open, won or lost"},"notes":{"type":["string","null"]},"ticker":{"type":["string","null"]},"pipeline_id":{"type":["string","null"],"description":"Custom pipeline id; null for the default pipeline"},"private_company_slug":{"type":["string","null"]},"investor_slug":{"type":["string","null"]},"created_at":{"type":"string"},"updated_at":{"type":"string"}}}},"pipeline":{"type":"object","description":"Rollup across all deals; omitted with ?contact_id= or when it cannot be computed","properties":{"total":{"type":"integer","description":"Deals counted in the rollup"},"open_count":{"type":"integer"},"open_value":{"type":"integer","description":"Sum of open deal values, USD"},"weighted_value":{"type":"integer","description":"Open value weighted by win probability, USD"},"won_value":{"type":"integer","description":"USD"},"by_stage":{"type":"object","description":"Keyed by stage: new, contacted, qualified, proposal, won, lost","additionalProperties":{"type":"object","properties":{"count":{"type":"integer"},"value":{"type":"integer","description":"USD"}}}},"by_pipeline":{"type":"object","description":"Rollup per custom pipeline, keyed by pipeline id"},"truncated":{"type":"boolean","description":"True when the rollup hit its 1000-deal limit"}}}},"required":["deals"]},"PostCrmDealsResponse":{"type":"object","properties":{"deal":{"type":"object","description":"The stored deal","properties":{"id":{"type":"string","description":"Deal id (uuid)"},"owner_user_id":{"type":"string","description":"Account that owns the deal"},"org_id":{"type":["string","null"],"description":"Team the deal is shared with, if any"},"contact_id":{"type":["string","null"]},"title":{"type":"string"},"stage":{"type":"string","description":"new, contacted, qualified, proposal, won or lost, or a custom pipeline stage key"},"value_usd":{"type":["number","null"]},"probability":{"type":["number","null"],"description":"Win probability 0-100; null means derive from the stage"},"expected_close_at":{"type":["string","null"]},"status":{"type":"string","description":"open, won or lost"},"notes":{"type":["string","null"]},"ticker":{"type":["string","null"]},"pipeline_id":{"type":["string","null"],"description":"Custom pipeline id; null for the default pipeline"},"private_company_slug":{"type":["string","null"]},"investor_slug":{"type":["string","null"]},"created_at":{"type":"string"},"updated_at":{"type":"string"}}}},"required":["deal"]},"PatchCrmDealsResponse":{"type":"object","properties":{"deal":{"type":"object","description":"The deal after the update","properties":{"id":{"type":"string","description":"Deal id (uuid)"},"owner_user_id":{"type":"string","description":"Account that owns the deal"},"org_id":{"type":["string","null"],"description":"Team the deal is shared with, if any"},"contact_id":{"type":["string","null"]},"title":{"type":"string"},"stage":{"type":"string","description":"new, contacted, qualified, proposal, won or lost, or a custom pipeline stage key"},"value_usd":{"type":["number","null"]},"probability":{"type":["number","null"],"description":"Win probability 0-100; null means derive from the stage"},"expected_close_at":{"type":["string","null"]},"status":{"type":"string","description":"open, won or lost"},"notes":{"type":["string","null"]},"ticker":{"type":["string","null"]},"pipeline_id":{"type":["string","null"],"description":"Custom pipeline id; null for the default pipeline"},"private_company_slug":{"type":["string","null"]},"investor_slug":{"type":["string","null"]},"created_at":{"type":"string"},"updated_at":{"type":"string"}}}},"required":["deal"]},"GetNewsResponse":{"type":"object","properties":{"ticker":{"type":"string"},"articles":{"type":"array","description":"Newest first","items":{"type":"object","properties":{"title":{"type":"string"},"url":{"type":"string"},"publisher":{"type":"string"},"published":{"type":"string","description":"ISO time; empty string when the feed gave none"},"tickers":{"type":"array","items":{"type":"string"}},"description":{"type":"string"},"image":{"type":"string","description":"Image URL or empty string"},"sentiment":{"type":"string","description":"Sentiment label when one is available, else empty string"},"source":{"type":"string","description":"Feed the article came from"}}}},"count":{"type":"integer","description":"Number of articles returned"},"sources":{"type":"object","description":"Articles gathered per feed, keyed by feed name","additionalProperties":{"type":"integer"}},"timestamp":{"type":"string","description":"Response time, ISO"},"api_version":{"type":"string"},"tier":{"type":"string","description":"Plan of the API key"}},"required":["ticker","articles","count","sources","timestamp","api_version","tier"]},"GetStartupNewsResponse":{"type":"object","properties":{"articles":{"type":"array","description":"Matching stories, at most limit (max 50)","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"url":{"type":"string"},"summary":{"type":"string"},"published_at":{"type":["string","null"]},"source":{"type":"string","description":"Feed key; matches the source filter"},"source_label":{"type":"string"},"source_category":{"type":["string","null"]},"outlet":{"type":"string","description":"Publishing outlet when the feed is an aggregator"},"kind":{"type":"string","description":"raise, fund, acquisition, launch or news"},"companies":{"type":"array","description":"Company names tagged on the story","items":{"type":"string"}},"topics":{"type":"array","items":{"type":"string"}},"funding":{"type":["object","null"],"description":"Extracted round; null when the story is not a raise","properties":{"round_type":{"type":"string","description":"Stage such as seed or series_a; debt or unspecified when not stated"},"instrument":{"type":"string","description":"equity or debt"},"status":{"type":"string","description":"closed or reported (not yet closed)"},"amount_usd":{"type":["number","null"]},"amount_native":{"type":["number","null"]},"currency":{"type":["string","null"]},"investors":{"type":"array","items":{"type":"string"}},"lead_investor":{"type":["string","null"]},"stage_confidence":{"type":"string","description":"high, medium or low"}}},"fund":{"type":"object","description":"Only on fund-close stories: manager, fund_name, amount_usd, currency, status"},"acquisition":{"type":"object","description":"Only on acquisition stories: acquirer, target, amount_usd, currency"},"fetched_at":{"type":"string"},"sentiment_score":{"type":"number","description":"-0.4, 0 or 0.4"},"sentiment_label":{"type":"string","description":"bullish, bearish or neutral"},"points":{"type":["integer","null"],"description":"Community sources only"},"comments":{"type":["integer","null"],"description":"Community sources only"},"also_reported_by":{"type":"array","description":"Other outlets that carried the same story","items":{"type":"object"}}}}},"count":{"type":"integer","description":"Number of articles returned"},"total_matching":{"type":"integer","description":"Matches before the limit was applied"},"generated_at":{"type":"string","description":"When the news snapshot was built"},"sources":{"type":"array","description":"Feed keys present in the snapshot","items":{"type":"string"}},"timestamp":{"type":"string","description":"Response time, ISO"},"api_version":{"type":"string"},"tier":{"type":"string","description":"Plan of the API key"},"deals":{"type":"array","description":"Only with include=deals: rounds deduplicated across outlets","items":{"type":"object","properties":{"id":{"type":"string"},"company":{"type":["string","null"]},"headline":{"type":"string"},"url":{"type":["string","null"]},"round_type":{"type":"string"},"round_label":{"type":"string"},"amount_usd":{"type":["number","null"]},"currency":{"type":["string","null"]},"investors":{"type":"array","items":{"type":"string"}},"lead_investor":{"type":["string","null"]},"status":{"type":"string","description":"closed or reported"},"instrument":{"type":"string","description":"equity or debt"},"topics":{"type":"array","items":{"type":"string"}},"first_reported_at":{"type":["string","null"]},"source_count":{"type":"integer","description":"Distinct outlets that reported the round"},"sources":{"type":"array","description":"Outlet, url, published_at and tier per report","items":{"type":"object"}}}}},"deal_summary":{"type":"object","description":"Only with include=deals: totals by window, stage, topic and investor"},"funds":{"type":"array","description":"Only with include=deals: fund closes, newest first (max 20)","items":{"type":"object"}},"acquisitions":{"type":"array","description":"Only with include=deals: acquisitions, newest first (max 20)","items":{"type":"object"}},"intelligence":{"type":"object","description":"Only with include=intelligence: sector momentum, co-investors, benchmarks"}},"required":["articles","count","total_matching","sources","timestamp","api_version","tier"]},"GetLineResponse":{"type":"object","properties":{"ok":{"type":"boolean"},"has_line":{"type":"boolean","description":"Status view"},"delivered":{"type":"boolean","description":"Status view: true once the line is paid and active"},"line":{"type":["object","null"],"description":"Status view: the line, or null when none is set up","properties":{"id":{"type":"string"},"agent_id":{"type":["string","null"]},"agent_name":{"type":["string","null"]},"address":{"type":["string","null"],"description":"E-mail address; null until the line is delivered"},"address_preview":{"type":["string","null"],"description":"Masked address shown before delivery"},"handle":{"type":["string","null"]},"handle_locked":{"type":"boolean"},"domain":{"type":"string"},"persona":{"type":["string","null"],"description":"Standing instructions for the assistant"},"autopilot":{"type":"string","description":"off, draft or auto"},"allow_calendar":{"type":"boolean"},"notify_channels":{"type":"array","items":{"type":"string"}},"delivered":{"type":"boolean"},"status":{"type":"string"},"activated_at":{"type":["string","null"]},"suspended_at":{"type":["string","null"]},"created_at":{"type":"string"}}},"unread":{"type":"integer","description":"Status view: unread inbound messages"},"setup_url":{"type":"string","description":"Status view"},"address":{"type":"string","description":"List and search views: the line address"},"folder":{"type":"string","description":"List view: inbox or sent. Search view: inbox, sent or all"},"query":{"type":"string","description":"Search view: the text searched for"},"count":{"type":"integer","description":"List and search views: number of messages returned"},"messages":{"type":"array","description":"List and search views: newest first, without text bodies","items":{"type":"object","properties":{"id":{"type":"string"},"direction":{"type":"string","description":"inbound or outbound"},"channel":{"type":"string","description":"email"},"from":{"type":"string","description":"Sender address"},"from_name":{"type":["string","null"]},"to":{"type":"array","items":{"type":"string"}},"cc":{"type":"array","items":{"type":"string"}},"subject":{"type":"string"},"preview":{"type":"string","description":"First 140 characters of the text body"},"attachments":{"type":"array","items":{"type":"object","properties":{"filename":{"type":"string"},"content_type":{"type":["string","null"]},"size":{"type":["integer","null"],"description":"Bytes"}}}},"is_read":{"type":"boolean"},"message_id":{"type":["string","null"],"description":"Mail Message-ID header"},"occurred_at":{"type":"string"},"agent_status":{"type":["string","null"],"description":"queued, replied, drafted, escalated, skipped, blocked or failed"},"agent_note":{"type":["string","null"],"description":"One line on what the assistant did"},"agent_reply_id":{"type":["string","null"]}}}},"message":{"type":"object","description":"Only with ?id=: the fields of a messages item plus the two below","properties":{"text":{"type":"string","description":"Plain-text body"},"agent_draft":{"type":["string","null"],"description":"Reply drafted by the assistant, awaiting the owner"}}}},"required":["ok"]},"PostLineResponse":{"type":"object","properties":{"ok":{"type":"boolean"},"sent":{"type":"boolean","description":"Always true on 201"},"message":{"type":"object","description":"The stored outbound message","properties":{"id":{"type":"string"},"direction":{"type":"string","description":"inbound or outbound"},"channel":{"type":"string","description":"email"},"from":{"type":"string","description":"Sender address"},"from_name":{"type":["string","null"]},"to":{"type":"array","items":{"type":"string"}},"cc":{"type":"array","items":{"type":"string"}},"subject":{"type":"string"},"preview":{"type":"string","description":"First 140 characters of the text body"},"attachments":{"type":"array","items":{"type":"object","properties":{"filename":{"type":"string"},"content_type":{"type":["string","null"]},"size":{"type":["integer","null"],"description":"Bytes"}}}},"is_read":{"type":"boolean"},"message_id":{"type":["string","null"],"description":"Mail Message-ID header"},"occurred_at":{"type":"string"},"agent_status":{"type":["string","null"],"description":"queued, replied, drafted, escalated, skipped, blocked or failed"},"agent_note":{"type":["string","null"],"description":"One line on what the assistant did"},"agent_reply_id":{"type":["string","null"]},"text":{"type":"string","description":"Plain-text body"},"agent_draft":{"type":["string","null"],"description":"Reply drafted by the assistant, awaiting the owner"}}},"in_reply_to":{"type":"string","description":"Reply only: id of the inbound message answered"},"actor":{"type":["string","null"],"description":"Always null on this endpoint"}},"required":["ok","sent","message","actor"]},"GetVaultResponse":{"type":"object","properties":{"ok":{"type":"boolean"},"configured":{"type":"boolean","description":"False when the vault is not available; items is then empty"},"items":{"type":"array","description":"Items the owner shared with agents; never contains a credential","items":{"type":"object","properties":{"item_id":{"type":"string","description":"Value to send as item_id on POST"},"name":{"type":"string"},"site":{"type":"string"},"allowed_hosts":{"type":"array","description":"Hosts a request with this item may target","items":{"type":"string"}},"auth_type":{"type":"string","description":"password, api_key, bearer, basic, cookie or header"},"username":{"type":["string","null"]},"agent_access":{"type":"string","description":"Always \"use\" for listed items"},"require_approval":{"type":"boolean","description":"Owner must approve each use"},"allow_writes":{"type":"boolean","description":"False means GET and HEAD only"},"two_factor":{"type":"boolean"},"notes":{"type":"string"},"last_used_at":{"type":["string","null"]}}}}},"required":["ok","configured","items"]},"PostVaultResponse":{"type":"object","properties":{"ok":{"type":"boolean","description":"request: true only when the site answered 2xx. login_check: always true"},"item_id":{"type":"string"},"status":{"type":["integer","null"],"description":"request: HTTP status from the site. login_check: status of the sign-in, null if reused"},"method":{"type":"string","description":"request only"},"host":{"type":["string","null"],"description":"request only: host that was called"},"content_type":{"type":["string","null"],"description":"request only"},"headers":{"type":"object","description":"request only: a small allowlist of response headers","additionalProperties":{"type":"string"}},"redirect":{"type":["object","null"],"description":"request only: redirect target when the site sent one","properties":{"host":{"type":["string","null"]},"path":{"type":["string","null"]}}},"body":{"type":"string","description":"request only: response text with credentials redacted, possibly cut short"},"truncated":{"type":"boolean","description":"request only"},"redacted":{"type":"integer","description":"request only: number of redactions made in body"},"looks_like_login_page":{"type":"boolean","description":"request only: the site answered with a sign-in page or 401/403"},"name":{"type":"string","description":"login_check only: item name"},"auth_type":{"type":"string","description":"login_check only"},"signed_in":{"type":["boolean","null"],"description":"login_check only: null for items that have no sign-in step"},"message":{"type":"string","description":"login_check only, for items that have no sign-in step"},"reused_session":{"type":"boolean","description":"login_check only, password items"},"cookies":{"type":"integer","description":"login_check only, password items: number of session cookies held"},"marker_seen":{"type":["boolean","null"],"description":"login_check only, password items: success marker found on the page"}},"required":["ok","item_id"]},"GetCommunityResponse":{"type":"object","properties":{"ok":{"type":"boolean"},"view":{"type":"string","description":"The view that was answered"},"url":{"type":"string","description":"overview, classroom, course: page link"},"joined":{"type":"boolean","description":"overview"},"points":{"type":"integer","description":"overview: the caller's community points"},"level":{"type":"object","description":"overview: the caller's level progress","properties":{"level":{"type":"integer"},"name":{"type":"string"},"points":{"type":"integer"},"next":{"type":["integer","null"],"description":"Points needed for the next level"},"to_next":{"type":"integer"},"pct":{"type":"integer"}}},"standing":{"type":"object","description":"overview","properties":{"guidelines_version_current":{"type":"string"},"guidelines_accepted":{"type":"boolean"},"standing":{"type":"string","description":"active, suspended or banned"},"suspended_until":{"type":["string","null"]},"strikes":{"type":"integer"}}},"can_post":{"type":"boolean","description":"overview"},"spaces":{"type":"array","description":"overview, spaces","items":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"description":{"type":["string","null"]},"icon":{"type":["string","null"]},"kind":{"type":["string","null"]},"is_default":{"type":"boolean","description":"view=spaces only"}}}},"space":{"type":"string","description":"posts: space slug, or \"all\""},"sort":{"type":"string","description":"posts: new, top or active. arena: score, return, alpha, sharpe, streak or xp"},"count":{"type":"integer","description":"posts, members, events, classroom: items returned"},"posts":{"type":"array","description":"posts: each item has the fields of the post returned by POST /community","items":{"type":"object"}},"post":{"type":"object","description":"post: same fields as the post returned by POST /community"},"comments":{"type":"array","description":"post: id, author_id, author, body, created_at per comment","items":{"type":"object"}},"members":{"type":"array","description":"members: user_id, name, handle, roles, headline, looking_for, open_to, points, level","items":{"type":"object"}},"roles":{"type":"array","description":"members: role tags usable in the role filter","items":{"type":"string"}},"open_to":{"type":"array","description":"members: tags usable in the open_to filter","items":{"type":"string"}},"events":{"type":"array","description":"events: id, title, description, kind, starts_at, duration_min, host, rsvp_count, going","items":{"type":"object"}},"window":{"type":"string","description":"leaderboard: 7d, 30d or all"},"windows":{"type":"array","description":"leaderboard","items":{"type":"string"}},"leaders":{"type":"array","description":"leaderboard: members ranked by points. arena: shared paper portfolios ranked","items":{"type":"object"}},"levels":{"type":"array","description":"leaderboard: level, name and starting points of every level","items":{"type":"object"}},"courses":{"type":"array","description":"classroom: courses with the caller's unlock state and progress","items":{"type":"object"}},"course":{"type":"object","description":"course, lesson"},"modules":{"type":"array","description":"course: modules with their lesson outline","items":{"type":"object"}},"progress":{"type":["object","null"],"description":"course, lesson: the caller's progress"},"locked":{"type":"boolean","description":"course: present and true when the course is locked for the caller"},"message":{"type":"string","description":"course: why the course is locked"},"lesson":{"type":"object","description":"lesson"},"prev_id":{"type":["string","null"],"description":"lesson"},"next_id":{"type":["string","null"],"description":"lesson"},"sorts":{"type":"array","description":"arena, arena_catalog: valid sort keys","items":{"type":"string"}},"min_days":{"type":"integer","description":"arena, arena_catalog: days of history needed to be ranked"},"min_closed":{"type":"integer","description":"arena, arena_catalog: closed trades needed to be ranked"},"disclaimer":{"type":"string","description":"All arena views"},"user_id":{"type":"string","description":"arena_member"},"trophies":{"type":["object","null"],"description":"arena_member: null when the member shares nothing or is not visible"},"shared":{"type":"boolean","description":"arena_me: the caller shares a paper portfolio"},"share":{"type":["object","null"],"description":"arena_me: instance_name, caption, show_holdings, stats, synced_at"},"instance_missing":{"type":"boolean","description":"arena_me"},"trader":{"type":"object","description":"arena_me: the caller's trader rank and XP"},"unlocked_count":{"type":"integer","description":"arena_me"},"achievements":{"type":"array","description":"arena_me: each badge with the caller's progress. arena_catalog: all badges","items":{"type":"object"}},"quests":{"type":"object","description":"arena_me: this week's quests and the caller's progress"},"manage_url":{"type":"string","description":"arena_me"},"note":{"type":"string","description":"arena_me"},"categories":{"type":"object","description":"arena_catalog: category labels keyed by category","additionalProperties":{"type":"string"}},"tiers":{"type":"object","description":"arena_catalog: badge tiers keyed by tier, each with xp and label","additionalProperties":{"type":"object"}},"ranks":{"type":"array","description":"arena_catalog: trader ranks, each with name and starting xp","items":{"type":"object"}},"quest_xp":{"type":"integer","description":"arena_catalog"}},"required":["ok","view"]},"PostCommunityResponse":{"type":"object","properties":{"ok":{"type":"boolean"},"post":{"type":"object","description":"The stored post","properties":{"id":{"type":"string"},"title":{"type":"string"},"body":{"type":"string"},"kind":{"type":"string","description":"post, question, idea, intro, win or event"},"space_slug":{"type":["string","null"]},"space_name":{"type":["string","null"]},"author_id":{"type":"string"},"author":{"type":"string","description":"Display name"},"author_handle":{"type":["string","null"]},"author_roles":{"type":"array","items":{"type":"string"}},"author_level":{"type":["integer","null"]},"like_count":{"type":"integer"},"comment_count":{"type":"integer"},"pinned":{"type":"boolean"},"liked":{"type":"boolean","description":"Liked by the caller"},"my_reaction":{"type":["string","null"]},"reactions":{"type":"object","description":"Reaction counts keyed by reaction","additionalProperties":{"type":"integer"}},"is_mine":{"type":"boolean"},"poll":{"type":"object","description":"Only on posts that carry a poll"},"hidden_pending_review":{"type":"boolean","description":"Visible only to its author until reviewed"},"created_at":{"type":"string"},"last_activity_at":{"type":"string"},"url":{"type":"string","description":"Community page link for the post's space"}}}},"required":["ok","post"]},"GetVerifiedResponse":{"type":"object","properties":{"attribution":{"type":"object","description":"On every dataset","properties":{"source":{"type":"string"},"dataset":{"type":"string"},"url":{"type":"string"},"methodology":{"type":"string"},"disclaimer":{"type":"string"},"cite_as":{"type":"string","description":"Citation text to reproduce"}}},"as_of_note":{"type":"string","description":"conviction"},"agents":{"type":"integer","description":"conviction: agents with open calls"},"open_calls":{"type":"integer","description":"conviction"},"tickers":{"type":"array","description":"conviction: one row per ticker, or only the ?ticker= asked for","items":{"type":"object","properties":{"ticker":{"type":"string"},"open_calls":{"type":"integer"},"raw_bull_pct":{"type":["number","null"],"description":"Share of all open calls that are bullish"},"verified_bull_pct":{"type":["number","null"],"description":"Same share weighted by each agent's graded win rate"},"verified_votes":{"type":"integer"},"divergence":{"type":["number","null"],"description":"verified_bull_pct minus raw_bull_pct"},"raw_stance":{"type":"string","description":"bullish, bearish, split or none"},"verified_stance":{"type":"string","description":"bullish, bearish, split or none"}}}},"sharpest_divergences":{"type":"array","description":"conviction: ticker, divergence, raw_bull_pct, verified_bull_pct","items":{"type":"object"}},"status":{"type":"string","description":"index: live or launching"},"level":{"type":["number","null"],"description":"index: current level; inception is 100"},"inception_level":{"type":"integer","description":"index"},"return_since_inception_pct":{"type":["number","null"],"description":"index"},"period_return_pct":{"type":["number","null"],"description":"index"},"rebalanced_as_of":{"type":["string","null"],"description":"index"},"longs":{"type":"array","description":"index: long positions","items":{"type":"object","properties":{"ticker":{"type":"string"},"side":{"type":"string"},"weight":{"type":"number"},"verified_bull_pct":{"type":["number","null"]},"entry_price":{"type":["number","null"]},"asset_return_pct":{"type":["number","null"]}}}},"shorts":{"type":"array","description":"index: short positions, same fields as longs","items":{"type":"object"}},"equity_curve":{"type":"array","description":"index: one point per mark, each with on (date) and level","items":{"type":"object"}},"ranked":{"type":"array","description":"creators: ranked creators, at most limit","items":{"type":"object","properties":{"handle":{"type":"string"},"rank":{"type":["integer","null"]},"agents_published":{"type":"integer"},"record":{"type":["object","null"],"description":"resolved, wins, losses, win_rate_pct, avg_return_pct; null until calls resolve"},"profile_url":{"type":"string"}}}},"building":{"type":"array","description":"creators: creators below the ranking minimum, same fields as ranked","items":{"type":"object"}},"min_resolved_to_rank":{"type":"integer","description":"creators"},"handle":{"type":"string","description":"record"},"found":{"type":"boolean","description":"record, ledger: false when no record is available"},"aggregate_record":{"type":["object","null"],"description":"record: the creator's record across all published agents"},"published_agents":{"type":"array","description":"record: title, category, tickers, call_record","items":{"type":"object"}},"profile_url":{"type":"string","description":"record"},"as_of":{"type":["string","null"],"description":"ledger"},"since":{"type":["string","null"],"description":"ledger: date of the earliest entry"},"overall":{"type":"object","description":"ledger","properties":{"graded":{"type":"integer"},"hits":{"type":"integer"},"misses":{"type":"integer"},"pushes":{"type":"integer"},"hit_rate_pct":{"type":["number","null"]}}},"by_discipline":{"type":"object","description":"ledger: tallies keyed by discipline","additionalProperties":{"type":"object"}},"aggregates":{"type":"array","description":"ledger: key, label, n, win_rate_pct, profit_factor, walk_forward_verdict","items":{"type":"object"}},"recent":{"type":"array","description":"ledger: latest graded entries with seq, id, call, verdict, dates and hash","items":{"type":"object"}},"misses":{"type":"array","description":"ledger: latest misses, same fields as recent","items":{"type":"object"}},"hits":{"type":"array","description":"ledger: latest hits, same fields as recent","items":{"type":"object"}},"chain":{"type":"object","description":"ledger: hash-chain state: length, head_hash, intact, version"},"verify_url":{"type":"string","description":"ledger"},"chain_url":{"type":"string","description":"ledger"},"verifier_script":{"type":"string","description":"ledger"},"badge_url":{"type":"string","description":"ledger"},"methodology_rules":{"type":"array","description":"ledger","items":{"type":["string","object"]}}},"required":["attribution"]},"GetWebhooksResponse":{"type":"object","properties":{"endpoints":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Endpoint id, we_..."},"user_id":{"type":"string","description":"Owning account"},"url":{"type":"string"},"secret":{"type":"string","description":"Signing key, masked"},"events":{"type":"array","description":"Subscribed event types","items":{"type":"string"}},"active":{"type":"boolean","description":"False after repeated delivery failures"},"failures":{"type":"integer","description":"Consecutive failed deliveries"},"created_at":{"type":"string"},"last_status":{"type":["integer","string","null"],"description":"HTTP status of the last delivery, or an error word"},"last_delivery_at":{"type":["string","null"]},"disabled_reason":{"type":"string","description":"Only after the endpoint was auto-disabled"},"disabled_at":{"type":"string","description":"Only after the endpoint was auto-disabled"},"recent_deliveries":{"type":"array","description":"Up to 10, newest first","items":{"type":"object","properties":{"at":{"type":"string"},"event_id":{"type":"string"},"type":{"type":"string"},"ok":{"type":"boolean"},"status":{"type":"integer","description":"HTTP status; 0 when no response"},"error":{"type":["string","null"]}}}}}}},"event_types":{"type":"array","description":"Event types an endpoint can subscribe to","items":{"type":"string"}},"docs":{"type":"string","description":"Documentation link"}},"required":["endpoints","event_types","docs"]},"PostWebhooks200Response":{"type":"object","description":"Answer to {action:\"test\", id}","properties":{"sent":{"type":"boolean","description":"True when the endpoint answered 2xx"},"status":{"type":"integer","description":"HTTP status from the endpoint; 0 when no response"},"error":{"type":["string","null"],"description":"Reason when not sent, e.g. timeout"},"endpoint":{"type":"object","properties":{"id":{"type":"string","description":"Endpoint id, we_..."},"user_id":{"type":"string","description":"Owning account"},"url":{"type":"string"},"secret":{"type":"string","description":"Signing key, masked"},"events":{"type":"array","description":"Subscribed event types","items":{"type":"string"}},"active":{"type":"boolean","description":"False after repeated delivery failures"},"failures":{"type":"integer","description":"Consecutive failed deliveries"},"created_at":{"type":"string"},"last_status":{"type":["integer","string","null"],"description":"HTTP status of the last delivery, or an error word"},"last_delivery_at":{"type":["string","null"]},"disabled_reason":{"type":"string","description":"Only after the endpoint was auto-disabled"},"disabled_at":{"type":"string","description":"Only after the endpoint was auto-disabled"}}}},"required":["sent","status","error","endpoint"]},"PostWebhooks201Response":{"type":"object","properties":{"endpoint":{"type":"object","properties":{"id":{"type":"string","description":"Endpoint id, we_..."},"user_id":{"type":"string","description":"Owning account"},"url":{"type":"string"},"secret":{"type":"string","description":"Full whsec_ signing key; returned only on creation"},"events":{"type":"array","description":"Subscribed event types","items":{"type":"string"}},"active":{"type":"boolean","description":"False after repeated delivery failures"},"failures":{"type":"integer","description":"Consecutive failed deliveries"},"created_at":{"type":"string"},"last_status":{"type":["integer","string","null"],"description":"HTTP status of the last delivery, or an error word"},"last_delivery_at":{"type":["string","null"]},"disabled_reason":{"type":"string","description":"Only after the endpoint was auto-disabled"},"disabled_at":{"type":"string","description":"Only after the endpoint was auto-disabled"}}},"note":{"type":"string","description":"Reminder to store the signing key and how to verify signatures"}},"required":["endpoint","note"]},"DeleteWebhooksResponse":{"type":"object","properties":{"ok":{"type":"boolean"},"deleted":{"type":"string","description":"Id of the deleted endpoint"}},"required":["ok","deleted"]},"GetBacktestResponse":{"type":"object","properties":{"ok":{"type":"boolean","description":"False when the history is missing or too short; see status / error"},"ticker":{"type":"string"},"strategy":{"type":"string","description":"buy_hold, trend, golden_cross, rsi_meanrev or macd"},"years":{"type":"number","description":"Years of history tested; when ok is false, the years requested"},"api_version":{"type":"string"},"engine":{"type":"string","description":"ok:true only"},"version":{"type":"string","description":"ok:true only: engine version"},"scan_date":{"type":"string","description":"ok:true only: when the result was computed"},"strategy_label":{"type":"string","description":"ok:true only"},"bars":{"type":"integer","description":"Daily closes used; absent when no history was returned"},"strategy_metrics":{"type":"object","description":"ok:true only","properties":{"total_return_pct":{"type":"number"},"cagr_pct":{"type":"number"},"sharpe":{"type":"number"},"max_drawdown_pct":{"type":"number"},"exposure_pct":{"type":"number","description":"Share of days in the market"},"hit_rate_pct":{"type":["number","null"],"description":"Share of in-market days that rose"},"trades":{"type":"integer","description":"Number of entries"}}},"buy_hold_metrics":{"type":"object","description":"ok:true only","properties":{"total_return_pct":{"type":"number"},"cagr_pct":{"type":"number"},"sharpe":{"type":"number"},"max_drawdown_pct":{"type":"number"}}},"edge":{"type":"object","description":"ok:true only","properties":{"excess_return_pct":{"type":"number","description":"Strategy total return minus buy-and-hold"},"sharpe_delta":{"type":"number"},"dd_improvement_pct":{"type":"number","description":"Strategy max drawdown minus buy-and-hold max drawdown"}}},"walk_forward":{"type":"object","description":"ok:true only","properties":{"train_sharpe":{"type":"number","description":"First 70% of the period"},"test_sharpe":{"type":"number","description":"Last 30% of the period"},"train_test_ratio":{"type":["number","null"]},"verdict":{"type":"string","description":"ROBUST, MILD_DECAY, OVERFIT or NO_EDGE"},"window_sharpes":{"type":"array","description":"Sharpe in each quarter of the period","items":{"type":"number"}},"positive_windows":{"type":"integer"}}},"curve":{"type":"array","description":"ok:true only: equity curves, at most 141 points","items":{"type":"object","properties":{"i":{"type":"integer","description":"Day index"},"strat":{"type":"number","description":"Strategy equity"},"bh":{"type":"number","description":"Buy-and-hold equity"}}}},"cache_hit":{"type":"boolean","description":"ok:true only"},"status":{"type":"string","description":"ok:false only: \"insufficient_data\" when fewer than about 260 daily closes exist"},"error":{"type":"string","description":"ok:false only: \"no_data\" when no price history was returned"},"message":{"type":"string","description":"ok:false only"}},"required":["ok","ticker","strategy","years","api_version"]},"PostBacktestResponse":{"type":"object","properties":{"ok":{"type":"boolean","description":"False when the history is missing or too short; see status / error"},"ticker":{"type":"string"},"strategy":{"type":"string","description":"buy_hold, trend, golden_cross, rsi_meanrev or macd"},"years":{"type":"number","description":"Years of history tested; when ok is false, the years requested"},"api_version":{"type":"string"},"engine":{"type":"string","description":"ok:true only"},"version":{"type":"string","description":"ok:true only: engine version"},"scan_date":{"type":"string","description":"ok:true only: when the result was computed"},"strategy_label":{"type":"string","description":"ok:true only"},"bars":{"type":"integer","description":"Daily closes used; absent when no history was returned"},"strategy_metrics":{"type":"object","description":"ok:true only","properties":{"total_return_pct":{"type":"number"},"cagr_pct":{"type":"number"},"sharpe":{"type":"number"},"max_drawdown_pct":{"type":"number"},"exposure_pct":{"type":"number","description":"Share of days in the market"},"hit_rate_pct":{"type":["number","null"],"description":"Share of in-market days that rose"},"trades":{"type":"integer","description":"Number of entries"}}},"buy_hold_metrics":{"type":"object","description":"ok:true only","properties":{"total_return_pct":{"type":"number"},"cagr_pct":{"type":"number"},"sharpe":{"type":"number"},"max_drawdown_pct":{"type":"number"}}},"edge":{"type":"object","description":"ok:true only","properties":{"excess_return_pct":{"type":"number","description":"Strategy total return minus buy-and-hold"},"sharpe_delta":{"type":"number"},"dd_improvement_pct":{"type":"number","description":"Strategy max drawdown minus buy-and-hold max drawdown"}}},"walk_forward":{"type":"object","description":"ok:true only","properties":{"train_sharpe":{"type":"number","description":"First 70% of the period"},"test_sharpe":{"type":"number","description":"Last 30% of the period"},"train_test_ratio":{"type":["number","null"]},"verdict":{"type":"string","description":"ROBUST, MILD_DECAY, OVERFIT or NO_EDGE"},"window_sharpes":{"type":"array","description":"Sharpe in each quarter of the period","items":{"type":"number"}},"positive_windows":{"type":"integer"}}},"curve":{"type":"array","description":"ok:true only: equity curves, at most 141 points","items":{"type":"object","properties":{"i":{"type":"integer","description":"Day index"},"strat":{"type":"number","description":"Strategy equity"},"bh":{"type":"number","description":"Buy-and-hold equity"}}}},"cache_hit":{"type":"boolean","description":"ok:true only"},"status":{"type":"string","description":"ok:false only: \"insufficient_data\" when fewer than about 260 daily closes exist"},"error":{"type":"string","description":"ok:false only: \"no_data\" when no price history was returned"},"message":{"type":"string","description":"ok:false only"}},"required":["ok","ticker","strategy","years","api_version"]},"GetBacktestLibraryResponse":{"type":"object","properties":{"ok":{"type":"boolean"},"strategies":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Value to send as strategy"},"label":{"type":"string"},"description":{"type":"string"},"params":{"type":"array","description":"Parameters the strategy accepts","items":{"type":"string"}},"positions":{"type":"string","description":"How the position is set each day"},"intended_use":{"type":"string"}}}},"horizons":{"type":"object","properties":{"min_years":{"type":"integer"},"max_years":{"type":"integer"},"default_years":{"type":"integer"}}},"metrics_returned":{"type":"array","description":"Dotted paths of the metrics a backtest returns","items":{"type":"string"}},"walk_forward_verdicts":{"type":"array","items":{"type":"object","properties":{"verdict":{"type":"string"},"means":{"type":"string"}}}},"disclaimer":{"type":"string"},"api_version":{"type":"string"}},"required":["ok","strategies","horizons","metrics_returned","walk_forward_verdicts","disclaimer","api_version"]},"GetPortfolioResponse":{"type":"object","properties":{"ok":{"type":"boolean"},"posture":{"type":"string","description":"Bullish, Constructive, Neutral, Cautious, Bearish or Unknown"},"weighted_composite_score":{"type":["number","null"],"description":"0-100; null when no holding could be scored"},"posture_note":{"type":"string"},"n_positions":{"type":"integer","description":"Holdings that were scored"},"weight_basis":{"type":["string","null"],"description":"explicit_weight, market_value, shares_x_price or equal_weight"},"signal_mix":{"type":"object","description":"Share of portfolio weight (0-1) by signal","properties":{"Bullish":{"type":"number"},"Neutral":{"type":"number"},"Bearish":{"type":"number"}}},"factor_exposure":{"type":"object","description":"Keyed by technical, momentum, fundamental, options, microstructure","additionalProperties":{"type":"object","properties":{"score":{"type":["number","null"],"description":"Weighted factor score"},"coverage":{"type":"number","description":"Share of weight (0-1) reporting the factor"}}}},"concentration":{"type":"object","properties":{"hhi":{"type":["number","null"],"description":"Sum of squared weights; 1 is a single stock"},"top_position":{"type":["object","null"],"properties":{"ticker":{"type":"string"},"weight_pct":{"type":"number"}}},"top3_weight_pct":{"type":["number","null"]},"effective_positions":{"type":["number","null"]}}},"sector_exposure":{"type":"array","description":"Largest first","items":{"type":"object","properties":{"sector":{"type":"string"},"weight_pct":{"type":"number"}}}},"positions":{"type":"array","description":"Scored holdings, largest weight first","items":{"type":"object","properties":{"ticker":{"type":"string"},"weight_pct":{"type":"number"},"signal":{"type":"string","description":"Bullish, Neutral or Bearish"},"composite_score":{"type":"number","description":"0-100"},"price":{"type":["number","null"]},"change_pct":{"type":["number","null"]},"sector":{"type":["string","null"]}}}},"risk_flags":{"type":"array","description":"Plain-language concentration and signal warnings","items":{"type":"string"}},"review_priority":{"type":"array","description":"Up to 6 holdings most worth reviewing","items":{"type":"object","properties":{"ticker":{"type":"string"},"weight_pct":{"type":"number"},"score":{"type":"number"},"signal":{"type":"string"},"note":{"type":"string"}}}},"unresolved":{"type":"array","description":"Holdings that could not be scored","items":{"type":"object","properties":{"ticker":{"type":"string"},"reason":{"type":"string"}}}},"disclaimer":{"type":"string"},"api_version":{"type":"string"}},"required":["ok","posture","weighted_composite_score","posture_note","n_positions","weight_basis","signal_mix","factor_exposure","concentration","sector_exposure","positions","risk_flags","review_priority","unresolved","disclaimer","api_version"]},"PostPortfolioResponse":{"type":"object","required":["ok","posture","weighted_composite_score","posture_note","n_positions","weight_basis","signal_mix","factor_exposure","concentration","sector_exposure","positions","risk_flags","review_priority","unresolved","disclaimer","api_version"],"properties":{"ok":{"type":"boolean"},"posture":{"type":"string","description":"Bullish, Constructive, Neutral, Cautious, Bearish, or Unknown when nothing could be scored"},"weighted_composite_score":{"type":["number","null"],"description":"Weight-averaged 5-factor composite, 0-100"},"posture_note":{"type":"string"},"n_positions":{"type":"integer","description":"Holdings that could be scored"},"weight_basis":{"type":["string","null"],"description":"explicit_weight, market_value, shares_x_price or equal_weight"},"signal_mix":{"type":"object","description":"Share of book weight per signal label, 0-1","properties":{"Bullish":{"type":"number"},"Neutral":{"type":"number"},"Bearish":{"type":"number"}}},"factor_exposure":{"type":"object","properties":{"technical":{"type":"object","properties":{"score":{"type":["number","null"],"description":"Weighted factor score, 0-100"},"coverage":{"type":"number","description":"Share of book weight reporting this factor, 0-1"}}},"momentum":{"type":"object","properties":{"score":{"type":["number","null"],"description":"Weighted factor score, 0-100"},"coverage":{"type":"number","description":"Share of book weight reporting this factor, 0-1"}}},"fundamental":{"type":"object","properties":{"score":{"type":["number","null"],"description":"Weighted factor score, 0-100"},"coverage":{"type":"number","description":"Share of book weight reporting this factor, 0-1"}}},"options":{"type":"object","properties":{"score":{"type":["number","null"],"description":"Weighted factor score, 0-100"},"coverage":{"type":"number","description":"Share of book weight reporting this factor, 0-1"}}},"microstructure":{"type":"object","properties":{"score":{"type":["number","null"],"description":"Weighted factor score, 0-100"},"coverage":{"type":"number","description":"Share of book weight reporting this factor, 0-1"}}}}},"concentration":{"type":"object","properties":{"hhi":{"type":["number","null"],"description":"Herfindahl index of position weights; 1 = single stock"},"top_position":{"type":["object","null"],"properties":{"ticker":{"type":"string"},"weight_pct":{"type":"number"}}},"top3_weight_pct":{"type":["number","null"]},"effective_positions":{"type":["number","null"],"description":"1 / HHI"}}},"sector_exposure":{"type":"array","description":"Largest sector first","items":{"type":"object","properties":{"sector":{"type":"string"},"weight_pct":{"type":"number"}}}},"positions":{"type":"array","description":"Scored holdings, heaviest first","items":{"type":"object","properties":{"ticker":{"type":"string"},"weight_pct":{"type":"number"},"signal":{"type":"string","description":"Bullish, Neutral or Bearish"},"composite_score":{"type":"number","description":"0-100"},"price":{"type":["number","null"]},"change_pct":{"type":["number","null"]},"sector":{"type":["string","null"]}}}},"risk_flags":{"type":"array","description":"Plain-English concentration and signal warnings","items":{"type":"string"}},"review_priority":{"type":"array","description":"Up to 6 holdings most worth reviewing","items":{"type":"object","properties":{"ticker":{"type":"string"},"weight_pct":{"type":"number"},"score":{"type":"number"},"signal":{"type":"string"},"note":{"type":"string"}}}},"unresolved":{"type":"array","description":"Holdings left out because no signal was available","items":{"type":"object","properties":{"ticker":{"type":"string"},"reason":{"type":"string"}}}},"disclaimer":{"type":"string"},"api_version":{"type":"string"}}},"PostPortfolioAnalyticsResponse":{"type":"object","required":["ok","as_of","start","sessions","benchmark","source_label","stateless","coverage_pct","value_now","value_start","var95_dollars_1d","entitled","method","disclaimer","api_version","tier"],"properties":{"ok":{"type":"boolean"},"as_of":{"type":"string","description":"Last session in the replay, YYYY-MM-DD"},"start":{"type":"string","description":"First session in the replay, YYYY-MM-DD"},"sessions":{"type":"integer"},"benchmark":{"type":"string","description":"Benchmark ticker (SPY)"},"source_label":{"type":"string"},"stateless":{"type":"boolean"},"coverage_pct":{"type":["number","null"],"description":"Share of the priced book the replay covers, percent"},"value_now":{"type":"number","description":"Book value at as_of, USD"},"value_start":{"type":"number","description":"Book value at start, USD"},"var95_dollars_1d":{"type":["number","null"],"description":"Historical 1-day 95% VaR in USD"},"entitled":{"type":"boolean"},"metrics":{"type":"object","description":"Book metrics; returns, volatility and drawdowns are decimal fractions. Sections all, metrics.","properties":{"sessions":{"type":"integer","description":"Daily returns in the replay window"},"years":{"type":"number"},"total_return":{"type":["number","null"]},"cagr":{"type":["number","null"],"description":"Null under 3 months of history"},"ret_1m":{"type":["number","null"]},"ret_3m":{"type":["number","null"]},"ret_6m":{"type":["number","null"]},"ret_ytd":{"type":["number","null"]},"ret_1y":{"type":["number","null"]},"ret_3y_ann":{"type":["number","null"]},"vol_ann":{"type":["number","null"]},"downside_dev":{"type":["number","null"]},"sharpe":{"type":["number","null"]},"sortino":{"type":["number","null"]},"calmar":{"type":["number","null"]},"max_dd":{"type":["number","null"],"description":"Worst peak-to-trough, negative fraction"},"max_dd_peak":{"type":["string","null"],"description":"Date, YYYY-MM-DD"},"max_dd_trough":{"type":["string","null"],"description":"Date, YYYY-MM-DD"},"max_dd_recovery":{"type":["string","null"],"description":"Date, YYYY-MM-DD; null if not recovered"},"max_dd_recovered":{"type":"boolean"},"max_dd_sessions":{"type":"integer"},"longest_underwater_sessions":{"type":"integer"},"current_dd":{"type":["number","null"]},"ulcer_index":{"type":["number","null"]},"beta":{"type":["number","null"]},"correlation":{"type":["number","null"]},"r_squared":{"type":["number","null"]},"alpha_ann":{"type":["number","null"]},"tracking_error":{"type":["number","null"]},"information_ratio":{"type":["number","null"]},"up_capture":{"type":["number","null"],"description":"Percent of benchmark up-day return"},"down_capture":{"type":["number","null"],"description":"Percent of benchmark down-day return"},"var95_1d":{"type":["number","null"],"description":"Historical 1-day VaR as a positive fraction"},"var99_1d":{"type":["number","null"]},"cvar95_1d":{"type":["number","null"]},"skew":{"type":["number","null"]},"excess_kurtosis":{"type":["number","null"]},"best_day":{"type":["object","null"],"description":"Best daily return: { r: return, d: date }"},"worst_day":{"type":["object","null"],"description":"Worst daily return: { r: return, d: date }"}}},"benchmark_metrics":{"type":"object","description":"Same fields as metrics, computed for the benchmark. Sections all, metrics."},"notes":{"type":"array","description":"Plain-English reads, up to 6. Sections all, metrics.","items":{"type":"object","properties":{"level":{"type":"string","description":"info, warn or good"},"text":{"type":"string"}}}},"risk":{"type":["object","null"],"description":"Euler risk decomposition. Sections all, risk.","properties":{"rows":{"type":"array","description":"Up to 20 names, largest risk share first","items":{"type":"object"}},"book_vol_ann":{"type":["number","null"]},"diversification_ratio":{"type":["number","null"]}}},"contributions":{"type":"array","description":"Sections all, risk.","items":{"type":"object","properties":{"ticker":{"type":"string"},"contribution":{"type":["number","null"],"description":"Contribution to window return, fraction of starting value"}}}},"asset_mix":{"type":["object","null"],"description":"Asset-class look-through. Sections all, risk.","properties":{"total":{"type":"number","description":"USD"},"classes":{"type":"array","items":{"type":"object"}},"stock_pct":{"type":["number","null"]},"bond_pct":{"type":["number","null"]},"cash_pct":{"type":["number","null"]}}},"excluded":{"type":"array","description":"Names left out of the replay. Sections all, risk.","items":{"type":"object","properties":{"ticker":{"type":"string"},"reason":{"type":"string","description":"no_price_history, short_history or no_benchmark_history"},"weight_pct":{"type":["number","null"]}}}},"limited_by":{"type":["string","null"],"description":"Ticker whose short history shortened the window. Sections all, risk."},"series":{"type":"object","description":"Chart series. Sections all, series.","properties":{"growth":{"type":"array","description":"Up to 40 points","items":{"type":"object"}},"underwater":{"type":"array","description":"Up to 40 points","items":{"type":"object"}},"monthly":{"type":"array","items":{"type":"object"}},"rolling":{"type":"array","description":"Only with include_series","items":{"type":"object"}},"histogram":{"type":["object","null"],"description":"Daily-return histogram (bins, clipped, mean, std). Only with include_series."}}},"projection_inputs":{"type":["object","null"],"description":"Assumptions for a forward projection. Sections all, projection.","properties":{"expected_return":{"type":["number","null"]},"volatility":{"type":["number","null"]},"capm_prior":{"type":["number","null"]},"realized_cagr":{"type":["number","null"]},"basis":{"type":"string"}}},"method":{"type":"string","description":"How the replay was computed"},"disclaimer":{"type":"string"},"api_version":{"type":"string"},"tier":{"type":"string","description":"API tier of the key"}}},"GetPortfolioOverlayResponse":{"type":"object","required":["ok","source","unresolved","generated_at","disclaimer","api_version"],"properties":{"ok":{"type":"boolean","description":"False when no holding had a signal (error is then no_signals)"},"error":{"type":"string","description":"Only when ok is false: no_signals"},"source":{"type":"string","description":"manual on this endpoint"},"account":{"type":["object","null"],"description":"Always null on this endpoint"},"regime":{"type":["object","null"],"description":"Today's market regime; null when unavailable","properties":{"trend":{"type":"string","description":"up, down or flat"},"vol":{"type":"string","description":"calm or volatile"},"breadth":{"type":["number","null"],"description":"Share of the sample that rose, 0-1"},"label":{"type":"string","description":"e.g. Bull-Calm, Range-Volatile"}}},"holdings":{"type":"array","description":"Holdings with a signal, heaviest first. Only when ok is true.","items":{"type":"object","properties":{"ticker":{"type":"string"},"name":{"type":"string"},"sector":{"type":"string"},"qty":{"type":["number","null"],"description":"Null when holdings are passed in the request"},"avg_entry_price":{"type":["number","null"],"description":"Null when holdings are passed in the request"},"current_price":{"type":["number","null"]},"market_value":{"type":["number","null"],"description":"The value passed for this holding, if any"},"unrealized_pl":{"type":["number","null"],"description":"Null when holdings are passed in the request"},"unrealized_pl_pct":{"type":["number","null"],"description":"Null when holdings are passed in the request"},"side":{"type":["string","null"],"description":"Null when holdings are passed in the request"},"shares":{"type":["number","null"]},"price":{"type":["number","null"]},"weight_pct":{"type":"number","description":"Value weight when every holding has a value, else equal weight"},"ql_signal":{"type":"object","properties":{"label":{"type":"string"},"composite_score":{"type":"integer","description":"0-100"},"confidence":{"type":["integer","null"]},"direction":{"type":"string","description":"bullish, bearish or neutral"}}},"ql_factors":{"type":"object","description":"Factor scores, 0-100","properties":{"technical":{"type":["integer","null"]},"momentum":{"type":["integer","null"]},"fundamental":{"type":["integer","null"]},"options":{"type":["integer","null"]},"microstructure":{"type":["integer","null"]}}},"ql_verdict":{"type":"string","description":"agree_hold, ql_says_sell, ql_says_add or neutral"},"ql_prediction":{"type":["object","null"],"description":"Pattern-match prediction when at least 5 similar setups exist"},"ql_historical_accuracy":{"type":["object","null"]},"action":{"type":"object","properties":{"type":{"type":"string","description":"CLOSE, ADD, HOLD or WATCH"},"reason":{"type":"string"},"priority":{"type":"string","description":"high, medium or low"}}}}}},"signal_gaps":{"type":"array","description":"Up to 5 strong-buy names not in the book. Only when ok is true.","items":{"type":"object","properties":{"ticker":{"type":"string"},"name":{"type":"string"},"sector":{"type":"string"},"signal_label":{"type":"string"},"composite_score":{"type":"integer"}}}},"action_items":{"type":"array","description":"Priority-ordered queue. Only when ok is true.","items":{"type":"object","properties":{"type":{"type":"string","description":"CLOSE, ADD, DIVERSIFY or HEDGE"},"ticker":{"type":["string","null"],"description":"Null for portfolio-level items"},"reason":{"type":"string"},"priority":{"type":"string","description":"high or medium"}}}},"unresolved":{"type":"array","description":"Tickers with no signal","items":{"type":"string"}},"portfolio_summary":{"type":"object","description":"Only when ok is true","properties":{"total_holdings":{"type":"integer"},"total_value":{"type":["number","null"],"description":"USD; null when equal-weighted"},"weighting":{"type":"string","description":"value or equal"},"avg_ql_score":{"type":"integer"},"aligned_count":{"type":"integer"},"disagree_count":{"type":"integer"},"sector_concentration":{"type":"array","items":{"type":"object","properties":{"sector":{"type":"string"},"weight_pct":{"type":"number"}}}},"concentration":{"type":"object","properties":{"top_weight_pct":{"type":"number"},"top3_weight_pct":{"type":"number"}}},"portfolio_beta":{"type":"number","description":"Sector-weighted estimate"},"risk_grade":{"type":"string","description":"A, A-, B, B-, C, C-, D or F"},"risk_score":{"type":"integer","description":"0-100, higher is safer"},"risk_drivers":{"type":"array","items":{"type":"string"}}}},"generated_at":{"type":"string","description":"ISO 8601 timestamp"},"disclaimer":{"type":"string"},"api_version":{"type":"string"}}},"PostPortfolioOverlayResponse":{"type":"object","required":["ok","source","unresolved","generated_at","disclaimer","api_version"],"properties":{"ok":{"type":"boolean","description":"False when no holding had a signal (error is then no_signals)"},"error":{"type":"string","description":"Only when ok is false: no_signals"},"source":{"type":"string","description":"manual on this endpoint"},"account":{"type":["object","null"],"description":"Always null on this endpoint"},"regime":{"type":["object","null"],"description":"Today's market regime; null when unavailable","properties":{"trend":{"type":"string","description":"up, down or flat"},"vol":{"type":"string","description":"calm or volatile"},"breadth":{"type":["number","null"],"description":"Share of the sample that rose, 0-1"},"label":{"type":"string","description":"e.g. Bull-Calm, Range-Volatile"}}},"holdings":{"type":"array","description":"Holdings with a signal, heaviest first. Only when ok is true.","items":{"type":"object","properties":{"ticker":{"type":"string"},"name":{"type":"string"},"sector":{"type":"string"},"qty":{"type":["number","null"],"description":"Null when holdings are passed in the request"},"avg_entry_price":{"type":["number","null"],"description":"Null when holdings are passed in the request"},"current_price":{"type":["number","null"]},"market_value":{"type":["number","null"],"description":"The value passed for this holding, if any"},"unrealized_pl":{"type":["number","null"],"description":"Null when holdings are passed in the request"},"unrealized_pl_pct":{"type":["number","null"],"description":"Null when holdings are passed in the request"},"side":{"type":["string","null"],"description":"Null when holdings are passed in the request"},"shares":{"type":["number","null"]},"price":{"type":["number","null"]},"weight_pct":{"type":"number","description":"Value weight when every holding has a value, else equal weight"},"ql_signal":{"type":"object","properties":{"label":{"type":"string"},"composite_score":{"type":"integer","description":"0-100"},"confidence":{"type":["integer","null"]},"direction":{"type":"string","description":"bullish, bearish or neutral"}}},"ql_factors":{"type":"object","description":"Factor scores, 0-100","properties":{"technical":{"type":["integer","null"]},"momentum":{"type":["integer","null"]},"fundamental":{"type":["integer","null"]},"options":{"type":["integer","null"]},"microstructure":{"type":["integer","null"]}}},"ql_verdict":{"type":"string","description":"agree_hold, ql_says_sell, ql_says_add or neutral"},"ql_prediction":{"type":["object","null"],"description":"Pattern-match prediction when at least 5 similar setups exist"},"ql_historical_accuracy":{"type":["object","null"]},"action":{"type":"object","properties":{"type":{"type":"string","description":"CLOSE, ADD, HOLD or WATCH"},"reason":{"type":"string"},"priority":{"type":"string","description":"high, medium or low"}}}}}},"signal_gaps":{"type":"array","description":"Up to 5 strong-buy names not in the book. Only when ok is true.","items":{"type":"object","properties":{"ticker":{"type":"string"},"name":{"type":"string"},"sector":{"type":"string"},"signal_label":{"type":"string"},"composite_score":{"type":"integer"}}}},"action_items":{"type":"array","description":"Priority-ordered queue. Only when ok is true.","items":{"type":"object","properties":{"type":{"type":"string","description":"CLOSE, ADD, DIVERSIFY or HEDGE"},"ticker":{"type":["string","null"],"description":"Null for portfolio-level items"},"reason":{"type":"string"},"priority":{"type":"string","description":"high or medium"}}}},"unresolved":{"type":"array","description":"Tickers with no signal","items":{"type":"string"}},"portfolio_summary":{"type":"object","description":"Only when ok is true","properties":{"total_holdings":{"type":"integer"},"total_value":{"type":["number","null"],"description":"USD; null when equal-weighted"},"weighting":{"type":"string","description":"value or equal"},"avg_ql_score":{"type":"integer"},"aligned_count":{"type":"integer"},"disagree_count":{"type":"integer"},"sector_concentration":{"type":"array","items":{"type":"object","properties":{"sector":{"type":"string"},"weight_pct":{"type":"number"}}}},"concentration":{"type":"object","properties":{"top_weight_pct":{"type":"number"},"top3_weight_pct":{"type":"number"}}},"portfolio_beta":{"type":"number","description":"Sector-weighted estimate"},"risk_grade":{"type":"string","description":"A, A-, B, B-, C, C-, D or F"},"risk_score":{"type":"integer","description":"0-100, higher is safer"},"risk_drivers":{"type":"array","items":{"type":"string"}}}},"generated_at":{"type":"string","description":"ISO 8601 timestamp"},"disclaimer":{"type":"string"},"api_version":{"type":"string"}}},"PostSimulateResponse":{"type":"object","required":["ok","disclaimer","api_version","tier"],"properties":{"ok":{"type":"boolean"},"status":{"type":"string","description":"private_only when only private_positions were sent; absent otherwise"},"rejected":{"type":"array","description":"Input rows that were dropped, each with a reason. Only when some were.","items":{"type":"object"}},"engine":{"type":"string","description":"monte_carlo"},"version":{"type":"string"},"scan_date":{"type":"string","description":"ISO 8601 timestamp"},"horizon_days":{"type":"integer","description":"Trading days simulated"},"num_paths":{"type":"integer"},"holding_count":{"type":"integer"},"history_days":{"type":"integer","description":"Shared daily returns feeding the bootstrap"},"lookback_years":{"type":"number"},"total_market_value":{"type":"number","description":"USD"},"regime":{"type":["object","null"],"description":"Regime context; null unless regime was requested","properties":{"mode":{"type":"string","description":"auto or stressed"},"current_state":{"type":"string","description":"calm_up, calm_down, normal_up, normal_down, stressed_up or stressed_down"},"current_label":{"type":"string"},"start_state":{"type":"string","description":"State the simulation starts from"},"expected_dwell_days":{"type":"number"},"shift_risk_pct":{"type":"number","description":"Chance of reaching a stressed state within the horizon"},"regime_drift_pct":{"type":"number","description":"Expected cumulative drift over the horizon"},"state_share":{"type":"object","description":"Percent of history spent in each state, keyed by state"}}},"calibration":{"type":["object","null"],"description":"Rolling-origin back-test of the forecast band on the book's own history","properties":{"available":{"type":"boolean"},"status":{"type":"string","description":"Only when available is false: insufficient_history"},"message":{"type":"string","description":"Only when available is false"},"origins":{"type":"integer","description":"Forecast origins tested"},"window_days":{"type":"integer"},"coverage_p10_p90_pct":{"type":"number","description":"Share of realized outcomes inside the p10-p90 band; ideal 80"},"coverage_p25_p75_pct":{"type":"number","description":"Ideal 50"},"directional_hit_rate_pct":{"type":["number","null"]},"bias_pct":{"type":"number"},"pit_mean":{"type":"number","description":"About 0.5 when calibrated"},"verdict":{"type":"string","description":"WELL_CALIBRATED, OVERCONFIDENT or UNDERCONFIDENT"},"verdict_note":{"type":"string"}}},"hist_annual_drift_pct":{"type":"number"},"hist_annual_vol_pct":{"type":"number"},"terminal":{"type":"object","description":"Distribution of the return at the horizon, percent","properties":{"mean_pct":{"type":"number"},"p5_pct":{"type":"number"},"p10_pct":{"type":"number"},"p25_pct":{"type":"number"},"p50_pct":{"type":"number"},"p75_pct":{"type":"number"},"p90_pct":{"type":"number"},"p95_pct":{"type":"number"}}},"prob_positive_pct":{"type":"number"},"var_5_pct":{"type":"number","description":"5% value at risk as a positive percent loss"},"cvar_5_pct":{"type":"number"},"prob_hit_plus10_pct":{"type":"number","description":"Chance of ending at +10% or better"},"prob_hit_minus10_pct":{"type":"number","description":"Chance of ending at -10% or worse"},"var_dollar":{"type":"number","description":"USD"},"cvar_dollar":{"type":"number","description":"USD"},"cone":{"type":"array","description":"Cumulative return percentiles per day, thinned to about 63 rows","items":{"type":"object","properties":{"day":{"type":"integer"},"p10":{"type":"number"},"p50":{"type":"number"},"p90":{"type":"number"}}}},"model_challenge":{"type":["object","null"],"description":"The same book through competing models","properties":{"horizon_days":{"type":"integer"},"rows":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","description":"bootstrap, gbm or zero_drift"},"label":{"type":"string"},"note":{"type":"string"},"p5":{"type":"number"},"p50":{"type":"number"},"p95":{"type":"number"}}}},"crisis_floor":{"type":["object","null"],"properties":{"label":{"type":"string"},"pct":{"type":"number"}}},"tail_gap_pp":{"type":"number","description":"Bootstrap minus lognormal at the 5th percentile, points"},"drift_share_pp":{"type":"number","description":"Median return owed to historical drift, points"},"read":{"type":"string","description":"Plain-English comparison"}}},"confidence":{"type":["object","null"],"properties":{"level":{"type":"string","description":"high, moderate or low"},"label":{"type":"string"},"reasons":{"type":"array","items":{"type":"string"}}}},"private_sleeve":{"type":"object","description":"Private-company sleeve result. Only when private_positions were sent."},"blended":{"type":"object","description":"Public book and private sleeve combined at the horizon. Only with private_positions."},"disclaimer":{"type":"string"},"api_version":{"type":"string"},"tier":{"type":"string","description":"API tier of the key"}}},"GetResearchRequestResponse":{"type":"object","required":["ok","requests","count","api_version"],"properties":{"ok":{"type":"boolean"},"requests":{"type":"array","description":"Newest first","items":{"type":"object","properties":{"request_id":{"type":"string"},"entity":{"type":"string"},"kind":{"type":"string","description":"equity, etf or private"},"status":{"type":"string","description":"pending, published or refunded"},"requested_at":{"type":"string","description":"ISO 8601 timestamp"},"credits":{"type":"number","description":"Credits charged"},"thesis_id":{"type":"string","description":"Only once published"},"url":{"type":"string","description":"Path of the published thesis. Only once published."}}}},"count":{"type":"integer"},"api_version":{"type":"string"}}},"PostResearchRequestResponse":{"type":"object","required":["ok","request_id","entity","kind","credits_charged","queue_position","next_research_window","note","api_version"],"properties":{"ok":{"type":"boolean"},"request_id":{"type":"string"},"entity":{"type":"string","description":"Normalized ticker, or the private company slug in upper case"},"kind":{"type":"string","description":"equity, etf or private"},"credits_charged":{"type":"number"},"queue_position":{"type":"integer"},"next_research_window":{"type":["object","null"],"properties":{"at":{"type":"string","description":"ISO 8601 timestamp"},"label":{"type":"string","description":"e.g. 14:10 UTC"},"display":{"type":"string"},"schedule":{"type":"array","description":"Daily research times, UTC","items":{"type":"string"}}}},"note":{"type":"string"},"prior_coverage":{"type":"object","description":"Only when the entity has an earlier thesis","properties":{"url":{"type":"string"},"published_at":{"type":"string"},"status":{"type":"string"}}},"api_version":{"type":"string"}}},"GetAgentsResponse":{"type":"object","required":["api_version"],"properties":{"agents":{"type":"array","description":"Without ?id=: every agent the key can see","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"mode":{"type":"string","description":"digest, alert, research or committee"},"context":{"type":"string"},"connector_ids":{"type":"array","items":{"type":"string"}},"task_prompt":{"type":"string"},"tickers":{"type":"array","items":{"type":"string"}},"cadence":{"type":"string","description":"premarket, close, weekly, once or intraday"},"cadence_label":{"type":"string"},"run_at":{"type":["string","null"],"description":"Scheduled time for a one-time agent, ISO 8601"},"channels":{"type":"object","properties":{"push":{"type":"boolean"},"email":{"type":"boolean"},"telegram":{"type":"boolean"},"discord":{"type":"boolean"}}},"webhook_url":{"type":["string","null"]},"chain_agent_id":{"type":["string","null"],"description":"Agent run after this one"},"save_to":{"type":"string","description":"off, note, sheet, slides, drawing or auto"},"tools_enabled":{"type":"boolean"},"suppress_quiet":{"type":"boolean"},"scope_portfolio":{"type":"boolean"},"post_channel_id":{"type":["string","null"]},"auto_trade":{"type":"boolean"},"actions_enabled":{"type":"boolean"},"trade_config":{"type":["object","null"],"description":"Paper-trading risk limits when auto_trade is on"},"budget_credits_month":{"type":["number","null"],"description":"Monthly credit cap; null = none"},"max_run_tokens":{"type":["integer","null"],"description":"Per-run token cap; null = none"},"enabled":{"type":"boolean"},"last_run_at":{"type":["string","null"]},"last_status":{"type":["string","null"]},"last_summary":{"type":["string","null"]},"run_count":{"type":"integer"},"created_at":{"type":"string"},"pipeline":{"type":["object","null"],"description":"Agent Studio block graph, if one was saved"}}}},"count":{"type":"integer","description":"Without ?id="},"cap":{"type":["integer","null"],"description":"Without ?id=: agents allowed on the plan; null = unlimited"},"can_add":{"type":"boolean","description":"Without ?id="},"agent":{"type":"object","description":"Only with ?id=: one agent, same fields as each item of agents"},"stats":{"type":"object","description":"Only with ?id=","properties":{"total_runs":{"type":"integer","description":"Runs summarized, newest 100 at most"},"run_count":{"type":"integer","description":"Lifetime run count of the agent"},"fired":{"type":"integer"},"errors":{"type":"integer"},"skipped":{"type":"integer"},"success_rate_pct":{"type":["integer","null"]},"fired_rate_pct":{"type":["integer","null"]},"total_cost_usd":{"type":"number"},"avg_cost_usd":{"type":"number"},"total_tokens":{"type":"integer"},"context_fresh_rate_pct":{"type":["integer","null"]},"context_quality_score_avg":{"type":["number","null"]},"grounding_rate_avg_pct":{"type":["integer","null"],"description":"Average share of numeric claims verified"},"grounding_graded_runs":{"type":"integer"},"health":{"type":"object","properties":{"band":{"type":"string","description":"e.g. healthy, needs_attention, needs_data, noisy, too_quiet, warming_up, dormant"},"label":{"type":"string"},"score":{"type":"number","description":"0-100"},"recommendation":{"type":"string"}}},"health_band":{"type":"string"},"health_recommendation":{"type":"string"},"last_run_at":{"type":["string","null"]},"last_fired_at":{"type":["string","null"]},"last_status":{"type":["string","null"]}}},"runs":{"type":"array","description":"Only with ?id=: newest runs, up to runs_limit","items":{"type":"object","properties":{"id":{"type":"string"},"agent_id":{"type":"string"},"ran_at":{"type":"string","description":"ISO 8601 timestamp"},"status":{"type":["string","null"],"description":"pending, fired, clear, skipped or error"},"fired":{"type":"boolean"},"models":{"type":"string"},"summary":{"type":"string"},"error":{"type":["string","null"]},"result":{"type":["object","null"],"description":"Structured result; null for scheduled runs, which carry summary only","properties":{"headline":{"type":"string"},"detail":{"type":"string"},"confidence":{"type":["number","null"]},"sources":{"type":"array","items":{"type":"object"}},"as_of":{"type":["string","null"]},"artifact":{"type":"object","description":"Only when the run saved a document: kind, id, url, title"},"artifact_error":{"type":"string","description":"Only when saving the document failed"}}},"usage":{"type":"object","properties":{"total_tokens":{"type":"integer"},"credits_used":{"type":["integer","null"]},"cost_usd":{"type":"number"}}}}}},"scoped":{"type":"boolean","description":"Present (true) only when the key is limited to specific agents"},"api_version":{"type":"string"}}},"PostAgentsResponse":{"type":"object","required":["ok","agent","api_version"],"properties":{"ok":{"type":"boolean"},"agent":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"mode":{"type":"string","description":"digest, alert, research or committee"},"context":{"type":"string"},"connector_ids":{"type":"array","items":{"type":"string"}},"task_prompt":{"type":"string"},"tickers":{"type":"array","items":{"type":"string"}},"cadence":{"type":"string","description":"premarket, close, weekly, once or intraday"},"cadence_label":{"type":"string"},"run_at":{"type":["string","null"],"description":"Scheduled time for a one-time agent, ISO 8601"},"channels":{"type":"object","properties":{"push":{"type":"boolean"},"email":{"type":"boolean"},"telegram":{"type":"boolean"},"discord":{"type":"boolean"}}},"webhook_url":{"type":["string","null"]},"chain_agent_id":{"type":["string","null"],"description":"Agent run after this one"},"save_to":{"type":"string","description":"off, note, sheet, slides, drawing or auto"},"tools_enabled":{"type":"boolean"},"suppress_quiet":{"type":"boolean"},"scope_portfolio":{"type":"boolean"},"post_channel_id":{"type":["string","null"]},"auto_trade":{"type":"boolean"},"actions_enabled":{"type":"boolean"},"trade_config":{"type":["object","null"],"description":"Paper-trading risk limits when auto_trade is on"},"budget_credits_month":{"type":["number","null"],"description":"Monthly credit cap; null = none"},"max_run_tokens":{"type":["integer","null"],"description":"Per-run token cap; null = none"},"enabled":{"type":"boolean"},"last_run_at":{"type":["string","null"]},"last_status":{"type":["string","null"]},"last_summary":{"type":["string","null"]},"run_count":{"type":"integer"},"created_at":{"type":"string"},"pipeline":{"type":["object","null"],"description":"Agent Studio block graph, if one was saved"}}},"api_version":{"type":"string"}}},"PatchAgentsResponse":{"type":"object","required":["ok","agent","api_version"],"properties":{"ok":{"type":"boolean"},"agent":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"mode":{"type":"string","description":"digest, alert, research or committee"},"context":{"type":"string"},"connector_ids":{"type":"array","items":{"type":"string"}},"task_prompt":{"type":"string"},"tickers":{"type":"array","items":{"type":"string"}},"cadence":{"type":"string","description":"premarket, close, weekly, once or intraday"},"cadence_label":{"type":"string"},"run_at":{"type":["string","null"],"description":"Scheduled time for a one-time agent, ISO 8601"},"channels":{"type":"object","properties":{"push":{"type":"boolean"},"email":{"type":"boolean"},"telegram":{"type":"boolean"},"discord":{"type":"boolean"}}},"webhook_url":{"type":["string","null"]},"chain_agent_id":{"type":["string","null"],"description":"Agent run after this one"},"save_to":{"type":"string","description":"off, note, sheet, slides, drawing or auto"},"tools_enabled":{"type":"boolean"},"suppress_quiet":{"type":"boolean"},"scope_portfolio":{"type":"boolean"},"post_channel_id":{"type":["string","null"]},"auto_trade":{"type":"boolean"},"actions_enabled":{"type":"boolean"},"trade_config":{"type":["object","null"],"description":"Paper-trading risk limits when auto_trade is on"},"budget_credits_month":{"type":["number","null"],"description":"Monthly credit cap; null = none"},"max_run_tokens":{"type":["integer","null"],"description":"Per-run token cap; null = none"},"enabled":{"type":"boolean"},"last_run_at":{"type":["string","null"]},"last_status":{"type":["string","null"]},"last_summary":{"type":["string","null"]},"run_count":{"type":"integer"},"created_at":{"type":"string"},"pipeline":{"type":["object","null"],"description":"Agent Studio block graph, if one was saved"}}},"api_version":{"type":"string"}}},"DeleteAgentsResponse":{"type":"object","required":["ok","api_version"],"properties":{"ok":{"type":"boolean"},"api_version":{"type":"string"}}},"GetAgentsConnectorsResponse":{"type":"object","required":["connectors","cap","api_version"],"properties":{"connectors":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","description":"rest or mcp"},"base_url":{"type":"string"},"auth_mode":{"type":"string","description":"none, bearer or header"},"auth_header":{"type":["string","null"]},"has_secret":{"type":"boolean","description":"Whether a credential is stored; the credential itself is never returned"},"allowed_tools":{"type":"array","items":{"type":"string"}},"allowed_paths":{"type":"array","items":{"type":"string"}},"enabled":{"type":"boolean"},"last_ok_at":{"type":["string","null"],"description":"Last successful test"},"last_error":{"type":["string","null"],"description":"Error from the last failed test"},"created_at":{"type":"string"}}}},"cap":{"type":"integer","description":"Connectors allowed per account"},"api_version":{"type":"string"}}},"PostAgentsConnectors200Response":{"type":"object","required":["ok","api_version"],"properties":{"ok":{"type":"boolean","description":"False when the probe failed"},"tools":{"type":"array","description":"MCP connectors: up to 15 tools the server lists","items":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"inputSchema":{"type":["object","null"]}}}},"sample":{"type":"string","description":"REST connectors: first 300 characters of the first allowed path"},"error":{"type":"string","description":"Only when ok is false"},"api_version":{"type":"string"}}},"PostAgentsConnectors201Response":{"type":"object","required":["ok","connector","api_version"],"properties":{"ok":{"type":"boolean"},"connector":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","description":"rest or mcp"},"base_url":{"type":"string"},"auth_mode":{"type":"string","description":"none, bearer or header"},"auth_header":{"type":["string","null"]},"has_secret":{"type":"boolean","description":"Whether a credential is stored; the credential itself is never returned"},"allowed_tools":{"type":"array","items":{"type":"string"}},"allowed_paths":{"type":"array","items":{"type":"string"}},"enabled":{"type":"boolean"},"last_ok_at":{"type":["string","null"],"description":"Last successful test"},"last_error":{"type":["string","null"],"description":"Error from the last failed test"},"created_at":{"type":"string"}}},"api_version":{"type":"string"}}},"PatchAgentsConnectorsResponse":{"type":"object","required":["ok","connector","api_version"],"properties":{"ok":{"type":"boolean"},"connector":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","description":"rest or mcp"},"base_url":{"type":"string"},"auth_mode":{"type":"string","description":"none, bearer or header"},"auth_header":{"type":["string","null"]},"has_secret":{"type":"boolean","description":"Whether a credential is stored; the credential itself is never returned"},"allowed_tools":{"type":"array","items":{"type":"string"}},"allowed_paths":{"type":"array","items":{"type":"string"}},"enabled":{"type":"boolean"},"last_ok_at":{"type":["string","null"],"description":"Last successful test"},"last_error":{"type":["string","null"],"description":"Error from the last failed test"},"created_at":{"type":"string"}}},"api_version":{"type":"string"}}},"DeleteAgentsConnectorsResponse":{"type":"object","required":["ok","api_version"],"properties":{"ok":{"type":"boolean"},"api_version":{"type":"string"}}},"GetAgentsMeshResponse":{"type":"object","properties":{"listings":{"type":"array","description":"Default view: your listings. view=directory: public listings (no agent_id or connector_id).","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"capabilities":{"type":"array","items":{"type":"string"}},"visibility":{"type":"string","description":"private, unlisted or public"},"owner_label":{"type":"string"},"created_at":{"type":"string"},"target_type":{"type":"string","description":"native, platform or connector"},"first_party":{"type":"boolean","description":"True for QuantLogix flagship listings"},"agent_id":{"type":"string","description":"Your listings only: the agent behind it"},"connector_id":{"type":"string","description":"Your listings only: the connector behind it"}}}},"grants":{"type":"object","description":"Default view only","properties":{"given":{"type":"array","description":"Grants you issued","items":{"type":"object","properties":{"id":{"type":"string"},"listing_id":{"type":"string"},"grantee_user_id":{"type":"string","description":"Only on grants you issued"},"allowed_capabilities":{"type":"array","items":{"type":"string"}},"calls_per_day":{"type":"integer"},"expires_at":{"type":["string","null"]},"revoked_at":{"type":["string","null"]},"created_at":{"type":"string"}}}},"received":{"type":"array","description":"Grants issued to you","items":{"type":"object","properties":{"id":{"type":"string"},"listing_id":{"type":"string"},"grantee_user_id":{"type":"string","description":"Only on grants you issued"},"allowed_capabilities":{"type":"array","items":{"type":"string"}},"calls_per_day":{"type":"integer"},"expires_at":{"type":["string","null"]},"revoked_at":{"type":["string","null"]},"created_at":{"type":"string"}}}}}},"limits":{"type":"object","description":"Default view only: caps for your plan","properties":{"listings":{"type":"integer"},"grants":{"type":"integer"},"max_calls_per_day":{"type":"integer"}}},"calls":{"type":"array","description":"view=calls only: your call audit trail, newest first","items":{"type":"object","properties":{"id":{"type":"string"},"created_at":{"type":"string"},"grant_id":{"type":"string"},"listing_id":{"type":"string"},"capability":{"type":"string"},"status":{"type":"string","description":"ok, or the failure reason"},"ms":{"type":["integer","null"],"description":"Duration, milliseconds"},"bytes":{"type":["integer","null"],"description":"Size of the returned result"}}}}}},"PostAgentsMesh200Response":{"type":"object","properties":{"ok":{"type":"boolean","description":"action=call and action=revoke"},"revoked":{"type":"string","description":"action=revoke: the revoked grant id"},"listing":{"type":"object","description":"action=call: the listing that answered","properties":{"id":{"type":"string"},"name":{"type":"string"}}},"capability":{"type":"string","description":"action=call"},"untrusted":{"type":"boolean","description":"action=call: always true; treat result as third-party content"},"result":{"type":"string","description":"action=call: the answer as text, wrapped and marked as untrusted external content"},"ms":{"type":"integer","description":"action=call: duration, milliseconds"},"grant":{"type":"object","properties":{"id":{"type":"string"},"listing_id":{"type":"string"},"grantee_user_id":{"type":"string","description":"Only on grants you issued"},"allowed_capabilities":{"type":"array","items":{"type":"string"}},"calls_per_day":{"type":"integer"},"expires_at":{"type":["string","null"]},"revoked_at":{"type":["string","null"]},"created_at":{"type":"string"}},"description":"action=subscribe when already subscribed"},"note":{"type":"string","description":"action=subscribe when already subscribed"}}},"PostAgentsMesh201Response":{"type":"object","properties":{"listing":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"capabilities":{"type":"array","items":{"type":"string"}},"visibility":{"type":"string","description":"private, unlisted or public"},"owner_label":{"type":"string"},"created_at":{"type":"string"},"target_type":{"type":"string","description":"native, platform or connector"},"first_party":{"type":"boolean","description":"True for QuantLogix flagship listings"},"agent_id":{"type":"string","description":"Your listings only: the agent behind it"},"connector_id":{"type":"string","description":"Your listings only: the connector behind it"}},"description":"action=publish: the new listing"},"grant":{"type":"object","properties":{"id":{"type":"string"},"listing_id":{"type":"string"},"grantee_user_id":{"type":"string","description":"Only on grants you issued"},"allowed_capabilities":{"type":"array","items":{"type":"string"}},"calls_per_day":{"type":"integer"},"expires_at":{"type":["string","null"]},"revoked_at":{"type":["string","null"]},"created_at":{"type":"string"}},"description":"action=grant and action=subscribe: the new grant"},"grant_token":{"type":"string","description":"action=grant and action=subscribe: shown once, store it now"},"note":{"type":"string","description":"action=grant and action=subscribe"}}},"DeleteAgentsMeshResponse":{"type":"object","required":["ok","deleted"],"properties":{"ok":{"type":"boolean"},"deleted":{"type":"string","description":"The listing id"}}},"DeleteAgentsMemoryResponse":{"type":"object","required":["ok","api_version"],"properties":{"ok":{"type":"boolean"},"cleared":{"type":"boolean","description":"Present (true) only with all=1"},"api_version":{"type":"string"}}},"GetCrmTasksResponse":{"type":"object","required":["tasks","counts"],"properties":{"tasks":{"type":"array","description":"Soonest due first; scope=done is most recently updated first","items":{"type":"object","properties":{"id":{"type":"string"},"owner_user_id":{"type":"string","description":"Account that owns the task"},"org_id":{"type":["string","null"],"description":"Team the task is shared with, if any"},"contact_id":{"type":["string","null"],"description":"Linked contact; null for a standalone task"},"title":{"type":"string"},"notes":{"type":["string","null"]},"due_at":{"type":["string","null"],"description":"ISO 8601 timestamp; null = no due date"},"priority":{"type":["string","null"],"description":"low, normal or high"},"done":{"type":"boolean"},"done_at":{"type":["string","null"]},"created_at":{"type":"string"},"updated_at":{"type":"string"}}}},"counts":{"type":"object","description":"Open-task counts by due bucket (UTC days)","properties":{"open":{"type":"integer"},"overdue":{"type":"integer"},"today":{"type":"integer"},"upcoming":{"type":"integer"},"someday":{"type":"integer","description":"Open tasks with no due date"},"truncated":{"type":"boolean","description":"True when 500 or more open tasks exist and counts are capped"}}}}},"PostCrmTasksResponse":{"type":"object","required":["task"],"properties":{"task":{"type":"object","properties":{"id":{"type":"string"},"owner_user_id":{"type":"string","description":"Account that owns the task"},"org_id":{"type":["string","null"],"description":"Team the task is shared with, if any"},"contact_id":{"type":["string","null"],"description":"Linked contact; null for a standalone task"},"title":{"type":"string"},"notes":{"type":["string","null"]},"due_at":{"type":["string","null"],"description":"ISO 8601 timestamp; null = no due date"},"priority":{"type":["string","null"],"description":"low, normal or high"},"done":{"type":"boolean"},"done_at":{"type":["string","null"]},"created_at":{"type":"string"},"updated_at":{"type":"string"}}}}},"PatchCrmTasksResponse":{"type":"object","required":["task"],"properties":{"task":{"type":"object","properties":{"id":{"type":"string"},"owner_user_id":{"type":"string","description":"Account that owns the task"},"org_id":{"type":["string","null"],"description":"Team the task is shared with, if any"},"contact_id":{"type":["string","null"],"description":"Linked contact; null for a standalone task"},"title":{"type":"string"},"notes":{"type":["string","null"]},"due_at":{"type":["string","null"],"description":"ISO 8601 timestamp; null = no due date"},"priority":{"type":["string","null"],"description":"low, normal or high"},"done":{"type":"boolean"},"done_at":{"type":["string","null"]},"created_at":{"type":"string"},"updated_at":{"type":"string"}}}}},"GetCrmInteractionsResponse":{"type":"object","required":["interactions"],"properties":{"interactions":{"type":"array","description":"Newest first, up to 200","items":{"type":"object","properties":{"id":{"type":"string"},"contact_id":{"type":"string"},"owner_user_id":{"type":"string","description":"Account that logged it"},"type":{"type":"string","description":"note, call, email, meeting, task or status_change"},"subject":{"type":["string","null"]},"body":{"type":["string","null"]},"created_at":{"type":"string"}}}}}},"PostCrmInteractionsResponse":{"type":"object","required":["interaction"],"properties":{"interaction":{"type":"object","properties":{"id":{"type":"string"},"contact_id":{"type":"string"},"owner_user_id":{"type":"string","description":"Account that logged it"},"type":{"type":"string","description":"note, call, email, meeting, task or status_change"},"subject":{"type":["string","null"]},"body":{"type":["string","null"]},"created_at":{"type":"string"}}}}},"GetCrmReportResponse":{"type":"object","required":["contacts","contact_pipeline","deal_pipeline","follow_ups","tasks"],"properties":{"contacts":{"type":["object","null"],"description":"Contact counts; null if this section could not be read","properties":{"total":{"type":"integer"},"by_status":{"type":"object","properties":{"new":{"type":"integer"},"contacted":{"type":"integer"},"qualified":{"type":"integer"},"proposal":{"type":"integer"},"won":{"type":"integer"},"lost":{"type":"integer"}}}}},"contact_pipeline":{"type":["object","null"],"description":"Value on open contacts; null if this section could not be read","properties":{"open_value":{"type":"number","description":"Sum of estimated deal value on open contacts, USD"},"weighted_value":{"type":"number","description":"Open value weighted by stage win probability, USD"},"by_status_value":{"type":"object","properties":{"new":{"type":"number"},"contacted":{"type":"number"},"qualified":{"type":"number"},"proposal":{"type":"number"}}},"truncated":{"type":"boolean"}}},"deal_pipeline":{"type":["object","null"],"description":"Deal totals; null if this section could not be read","properties":{"total":{"type":"integer","description":"Deals counted"},"open_count":{"type":"integer"},"open_value":{"type":"number","description":"USD"},"weighted_value":{"type":"number","description":"Open value weighted by win probability, USD"},"won_value":{"type":"number","description":"USD"},"by_stage":{"type":"object","description":"Deals on the default pipeline","properties":{"new":{"type":"object","properties":{"count":{"type":"integer"},"value":{"type":"number","description":"USD"}}},"contacted":{"type":"object","properties":{"count":{"type":"integer"},"value":{"type":"number","description":"USD"}}},"qualified":{"type":"object","properties":{"count":{"type":"integer"},"value":{"type":"number","description":"USD"}}},"proposal":{"type":"object","properties":{"count":{"type":"integer"},"value":{"type":"number","description":"USD"}}},"won":{"type":"object","properties":{"count":{"type":"integer"},"value":{"type":"number","description":"USD"}}},"lost":{"type":"object","properties":{"count":{"type":"integer"},"value":{"type":"number","description":"USD"}}}}},"by_pipeline":{"type":"object","description":"Deals on custom pipelines, keyed by pipeline id: { name, by_stage }"},"truncated":{"type":"boolean","description":"True when 1000 or more deals exist and totals are capped"}}},"follow_ups":{"type":["object","null"],"description":"Open contacts with a follow-up due; null if this section could not be read","properties":{"overdue":{"type":"integer"},"today":{"type":"integer"}}},"tasks":{"type":["object","null"],"description":"Open-task counts by due bucket (UTC days); null if this section could not be read","properties":{"open":{"type":"integer"},"overdue":{"type":"integer"},"today":{"type":"integer"},"upcoming":{"type":"integer"},"someday":{"type":"integer","description":"Open tasks with no due date"},"truncated":{"type":"boolean","description":"True when 500 or more open tasks exist and counts are capped"}}}}}}}}