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
import Abtesting

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

let response = try await client.getABTest(id: 42)
Did you find this page helpful?
Swift API clients v9