Skip to main content

1. Get an API key

Grab a key from your dashboard. Keys start with hk- and are scoped to a single workspace.
Test keys are unmetered for the first 10,000 requests. You won’t be billed for anything you build in this guide.

2. Install the SDK

Officially supported: Node 18+, Deno, Bun, Cloudflare Workers, Vercel Edge, PHP 8.1+. Python and Go SDKs are in private beta — join the list.

3. Make your first call

You should see something like:

4. Let the AI write the syllabus

When that resolves, your course has units, lessons, and learning objectives. You’re ready to generate activities or export to SCORM.

5. Read it back

The expand option works on every retrieval. See Pagination & expanding.

What’s next

Authentication

API keys, scopes, and the difference between user keys and platform keys.

Data model

The full graph: workspaces → courses → cohorts → lessons → activities.

AI generation

How async generation works, polling vs. webhooks, and grounded research.

Errors & retries

Error taxonomy, automatic retries, and idempotency keys.