Get All Users
Retrieve all users with enrollment statistics, educator status, and course creation counts.Authentication
Bearer token with admin role required
Response
Indicates if the request was successful
Array of users sorted by registration date (newest first)
Notes
- Users are sorted by registration date in descending order (newest first)
- The
isEducatorfield is fetched from Clerk’s public metadata - Regular students will have
isEducator: falseandcoursesCreated: 0 - The endpoint queries up to 500 users from Clerk for role metadata
enrolledCountrepresents active enrollments in coursescoursesCreatedcounts all courses created by the educator, regardless of publication status