Is there any function to get the details of groups which are empty
Discussion posts and replies are publicly visible
do you already have a list of groups in mind or do you want to search the entire platform? Also, how frequently will you need to do this?