# Getting shards from nodes and its data tier

**URL:** <https://discuss.elastic.co/t/getting-shards-from-nodes-and-its-data-tier/362887>\
**Category:** Elasticsearch\
**Created:** [July 10, 2024, 1:29pm UTC](https://discuss.elastic.co/t/getting-shards-from-nodes-and-its-data-tier/362887 "2024-07-10T13:29:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yquirion](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yquirion/32/107068_2.png) [@yquirion](https://discuss.elastic.co/u/yquirion)\
**Post date:** [July 10, 2024, 1:29pm UTC](https://discuss.elastic.co/t/getting-shards-from-nodes-and-its-data-tier/362887/1 "2024-07-10T13:29:46Z")

</div>

Gretting everyone!

I'm having a question for you guys!

Is there an API wil can use into ES to retrive the shards that are on a specific node showing the tier/phase they are in?

By "tier/phase", I mean "data\_hot", "data\_warm", "data\_cold", etc.

Thank you and best regards,  
Yanick

---

<div class="post-metadata">

**Author:** ![Alex\_Salgado-Elastic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_salgado-elastic/32/103081_2.png) [@Alex\_Salgado-Elastic](https://discuss.elastic.co/u/Alex_Salgado-Elastic)\
**Post date:** [July 10, 2024, 4:11pm UTC](https://discuss.elastic.co/t/getting-shards-from-nodes-and-its-data-tier/362887/2 "2024-07-10T16:11:11Z")

</div>

> [@yquirion](#):
>
> Is there an API wil can use into ES to retrive the shards that are on a specific node showing the tier/phase they are in?

Hi @yquirion

See if it could help you: [cat shards API | Elasticsearch Guide [8.14] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-shards.html)
