Admin
Zone reserved for the admin role (tab “⚙ Admin”) — platform management:
| Section | Function |
|---|---|
| Upload video | post a video → POST /api/admin/videos → session processing |
| Upload CSV (pipeline) | import an annotations CSV → bronze → silver → gold, LLM reports; “link to session” option |
| Run pipeline | re-run the pipeline (“Run pipeline now” button) |
| Users / Parents | manage user accounts and parent–student links |
| Reference photos | upload a student's photo (face identification) |
| Classes / Subjects / Sessions | management tables + “Schedule courses & upload videos” |
All these endpoints require
ADMIN_ROLES(guard.ts); the session list is filtered by status (recorded/scheduled) for the import link.