# Get Student Courses (Legacy Alias) **GET /api/v1/student/{studentId}/units/courses** Retrieve all courses/units enrolled by a student - Legacy alias for /units ## Servers - Local server: http://localhost:3500 (Local server) - Production server: https://api.echoplain.social (Production server) ## Parameters ### Path parameters - **studentId** (string) Unique identifier of the student ## Responses ### 200 Student courses retrieved successfully #### Body: application/json (object) - **message** (string) Success message - **units** (array[object]) Student courses/units ### 400 Default bad request error 400 response #### Body: application/json (object) - **message** (string) Response message - **error** (string) - **statusCode** (number) ### 404 Student not found [Powered by Bump.sh](https://bump.sh)