The workflow
Map your exposure
GET /v2/exposure/{id}/by-asset, GET /v2/exposure/by-protocol, and GET /v2/exposure/by-borrower break a portfolio down by where the risk actually concentrates — a single asset, a single protocol, or a single borrower — not just by position.Watch the risk-events feed
GET /v2/risk-events/feed is a cursor-paginated stream of material risk events; on Analyst and above, wss://…/v2/ws/risk-events pushes them live. Market-level detail is available via GET /v2/market/{id}/liquidation-events and …/bad-debt-events.Get pushed, don't poll
Register a signed webhook (
/v2/dashboard/webhooks, Team and above) so risk events reach your systems without polling. See Webhooks for the signature and replay model.Set factor thresholds
GET /v2/factors/... returns explainable risk factor scores per position, and /v2/factors/alerts/thresholds lets you define the levels that should trip an alert. The methodology behind the scores is on the Risk factors page.