POST /api/v1/student/{studentId}/assessments/{assessmentId}/attempt

Create a new attempt for the specified assessment (assignment, CAT, or exam). Validates attempt limits and timing constraints.

Path parameters

  • studentId string Required

    Unique identifier of the student

  • assessmentId string Required

    Unique identifier of the assessment

Query parameters

  • type string Required

Responses

  • 200

    Assessment attempt created successfully

  • 400

    Cannot create attempt (max attempts reached, not available, etc.)

  • 404

    Student or assessment not found

POST /api/v1/student/{studentId}/assessments/{assessmentId}/attempt
curl \
 --request POST 'http://localhost:3500/api/v1/student/uuid-string/assessments/uuid-string/attempt?type=string'