Surface max_domains in API