code: public List<Task> getActiveTasks() {
          InputStream response = null;
          URI uri = new URIBase(getBaseUri()).path("_active_tasks").build();
          try {
              response = couchDbClient.get(uri);
              return getResponseList(response, couchDbClient.getGson(), DeserializationTypes.TASKS);
          } finally {
              close(response);
          }
      }
docs: Get the list of active tasks from the server.
  
  @return List of tasks
  @see <a href="https://console.bluemix.net/docs/services/Cloudant/api/active_tasks.html">
  Active tasks</a>