---
title: "Get Warehouses Cost V2"
method: GET
path: "/warehouse/cost/v2/"
tags: ["WAREHOUSE"]
---

# Get Warehouses Cost V2

`GET /warehouse/cost/v2/`

## Query parameters

- `start_date` string, date-time
- `end_date` string, date-time
- `aggregation` 'day' | 'week' | 'month'
- `period` integer
- `sortAttribute` string, nullable
- `sortOrder` string, nullable
- `tags` string[], nullable
- `warehouseName` string[], nullable
- `warehouseSize` string[], nullable
- `costFilter` number, nullable
- `costFilterMode` string, nullable
- `autoTuneFilter` string[], nullable
- `opportunityFilter` string[], nullable
- `snowflakeTags` string[], nullable
- `resizeMode` string[], nullable
- `resizeEligible` boolean, nullable
- `instance_ids` string[], nullable
- `search` string, nullable
- `navigationSource` string, nullable

## Headers

- `x-tenant` string, required

## Response `200`

Successful Response

- WarehousePeriodCostResponseV2
  - `warehouse_cost` AppSchemasWarehousesWarehouseCostResponse[], nullable
    - `date` string, required
    - `cost` number, required
    - `query_acceleration_cost` number, required
    - `compute_cost` number, required
    - `cloud_services_cost` number, required
  - `threshold` number, nullable
  - `start_time` string, nullable
  - `end_time` string, nullable

## Other responses

- `400` — Not supported for public user
- `403` — Not supported for public user
- `422` — Validation Error

## Changes

- **2026-08-22** `d76883fc100a` — 2 breaking
  - for the `query` request parameter `end_date`, default value was changed from `2026-08-21T05:12:16.586694` to `2026-08-21T05:12:17.972492`
  - for the `query` request parameter `start_date`, default value was changed from `2026-08-21T05:12:16.586626` to `2026-08-21T05:12:17.972444`
- **2026-08-21** `b9cc757ca795` — 2 breaking
  - for the `query` request parameter `end_date`, default value was changed from `2026-08-18T12:53:41.457683` to `2026-08-21T05:12:16.586694`
  - for the `query` request parameter `start_date`, default value was changed from `2026-08-18T12:53:41.457608` to `2026-08-21T05:12:16.586626`
- **2026-08-20** `68cdcada31e3` — 2 breaking
  - for the `query` request parameter `end_date`, default value was changed from `2026-08-18T12:53:51.564628` to `2026-08-18T12:53:41.457683`
  - for the `query` request parameter `start_date`, default value was changed from `2026-08-18T12:53:51.564573` to `2026-08-18T12:53:41.457608`
- **2026-08-19** `4031762f858d` — 2 breaking
  - for the `query` request parameter `end_date`, default value was changed from `2026-08-18T12:53:44.797603` to `2026-08-18T12:53:51.564628`
  - for the `query` request parameter `start_date`, default value was changed from `2026-08-18T12:53:44.797534` to `2026-08-18T12:53:51.564573`
- …earlier changes not shown

[Full history](https://skmtc.dev/myaltimate/apis/fastapi/changes/warehouse/cost/v2/get.md)

---

[API](https://skmtc.dev/myaltimate/apis/fastapi.md) · [All operations](https://skmtc.dev/myaltimate/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc.dev/myaltimate/apis/fastapi/revisions/d76883fc100a?raw)
