# Get aggregated materials for a student or unit offering **GET /api/v1/student/{studentId}/materials** Retrieve materials for a specific student unit or a whole unit offering. Attach topic and lesson titles. Supports filtering by doctype and studentUnit status, pagination, and optionally include student units (ACTIVE first). ## Servers - Local server: http://localhost:3500 (Local server) - Production server: https://api.echoplain.social (Production server) ## Parameters ### Path parameters - **studentId** (string) ### Query parameters - **studentUnitId** (string) - **unitOfferingId** (string) - **status** (string) - **doctype** (string) - **page** (string) - **pageSize** (string) - **includeStudentUnits** (string) ## Responses ### 200 ### 400 Default bad request error 400 response #### Body: application/json (object) - **message** (string) Response message - **error** (string) - **statusCode** (number) [Powered by Bump.sh](https://bump.sh)