The courses API endpoint does not return the "status" of a course.
This makes it difficult to repair course settings via the SIS Import for courses since course status is a required field and there is no way to get the current course status via the UI or via the API.
Ideally, the "status" should be returned by the API call to get a single course:
The valid values for course status (according to the SIS import documentation) are: active, deleted, completed, published
Added to Theme
Build new or more robust API endpoints Theme Status: Identified