List Enrollments
list_enrollmentsRetrieve all course enrollments for the authenticated user, with optional filters for role, type, state, and term to narrow results.
Instructions
List all enrollments for the authenticated user across courses. Optional filters and includes mirror Canvas GET /users/self/enrollments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Filter by enrollment role names (as defined in the Canvas account) | |
| type | No | Filter by one or more enrollment types | |
| state | No | Filter by one or more enrollment states | |
| include | No | Extra fields to include on each enrollment (Canvas include[] param) | |
| grading_period_id | No | Return enrollments scoped to this grading period | |
| enrollment_term_id | No | Limit to enrollments in the given term |