Skip to main content
inputCreateCourseworkInput

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.

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

Deprecated alias for descriptionHtml.

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.

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

title
String

Title of the item.

type

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

When the item becomes available.