v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
Cloud Cost Management

Get cost anomaly

Get a detected Cloud Cost Management anomaly by UUID.

get/api/v2/cost/anomalies/{anomaly_id}

Path parameters

anomaly_idstring required

The UUID of the cost anomaly.

Response

OK

Example response

{
  "data": {
    "attributes": {
      "actual_cost": 3001.24,
      "anomalous_cost_change": 1250.75,
      "anomaly_end": 1730429150000,
      "anomaly_start": 1730259950000,
      "correlated_tags": {
        "region": [
          "us-east-1",
          "us-west-2"
        ]
      },
      "dimensions": {
        "service": "ec2"
      },
      "dismissal": {
        "cause": "false_positive",
        "dismissal_id": "12345678-1234-1234-1234-123456789abc",
        "message": "This was expected due to planned infrastructure changes.",
        "updated_at": 1730344150000,
        "updated_by": "user@example.com"
      },
      "max_cost": 5000.5,
      "provider": "aws",
      "query": "sum:aws.cost.net.amortized{aws_cost_type IN (Usage,DiscountedUsage,SavingsPlanCoveredUsage) AND aws_product NOT IN (supportenterprise) AND service:\"ec2\"}.rollup(sum, daily)",
      "uuid": "b0a6aaa9-3c4c-48cb-9447-a0d1338b3e09"
    },
    "id": "b0a6aaa9-3c4c-48cb-9447-a0d1338b3e09",
    "type": "anomalies"
  }
}