Perhaps you can have a look at the suggestion alternative at https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/How-to-find-the-size-of-a-BIM-360-project.html
Currently there is no API to check the same