Given the traffic percentage and the expected effect size, this endpoint estimates the sample size and duration of an A/B test based on historical traffic.
analyticsYour Algolia application ID.
Your Algolia API key with the necessary permissions to make the request. Permissions are controlled through access control lists (ACL) and access restrictions. The required ACL to make a request is listed in each endpoint's reference.
A/B test configuration for estimating the sample size and duration using minimum detectable effect.
A/B test variants.
2OK
Estimated number of days needed to reach the sample sizes required for detecting the configured effect. This value is based on historical traffic.
21
Sample size estimates for each variant. The first element is the control variant. Each element is the estimated number of searches required to achieve the desired statistical significance.
Number of tracked searches needed to be able to detect the configured effect for the control variant.