POST
/
v1
/
k12
/
generate
/
worksheet
curl --request POST \
  --url https://api-staging.crazygoldfish.com/v1/k12/generate/worksheet \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: <content-type>' \
  --header 'accept: <accept>' \
  --data '{
  "institution_id": "inst789",
  "teacher_id": "teacher456",
  "grade": "10",
  "subject": "Science",
  "board": "NCERT",
  "topics": [
    "Photosynthesis",
    "Cell Structure"
  ],
  "learning_objectives": [
    "Understanding photosynthesis process"
  ],
  "question_tagging_options": {
    "Hint": "No",
    "Curricular_Goal": "No",
    "Competency": "No",
    "LO": "No",
    "LOB": "No",
    "Difficulty_level": "No",
    "Bloom_Taxonomy": "No"
  },
  "number_of_questions": 10,
  "difficulty_distribution_percentage": {
    "easy": 33,
    "medium": 33,
    "hard": 34
  },
  "blooms_taxonomy_distribution_percentage": {
    "Remember": 10,
    "Understand": 10,
    "Apply": 10,
    "Analyze": 10,
    "Evaluate": 10,
    "Create": 50
  },
  "question_type_distribution_absolute": {
    "MCQ_single_answer": 3,
    "MCQ_Multiple_answer": 2,
    "True_False": 2,
    "Fill_in_the_blanks": 1,
    "Match_the_column": 6,
    "Very_Short_answer": 1,
    "Short_answer": 4,
    "Long_answer": 5
  },
  "solution_sheet": "Yes",
  "format": "JSON",
  "extra": [
    "string"
  ]
}'
{
  "status_code": 202,
  "message": "Worksheet generation request submitted successfully",
  "data": {
    "request_id": "unique-request-id"
  },
  "status": "Processing"
}

Authorizations

Authorization
string
header
required

Headers

accept
enum<string>
default:application/json
required

Specifies the format of the response.

Available options:
application/json
Content-Type
enum<string>
default:application/json
required

Specifies the content type of the request body.

Available options:
application/json

Body

application/json

Response

200
application/json

Request accepted for processing.

The response is of type object.