Skip to main content
POST

Overview

Questions are generated by AI and contextualised to the student’s actual source data (project names, roles, certificate names, descriptions) and skill names. Correct answers are stored server-side and never exposed to the client — only 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.
This endpoint has a 90-second timeout — configure your client to allow extra time for AI generation.
Requires a valid session token via the x-api-key session middleware. No additional fields needed in the request body — all data is read from the session.

Prerequisites

  • ✅ Skills stored via POST /step1/storeskills/store
  • ✅ Verification method set to assessment via POST /step2/verification-method
  • ✅ Source items stored via POST /step3/store-verification-items/store

Response

object

Error Codes