Sep 20, 2024
Retrieve logs
Retrieves the logs for a single Query Suggestions index.
Usage
Required ACL:
settings
Copy
1
2
3
4
5
6
7
8
9
10
11
12
import algoliasearch.api.QuerySuggestionsClient
import algoliasearch.config.*
val client = QuerySuggestionsClient(
appId = "ALGOLIA_APPLICATION_ID",
apiKey = "ALGOLIA_API_KEY",
region = "ALGOLIA_APPLICATION_REGION"
)
val response = client.getLogFile(
indexName = "ALGOLIA_INDEX_NAME"
)
Did you find this page helpful?