---
title: "Get Categories"
method: GET
path: "/admin/public-exercises/categories"
tags: ["Admin Public Exercises"]
---

# Get Categories

`GET /admin/public-exercises/categories`

Return the full category tree with cumulative exercise counts.

## Response `200`

Successful Response

- CategoryNode — Node in the category tree; counts are cumulative (include descendants).
  - `name` string, required
  - `path` string[], required
  - `exercise_count` integer, required
  - `children` CategoryNode[]

---

[API](https://skmtc.dev/excellence-ai/apis/excellence-learning.md) · [All operations](https://skmtc.dev/excellence-ai/apis/excellence-learning/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/excellence-ai/excellence-learning/revisions/8d495ed916c6/schema)
