student_practice

Get Exercise Previews

Changed on

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

Request

  • Base URL: https://api.excellence-ai.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.excellence-ai.com/student-practice/exercise-previews
  • Auth: OAuth 2 (password, token URL api/login)

Query parameters

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

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

Response

Successful Response

idstring required
titlestring nullable
contentstring required
category_pathstring[]
difficultystring nullable
originstring nullable
teacher_namestring nullable

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      for the query request parameter ids, the maxItems was increased from 20 to 30