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
require "algolia"

client = Algolia::AbtestingClient.create("ALGOLIA_APPLICATION_ID", "ALGOLIA_API_KEY", "ALGOLIA_APPLICATION_REGION")

response = client.get_ab_test(42)
Did you find this page helpful?
Ruby API clients v3