# Rest High Level Client Cluster State

**URL:** https://discuss.elastic.co/t/rest-high-level-client-cluster-state/200789
**Category:** Elasticsearch
**Created:** [September 24, 2019, 5:59am UTC](https://discuss.elastic.co/t/rest-high-level-client-cluster-state/200789 "2019-09-24T05:59:30Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Rohinaik](https://avatars.discourse-cdn.com/v4/letter/r/b38774/32.png) [@Rohinaik](https://discuss.elastic.co/u/Rohinaik)
#### Post date: [September 24, 2019, 5:59am UTC](https://discuss.elastic.co/t/rest-high-level-client-cluster-state/200789/1 "2019-09-24T05:59:30Z")

</div>

Is there any way to obtain the cluster state metadata via Rest High Level Client (using transport client we were able to fetch the metadata of the cluster via ClusterStateRequest,ClusterStateResponse APIs)

---

<div class="post-metadata">

### Author: ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)
#### Post date: [September 24, 2019, 8:41am UTC](https://discuss.elastic.co/t/rest-high-level-client-cluster-state/200789/2 "2019-09-24T08:41:29Z")

</div>

Hey,

this is indeed not exposed currently, see [https://github.com/elastic/elasticsearch/issues/27205](https://github.com/elastic/elasticsearch/issues/27205)

You would need to use the low level client and execute a GET request yourself.

--Alex

---

<div class="post-metadata">

### Author: ![Rohinaik](https://avatars.discourse-cdn.com/v4/letter/r/b38774/32.png) [@Rohinaik](https://discuss.elastic.co/u/Rohinaik)
#### Post date: [September 25, 2019, 5:17pm UTC](https://discuss.elastic.co/t/rest-high-level-client-cluster-state/200789/3 "2019-09-25T17:17:48Z")

</div>

Thank you Alexander

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [October 23, 2019, 5:31pm UTC](https://discuss.elastic.co/t/rest-high-level-client-cluster-state/200789/4 "2019-10-23T17:31:37Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
