Skip to content
Stepwik

Labs

Get lab

Read a full codelab with markdown sections. Owner, co-author, or org access.

GET/v1/eapi/labs/:slugTry it

Authorizations

stepwik-api-keystringheaderrequired

API key secret. Requires scope `labs:read`. Create keys in Studio → Developer → API Keys.

Burst limit: 100 / 15 min per key · Scope: labs:read

Path parameters

slugstringpathrequired

Codelab slug from Studio or list labs.

Request

curl -X GET "https://api.stepwik.com/v1/eapi/labs/my-codelab-slug" \
  -H "stepwik-api-key: stepwik_<id>_<secret>"

Response

200 · application/json

slugstring

Lab slug

titlestring

Lab title

sectionsarray

Ordered markdown sections

200

{
  "slug": "my-codelab-slug",
  "title": "Getting Started with Redis",
  "sections": [
    { "title": "Introduction", "order": 1, "content": "## What is Redis?" }
  ]
}