List all A/B tests

Lists all A/B tests you configured for this application.

Usage

Required ACL: analytics
1
2
3
4
5
6
7
8
9
from algoliasearch.abtesting.client import AbtestingClientSync
from json import loads

# 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.list_ab_tests()
Did you find this page helpful?
Python API clients v4