POST
https://api.examplary.ai/exams/{id}/questions/generateGenerate a new question for the exam using an AI prompt.
Path parameters
idstringrequired
Request body
messagestring· min length: 1· max length: 5000required
questionTypestring
formatstring
Allowed values:examplary_jsonqti_v3p0qti_v2p1
Requirements
Rate limit
10 requests per minute per user.
User roles
This endpoint requires the teacher, admin, or owner role to be present.
OAuth scopes
This endpoint requires the exams:write scope to be present.