Score Quiz Question
score_quiz_questionSet the score and an optional feedback comment for one question in one student's Classic quiz submission, overwriting any existing score for that question on the chosen attempt — it replaces the question's recorded score rather than adding…
Instructions
Set the score and an optional feedback comment for one question in one student's Classic quiz submission, overwriting any existing score for that question on the chosen attempt — it replaces the question's recorded score rather than adding to it, so calling again with the same score and comment leaves the submission unchanged. Omit attempt to score the latest attempt. Find submission_id with list_quiz_submissions and question_id with list_quiz_questions or get_quiz_question_responses. Returns { success: true }; Canvas does not hand back the updated submission to this endpoint. Requires grading permission in the course.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| score | Yes | The score to assign | |
| attempt | No | Quiz attempt number to score (omit for latest) | |
| comment | No | Optional feedback comment | |
| quiz_id | Yes | The Canvas quiz ID | |
| course_id | Yes | The Canvas course ID | |
| question_id | Yes | The Canvas quiz question ID | |
| submission_id | Yes | The Canvas quiz submission ID |