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
import com.algolia.client.api.AbtestingClient

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

var response = client.getABTest(
  id = 42,
)
Did you find this page helpful?
Kotlin API clients v3