Overview

The A://Labs API exposes the learning-platform catalog and learner state. It surfaces published courses, lessons, enrollments, certifications, articles, and capability records. Lesson generation is implemented through the Gizzi runtime so that A://Labs uses the same brain/provider configuration as the rest of the platform.

Base URL

For local development:

Authentication

  • Course and lesson list routes are public.
  • Write routes (create lesson, create certification, create article, create capability, upsert enrollment) require a valid bearer token.
See Authentication.

Endpoints

Courses

List courses

Returns all published courses ordered by sort_order.

Example response

Lessons

List lessons

Query parameters

Generate a lesson

Generates a lesson for a course using the Gizzi runtime and persists it.

Request body

Example request

Example response

Enrollments

Upsert an enrollment

Creates or updates the caller’s enrollment in a course or lesson.

Request body

Example response

Certifications

Create a certification

Records a completed certification for the caller.

Request body

Example response

Articles

Create an article

Request body

Example response

Capabilities

Create a capability

Creates or updates a capability record.

Request body

Error codes