Risk Metrics

Snapshot panel drill-down (artifact PNG/JSON)

Addressable panel from the Artifact Registry (O.6). Product alias onto render-svc POST /artifacts/render. Stock panels: l3_explained_risk_hbar, hedge_notionals_hbar, hedge_depth_retained, watchlist_er_stacked (pass tickers=CRM,MSFT,NVDA), and _full (composed DD page from GCS). Institutional DD figure units (dd_peer_dna, more to follow) are batch pre-rendered for a hot ticker cohort — same pixels as the institutional letter page; outside the cohort the route returns 501 with a pointer to _full and a request path (email service@riskmodels.app to have a ticker added). See BWMACRO docs/architecture/SNAPSHOT_CANONICAL_PROCESS_ADR.md. Billing: portfolio-risk-snapshot ($1.25; cache hits may be $0).

get/snapshot/{entity_kind}/{id}/panels/{slug}

Request

  • Base URL: https://riskmodels.app/api
  • URL: https://riskmodels.app/api/snapshot/{entity_kind}/{id}/panels/{slug}
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://riskmodels.app/oauth/authorize, token URL https://riskmodels.app/api/oauth/token, scopes: mcp:read)

Path parameters

entity_kind'stock' | 'fund' | 'filer_13f' | 'client_portfolio' | 'cohort' required
idstring required

Ticker (CRM), BW-STOCK-CRM, fund/filer id, or WATCHLIST.

slugstring required

Panel artifact slug or _full.

Query parameters

format'png' | 'json' | 'svg' | 'pdf'
versionstring
as_ofstring
tickersstring

Comma-separated tickers for watchlist_er_stacked.

Response

Panel PNG/SVG bytes or JSON contract.

object required

Changes

No recorded changes to this operation across all 1 revision of this API.