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

  • 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/admin/holiday-courses/exercises/generate-hints
  • Auth: OAuth 2 (password, token URL api/login)

Request body

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

Response

Successful Response

hints1string nullable
hints2string nullable
hints3string nullable

Changes

No operation changes recorded.