Hello community,
I am using the Atlas Admin API to manage my serverless instances programmatically so that I can provision customer databases when needed. The Atlas UI shows the disk usage and database number for a serverless instance. I would like to retrieve that information through the Atlas Admin API. There is a method for regular clusters: MongoDB Atlas Administration API
However, unfortunately the process-related methods do not work for Serverless instances. When I retrieve an instance through the Atlas Admin API with the following, I only receive very basic information.
GET https://cloud.mongodb.com/api/atlas/v1.0/groups/{groupId}/serverless/{instance}/
How do I programmatically retrieve the Total Storage Size and Total Number Of Databases of a serverless instance?
Many thanks in advance, Jan