# ai_analytics_perlearner_orgs_users_videos_over_time_retrieve Get video watch counts over time. This endpoint provides daily counts of videos watched over a specified time period, with options to filter by course or user. Query Parameters: start_date (str, optional): Start date for the time range (ISO format) end_date (str, optional): End date for the time range (ISO format) course_id (str, optional): Filter by course ID user_id (str, optional): Filter by username or email Returns: Daily video watch counts over the specified time period. Default time range is the last 7 days if no dates are specified. Access Control: - Platform admins can access any video watch data - Learners can access their own video watch data Endpoint: GET /api/ai-analytics/perlearner/orgs/{org}/users/{user_id}/videos/over-time 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 - `start_date` (string) start date. ISO 8601 ## Path parameters: - `org` (string, required) - `user_id` (string, required) ## Response 200 fields (application/json): - `data` (object) Dates are keys and values are the value for the date in the key. e,g - `total` (integer) Total