The Questions API lets you read and add questions scoped to a specific quiz. Both endpoints require aDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/whitiue/logiMathApp/llms.txt
Use this file to discover all available pages before exploring further.
quiz_id path parameter that identifies which quiz the questions belong to. Each question stores the question text, the correct answer, and a difficulty label. The QuestionResponse schema returns id, question_text, and correct_answer — the quiz_id and difficulty are stored in the database but not included in API responses.
GET /quizzes//questions
Returns all questions associated with the specified quiz.Path parameters
The ID of the quiz whose questions you want to retrieve.
Response
Returns an array ofQuestionResponse objects.
Auto-incremented primary key for the question record.
The text of the question presented to the learner.
The expected correct answer for the question.
POST /quizzes//questions
Creates a new question in the specified quiz. All parameters exceptquiz_id are passed as query parameters.
Path parameters
The ID of the quiz to add the question to.
Query parameters
The full text of the question.
The correct answer to the question.
Difficulty level for the question (e.g.,
"easy", "medium", "hard"). Stored in the database but not returned in the response.Response
Returns the createdQuestionResponse object.
Auto-assigned primary key for the newly created question.
Question text provided in the request.
Correct answer provided in the request.
The
difficulty parameter is stored in the questions table but is not included in QuestionResponse. It is available in the database for future filtering or display features.