docs: def report_events(self, start_date, end_date, type="system"):
          """
          Create a report for all client events or all system events.
          Uses GET to /reports/events/{clients,system} interface
  
          :Args:
            * *start_date*: (datetime) Start time for report generation
            * *end_date*: (datetime) End time for report generation
          :Kwargs:
            * *type*: (str) Type of event report to create. "system" or "clients"
  
          :Returns: (list) List of events in the input range
  
          """
  
  
          start_str, end_str = self._format_input_dates(start_date, end_date)
          params = {
              "start_date": start_str,
              "end_date": end_str
          }
          endpoint = url.reports_events_clients if type == "clients" else url.reports_events_system
          response = self._get(endpoint, params=params)
          self._check_response(response, 200)
          return self._create_response(response).get("events")