Retrieve A/B test details

Retrieves the details for an A/B test by its ID.

Usage

Required ACL: analytics
1
2
3
4
5
6
7
8
9
10
11
import algoliasearch.api.AbtestingClient

val client = AbtestingClient(
  appId = "ALGOLIA_APPLICATION_ID",
  apiKey = "ALGOLIA_API_KEY",
  region = Option("ALGOLIA_APPLICATION_REGION")
)

val response = client.getABTest(
  id = 42
)
Did you find this page helpful?
Scala API clients v2