Getting shard sizes of an index from elasticsearch APIs

How can I get all the shard sizes of all the open indices in elasticsearch?Is there any thing available other than _cat APIs?

Figured it out.

http://localhost:9200/_stats/indices,store?level=shards

1 Like