---
title: "Get Costs Per Account"
method: GET
path: "/azure/costs"
tags: ["Elastigroup Azure Scale Set VMs"]
---

# Get Costs Per Account

`GET /azure/costs`

Get costs per time filter.

## Query parameters

- `accountId` string, required
- `fromDate` string, required
- `toDate` string, required

## Response `200`

Costs Per Account Response

- object
  - `request` object
    - `id` string
    - `url` string
    - `method` string
    - `timestamp` string
  - `response` object
    - `kind` string
    - `items` object[]
      - `lowPriority` object
        - `runningHours` number
        - `actualCosts` number
        - `potentialCosts` number
        - `savingsPercentage` number
    - `count` integer

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/spot/apis/spot-by-flexera-api.md) · [All operations](https://skmtc.net/spot/apis/spot-by-flexera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spot/spot-by-flexera-api/revisions/72813baf8d47/schema)
