---
title: "Get Account wise daily Billing Cost Anomaly"
method: POST
path: "/cost_anomaly/billing_cost_anomaly"
tags: ["Cost Anomaly"]
---

# Get Account wise daily Billing Cost Anomaly

`POST /cost_anomaly/billing_cost_anomaly`

View Billing Cost Anomaly Data.

## Request body

- CostAnomalySummaryRequest
  - `service_account_ids` string[] — Service Account IDs
  - `filters` QueryOperator
    - `__type` string, required — Concrete type used for polymorphic deserialization (discriminator)
  - `start_date` string, date-time, required — specify the start date
  - `end_date` string, date-time, required — specify the end date
  - `anomaly_status` 'active' | 'rejected' — Required Anomaly status
  - `time_zone` string — Optional timezone of the caller

## Response `200`

Success

- CostAnomalySummaryResponse
  - `details` CostAnomalySummaryAccount[] — Cost Anomaly account wise daily summary
    - `cloud_account_id` string, required — service account id
    - `bill_date` string, date-time, required — Time of results
    - `categories` CostAnomalyProductCategorySummary[] — categories wise daily cost anomaly summary
      - `anomaly_type` 'below_threshold' | 'above_threshold', required — Anomaly Type of the cost. Example 'anomaly_type':'above_threshold'
      - `anomaly_count` integer — Product category wise anomaly count
      - `cost_impact` number — Product category level cost impact
      - `resources` CostAnomalyResourceDetails[] — Anomalous resource details
        - `resource_id` string, required — Name of the resource
        - `cost_impact` number, required — Cost incurred by the resource
        - `anomaly_type` 'below_threshold' | 'above_threshold', required — Anomaly Type of the cost. Example 'anomaly_type':'above_threshold'
        - `anomaly_count` integer — Product category wise anomaly count
        - `upper_cost_bound` number — Upper cost bound of daily cost anomaly summary
        - `lower_cost_bound` number — Lower cost bound of daily cost anomaly summary
        - `expected_cost` number — Expected cost of daily cost anomaly summary
        - `actual_cost` number — Actual cost of daily cost anomaly
      - `upper_cost_bound` number — Upper cost bound of daily cost anomaly summary
      - `lower_cost_bound` number — Lower cost bound of daily cost anomaly summary
      - `expected_cost` number — Expected cost of daily cost anomaly summary
      - `actual_cost` number — Actual cost of daily cost anomaly
      - `reject_until` string, date-time — Rejected Until time for the anomaly
      - `reject_reason` string — Rejected Reason
      - `product_category` string, required — Name of the Product category
      - `resource_category` string, required — Name of the Resource category
    - `service_account_level_anomalies` CostAnomalySummary
      - `anomaly_type` 'below_threshold' | 'above_threshold', required — Anomaly Type of the cost. Example 'anomaly_type':'above_threshold'
      - `anomaly_count` integer — Product category wise anomaly count
      - `cost_impact` number — Product category level cost impact
      - `resources` CostAnomalyResourceDetails[] — Anomalous resource details
        - `resource_id` string, required — Name of the resource
        - `cost_impact` number, required — Cost incurred by the resource
        - `anomaly_type` 'below_threshold' | 'above_threshold', required — Anomaly Type of the cost. Example 'anomaly_type':'above_threshold'
        - `anomaly_count` integer — Product category wise anomaly count
        - `upper_cost_bound` number — Upper cost bound of daily cost anomaly summary
        - `lower_cost_bound` number — Lower cost bound of daily cost anomaly summary
        - `expected_cost` number — Expected cost of daily cost anomaly summary
        - `actual_cost` number — Actual cost of daily cost anomaly
      - `upper_cost_bound` number — Upper cost bound of daily cost anomaly summary
      - `lower_cost_bound` number — Lower cost bound of daily cost anomaly summary
      - `expected_cost` number — Expected cost of daily cost anomaly summary
      - `actual_cost` number — Actual cost of daily cost anomaly
      - `reject_until` string, date-time — Rejected Until time for the anomaly
      - `reject_reason` string — Rejected Reason

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

---

[API](https://skmtc.dev/corestack/apis/corestack-external-api.md) · [All operations](https://skmtc.dev/corestack/apis/corestack-external-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/corestack/corestack-external-api/revisions/bf2cdf20826d/schema)
