Canvas LMS · Arazzo Workflow

Canvas LMS Excuse or Grade a Submission

Version 1.0.0

Read a submission and branch — excuse it when not submitted, otherwise post a grade.

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

Provider

canvas-lms

Workflows

excuse-or-grade-submission
Grade a submitted student or excuse a non-submitter.
Reads the submission, and branches to excuse it when its workflow_state is unsubmitted or to post a grade when the student has submitted.
3 steps inputs: assignmentId, courseId, postedGrade, userId outputs: excused, grade
1
readSubmission
Read the student's submission to determine whether they have submitted.
2
excuseSubmission
Excuse the submission so it is omitted from grade calculations when the student has not submitted.
3
gradeSubmission
Post the supplied grade to the student's submission when they have submitted work.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Canvas LMS Excuse or Grade a Submission
  summary: Read a submission and branch — excuse it when not submitted, otherwise post a grade.
  description: >-
    A grading-decision flow for Canvas. The workflow reads a student's
    submission for an assignment and then branches on its workflow state: when
    the student has not submitted, it excuses the submission so it is omitted from
    grade calculation; when the student has submitted, it posts a grade. 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: submissionsApi
  url: ../openapi/canvas-lms-submissions-api-openapi.yml
  type: openapi
workflows:
- workflowId: excuse-or-grade-submission
  summary: Grade a submitted student or excuse a non-submitter.
  description: >-
    Reads the submission, and branches to excuse it when its workflow_state is
    unsubmitted or to post a grade when the student has submitted.
  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.
      userId:
        type: string
        description: The Canvas user id of the student.
      postedGrade:
        type: string
        description: The grade to post when the student has submitted.
  steps:
  - stepId: readSubmission
    description: >-
      Read the student's submission to determine whether they have submitted.
    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:
      workflowState: $response.body#/workflow_state
    onSuccess:
    - name: notSubmitted
      type: goto
      stepId: excuseSubmission
      criteria:
      - context: $response.body
        condition: $.workflow_state == "unsubmitted"
        type: jsonpath
    - name: submitted
      type: goto
      stepId: gradeSubmission
      criteria:
      - context: $response.body
        condition: $.workflow_state != "unsubmitted"
        type: jsonpath
  - stepId: excuseSubmission
    description: >-
      Excuse the submission so it is omitted from grade calculations when the
      student has not submitted.
    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:
          excuse: true
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      excused: $response.body#/excused
    onSuccess:
    - name: done
      type: end
  - stepId: gradeSubmission
    description: >-
      Post the supplied grade to the student's submission when they have
      submitted work.
    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:
    excused: $steps.excuseSubmission.outputs.excused
    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-excuse-or-grade-submission-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.