Skip to main content
GET
Get lesson plan alignment
Step 2 of 4 in Build a lesson plan. Poll every 5 seconds until status is Completed.

Reading the response

alignment has three parts: The six stages are introduction, development, guided_practice, independent_practice, closure, and summative_assessment. The API adjusts the AI’s duration values after generation so they add up to the lesson’s duration_minutes, and while it does that it aims to keep every stage at 5 minutes or more.
The 5 minute floor is what the API aims for, not a rule it enforces. On a short lesson there may not be enough time to give every stage 5 minutes, and the stages are returned as they are. Read the duration values rather than assuming a minimum.
A 404 saying Finalize metadata step not found for this lesson plan. right after the previous call means no worker has picked the job up yet. Keep polling. A failed step returns 400 with status: "Failed".
While the job runs, alignment is {}. Check status before reading it.

Next step

Build lesson plan content

Send alignment back, with the teacher’s choices and stage durations.

Authorizations

Authorization
string
header
required

Access token from Get an access token.

Path Parameters

lesson_plan_id
string<uuid>
required

The lesson plan id returned by Start a lesson plan.

Example:

"7d2f1b90-4c6a-4f3e-b1d7-9a5e2c8f0b34"

Response

The step is In Progress or Completed. alignment is {} until the timeline exists.

data
object