Skip to main content

Reset the history of a check before a date

DELETE 

/api/v1/orgs/:org/checks/:checkUid/results

Deletes the history of the check before before: its results, raw and aggregated, the archive files of the deleted hours and days (when the result archive is on), and its incidents resolved before the date with their status page publications. An incident still open, or resolved after the date, stays. The current status of the check is not touched. Results are rolled up into hourly, daily and monthly buckets, and a bucket cannot be split: when before falls inside one, the whole bucket is deleted and effectiveBefore is its end. A date in the future means now: a full wipe is the call with the date set to now. SLOs, badges and status pages read the same results, so they follow; public pages catch up when their HTTP cache expires. A check.history_reset event records the user and the dates in the audit log. Org admins only.

Request​

Responses​

History reset (or, with dryRun, what a reset would delete)