---
title: "Get Template Variations"
method: GET
path: "/calcul-exercises/template/{template_id}/variations"
tags: ["Calcul Exercises"]
---

# Get Template Variations

`GET /calcul-exercises/template/{template_id}/variations`

Get all variations for a template (for teacher preview).
Teachers can access this to preview variations before adding to assignment.

## Path parameters

- `template_id` string, required

## Response `200`

Successful Response

- VariationPreview[]
  - `content` string, required
  - `solution` string, required

## 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.dev/excellence-ai/apis/excellence-learning/revisions/2a0c1636fd3b?raw)
