Get Outcome Alignments
get_outcome_alignmentsGet the assignments aligned to outcomes in a course, optionally filtered to one student_id or assignment_id. Returns each alignment's assignment_id and title, but not the outcome_id it maps to.
Instructions
Get the assignments aligned to outcomes in a course, optionally filtered to one student_id or assignment_id. Returns each alignment's assignment_id and title, but not the outcome_id it maps to. get_outcome_results nests the same alignment objects under linked.alignments, but ties an alignment to an outcome via each outcome_results[] entry's links.alignment and links.learning_outcome, not from linked.alignments alone. Use get_outcome_contributing_scores to see the assignment scores that produced an outcome's results instead of just the links.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course_id | Yes | The Canvas course ID. | |
| student_id | No | Optional Canvas user ID of the student to filter alignments by. | |
| assignment_id | No | Optional Canvas assignment ID to filter alignments by. |