Sep 20, 2024
Retrieve A/B test details
Retrieves the details for an A/B test by its ID.
Usage
Required ACL:
analytics
Copy
1
2
3
4
5
6
7
8
9
10
from algoliasearch.abtesting.client import AbtestingClientSync
# In an asynchronous context, you can use AbtestingClient instead, which exposes the exact same methods.
client = AbtestingClientSync(
"ALGOLIA_APPLICATION_ID", "ALGOLIA_API_KEY", "ALGOLIA_APPLICATION_REGION"
)
response = client.get_ab_test(
id=42,
)
Did you find this page helpful?