Canvas LMS · Arazzo Workflow

Canvas LMS Grade an Assignment From a Module

Version 1.0.0

List a course's modules with items, then grade a student on a module assignment.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Learning ManagementEducationEdTechLMSLTIHigher EducationK-12Open-SourceAGPLCanvasArazzoWorkflows

Provider

canvas-lms

Workflows

grade-module-assignment
List modules then grade a student on a module's assignment.
Lists the course modules with items for context, reads the student's submission for the supplied module assignment, and posts a grade.
3 steps inputs: assignmentId, courseId, postedGrade, userId outputs: grade, moduleId
1
listModules
List the course modules including their items to provide module context for the assignment being graded.
2
getSubmission
Read the student's submission for the module's assignment.
3
gradeSubmission
Post the grade to the student's submission for the module assignment.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Canvas LMS Grade an Assignment From a Module
  summary: List a course's modules with items, then grade a student on a module assignment.
  description: >-
    A module-driven grading flow for Canvas. Because the covered REST surface
    exposes module listing but not module-item authoring, this workflow adapts
    the "create module then add item" theme to a supported read-then-grade
    pattern: it lists the course modules including their items, then reads and
    grades a student's submission for the assignment id supplied for one of those
    module items. Every step spells out its request inline so the flow can be read
    and executed without opening the underlying OpenAPI description.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-4740.30
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-4740.30
      capability_name: Marking & Grading Operations
      spec: canvas-lms-submissions-api-openapi.yml
      confidence: 0.85
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: modulesApi
  url: ../openapi/canvas-lms-modules-api-openapi.yml
  type: openapi
- name: submissionsApi
  url: ../openapi/canvas-lms-submissions-api-openapi.yml
  type: openapi
workflows:
- workflowId: grade-module-assignment
  summary: List modules then grade a student on a module's assignment.
  description: >-
    Lists the course modules with items for context, reads the student's
    submission for the supplied module assignment, and posts a grade.
  inputs:
    type: object
    required:
    - courseId
    - assignmentId
    - userId
    - postedGrade
    properties:
      courseId:
        type: string
        description: The Canvas course id.
      assignmentId:
        type: string
        description: The Canvas assignment id linked from a module item.
      userId:
        type: string
        description: The Canvas user id of the student to grade.
      postedGrade:
        type: string
        description: The grade to post.
  steps:
  - stepId: listModules
    description: >-
      List the course modules including their items to provide module context
      for the assignment being graded.
    operationId: listModules
    parameters:
    - name: course_id
      in: path
      value: $inputs.courseId
    - name: include[]
      in: query
      value:
      - items
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      firstModuleId: $response.body#/0/id
      firstModuleName: $response.body#/0/name
  - stepId: getSubmission
    description: >-
      Read the student's submission for the module's assignment.
    operationId: getSubmission
    parameters:
    - name: course_id
      in: path
      value: $inputs.courseId
    - name: assignment_id
      in: path
      value: $inputs.assignmentId
    - name: user_id
      in: path
      value: $inputs.userId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      submissionUserId: $response.body#/user_id
  - stepId: gradeSubmission
    description: >-
      Post the grade to the student's submission for the module assignment.
    operationId: gradeSubmission
    parameters:
    - name: course_id
      in: path
      value: $inputs.courseId
    - name: assignment_id
      in: path
      value: $inputs.assignmentId
    - name: user_id
      in: path
      value: $inputs.userId
    requestBody:
      contentType: application/json
      payload:
        submission:
          posted_grade: $inputs.postedGrade
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      grade: $response.body#/grade
      score: $response.body#/score
  outputs:
    moduleId: $steps.listModules.outputs.firstModuleId
    grade: $steps.gradeSubmission.outputs.grade

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/canvas-lms-list-modules-and-grade-module-assignment-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.