Skip to main content
POST
Generate worksheet questions
Step 3 of 4 in Generate a worksheet. This call starts an async job.

Rules

  • Call this after Get worksheet question configuration returns status: "Completed".
  • Send the question_configuration object as the request body. Don’t wrap it in another key.
  • If you edit the plan, the counts in each of the four lists must still add up to number_of_questions. Otherwise you get 422 Total mismatch.
  • This step runs once per worksheet. A second call returns 400 unless the first one failed.

Next step

Get generated worksheet questions

Poll until status is Completed, or wait for the worksheet_generation webhook.

Authorizations

Authorization
string
header
required

Access token from Get an access token.

Path Parameters

work_sheet_id
string<uuid>
required

The worksheet id returned by Start a worksheet.

Example:

"152764ca-1685-427c-aba7-4b92dcc0d60f"

Body

application/json

The question plan. The counts in each of the four lists must add up to the worksheet's number_of_questions.

question_type_summary
object[]
required

Number of questions per question type.

bloom_summary
object[]
required

Number of questions per Bloom's taxonomy level.

difficulty_summary
object[]
required

Number of questions per difficulty level.

question_summary
object[]
required

One row per group of questions to generate. Each row becomes question_count questions.

Response

The job was queued. Poll the matching GET endpoint or wait for the webhook.

detail
object[]