Ask AIGet batchesget http://localhost:8080/batchesRetrieves all batches by type and provided matching statuses.