# Cat API Info required

**URL:** https://discuss.elastic.co/t/cat-api-info-required/365334
**Category:** Elasticsearch
**Created:** [August 22, 2024, 5:32am UTC](https://discuss.elastic.co/t/cat-api-info-required/365334 "2024-08-22T05:32:31Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![gchakkalakkal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gchakkalakkal/32/52203_2.png) [@gchakkalakkal](https://discuss.elastic.co/u/gchakkalakkal)
#### Post date: [August 22, 2024, 5:32am UTC](https://discuss.elastic.co/t/cat-api-info-required/365334/1 "2024-08-22T05:32:31Z")

</div>

Hi Team,

We wanted to know if all \_cat API are always served from master node?  
Even if it is fired from data node will it hit master node for getting response. e.g \_cat/indices?v

---

<div class="post-metadata">

### Author: ![gchakkalakkal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gchakkalakkal/32/52203_2.png) [@gchakkalakkal](https://discuss.elastic.co/u/gchakkalakkal)
#### Post date: [August 22, 2024, 6:39am UTC](https://discuss.elastic.co/t/cat-api-info-required/365334/2 "2024-08-22T06:39:36Z")

</div>

Hi Team,

We are using 7.10.2 OSS version of Elastic, based on the code looks like doCatRequest() calls sendGetSettingsRequest() which has `masterNodeTimeout` is passed.  
Does that mean all cat API calls hits master node even though it is hit in data node.

---

<div class="post-metadata">

### Author: ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)
#### Post date: [August 22, 2024, 8:36am UTC](https://discuss.elastic.co/t/cat-api-info-required/365334/3 "2024-08-22T08:36:13Z")

</div>

> [@gchakkalakkal](#):
>
> Does that mean all cat API calls hits master node even though it is hit in data node.

All `GET _cat/*` APIs run on the node that receives the original request. Some of them (but not all of them) may request some data from the master while they're running.

---

<div class="post-metadata">

### Author: ![gchakkalakkal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gchakkalakkal/32/52203_2.png) [@gchakkalakkal](https://discuss.elastic.co/u/gchakkalakkal)
#### Post date: [August 22, 2024, 9:39am UTC](https://discuss.elastic.co/t/cat-api-info-required/365334/4 "2024-08-22T09:39:55Z")

</div>

Thank you David for your response. The reason i ask this is we have sometimes seen master nodes choked so we are looking to reduce the metrics capturing from master nodes. Can you confirm if move the below API to data or coordinating node will it still hit master node.

/\_cat/indices/\*  
/\_cat/shards/  
/\_nodes/\_local/stats  
/\_cluster/health?level=indices&format=json&pretty

---

<div class="post-metadata">

### Author: ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)
#### Post date: [August 22, 2024, 10:44am UTC](https://discuss.elastic.co/t/cat-api-info-required/365334/5 "2024-08-22T10:44:22Z")

</div>

Sorry, your version is too old for me to dig deep enough to answer these questions. Please upgrade to a supported version ASAP.
