Skip to main content
The reference is organised by resource. Every method follows the same structure: parameters, returns, examples in TypeScript / Python / curl.

Top-level resources

Workspaces

client.workspaces.* — tenants holding users and courses.

Courses

client.courses.* — the syllabus.

Cohorts

client.cohorts.* — runs of a course for a group of students.

Lessons

client.lessons.* — atomic learning units.

Activities

client.activities.* — quizzes, flashcards, explainers, podcasts, …

Assignments

client.assignments.* — gradable artefacts.

Submissions

client.submissions.* — student responses + grades.

Users

client.users.* plus sugar students.* / teachers.*.

SCORM

client.scorm.* — export packages.

Method conventions

Every CRUD resource exposes: Idiomatic actions are namespaced under the resource — courses.clone(), submissions.gradeWithAi(), etc.

Standard parameters

Every list call:
Every retrieve call:
Every create / update call accepts an options bag:

Common return shapes