---
title: "Get Organization Savings"
method: GET
path: "/insights/savings"
tags: ["Insights Service"]
---

# Get Organization Savings

`GET /insights/savings`

Get the savings of the organization between the input time range.

## Query parameters

- `fromDate` string
- `toDate` string
- `includeVmIds` boolean

## Response `200`

organization savings Response

- object
  - `request` object — Original request properties
    - `id` string — Unique ID associated with this request
    - `url` string — The URL that was used for the request
    - `method` string — The HTTP **METHOD** used for the request
    - `timestamp` string — When the request was received by Spot
  - `response` object — Response package that includes, status, type and any relevant data.
    - `status` object
      - `code` integer — HTTP status code assigned to this response
      - `message` string — HTTP status message for the respective status code
    - `kind` string — The data type of each item in the response
    - `items` object[] — Array of data objects
      - `resources` union[]
        - union
          - object
            - `accountId` string
            - `accountName` string
            - `resourceId` string
            - `resourceName` string
            - `productType` string
            - `runningHours` number, float
            - `actualCosts` number, float
            - `potentialCosts` number, float
            - `amountSaved` number, float
          - object
            - `accountId` string
            - `accountName` string
            - `resourceId` string
            - `resourceName` string
            - `productType` string
            - `runningHours` number, float
            - `actualCosts` number, float
            - `potentialCosts` number, float
            - `amountSaved` number, float
      - `summary` object
        - `runningHours` number, float
        - `actualCosts` number, float
        - `potentialCosts` number, float
        - `amountSaved` number, float
    - `count` integer — Size of the data object array

## 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/2e5445f30576/schema)
