POST - Generate Worksheet Metadata
Generates metadata for a worksheet based on provided inputs such as board, grade, subject, section, number of questions, and optional resources (documents or audio). The request also accepts distributions for question types, difficulty levels, and Bloom’s taxonomy levels.
How to Use:
- Call
POST /worksheet/v1/metadatawith required fields (board,grade,subject,number_of_questions, and distributions) and optionally providetopic,section,documents, oraudio. - On success, the request is queued for background processing to generate worksheet metadata. You’ll receive a unique
idand confirmation message in the response. - If inputs are invalid (e.g., number of questions exceeds allowed limits or malformed JSON distributions), a
400error is returned. - If processing starts successfully, a
200response is returned with the request ID. - If an unexpected error occurs during submission, a
500error is returned.
Question Type Distribution:
{
"mcq_single_answer": 2,
"mcq_multiple_answer": 3,
"true_false": 1,
"fill_in_the_blanks": 0,
"very_short_answer": 1,
"short_answer": 1,
"long_answer": 2,
"match_the_column": 0
}
Difficulty Level Distribution (%)
{
"easy": 30,
"medium": 50,
"hard": 20
}
Bloom’s Taxonomy Distribution (%)
{
"remember": 30,
"understand": 30,
"apply": 30,
"analyze": 10,
"evaluate": 0,
"create": 0
}
Documentation Index
Fetch the complete documentation index at: https://docs.crazygoldfish.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
"087c80b0-ac25-40ee-8657-28b694882ba8"
"65955148-e106-461b-a9a6-e0c3294f6734"
"5dcc9bab-e2ac-4c65-a3d0-e272ac4bc5ea"
10
JSON string representing question type distribution
"{\"mcq_single_answer\": 2, \"mcq_multiple_answer\": 3, \"true_false\": 1, \"fill_in_the_blanks\": 0, \"very_short_answer\": 1, \"short_answer\": 1, \"long_answer\": 2, \"match_the_column\": 0}"
JSON string representing difficulty distribution
"{\"easy\": 30, \"medium\": 50, \"hard\": 20}"
JSON string representing Bloom taxonomy distribution
"{\"remember\": 30, \"understand\": 30, \"apply\": 30, \"analyze\": 10, \"evaluate\": 0, \"create\": 0}"
"A"
"Magnet"
Array of document files
Audio file for question generation
JSON string representing the metadata of the worksheet
"{\"teacher_id\": 199}"