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

# Program Enrollment Item Gql

No description

```graphql
type ProgramEnrollmentItemGQL {
  id: String!
  name: String!
  position: Int!
  itemType: LearnItemType!
  startDate: DateTime
  endDate: DateTime
  enrolledAt: DateTime
  completionPercentage: Float
  status: String!
  description: String
  variant: String!
  estimatedDurationMinutes: Int
  courseCount: Int!
}
```

#### Fields

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

Unique identifier for the program

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

Name of the program

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

Position in the sorted list

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

Type of item (always PROGRAM for this type)

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

Program start date

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

Program end date

[**`ProgramEnrollmentItemGQL`.`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 program

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

Completion percentage (0-100)

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

Enrollment status (active, completed, dropped)

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

Program description

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

Program variant type (linear or non\_linear)

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

Estimated duration in minutes (sum of all courses)

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

Number of courses in the program

#### 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/program-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.
