Retrieve logs

Retrieves the logs for a single Query Suggestions index.

Usage

Required ACL: settings
1
2
3
4
5
import QuerySuggestions

let client = try QuerySuggestionsClient(appID: "ALGOLIA_APPLICATION_ID", apiKey: "ALGOLIA_API_KEY", region: .us)

let response = try await client.getLogFile(indexName: "ALGOLIA_INDEX_NAME")
Did you find this page helpful?