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

# Show the resources hierarchy

`GET /resources/hierarchy`

get resource hierarchy-tree

## Query parameters

- `Depth` integer
- `Level` integer
- `arch` string
- `clusterType` string
- `hostDiskType` string
- `hostId` string
- `hostName` string
- `loadStat` string
- `purpose` string
- `status` string

## Response `200`

OK

- object
  - `code` integer
  - `data` object
    - `root` StructsHierarchyTreeNode
      - `code` string
      - `name` string
      - `prefix` string
      - `subNodes` StructsHierarchyTreeNode[]
  - `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)
