# Retrieve Activity Insights Activity Insights provides you activity related data. Endpoint: GET /insights/v2/{network_id}/activity Security: ApiKey ## Path parameters: - `network_id` (integer, required) The Network ID is a unique identifier that is assigned to a WiFi Motion network when it is created. The Network ID is used by applications such as AppCloud, Device Manager, and via APIs, to uniquely identify a network. ## Query parameters: - `start_time` (number) UNIX timestamp, will floor to the nearest 15 minute e.g 20:14 → 20:00. Default is set to 7 days ago. The maximum start_time is one year ago. - `end_time` (number) UNIX timestamp, will ceil to the nearest 15 minutes 21:33 → 21:44:59:9999. Default is set to now. - `flattened` (boolean) If set to true, the results will be provided in a one dimensional array. ## Response 422 fields