curl --request GET \
--url https://api.example.com/api/assessments/history{
"response": [
{
"id": 123,
"chapter_name": "<string>",
"questions": 123,
"created_at": "<string>",
"status": "<string>"
}
]
}curl --request GET \
--url https://api.example.com/api/assessments/history{
"response": [
{
"id": 123,
"chapter_name": "<string>",
"questions": 123,
"created_at": "<string>",
"status": "<string>"
}
]
}Authorization: Bearer <your_access_token>
Show AssessmentHistoryItem properties
"completed" for saved assessments.curl -X GET "http://localhost:8000/api/assessments/history" \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
[
{
"id": 42,
"chapter_name": "Chapter 3: Photosynthesis",
"questions": 20,
"created_at": "2026-03-08T14:32:15.123456",
"status": "completed"
},
{
"id": 38,
"chapter_name": "Chapter 2: Cell Structure",
"questions": 15,
"created_at": "2026-03-07T09:15:42.789012",
"status": "completed"
},
{
"id": 35,
"chapter_name": "Chapter 1: Introduction to Biology",
"questions": 18,
"created_at": "2026-03-06T16:20:33.456789",
"status": "completed"
}
]
[]
{
"detail": "Not authenticated"
}
created_at in descending order (newest first)questions count is calculated by counting MCQs in the stored content_jsonid field with the Get Assessment endpoint to retrieve full assessment details including all questions and answers