POST
/
v1
/
k12
/
generate
/
mcqs
curl --request POST \
  --url https://api-staging.crazygoldfish.com/v1/k12/generate/mcqs \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: <content-type>' \
  --header 'accept: <accept>' \
  --data '{
  "institution_id": "inst789",
  "teacher_id": "teacher456",
  "board": "NCERT",
  "grade": 10,
  "subject": "Science",
  "topics": [
    "Photosynthesis",
    "Cell Structure"
  ],
  "number_of_questions": 20,
  "question_type_distribution_percentage": {
    "single_answer": 100,
    "multiple_answer": 0
  },
  "difficulty_distribution_percentage": {
    "easy": 33,
    "medium": 33,
    "hard": 34
  },
  "blooms_taxonomy_distribution_percentage": {
    "Remember": 20,
    "Understand": 20,
    "Apply": 20,
    "Analyze": 20,
    "Evaluate": 10,
    "Create": 10
  },
  "learning_objectives": [
    "Understand photosynthesis process",
    "Identify cell structures"
  ],
  "extras": [
    "Include diagrams",
    "Focus on practical applications"
  ],
  "question_tagging_options": {
    "Hint": "No",
    "Curricular_Goal": "No",
    "Competency": "No",
    "LO": "No",
    "LOB": "No",
    "Difficulty_level": "No",
    "Bloom_Taxonomy": "No"
  },
  "solution_sheet": "yes"
}'
{
  "status_code": 202,
  "message": "MCQ 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.