Admin - Holiday Courses

Generate Exercise Hints For Admin

Generate hints for an exercise using AI.

This endpoint:

  1. Takes an exercise statement (LaTeX/HTML) and optional difficulty level
  2. Uses an LLM to generate hints for the exercise
  3. Returns the generated hints formatted for KaTeX rendering

Only accessible by admin users.

post/admin/holiday-courses/exercises/generate-hints

Request body

exercise_contentstring required
exercise_solutionstring nullable
difficulty'easy' | 'medium' | 'hard' nullable

Response

Successful Response

hints1string nullable
hints2string nullable
hints3string nullable

Changes

No recorded changes to this endpoint across all 3 revisions of this API.