restoring the new cloud api call