code: public List<TaskDetails> fetchTaskDetails(String cluster, String jobId,
        List<String> taskResponseFilters) throws IOException {
      String taskFilters = StringUtil.buildParam("include", taskResponseFilters);
      String urlString = String.format("http://%s/api/v1/tasks/%s/%s?%s",
          apiHostname, cluster, jobId, taskFilters);
      return retrieveTaskDetailsFromUrl(urlString);
    }
docs: Fetch details tasks of a given job for the specified fields
  @param cluster
  @param jobId
  @param taskResponseFilters
  @return