Updating the api wrapper to get the in progress batches and info