> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mightynetworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CreateCourseworkInput

> Autogenerated input type of CreateCoursework



**Kind**: `input`

## Fields

**`assetIds`**: `[ID!]`

Resource IDs or GlobalIDs of uploaded assets to attach to the coursework body.
Sending null is treated the same as omitting it.

---

**`clientMutationId`**: `String`

A unique identifier for the client performing the mutation.

---

**`completionCriteria`**: `CourseworkCompletionCriteria`

How the item is marked complete.

---

**`courseId`**: `ID!` (required)

Course identifier — resource ID or GlobalID of a Space with course content enabled.

---

**`description`**: `String`

Deprecated alias for descriptionHtml.

> Deprecated: Use descriptionHtml.

---

**`descriptionHtml`**: `String`

Body content of the item as HTML.

---

**`parentId`**: `ID`

Parent section or overview to nest under. Defaults to the course overview when omitted.

---

**`status`**: `CourseworkStatus`

Initial visibility status: POSTED, HIDDEN, or PENDING. Any other value is rejected with a payload error.

---

**`title`**: `String`

Title of the item.

---

**`type`**: `CourseworkType!` (required)

The kind to create. Overview cannot be created — every course has exactly one, created with the course.

---

**`unlockingCriteria`**: `CourseworkUnlockingCriteria`

When the item becomes available.



This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.