The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December.
Read our blog post for more info about this change.
I have an External Learning Tool that gets all quizzes from a course and for each quiz it gets all submissions for that quiz. It then graphs data based on submission time and scores. This tool is used by multiple classes at our university and some of the teachers want it to be able to be used with practice quizzes. However, the current api call we are using grabs all the quizzes assignment_ids and uses this to retrieve the data. I noticed that practice quizzes assignment_id field is set to None.
I know I can loop through submissions by getting the attempt number but this causes a large amount of api calls and can take awhile when students have 10 quizzes with 10 attempts. Is there any other api call to retrieve submission history or a way in which practice quizzes can be assigned an assignment_id?
Thanks in advance
Current API call:
GET /api/v1/course/:course_id/students/submissions
Parameters: student_ids[], 'include[]' : 'submission_history', 'assignment_ids[]' :
Solved! Go to Solution.
I looked over this for you and found that practice quizzes since they aren't graded wouldn't have the same logs. But you might try this log https://canvas.instructure.com/doc/api/quiz_statistics.html as it should still have statistics logs you should be able to pull.
I looked over this for you and found that practice quizzes since they aren't graded wouldn't have the same logs. But you might try this log https://canvas.instructure.com/doc/api/quiz_statistics.html as it should still have statistics logs you should be able to pull.
Community helpTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.