POST /api/v1/experiments/power-calculator
Calculates the required sample size and estimated experiment duration for an A/B test. Uses a two-proportion z-test formula with traffic estimates derived from the tenant’s recent interaction history.
Request Body
Example
Response
Response Fields
Sensitivity Table
The sensitivity table shows how the required sample size changes with different minimum detectable effects. This helps teams understand the trade-off between experiment duration and the ability to detect small effects.
If estimatedDuration.basedOnDailyTraffic is 0, the tenant has no recent decision traffic. Start sending decisions through the Recommend API to get accurate duration estimates.
Roles
admin, editor, viewer
See also: Experiments | Algorithm Models