---
title: "Show the resources stocks"
method: GET
path: "/resources/stocks"
tags: ["resource"]
---

# Show the resources stocks

`GET /resources/stocks`

get resource stocks in specified conditions

## Query parameters

- `arch` string
- `capacity` integer
- `clusterType` string
- `diskStatus` string
- `diskType` string
- `hostDiskType` string
- `hostId` string
- `hostIp` string
- `hostName` string
- `loadStat` string
- `purpose` string
- `rack` string
- `region` string
- `status` string
- `zone` string

## Response `200`

OK

- object
  - `code` integer
  - `data` object
    - `stocks` object — map[zone] -> stocks
  - `message` string

---

[API](https://skmtc.net/pingcap/apis/em-ui-api.md) · [All operations](https://skmtc.net/pingcap/apis/em-ui-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pingcap/em-ui-api/versions/631e4b26b7e8/schema)
