> For the complete documentation index, see [llms.txt](https://developerdocs.instructure.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/objects/canvas-course-gql.md).

# Canvas Course Gql

No description

```graphql
type CanvasCourseGQL {
  id: ID!
  name: String
  course_code: String
  workflow_state: String
  account_id: ID
  account_name: String
  enrollment_term_id: ID
  created_at: String
  start_at: String
  end_at: String
  public_syllabus: Boolean
  storage_quota_mb: Int
  hide_final_grades: Boolean
  license: String
  allow_student_assignment_edits: Boolean
  allow_wiki_comments: Boolean
  allow_student_forum_attachments: Boolean
  open_enrollment: Boolean
  self_enrollment: Boolean
  restrict_enrollments_to_course_dates: Boolean
  term: CanvasTermGQL
  enrollments: JSON
  total_students: Int
  course_image: String
}
```

#### Fields

[**`CanvasCourseGQL`.`id`**](#id) **●** [**`ID!`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/id.md)

[**`CanvasCourseGQL`.`name`**](#name) **●** [**`String`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/string.md)

[**`CanvasCourseGQL`.`course_code`**](#course-code) **●** [**`String`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/string.md)

[**`CanvasCourseGQL`.`workflow_state`**](#workflow-state) **●** [**`String`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/string.md)

[**`CanvasCourseGQL`.`account_id`**](#account-id) **●** [**`ID`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/id.md)

[**`CanvasCourseGQL`.`account_name`**](#account-name) **●** [**`String`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/string.md)

[**`CanvasCourseGQL`.`enrollment_term_id`**](#enrollment-term-id) **●** [**`ID`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/id.md)

[**`CanvasCourseGQL`.`created_at`**](#created-at) **●** [**`String`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/string.md)

[**`CanvasCourseGQL`.`start_at`**](#start-at) **●** [**`String`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/string.md)

[**`CanvasCourseGQL`.`end_at`**](#end-at) **●** [**`String`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/string.md)

[**`CanvasCourseGQL`.`public_syllabus`**](#public-syllabus) **●** [**`Boolean`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/boolean.md)

[**`CanvasCourseGQL`.`storage_quota_mb`**](#storage-quota-mb) **●** [**`Int`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/int.md)

[**`CanvasCourseGQL`.`hide_final_grades`**](#hide-final-grades) **●** [**`Boolean`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/boolean.md)

[**`CanvasCourseGQL`.`license`**](#license) **●** [**`String`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/string.md)

[**`CanvasCourseGQL`.`allow_student_assignment_edits`**](#allow-student-assignment-edits) **●** [**`Boolean`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/boolean.md)

[**`CanvasCourseGQL`.`allow_wiki_comments`**](#allow-wiki-comments) **●** [**`Boolean`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/boolean.md)

[**`CanvasCourseGQL`.`allow_student_forum_attachments`**](#allow-student-forum-attachments) **●** [**`Boolean`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/boolean.md)

[**`CanvasCourseGQL`.`open_enrollment`**](#open-enrollment) **●** [**`Boolean`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/boolean.md)

[**`CanvasCourseGQL`.`self_enrollment`**](#self-enrollment) **●** [**`Boolean`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/boolean.md)

[**`CanvasCourseGQL`.`restrict_enrollments_to_course_dates`**](#restrict-enrollments-to-course-dates) **●** [**`Boolean`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/boolean.md)

[**`CanvasCourseGQL`.`term`**](#term) **●** [**`CanvasTermGQL`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/objects/canvas-term-gql.md)

[**`CanvasCourseGQL`.`enrollments`**](#enrollments) **●** [**`JSON`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/json.md)

[**`CanvasCourseGQL`.`total_students`**](#total-students) **●** [**`Int`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/int.md)

[**`CanvasCourseGQL`.`course_image`**](#course-image) **●** [**`String`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/string.md)

#### Member Of

[`NonContentLibraryCoursesResultGQL`](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/objects/non-content-library-courses-result-gql.md) object


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/objects/canvas-course-gql.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
