code: def retrieve_experiment(
      storage, experiment_name: str, version: int = None
  ) -> Optional[Experiment]:
      """
      Retrieve an experiment from the database with the given name and version.
  
      Raises
      ------
      falcon.HTTPNotFound
          When the experiment doesn't exist
      """
      try:
          experiment = experiment_builder.load(
              experiment_name, version, storage=storage
          )
          if version and experiment.version != version:
              raise falcon.HTTPNotFound(
                  title=ERROR_EXPERIMENT_NOT_FOUND,
                  description=f'Experiment "{experiment_name}" has no version "{version}"',
              )
          return experiment
      except NoConfigurationError:
          raise falcon.HTTPNotFound(
              title=ERROR_EXPERIMENT_NOT_FOUND,
              description=f'Experiment "{experiment_name}" does not exist',
          )
  
file_path: orion/src/orion/serving/parameters.py
imports: from typing import List, Optional
  import falcon
  from orion.benchmark import Benchmark
  from orion.benchmark.benchmark_client import get_or_create_benchmark
  from orion.core.io import experiment_builder
  from orion.core.utils.exceptions import NoConfigurationError
  from orion.core.worker.experiment import Experiment
  from orion.core.worker.trial import Trial
  from orion.serving.responses import ERROR_BENCHMARK_NOT_FOUND, ERROR_BENCHMARK_STUDY_NOT_FOUND, ERROR_EXPERIMENT_NOT_FOUND, ERROR_INVALID_PARAMETER, ERROR_TRIAL_NOT_FOUND
label_desc: Use image node_id 4 for calling a global function with example usage: retrieve_experiment(storage, experiment_name, version) and returns: experiment