# ai_analytics_engagement_orgs_time_average_with_over_time_retrieve Average time spent in secs on a per-day basis Query Params 1. start_date e.g 2020-10-01 2. end_date e.g 2020-10-10 3. course_id Default result when no query param is added is last_7_days (today inclusive) Endpoint: GET /api/ai-analytics/engagement/orgs/{org}/time/average-with-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) ## Response 200 fields (application/json): - `data` (object) Dates are keys and values are the value for the date in the key. e,g - `average` (number) average