Docs Start here
Core concepts
The few ideas everything else is built from.
Tenant#
Your organisation. Everything you create belongs to one tenant, and a credential can never see another tenant’s data. This is enforced in the database with composite foreign keys, not just in application code.
Course, version, draft#
A course is a stable identity (its slug). Its content lives in versions, which move through DRAFT → PUBLISHED → RETIRED. A course has at most one draft and one published version.
Published content is frozen. To change it you start a new draft, edit, and publish. Learners already enrolled stay on the version they began, so nobody’s progress changes under them.
Enrollment#
Enrollment is the only way anyone gets access to a course. Admins, roles and the API all just create enrollments, and each records why (source). If a learner has access, a row says so.
Customers, products, licenses#
| Thing | Meaning |
|---|---|
| Organization | A customer of yours: a business, or one person (INDIVIDUAL). |
| Product | A named bundle of courses you sell. |
| License | A product granted to an organization, with a number of seats. |
| Member | A person in an organization, either a MANAGER or a MEMBER. |
| Role | Your label (“Sales”), with an explicit list of courses. |
A member is enrolled in the courses their role lists, limited to what their organization’s licenses include, and each takes one seat.
Three different “roles”#
These are kept apart on purpose:
- Platform permission (
ADMIN,INSTRUCTOR,LEARNER): what someone may do in the API. - Access (
MANAGER,MEMBER): whether they manage an organization. - Role: which courses they get.
Explicit over implicit#
There are no automatic tags that silently change what a learner can do. If something happens, a typed record explains it.
Events#
Every change writes an event in the same transaction. Webhooks deliver them to you, so your systems can follow along without polling.