---
title: "Get Template Tree"
method: GET
path: "/calcul-exercises/tree"
tags: ["Calcul Exercises"]
---

# Get Template Tree

`GET /calcul-exercises/tree`

Get all templates in a tree structure for display in the teacher's exercise selector.
Includes one example variation content for preview.

## Response `200`

Successful Response

- TemplateTreeNode[]
  - `id` string, required
  - `title` string, required
  - `category_path` string[], required
  - `difficulty` string, required
  - `to_review` boolean
  - `variation_count` integer, required
  - `example_content` string, nullable
  - `savoirs_faire_ids` string[]

---

[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)
