List indices

Lists all indices in the current Algolia application.

The request follows any index restrictions of the API key you use to make the request.

Usage

Required ACL: listIndexes
1
2
3
4
5
6
from algoliasearch.search.client import SearchClientSync

# In an asynchronous context, you can use SearchClient instead, which exposes the exact same methods.
client = SearchClientSync("ALGOLIA_APPLICATION_ID", "ALGOLIA_API_KEY")

response = client.list_indices()
Did you find this page helpful?
Python API clients v4