# Getting the size of each mapping type in an index

**URL:** https://discuss.elastic.co/t/getting-the-size-of-each-mapping-type-in-an-index/55228
**Category:** Elasticsearch
**Created:** [July 11, 2016, 7:36pm UTC](https://discuss.elastic.co/t/getting-the-size-of-each-mapping-type-in-an-index/55228 "2016-07-11T19:36:28Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![gsingh93](https://avatars.discourse-cdn.com/v4/letter/g/65b543/32.png) [@gsingh93](https://discuss.elastic.co/u/gsingh93)
#### Post date: [July 11, 2016, 7:36pm UTC](https://discuss.elastic.co/t/getting-the-size-of-each-mapping-type-in-an-index/55228/1 "2016-07-11T19:36:28Z")

</div>

I can get the size of an index stored on disk with the '/index/\_stats' endpoint, but is there any way to get the size each mapping type takes up on disk? If there is no API endpoint, can I figure this out by looking at the actual files on disk?

---

<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: [July 5, 2017, 10:36pm UTC](https://discuss.elastic.co/t/getting-the-size-of-each-mapping-type-in-an-index/55228/2 "2017-07-05T22:36:28Z")

</div>


