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
require "algolia"

client = Algolia::SearchClient.create("ALGOLIA_APPLICATION_ID", "ALGOLIA_API_KEY")

response = client.list_indices
Did you find this page helpful?
Ruby API clients v3