LEIA Docs

Generate a design blueprint from an active HTML template without saving

POST
/courses/{courseId}/design-blueprint/generate

Authorization

AuthorizationBearer <token>

LEIA API key passed as Bearer token (recommended). Keys start with leia_sk_.

In: header

Path Parameters

courseId*string

Header Parameters

Idempotency-Key?string

Optional key for safely retrying this mutation

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

inspiredFromTemplateKey*string

Response Body

application/json

curl -X POST "https://example.com/courses/string/design-blueprint/generate" \  -H "Content-Type: application/json" \  -d '{    "inspiredFromTemplateKey": "string"  }'
{
  "blueprint": "string"
}
Empty
Empty
Empty
Empty
Empty