Page number or bookmark token for pagination. Use the next_page value from a previous response to fetch subsequent pages.
statearray
Filters courses by workflow state. Allowed values: 'unpublished', 'available', 'completed', 'deleted'. Default behavior (when not specified) returns all courses except deleted ones.
includearray
Specifies additional details to include for each course. Allowed values: 'needs_grading_count', 'syllabus_body', 'public_description', 'total_scores', 'current_grading_period_scores', 'term', 'account', 'course_progress', 'sections', 'storage_quota_used_mb', 'total_students', 'p…
user_idstring
Required
The unique identifier of the user for whom to retrieve the list of courses.
homeroomboolean
If true, filters the results to include only homeroom courses. Set to false or omit to include all course types.
per_pageinteger
Number of courses to return per page (max 100).
account_idstring
Filters the results to include only courses associated with the specified account ID. Use this to narrow down results to courses within a specific account.
enrollment_statestring
Filters courses by the user's enrollment state. Allowed values: 'active' (actively enrolled), 'invited_or_pending' (invited but not yet accepted), 'completed' (enrollment has been completed/finished). When not specified, returns courses in all enrollment states.
Observable output
data
Required
Data from the action execution
errorstring
Error if any occurred during the execution of the action
successfulboolean
Required
Whether or not the action execution was successful or not