code: public void upload(String trainingDir, String apiKey, String algorithmId) {
          JSONObject json = new JSONObject().put("training_dir", trainingDir).put("api_key", apiKey).put("algorithm_id",
                          algorithmId);
  
          uploadPost(json);
      }
docs: Upload monitoring data to OpenAI servers.
  
  @param trainingDir directory that contains the monitoring data
  @param apiKey      personal OpenAI API key
  @param algorithmId an arbitrary string indicating the paricular version of the algorithm (including choices of parameters) you are running.