AWS Cost Explorer icon

AWS Cost Explorer

Retrieve cost, usage, anomalies and recommendations from AWS Cost Explorer

Actions12

Cost Anomaly Detection → Get Anomalies

AI-generated

Summary

Retrieve AWS cost anomalies for a specified date range, optionally filtering by minimum total impact in USD.

Inputs

  • anomalyStartDate (required) — Required start date for the anomaly date range, in YYYY-MM-DD format.
  • anomalyEndDate (required) — Required end date for the anomaly date range, in YYYY-MM-DD format.
  • anomalyMinImpact — Optional minimum total impact in USD; defaults to 0. Positive values include anomalies with impact greater than or equal to the threshold. Values of 0 or less apply no impact filter.

Output shape

One JSON item per input item, containing an Anomalies array of AWS anomaly records.

Automatically collects all pages. Records are returned without transformation; no matches produce an empty array. With Continue On Fail enabled, a failed request returns an item containing an error message.

Links

Discussion