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!
We are trying to pull the canvas ID of all the course sites for one term.
Using API : GET /v1/accounts/{account_id}/courses
Does anyone has any suggestions?
Solved! Go to Solution.
I don't like that section description in the API docs ("List active courses in an account"). I think it should just be "List courses in an account." However, I think they say "active" because the default results will return all courses except deleted courses. You can override the default setting using the "state[]" parameter.
So, to answer you question, I believe "active" means "not deleted."
@s525138 , this got posted in the InstructureCon area of the Community, but should probably be moved to the Canvas Developers group in the Communify - they are the highly technical back end of Canvas group. I'm going to contact someone about moving this.
I don't like that section description in the API docs ("List active courses in an account"). I think it should just be "List courses in an account." However, I think they say "active" because the default results will return all courses except deleted courses. You can override the default setting using the "state[]" parameter.
So, to answer you question, I believe "active" means "not deleted."
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