v1

latestOpenAPI 3.0.0CoreStack Inc License2026-07-248001,5071.7 MB
Cost Anomaly

Get grouping rule–wise daily cost anomalies

Retrieve grouping rule–wise cost anomalies.

post/v2/cost_anomaly/dimension_grouping_rule_view

Request body

start_datestring date-time required

specify the start date

end_datestring date-time required

specify the end date

anomaly_status'active' | 'rejected'

Required Anomaly status

time_zonestring

Optional timezone of the caller

currency'AED' | 'ALL' | 'ARS' | 'AUD' | 'BAM' | 'BDT' | 'BGN' | 'BHD' | 'BRL' | 'CAD' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CZK' | 'DKK' | 'EGP' | 'EUR' | 'GBP' | 'HKD' | 'HRK' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'ISK' | 'JPY' | 'KES' | 'KRW' | 'KWD' | 'KZT' | 'MOP' | 'MVR' | 'MXN' | 'MYR' | 'NOK' | 'NZD' | 'OMR' | 'PEN' | 'PHP' | 'PKR' | 'PLN' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'SAR' | 'SEK' | 'SGD' | 'THB' | 'TRY' | 'TWD' | 'USD' | 'VND' | 'ZAR' required

Billing Currency

Example request

{
  "anomaly_status": "active",
  "currency": "AED"
}

Response

Success

dimension_idstring required

Dimension id

grouping_rule_idstring required

Grouping rule id

currency'AED' | 'ALL' | 'ARS' | 'AUD' | 'BAM' | 'BDT' | 'BGN' | 'BHD' | 'BRL' | 'CAD' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CZK' | 'DKK' | 'EGP' | 'EUR' | 'GBP' | 'HKD' | 'HRK' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'ISK' | 'JPY' | 'KES' | 'KRW' | 'KWD' | 'KZT' | 'MOP' | 'MVR' | 'MXN' | 'MYR' | 'NOK' | 'NZD' | 'OMR' | 'PEN' | 'PHP' | 'PKR' | 'PLN' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'SAR' | 'SEK' | 'SGD' | 'THB' | 'TRY' | 'TWD' | 'USD' | 'VND' | 'ZAR' required

currency of the cost. Example 'currency':'USD'

bill_datestring date-time required

Bill date / day for this summary

Example response

[
  {
    "currency": "AED",
    "anomaly_summary": {
      "anomaly_type": "below_threshold"
    },
    "anomaly_details": [
      {
        "anomaly_type": "below_threshold"
      }
    ]
  }
]