The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December. Read our blog post for more info about this change.
Found this content helpful? Log in or sign up to leave a like!
Is there a way to get a list of status of import course content across multiple courses?
Working on doing a course content migration, however, have to go into each course individually to determine the status.
Thank you,
Dona
Dona, have you looked at the List content migrations endpoint? The first option lists content migrations by account.
Hi there,
As dgrobani mentioned, the Content Migrations API is what you are going to want to do. To iterate through multiple courses, a for-loop inside a script should accomplish what you need.
Simple PowerShell example:
# OAUTH key
$auth = "<auth key>"
# If you want to hard code an array of course IDs
$courseIDs = @{'1','2','3','4'}
# If you want to import a list of course IDs in a text file
# $courseIDs = Get-Content C:\Temp\courseids.txt
foreach ($c in $courseIDs) {
Invoke-RestMethod "https://school.instructure.com/api/v1/course/$c/content_migrations"
}
Community helpTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in