openapi: 3.1.0 info: title: Canvas LMS REST Accounts Outcomes API description: 'The Canvas LMS REST API exposes the full learning-management surface — accounts, courses, enrollments, users, assignments, submissions, grades, outcomes, quizzes, modules, pages, discussions, files, conversations, calendar events, planner, and more — via `/api/v1` on any Canvas install (Free for Teacher at canvas.instructure.com, Canvas Cloud, or self-hosted). Authentication uses OAuth2 (RFC 6749). Tokens are issued via the `/login/oauth2/auth` and `/login/oauth2/token` endpoints; clients must be registered as a Developer Key in the target Canvas account. Manual personal access tokens may be created from a user''s profile for testing only. Pagination follows RFC 5988 with `Link` response headers (`rel="next"`, `"prev"`, `"first"`, `"last"`). Includes can be requested via the `include[]` query parameter on most resources. Admin users may impersonate other users by appending `as_user_id={id}` (Masquerading). This OpenAPI document covers the most-used endpoints across Accounts, Courses, Enrollments, Users, Assignments, Submissions, Modules, Discussions, Files, and Outcomes. The full surface (190+ resource groups) is documented at https://canvas.instructure.com/doc/api/all_resources.html and generated in the canvas-lms repo via `rake doc:openapi`. ' version: '1.0' contact: name: Canvas Developer Community url: https://community.canvaslms.com/t5/Canvas-Developers-Group/gh-p/canvas-developers license: name: AGPL-3.0 identifier: AGPL-3.0-or-later x-logo: url: https://www.instructure.com/sites/default/files/image/2021-12/Canvas_logo_single_mark.png servers: - url: https://{canvas_host}/api/v1 description: Canvas REST API on any Canvas install variables: canvas_host: default: canvas.instructure.com description: The Canvas host (canvas.instructure.com for Free for Teacher, your-school.instructure.com for Canvas Cloud, or your self-hosted Canvas) security: - OAuth2: [] - BearerAuth: [] tags: - name: Outcomes description: Learning outcomes and outcome results paths: /accounts/{account_id}/outcome_groups: get: summary: List Outcome Groups in an Account operationId: listOutcomeGroups tags: - Outcomes parameters: - $ref: '#/components/parameters/AccountId' responses: '200': description: A paginated list of outcome groups content: application/json: schema: type: array items: $ref: '#/components/schemas/OutcomeGroup' components: parameters: AccountId: name: account_id in: path required: true description: The Canvas account ID, an SIS account ID prefixed `sis_account_id:`, or `self`. schema: type: string schemas: OutcomeGroup: type: object properties: id: type: integer url: type: string parent_outcome_group: type: object additionalProperties: true context_id: type: integer nullable: true context_type: type: string nullable: true title: type: string description: type: string nullable: true vendor_guid: type: string nullable: true subgroups_url: type: string outcomes_url: type: string import_url: type: string can_edit: type: boolean securitySchemes: OAuth2: type: oauth2 description: Canvas OAuth2 (RFC 6749) authorization code grant. Register a Developer Key in the target Canvas account to obtain a client_id and client_secret. flows: authorizationCode: authorizationUrl: https://canvas.instructure.com/login/oauth2/auth tokenUrl: https://canvas.instructure.com/login/oauth2/token refreshUrl: https://canvas.instructure.com/login/oauth2/token scopes: url:GET|/api/v1/accounts: Read accounts url:GET|/api/v1/courses: Read courses url:GET|/api/v1/users/{user_id}: Read a user BearerAuth: type: http scheme: bearer description: A Canvas access token. For testing only — production apps MUST use the OAuth2 flow per the Canvas API Policy.