Getting Project State via API

Hi,

I have a use case where i need to create a user via Atlas REST API, and afterwards wait for the clusters to sync, or for the project to be back to IDLE state

When viewing the UI, i see “/nds/…” API is called, however it is not documented and i guess not the right way to achieve what i am trying to do with the REST API

When querying a project via the API, i do not see any state attribute on the response

I can achieve what i need with querying the events for “CLUSTER_UPDATE_COMPLETED” event, but it causes delays, so i am wondering whether there is a better approach here

Thanks :slight_smile: