Get Root Outcome Group
get_root_outcome_groupGet the root outcome group for an account or course context, the entry point into the outcome tree. Returns the top-level outcome group (id, title, subgroups_url, outcomes_url); walk from there with list_outcome_group_subgroups for its…
Instructions
Get the root outcome group for an account or course context, the entry point into the outcome tree. Returns the top-level outcome group (id, title, subgroups_url, outcomes_url); walk from there with list_outcome_group_subgroups for its child groups and list_outcome_group_outcomes for outcomes linked directly under a group, or use list_outcome_groups for a flat listing of every group in the context instead of walking the tree.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context_id | Yes | The Canvas account ID or course ID for the context. | |
| context_type | Yes | Whether to read outcomes from an account or course context. |