Insights

Backtest Grid Radar's detectors over a past window

replay evaluates the current detectors every stepMinutes across [from, to) using only what was knowable at each step, through the same lifecycle the live store uses. recorded summarizes the episodes the store holds for the window, from the live evaluation and the history backfill. Both report per-detector occurrence counts, durations and peak severities alongside each episode, and every run is saved: list them with listInsightBacktests.

post/api/v1/insights/backtest

Request

  • Base URL: https://askthegrid.com
  • URL: https://askthegrid.com/api/v1/insights/backtest
  • Auth: HTTP bearer

Request body

iso'ERCOT' | 'NYISO' | 'CAISO' | 'PJM' | 'MISO' | 'ISONE' | 'SPP' | 'BPAT' | 'TVA' | 'DUK' | 'CPLE' | 'CPLW' | 'FPC' | 'FPL' | 'SOCO' | 'BCA' | 'AESO' | 'IESO' | 'CENACE' | 'HQ' | 'BCH' | 'MHEB' | 'SPC' | 'NBSO' | 'NSIESO' required
fromstring date-time required
tostring date-time required
mode'replay' | 'recorded'
stepMinutesinteger
detectorsstring[]

Response

Success

iso'ERCOT' | 'NYISO' | 'CAISO' | 'PJM' | 'MISO' | 'ISONE' | 'SPP' | 'BPAT' | 'TVA' | 'DUK' | 'CPLE' | 'CPLW' | 'FPC' | 'FPL' | 'SOCO' | 'BCA' | 'AESO' | 'IESO' | 'CENACE' | 'HQ' | 'BCH' | 'MHEB' | 'SPC' | 'NBSO' | 'NSIESO' required
mode'replay' | 'recorded' required
fromstring required
tostring required
stepMinutesnumber required
stepsnumber required
failedStepsnumber required
limitationsstring[] required
runIdstring required
createdAtstring required
durationMsnumber required

Changes

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