---
title: "List Favorites"
method: GET
path: "/teacher-favorites"
tags: ["teacher_favorites"]
---

# List Favorites

`GET /teacher-favorites`

List the current teacher's favorites, with resolved exercise details.

Pulls the public/teacher exercise rows in two batched queries rather
than per-row — scales linearly with favorite count, flat cost per page.

## Query parameters

- `limit` integer
- `skip` integer

## Response `200`

Successful Response

- TeacherFavoriteWithDetails[]
  - `id` string, required
  - `teacher_id` string, required
  - `subject` 'maths' | 'physique-chimie'
  - `public_exercise_id` string, nullable
  - `teacher_exercise_id` string, nullable
  - `target_type` 'public' | 'teacher', required
  - `added_at` string, date-time, required
  - `title` string, nullable
  - `content_preview` string, nullable
  - `category_path` string[]
  - `type` string, nullable
  - `library` string, nullable
  - `origin` string, nullable

## Other responses

- `422` — Validation Error

## Changes

> 22 revisions in range; 1 not diffed.

- **2026-09-10** `da2adc76dec3` — 1 info
  - added the optional property `items/origin` to the response with the `200` status

[Change history](https://skmtc.dev/excellence-ai/apis/excellence-learning/changes/teacher-favorites/get.md)

---

[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/d367d251945b?raw)
