---
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

---

[API](https://skmtc.net/myaltimate/apis/fastapi.md) · [All operations](https://skmtc.net/myaltimate/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myaltimate/fastapi/revisions/50769cbf05d5/schema)
