---
title: "Get Categories"
method: GET
path: "/calcul-exercises/categories"
tags: ["Calcul Exercises"]
---

# Get Categories

`GET /calcul-exercises/categories`

Get category tree structure with template counts.
Lightweight - only returns category hierarchy, not templates.
By default excludes templates marked as to_review (for teacher-facing views).

## Query parameters

- `exclude_to_review` boolean

## Response `200`

Successful Response

- CategoryInfo — Category information for the tree structure
  - `name` string, required
  - `path` string[], required
  - `template_count` integer, required
  - `children` CategoryInfo[]

## Other responses

- `422` — Validation Error

---

[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/437cd8414e9e/schema)
