class_docstr: Handle requests for the experiments/ REST endpoint
docstr: Handle the GET requests for experiments/
docstr_tok: ["Handle","the","GET","requests","for","experiments\/"]
code: def on_get(self, req: Request, resp: Response):
      """Handle the GET requests for experiments/"""
      experiments = self.storage.fetch_experiments({})
      leaf_experiments = _find_latest_versions(experiments)
  
      response = build_experiments_response(leaf_experiments)
      resp.text = json.dumps(response)
  
file_path: orion/src/orion/serving/experiments_resource.py
imports: import json
  from typing import Optional
  from falcon import Request, Response
  from orion.core.worker.experiment import Experiment
  from orion.core.worker.trial import Trial
  from orion.serving.parameters import retrieve_experiment, verify_query_parameters
  from orion.serving.responses import build_experiment_response, build_experiments_response
label_desc: Use image node_id 2 for calling the ExperimentsResource obj's underlying member method code with example usage: obj.on_get(req, resp) without return types