# Python client: how to list indexes?

**URL:** <https://discuss.aerospike.com/t/python-client-how-to-list-indexes/3560>\
**Category:** Python Client\
**Tags:** query, index\
**Created:** [October 28, 2016, 11:00am UTC](https://discuss.aerospike.com/t/python-client-how-to-list-indexes/3560 "2016-10-28T11:00:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![catroot](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/catroot/32/659_2.png) [@catroot](https://discuss.aerospike.com/u/catroot)\
**Post date:** [October 28, 2016, 11:00am UTC](https://discuss.aerospike.com/t/python-client-how-to-list-indexes/3560/1 "2016-10-28T11:00:51Z")

</div>

How can i obtain the list of indexes which ones i see with aql command “show indexes”?

---

<div class="post-metadata">

**Author:** ![kporter](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/kporter/32/515_2.png) [@kporter](https://discuss.aerospike.com/u/kporter)\
**Post date:** [October 31, 2016, 3:37pm UTC](https://discuss.aerospike.com/t/python-client-how-to-list-indexes/3560/3 "2016-10-31T15:37:50Z")

</div>

You need to run the [sindex](http://www.aerospike.com/docs/reference/info#sindex) info command.

---

<div class="post-metadata">

**Author:** ![catroot](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/catroot/32/659_2.png) [@catroot](https://discuss.aerospike.com/u/catroot)\
**Post date:** [October 31, 2016, 3:58pm UTC](https://discuss.aerospike.com/t/python-client-how-to-list-indexes/3560/4 "2016-10-31T15:58:32Z")

</div>

Thank you! client.info(“sindex”).items() to be correct
