Jun 23, 2025
Retrieve timeseries of an A/B test
Retrieves timeseries for an A/B test by its ID.
Usage
Required ACL:
analytics
Copy
1
2
3
4
5
6
7
8
9
10
11
from algoliasearch.abtesting_v3.client import AbtestingV3ClientSync
from json import loads
# In an asynchronous context, you can use AbtestingV3Client instead, which exposes the exact same methods.
client = AbtestingV3ClientSync(
"ALGOLIA_APPLICATION_ID", "ALGOLIA_API_KEY", "ALGOLIA_APPLICATION_REGION"
)
response = client.get_timeseries(
id=42,
)
Did you find this page helpful?