def post(self, request, *args, **kwargs):  # type: ignore[no-untyped-def]
        """
        Send flag evaluation events from the SDK back to the API for reporting.


        TODO: Eventually replace this with the v2 version of
              this endpoint once SDKs have been updated.
        """
        is_valid = self._is_data_valid()
        if not is_valid:
            # for now, return 200 to avoid breaking client integrations
            return Response(
                {"detail": "Invalid data. Not logged."},
                content_type="application/json",
                status=status.HTTP_200_OK,
            )
        for feature_name, eval_count in self.request.data.items():
            feature_evaluation_cache.track_feature_evaluation(
                request.environment.id, feature_name, eval_count
            )
        return Response(status=status.HTTP_200_OK)

        Send flag evaluation events from the SDK back to the API for reporting.


        TODO: Eventually replace this with the v2 version of
              this endpoint once SDKs have been updated.
        
api/app_analytics/views.py