code: def get(self, request, model_id, *args, **kwargs):
      metric_query = f"""
          select distinct json_object_keys(metric_dict::json) as metric
          from modelchimp_experimentimage mei
          where json_typeof(metric_dict::json) = 'object'
          and ml_model_id = {model_id}
          """
  
      epoch_query = f"""
          select distinct epoch
          from modelchimp_experimentimage mei
          where epoch is not null
          and ml_model_id = {model_id}
          """
  
      metric_result = execute_query(metric_query)
      epoch_result = execute_query(epoch_query)
  
      return Response(
          {
              "metric_filter": metric_result,
              "epoch_filter": epoch_result,
          },
          status=status.HTTP_200_OK,
      )
  
imports: from django.db.models import Q
  from django.db.models.expressions import RawSQL
  from rest_framework import generics, status
  from rest_framework.response import Response
  from modelchimp.models.experiment_image import ExperimentImage
  from modelchimp.models.experiment import Experiment
  from modelchimp.utils.data_utils import execute_query
  from modelchimp.serializers.experiment_image import ExperimentImageSerializer
  from modelchimp.api_permissions import HasProjectMembership
  from rest_framework.permissions import IsAuthenticated
label_desc: Use image node_id 1 for calling the ExperimentImageFilterAPI obj's underlying member method code with example usage: obj.get(request, model_id) and returns: Response