---
title: "Get Warehouse Cost"
method: GET
path: "/warehouse/cost/instance/{instance_id}/warehouse_rk/{warehouse_rk}/"
tags: ["WAREHOUSE"]
deprecated: true
---

# Get Warehouse Cost

`GET /warehouse/cost/instance/{instance_id}/warehouse_rk/{warehouse_rk}/`

> **Deprecated.**

## Path parameters

- `instance_id` string, required
- `warehouse_rk` string, required

## Query parameters

- `period` integer

## Headers

- `x-tenant` string, required

## Response `200`

Successful Response

- WarehousePeriodCostResponse
  - `warehouse_cost` AppSchemasWarehousesWarehouseCostResponse[], nullable
    - `date` string, required
    - `cost` number, required
    - `query_acceleration_cost` number, required
    - `compute_cost` number, required
    - `cloud_services_cost` number, required
  - `data` 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.dev/myaltimate/apis/fastapi.md) · [All operations](https://skmtc.dev/myaltimate/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/myaltimate/fastapi/revisions/82206441f16e/schema)
