Assessment Verification
Submit Assessment
Submit answers, score the assessment, and update skill verification statuses.
POST
Overview
All answers must be submitted in a single call. The number of answers must exactly match the number of questions generated.- Skills are set to verified if the student passes.
- Skills are set to rejected if the student fails.
- A
verification.completedwebhook is fired with full results. - A result email is sent to the student.
- A passed assessment is locked —
isLocked: true— blocking all future attempts.
Requires a valid session token via the
x-api-key session middleware.Scoring Rules
| Metric | Detail |
|---|---|
| Pass threshold | 60% |
| Score formula | round((correctAnswers / totalQuestions) × 100) |
| Lock on pass | isLocked: true — blocks all future attempts |
Request Body
Array of answer objects. Length must match the total number of questions.
Error Codes
| Code | HTTP | Description |
|---|---|---|
MISSING_VERIFICATION_ID | 400 | No recordVerificationId in session |
MISSING_ANSWERS | 400 | answers is missing or empty |
NO_QUESTIONS | 404 | No questions found — generate must be called first |
INCOMPLETE_ANSWERS | 400 | Number of answers does not match total questions |
INTERNAL_ERROR | 500 | Unexpected server error |

