How to get LOGICAL_SIZE of a flex cluster from MongoDB Atlas Triggers

Hi

What command are you currently using?

I am able to get the size in bytes for individual dbs using the mongo shell. If I connect to my db using the mongoshell, then run “use db_name”, then run “db.stats({scale:1})” it returns a list of parameters including the dataSize