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.
Found this content helpful? Log in or sign up to leave a like!
Hey Dev Community
I'm exploring the possible need to use the Rubrics API endpoints to associate a rubric to an assignment and am a bit perplexed what the different objects on the API doc page are referring to: https://canvas.instructure.com/doc/api/rubrics.html
Rubric objects are a given, but...
RubricAssessments seem to indicate the use of a rubric to grade an assignment submission within SpeedGrader, correct?
RubricAssociations has me baffled. Is this the endpoint list that one would use to tell associate a rubric for use with an assignment? It seems like you would just need 3 pieces of information...the course id, rubric id, and the assignment id, but I don't see a succinct API call that includes just those 3 things.
https://canvas.instructure.com/doc/api/rubrics.html#method.rubric_associations.create
In the Live API the only required field is the course id. How does one tell the API to associate a rubric with an assignment within the course?
Solved! Go to Solution.
Hello @themidiman,
Yes you are correct that the RubricAssessments is the representation of the score data when grading with a rubric in SpeedGrader.
RubricAssociations is to define what the rubric is connected to. Rubrics can be connected to (or associated with) one or more accounts, courses, and/or assignments. Thus, you would need to create a RubricAssociation if you are trying to link an existing rubric to an assignment.
The endpoint you link to is correct: Create a RubricAssociation
This requires the course ID as part of the request URL: POST /api/v1/courses/:course_id/rubric_associations
In addition, I used the following request parameters when I've used this before for an association with an assignment:
Hello @themidiman,
Yes you are correct that the RubricAssessments is the representation of the score data when grading with a rubric in SpeedGrader.
RubricAssociations is to define what the rubric is connected to. Rubrics can be connected to (or associated with) one or more accounts, courses, and/or assignments. Thus, you would need to create a RubricAssociation if you are trying to link an existing rubric to an assignment.
The endpoint you link to is correct: Create a RubricAssociation
This requires the course ID as part of the request URL: POST /api/v1/courses/:course_id/rubric_associations
In addition, I used the following request parameters when I've used this before for an association with an assignment:
Thanks, @JamesSekcienski
Works like a charm!
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