# overview_orgs_most_active_courses_retrieve Get time spent statistics on a per-course basis. This endpoint provides a paginated list of courses with the total time spent by users in each course. Query Parameters: start_date (str, optional): Start date for filtering (ISO format) end_date (str, optional): End date for filtering (ISO format) page (int, optional): Page number for pagination length (int, optional): Number of items per page Returns: A paginated list of courses with: - Course identification (ID and name) - Total time spent (in seconds) - Formatted time spent (human-readable) - Percentage of total platform time Endpoint: GET /api/overview/orgs/{org}/most-active-courses Version: 3.59.0-ai-plus Security: PlatformApiKeyAuthentication ## Query parameters: - `department_id` (integer) When is passed, it allows to filter data for only user content groups for the specified department - `end_date` (string) end date. ISO 8601 - `format` (string) Format * - json Enum: "json" - `include_main_platform` (boolean) Include main platform data - `length` (integer) Size of data to return - `page` (integer) Page offset - `start_date` (string) start date. ISO 8601 ## Path parameters: - `org` (string, required) ## Response 200 fields (application/json): - `data` (array) - `data.name` (string, required) Course name - `data.course_id` (string, required) Edx Course Id - `data.time_spent` (integer, required) Total time spent - `data.course_start` (string, required) Course Start - `data.course_end` (string, required) Course End - `data.average_time` (number, required) Average time spent - `pagination` (object, required) - `pagination.totalItems` (integer, required) Total records - `pagination.currentPage` (integer, required) Current Page - `pagination.perPage` (integer, required) Size of data returned per page - `pagination.totalPages` (integer, required) Amount of pages