Create course
create_courseCreates a draft course. Screens follow the builder's shape — each has an id, title, and an array of blocks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Course title, shown to learners. | |
| screens | No | The course's screens in order, each with an id, a title and an array of blocks. Omit to start with no screens and add them later with add_screen. | |
| themeId | No | Id of a theme in this workspace for the course to inherit its look from. Omit or null for no theme. | |
| navigation | No | 'default' lets the player draw its own Back/Continue row; 'hidden' removes it (and swipe) so button blocks move the learner on. Omit to use the workspace default. | |
| passingScore | No | Percentage (0-100) of graded blocks a learner must answer correctly to pass and earn a certificate. Omit or null and any completion counts. | |
| quizFeedback | No | When learners see whether an answer was right: 'deferred' (at the end, suits assessments) or 'immediate' (as they answer, suits practice). Omit to use the workspace default. | |
| certificateId | No | Id of a certificate template in this workspace, issued on passing. Omit or null to issue the built-in default design. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| title | Yes | ||
| status | Yes | ||
| screens | Yes | ||
| themeId | Yes | ||
| createdAt | Yes | ||
| direction | Yes | ||
| updatedAt | Yes | ||
| navigation | Yes | ||
| sourceKind | Yes | ||
| contentHash | Yes | ||
| customFonts | Yes | ||
| workspaceId | Yes | ||
| passingScore | Yes | ||
| quizFeedback | Yes | ||
| certificateId | Yes |