Generate AI-powered multiple-choice questions for skill assessment.
questionId, question, and options are returned.
If questions already exist for this session, they are returned immediately without calling the AI — alreadyGenerated: true is included in the response.
Fires a verification.initiated webhook on first generation only.
x-api-key session middleware. No additional fields needed in the request body — all data is read from the session.POST /step1/storeskills/storeassessment via POST /step2/verification-methodPOST /step3/store-verification-items/store| Code | HTTP | Description |
|---|---|---|
MISSING_VERIFICATION_ID | 400 | No recordVerificationId in session |
ASSESSMENT_LOCKED | 403 | Assessment already passed and locked — no further attempts |
VERIFICATION_NOT_FOUND | 404 | No verification method found for this session |
INVALID_VERIFICATION_TYPE | 400 | Verification method is human, not assessment |
NO_DATA | 400 | No projects, experience, or certificates found |
NO_SKILLS | 400 | No skills found for this session |
GENERATION_FAILED | 500 | AI generation returned zero questions |
INTERNAL_ERROR | 500 | Unexpected server error |