curl -X GET "{http or https}://{domain}:{port}/_cluster/health?pretty" -H "Authorization: ApiKey {api key}"