Homework Helper

Create Text Exercise

Changed on
post/homework-helper/create-text-exercise

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/homework-helper/create-text-exercise
  • Auth: OAuth 2 (password, token URL api/login)

Request body

latex_contentstring required
subject'maths' | 'physique-chimie' nullable
image_urlsstring[]
figure_idstring nullable

Optional ID of a Figure document to associate with this exercise.

titlestring nullable

Optional title override for the homework helper exercise.

source_chat_idstring nullable

Optional chat ID used for CTA idempotency so repeated clicks reopen the same homework helper session.

card_keystring nullable

Identity of the chat card, stored on the session so the card can show « Reprendre » (GET /student-practice/sessions-from-chat).

work_photo_urlsstring[]

Photos of the student's own worked solution (EXC-1204): submitted as their copy, graded once the corrigé exists. Never used as statement photos.

Response

Successful Response

status'success' | 'error' required
messagestring required
dataobject nullable

Changes