Admin - Holiday Courses

Import Tex Exercises

Import exercises from LaTeX content using AI to parse, generate solutions and hints.

This endpoint:

  1. Uses AI to parse the LaTeX content into structured exercises with difficulty levels
  2. For each extracted exercise, generates solutions and hints using AI
  3. Creates HolidayCourseExercise documents in the database
  4. Links them to the specified sub-chapitre
  5. Returns a summary of the import operation
post/admin/holiday-courses/subchapitres/{sub_chapitre_id}/import-tex-exercises

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/subchapitres/{sub_chapitre_id}/import-tex-exercises
  • Auth: OAuth 2 (password, token URL api/login)

Path parameters

sub_chapitre_idstring required

The ID of the holiday course sub-chapitre

Request body

tex_contentstring required

Response

Successful Response

statusstring required
messagestring required
created_exercises_countinteger
errorsstring[]

Changes

No operation changes recorded.