You're viewing an archived version of our docs. Check out our current documentation →

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
7
from algoliasearch.search.client import SearchClientSync
from json import loads

# 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()
Python API clients v4