> 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/course-enrollment-item-gql.md).

# Course Enrollment Item Gql

No description

```graphql
type CourseEnrollmentItemGQL {
  id: String!
  enrollmentId: String!
  name: String!
  position: Int!
  itemType: LearnItemType!
  startAt: DateTime
  endAt: DateTime
  enrolledAt: DateTime
  completionPercentage: Float
  requirementCount: Int
  requirementCompletedCount: Int
  completedAt: DateTime
  grade: Float
  imageUrl: String
  workflowState: String!
  lastActivityAt: DateTime
  estimatedDurationMinutes: Int
  incompleteModules: [IncompleteModuleGQL!]
}
```

#### Fields

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

Unique identifier for the course

[**`CourseEnrollmentItemGQL`.`enrollmentId`**](#enrollment-id) **●** [**`String!`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/string.md)

Canvas enrollment ID

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

Name of the course

[**`CourseEnrollmentItemGQL`.`position`**](#position) **●** [**`Int!`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/int.md)

Position in the sorted list

[**`CourseEnrollmentItemGQL`.`itemType`**](#item-type) **●** [**`LearnItemType!`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/enums/learn-item-type.md)

Type of item (always COURSE for this type)

[**`CourseEnrollmentItemGQL`.`startAt`**](#start-at) **●** [**`DateTime`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/date-time.md)

Course start date

[**`CourseEnrollmentItemGQL`.`endAt`**](#end-at) **●** [**`DateTime`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/date-time.md)

Course end date

[**`CourseEnrollmentItemGQL`.`enrolledAt`**](#enrolled-at) **●** [**`DateTime`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/date-time.md)

When the user was enrolled in the course (null if unknown)

[**`CourseEnrollmentItemGQL`.`completionPercentage`**](#completion-percentage) **●** [**`Float`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/float.md)

Completion percentage (0-100)

[**`CourseEnrollmentItemGQL`.`requirementCount`**](#requirement-count) **●** [**`Int`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/int.md)

Total number of requirements in the course

[**`CourseEnrollmentItemGQL`.`requirementCompletedCount`**](#requirement-completed-count) **●** [**`Int`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/int.md)

Number of completed requirements

[**`CourseEnrollmentItemGQL`.`completedAt`**](#completed-at) **●** [**`DateTime`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/date-time.md)

When the course was completed

[**`CourseEnrollmentItemGQL`.`grade`**](#grade) **●** [**`Float`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/float.md)

Final grade (0-100)

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

Course image URL

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

Course workflow state (available, completed, etc.)

[**`CourseEnrollmentItemGQL`.`lastActivityAt`**](#last-activity-at) **●** [**`DateTime`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/date-time.md)

Last activity timestamp in the course

[**`CourseEnrollmentItemGQL`.`estimatedDurationMinutes`**](#estimated-duration-minutes) **●** [**`Int`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/scalars/int.md)

Total estimated duration in minutes (sum of all published module items)

[**`CourseEnrollmentItemGQL`.`incompleteModules`**](#incomplete-modules) **●** [**`[IncompleteModuleGQL!]`**](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/objects/incomplete-module-gql.md)

Modules with incomplete items (for resume learning)

#### Implemented By

[`LearnItem`](https://developerdocs.instructure.com/services/journey/graphql-api-specification/types/unions/learn-item.md) union


---

# 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/course-enrollment-item-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.
