---
title: "Get commitments on-demand hot spots (scalar)"
method: GET
path: "/api/v2/cost/commitments/on-demand-hot-spots/scalar"
tags: ["Cloud Cost Management"]
---

# Get commitments on-demand hot spots (scalar)

`GET /api/v2/cost/commitments/on-demand-hot-spots/scalar`

Get scalar on-demand hot-spots data for cloud commitment programs, showing per-dimension breakdowns of on-demand spending with coverage metrics and potential savings.

## Query parameters

- `provider` 'aws' | 'azure', required — Cloud provider for commitment programs.
- `product` string, required
- `start` integer, required
- `end` integer, required
- `filterBy` string

## Response `200`

OK

- CommitmentsOnDemandHotspotsScalarResponse — Response containing scalar on-demand hot-spots data for cloud commitment programs.
  - `columns` CommitmentsScalarColumn[], required — Array of scalar columns in the response.
    - `meta` CommitmentsScalarColumnMeta — Metadata for a scalar column, including unit information.
      - `unit` CommitmentsUnit, required — Unit metadata for a numeric metric.
        - `family` string, required — The unit family (for example, percentage or money).
        - `id` integer, required — The unit identifier.
        - `name` string, required — The unit name (for example, percent or dollar).
        - `plural` string, required — The plural form of the unit name.
        - `scale_factor` number, double, required — The scale factor for the unit.
        - `short_name` string, required — The abbreviated unit name (for example, % or $).
    - `name` string, required — The column name.
    - `type` 'group' | 'number', required — The column type. "group" for dimension columns, "number" for metric columns.
    - `values` unknown[], required — Values for a scalar column. Arrays of strings for group columns, numbers for value columns.
      - unknown
  - `meta` CommitmentsOnDemandHotspotsScalarMeta — Metadata for the on-demand hot-spots scalar response.
    - `on_demand_filters` string, required — Active on-demand filters applied to the response.
  - `total` CommitmentsScalarColumn[], required — Array of scalar columns in the response.
    - `meta` CommitmentsScalarColumnMeta — Metadata for a scalar column, including unit information.
      - `unit` CommitmentsUnit, required — Unit metadata for a numeric metric.
        - `family` string, required — The unit family (for example, percentage or money).
        - `id` integer, required — The unit identifier.
        - `name` string, required — The unit name (for example, percent or dollar).
        - `plural` string, required — The plural form of the unit name.
        - `scale_factor` number, double, required — The scale factor for the unit.
        - `short_name` string, required — The abbreviated unit name (for example, % or $).
    - `name` string, required — The column name.
    - `type` 'group' | 'number', required — The column type. "group" for dimension columns, "number" for metric columns.
    - `values` unknown[], required — Values for a scalar column. Arrays of strings for group columns, numbers for value columns.
      - unknown

## Other responses

- `400` — Bad Request
- `429` — Too many requests

---

[API](https://skmtc.net/datadog/apis/api-v2.md) · [All operations](https://skmtc.net/datadog/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadog/api-v2/versions/da68bf029e4c/schema)
