Skip to content
Stepwik

Labs

Lab format

Returns the JSON schema for importing an LLM-generated codelab (used by MCP create_codelab).

GET/v1/eapi/labs/formatTry it

Authorizations

stepwik-api-keystringheaderrequired

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

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

Request

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

Response

200 · application/json

schemaobject

JSON schema for create_codelab / POST /labs

200

{
  "schema": { "type": "object", "properties": { "title": { "type": "string" } } }
}