# Get all attempts for an exam **GET /api/v1/exam/{id}/attempts** Retrieve all student attempts for a specific exam. Only accessible by admins and lecturers. Returns detailed information about each attempt including scores and submission status. ## Servers - Local server: http://localhost:3500 (Local server) - Production server: https://api.echoplain.social (Production server) ## Parameters ### Path parameters - **id** (string) UUID of the exam ## Responses ### 200 List of exam attempts with student details and scores ### 400 Default bad request error 400 response #### Body: application/json (object) - **message** (string) Response message - **error** (string) - **statusCode** (number) ### 403 Forbidden - Admin or Lecturer role required ### 404 Exam not found [Powered by Bump.sh](https://bump.sh)