Canvas LMS · Arazzo Workflow

Canvas LMS Audit Account Course and Conclude It

Version 1.0.0

List courses in an account, read one course's detail, then conclude it.

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

Provider

canvas-lms

Workflows

account-course-audit-and-conclude
Find an account course by search term and conclude it.
Lists account courses matching a search term, reads the first match's detail, and concludes that course.
3 steps inputs: accountId, searchTerm outputs: concluded, courseId
1
listAccountCourses
List the account's active courses filtered by the supplied search term.
2
getCourseDetail
Read the first matching course's full detail to confirm it before concluding.
3
concludeCourse
Conclude the resolved course, a reversible close that preserves data.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Canvas LMS Audit Account Course and Conclude It
  summary: List courses in an account, read one course's detail, then conclude it.
  description: >-
    An account-administration flow for Canvas. The workflow lists the active
    courses in an account filtered by a search term, reads the first matching
    course's full detail, and then concludes that course. It models a tidy-up
    pass an admin runs against an account's catalog. 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
sourceDescriptions:
- name: accountsApi
  url: ../openapi/canvas-lms-accounts-api-openapi.yml
  type: openapi
- name: coursesApi
  url: ../openapi/canvas-lms-courses-api-openapi.yml
  type: openapi
workflows:
- workflowId: account-course-audit-and-conclude
  summary: Find an account course by search term and conclude it.
  description: >-
    Lists account courses matching a search term, reads the first match's
    detail, and concludes that course.
  inputs:
    type: object
    required:
    - accountId
    - searchTerm
    properties:
      accountId:
        type: string
        description: The Canvas account id (or self).
      searchTerm:
        type: string
        description: A search term to filter the account's courses by name or code.
  steps:
  - stepId: listAccountCourses
    description: >-
      List the account's active courses filtered by the supplied search term.
    operationId: listCoursesInAccount
    parameters:
    - name: account_id
      in: path
      value: $inputs.accountId
    - name: search_term
      in: query
      value: $inputs.searchTerm
    - name: state[]
      in: query
      value:
      - available
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      firstCourseId: $response.body#/0/id
      firstCourseName: $response.body#/0/name
  - stepId: getCourseDetail
    description: >-
      Read the first matching course's full detail to confirm it before
      concluding.
    operationId: getCourse
    parameters:
    - name: course_id
      in: path
      value: $steps.listAccountCourses.outputs.firstCourseId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      courseId: $response.body#/id
      workflowState: $response.body#/workflow_state
  - stepId: concludeCourse
    description: >-
      Conclude the resolved course, a reversible close that preserves data.
    operationId: deleteCourse
    parameters:
    - name: course_id
      in: path
      value: $steps.getCourseDetail.outputs.courseId
    - name: event
      in: query
      value: conclude
    successCriteria:
    - condition: $statusCode == 200
    - condition: $response.body#/conclude == true
    outputs:
      concluded: $response.body#/conclude
  outputs:
    courseId: $steps.getCourseDetail.outputs.courseId
    concluded: $steps.concludeCourse.outputs.concluded

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-account-course-audit-and-conclude-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.