POST
/
worksheet
/
v1
/
generate-worksheet
/
{work_sheet_id}
Generate Worksheet
curl --request POST \
  --url https://api-staging.crazygoldfish.com/worksheet/v1/generate-worksheet/{work_sheet_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "question_type_summary": [
    {
      "question_type": "mcq_single_answer",
      "count": 2
    },
    {
      "question_type": "mcq_multiple_answer",
      "count": 3
    },
    {
      "question_type": "true_false",
      "count": 1
    },
    {
      "question_type": "very_short_answer",
      "count": 1
    },
    {
      "question_type": "short_answer",
      "count": 1
    },
    {
      "question_type": "long_answer",
      "count": 2
    }
  ],
  "bloom_summary": [
    {
      "bloom": "remember",
      "question_count": 3
    },
    {
      "bloom": "understand",
      "question_count": 3
    },
    {
      "bloom": "apply",
      "question_count": 3
    },
    {
      "bloom": "analyze",
      "question_count": 1
    }
  ],
  "difficulty_summary": [
    {
      "difficulty": "easy",
      "question_count": 3
    },
    {
      "difficulty": "medium",
      "question_count": 5
    },
    {
      "difficulty": "hard",
      "question_count": 2
    }
  ],
  "question_summary": [
    {
      "question_type": "mcq_single_answer",
      "learning_objectives": "Students will explain ...",
      "bloom": "understand",
      "difficulty": "easy",
      "question_count": 1
    },
    {
      "question_type": "long_answer",
      "learning_objectives": "Students will differentiate materials...",
      "bloom": "remember",
      "difficulty": "hard",
      "question_count": 1
    }
  ]
}'
{
  "detail": [
    {
      "id": "152764ca-1685-427c-aba7-4b92dcc0d60f",
      "msg": "Worksheet generation initiated successfully."
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

work_sheet_id
string<uuid>
required

Unique identifier of the worksheet

Body

application/json

Response

Worksheet generation initiated successfully.

The response is of type object.