# Get total time spent for current user Returns the total time spent (in seconds) for the current authenticated user. Can be filtered by platform, date range, course ID, URL, mentor UUID, and session UUID. Endpoint: GET /api/analytics/time-spent/user/ Version: 3.59.0-ai-plus ## Query parameters: - `course_id` (string) Course ID to filter by (can be partial) - `end_date` (string) End date for time range (YYYY-MM-DD) - `include_main_platform` (boolean) Whether to include main platform data - `learner_id` (string) Username to get data for (admin users only) - `mentor_uuid` (string) Mentor UUID to filter by - `platform` (string,null) Platform name or key to filter by - `session_uuid` (string) Session UUID to filter by - `start_date` (string) Start date for time range (YYYY-MM-DD) - `url` (string) URL to filter by (can be partial) ## Response 200 fields (application/json): - `total_seconds` (integer, required)