student_practice

Get Exercise Previews

Student-safe batch previews of library exercises.

Used by the chat's training-session card to hydrate <exercise_ref> items before the student accepts the session (and by the teacher chat's add-exercises card). Ids may belong to public_exercises (library gate applies) or annales_exercises (review-flagged rows excluded). The projection NEVER includes the solution; inaccessible or unknown ids are silently dropped (the card degrades gracefully). Results come back in the requested order.

get/student-practice/exercise-previews

Query parameters

idsstring[] required
subject'maths' | 'physique-chimie' nullable

Optional matière scope; omitted → any matière.

Optional matière scope; omitted → any matière.

Response

Successful Response

idstring required
titlestring nullable
contentstring required
category_pathstring[]
difficultystring nullable

Changes

No recorded changes to this endpoint across all 1 revision of this API.