---
title: "List folders"
method: GET
path: "/hierarchy"
tags: ["Hierarchy"]
---

# List folders

`GET /hierarchy`

## Response `200`

Success

- ListHierarchyResult[]
  - `id` string, nullable — The ID of the folder
  - `name` string, nullable — The name of the folder
  - `bots` string[], nullable — The list of bots in the folder
  - `personas` string[], nullable — The list of personas in the folder
  - `children` string[], nullable — The list of children folders

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.dev/closebot/apis/closebot-api.md) · [All operations](https://skmtc.dev/closebot/apis/closebot-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/closebot/closebot-api/revisions/da5f5fb58534/schema)
