private static Result getCurrentRunParameters(TuningInput tuningInput) throws Exception {
    AutoTuningAPIHelper autoTuningAPIHelper = new AutoTuningAPIHelper();
    Map<String, Double> outputParams = autoTuningAPIHelper.getCurrentRunParameters(tuningInput);
    if (outputParams != null) {
      logger.info("Output params " + outputParams);
      return ok(formatGetCurrentRunParametersOutput(outputParams, tuningInput.getVersion()));
    } else {
      AutoTuningMetricsController.markGetCurrentRunParametersFailures();
      return notFound("Unable to find parameters. Job id: " + tuningInput.getJobDefId() + " Flow id: "
          + tuningInput.getFlowDefId());
    }
  }
Rest API for getting current run parameters from auto tuning framework
@return
app/controllers/Application.java