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

Retrieve index settings

Retrieves an object with non-null index settings.

Usage

Required ACL: settings
1
2
3
4
5
import Search

let client = try SearchClient(appID: "ALGOLIA_APPLICATION_ID", apiKey: "ALGOLIA_API_KEY")

let response = try await client.getSettings(indexName: "ALGOLIA_INDEX_NAME", getVersion: 2)
Swift API clients v9