list_enrollments
Retrieve all enrollments for the authenticated user across courses, with optional filters for type, state, role, and includes like grades.
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 |
|---|---|---|---|
| type | No | Filter by one or more enrollment types | |
| state | No | Filter by one or more enrollment states | |
| role | No | Filter by enrollment role names (as defined in the Canvas account) | |
| 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 |