The reference is organised by resource. Every method follows the same structure: parameters, returns, examples in TypeScript / Python / curl.Documentation Index
Fetch the complete documentation index at: https://docs.hawkings.education/llms.txt
Use this file to discover all available pages before exploring further.
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:| Method | HTTP | Returns |
|---|---|---|
list(params?) | GET /resource | { data, has_more, next_cursor } |
retrieve(id, opts?) | GET /resource/:id | the full object |
create(params) | POST /resource | the new object |
update(id, params) | PATCH /resource/:id | the updated object |
del(id) | DELETE /resource/:id | { deleted: true, id } |
courses.clone(),
submissions.gradeWithAi(), etc.
Standard parameters
Every list call:Common return shapes
- Single object
- List
- Async generation
- Error