added batch to the api path