List Assessments
/api/assessments
List assessments with optional filters.
Query Parameters
Filter by user UUID
Filter by target node UUID
Response
Get Assessment
GET/api/assessments/:id
Retrieve a single assessment.
Create Assessment
/api/assessments
Body Parameters
User UUID
Target node UUID
Assessment type (default:
diagnostic)Assessment title
Update Assessment
PATCH/api/assessments/:id
Update assessment metadata (e.g., mark as complete).
Body Parameters
ISO 8601 timestamp
New title
Questions
List Questions
GET/api/assessments/:id/questions
Retrieve all questions for an assessment.
Question UUID
Assessment UUID
Associated node UUID
mcq or open_endedQuestion text
JSON array of options (for MCQ)
Correct answer (for MCQ)
JSON grading rubric (for open-ended)
Difficulty level (1-5)
ISO 8601 timestamp
Create Question
/api/assessments/:id/questions
Body Parameters
mcq or open_endedQuestion text
Associated node UUID
Array of answer options (for MCQ)
Correct answer (for MCQ)
Grading rubric (for open-ended)
Difficulty level 1-5 (default: 1)
Answers
Submit Answer
/api/assessments/:assessmentId/answers
Submit an answer to a question. Auto-completes the assessment when all questions are answered.
Body Parameters
User UUID
Question UUID
Free-text answer (for open-ended)
Selected option (for MCQ)
Whether the answer is correct
Score (0-1 or 0-100, normalized to 0-1)
Feedback text
Get Answers
GET/api/assessments/:assessmentId/answers?userId=USER_ID
Retrieve all answers for an assessment and user.
Answer UUID
User UUID
Assessment UUID
Question UUID
Free-text answer
Selected option (MCQ)
Correctness
Score (0-1)
Feedback text
ISO 8601 timestamp