You can get all user-activity events for a selected environment. If a startDate and endDate filtering parameter is not specified, the request returns all user activity information for the past 30 days. If a sampleSize filtering parameter is not specified, the default sample size value is DAY.

The GET /environments/{environmentId}/userActivities operation returns all user-activity events for the specified environment.

To fine-tune the result data, you can specify a SCIM filtering expression to designate specific date ranges and sample sizes. In the sample, the SCIM filter (URL-encoded) returns data showing the user-activities that occurred from a startDate of 2/17/2018, an endDate of 2/23/2018.