# Documentation - get index api- why there is no info about what api is returning

**URL:** <https://discuss.elastic.co/t/documentation-get-index-api-why-there-is-no-info-about-what-api-is-returning/340495>\
**Category:** Elasticsearch\
**Created:** [August 9, 2023, 9:16pm UTC](https://discuss.elastic.co/t/documentation-get-index-api-why-there-is-no-info-about-what-api-is-returning/340495 "2023-08-09T21:16:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Krzysztof\_Lempicki](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krzysztof_lempicki/32/124502_2.png) [@Krzysztof\_Lempicki](https://discuss.elastic.co/u/Krzysztof_Lempicki)\
**Post date:** [August 9, 2023, 9:16pm UTC](https://discuss.elastic.co/t/documentation-get-index-api-why-there-is-no-info-about-what-api-is-returning/340495/1 "2023-08-09T21:16:42Z")

</div>

In doc: [Get index information | Elasticsearch API documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-get-index.html)  
there is no info about what is returned.

Is this in purpose? If yes why?

### For example:

From console I see that keys of returned map are index names.  
Without clear statement in doc that this is true I can't base my  
design on this.

---

<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:** [September 6, 2023, 9:17pm UTC](https://discuss.elastic.co/t/documentation-get-index-api-why-there-is-no-info-about-what-api-is-returning/340495/2 "2023-09-06T21:17:20Z")

</div>

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