curl --request GET \
--url https://api.example.com/api/assessments/{assessment_id}{
"id": 123,
"chapter_name": "<string>",
"content": {
"mcqs": [
{
"question": "<string>",
"options": [
{}
],
"correct_answer": "<string>",
"bloom_level": "<string>",
"explanation": "<string>"
}
]
}
}curl --request GET \
--url https://api.example.com/api/assessments/{assessment_id}{
"id": 123,
"chapter_name": "<string>",
"content": {
"mcqs": [
{
"question": "<string>",
"options": [
{}
],
"correct_answer": "<string>",
"bloom_level": "<string>",
"explanation": "<string>"
}
]
}
}Authorization: Bearer <your_access_token>
Show content structure
Show MCQ structure
curl -X GET "http://localhost:8000/api/assessments/42" \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
{
"id": 42,
"chapter_name": "Chapter 3: Photosynthesis",
"content": {
"mcqs": [
{
"question": "What is the primary function of chlorophyll in photosynthesis?",
"options": [
"Absorb light energy",
"Store glucose",
"Release oxygen",
"Transport water"
],
"correct_answer": "Absorb light energy",
"bloom_level": "remember",
"explanation": "Chlorophyll is the pigment that captures light energy from the sun, which is the first step in photosynthesis."
},
{
"question": "Compare and contrast the light-dependent and light-independent reactions.",
"options": [
"Both occur in the stroma",
"Light-dependent produces ATP and NADPH; light-independent uses them to fix carbon",
"Both require direct sunlight",
"Light-independent produces oxygen"
],
"correct_answer": "Light-dependent produces ATP and NADPH; light-independent uses them to fix carbon",
"bloom_level": "analyze",
"explanation": "The light-dependent reactions capture energy and produce ATP and NADPH, while the light-independent reactions (Calvin cycle) use these products to convert CO2 into glucose."
},
{
"question": "Design an experiment to test how light intensity affects photosynthesis rate.",
"options": [
"Measure oxygen production at different light distances",
"Count the number of leaves",
"Measure plant height over time",
"Test soil pH levels"
],
"correct_answer": "Measure oxygen production at different light distances",
"bloom_level": "create",
"explanation": "Measuring oxygen production (a byproduct of photosynthesis) at varying light intensities directly tests the relationship between light and photosynthesis rate."
}
]
}
}
{
"detail": "Not authenticated"
}
{
"detail": "Assessment not found"
}
content field structure matches the content_json saved via Save Assessment