curl --request GET \
--url 'https://analytics.us.algolia.com/3/abtests?offset=0&limit=10&indexPrefix=dev_&indexSuffix=_development&direction=desc' \
--header 'accept: application/json' \
--header 'x-algolia-api-key: ALGOLIA_API_KEY' \
--header 'x-algolia-application-id: ALGOLIA_APPLICATION_ID'{
"abtests": [
{
"abTestID": 224,
"updatedAt": "2023-06-15T15:06:44.400601Z",
"createdAt": "2023-06-15T15:06:04.249906Z",
"endAt": "2023-06-17T00:00:00Z",
"name": "Custom ranking sales rank test",
"status": "active",
"variants": [
{
"description": "Current production index",
"index": "delcourt_production",
"trafficPercentage": 60,
"metrics": [
[
{
"name": "addToCartCount",
"updatedAt": "2025-06-15T15:06:44.400601Z",
"value": 5,
"pValue": 0.01
},
{
"name": "clickThroughRate",
"updatedAt": "2025-05-15T17:52:15.644906Z",
"value": 0.20869847452125934,
"pValue": 0.004
},
{
"name": "revenue",
"dimension": "USD",
"updatedAt": "2025-05-15T17:52:15.644906Z",
"value": 1200.5,
"pValue": 0.04,
"metadata": {
"winsorizedValue": 80.2
}
},
{
"name": "revenue",
"dimension": "EUR",
"updatedAt": "2025-05-15T17:52:15.644906Z",
"value": 999.66,
"pValue": 0.04,
"metadata": {
"winsorizedValue": 888.8
}
}
]
],
"estimatedSampleSize": 0,
"metadata": {
"filterEffects": {
"outliers": {
"usersCount": 1,
"trackedSearchesCount": 237
},
"emptySearch": {
"usersCount": 1,
"trackedSearchesCount": 237
}
}
},
"customSearchParameters": {
"enablePersonalization": true,
"personalizationImpact": 50
}
}
],
"stoppedAt": "2023-06-15T15:06:44.400601Z",
"configuration": {
"minimumDetectableEffect": {
"size": 0.5,
"metric": "addToCartRate"
},
"filters": [
{
"domain": "abtesting",
"name": "isOutlier",
"trackEffects": true,
"includes": true
}
],
"errorCorrection": "bonferroni"
},
"migratedAbTestID": 224
}
],
"count": 10,
"total": 12
}Lists all A/B tests you configured for this application.
curl --request GET \
--url 'https://analytics.us.algolia.com/3/abtests?offset=0&limit=10&indexPrefix=dev_&indexSuffix=_development&direction=desc' \
--header 'accept: application/json' \
--header 'x-algolia-api-key: ALGOLIA_API_KEY' \
--header 'x-algolia-application-id: ALGOLIA_APPLICATION_ID'{
"abtests": [
{
"abTestID": 224,
"updatedAt": "2023-06-15T15:06:44.400601Z",
"createdAt": "2023-06-15T15:06:04.249906Z",
"endAt": "2023-06-17T00:00:00Z",
"name": "Custom ranking sales rank test",
"status": "active",
"variants": [
{
"description": "Current production index",
"index": "delcourt_production",
"trafficPercentage": 60,
"metrics": [
[
{
"name": "addToCartCount",
"updatedAt": "2025-06-15T15:06:44.400601Z",
"value": 5,
"pValue": 0.01
},
{
"name": "clickThroughRate",
"updatedAt": "2025-05-15T17:52:15.644906Z",
"value": 0.20869847452125934,
"pValue": 0.004
},
{
"name": "revenue",
"dimension": "USD",
"updatedAt": "2025-05-15T17:52:15.644906Z",
"value": 1200.5,
"pValue": 0.04,
"metadata": {
"winsorizedValue": 80.2
}
},
{
"name": "revenue",
"dimension": "EUR",
"updatedAt": "2025-05-15T17:52:15.644906Z",
"value": 999.66,
"pValue": 0.04,
"metadata": {
"winsorizedValue": 888.8
}
}
]
],
"estimatedSampleSize": 0,
"metadata": {
"filterEffects": {
"outliers": {
"usersCount": 1,
"trackedSearchesCount": 237
},
"emptySearch": {
"usersCount": 1,
"trackedSearchesCount": 237
}
}
},
"customSearchParameters": {
"enablePersonalization": true,
"personalizationImpact": 50
}
}
],
"stoppedAt": "2023-06-15T15:06:44.400601Z",
"configuration": {
"minimumDetectableEffect": {
"size": 0.5,
"metric": "addToCartRate"
},
"filters": [
{
"domain": "abtesting",
"name": "isOutlier",
"trackEffects": true,
"includes": true
}
],
"errorCorrection": "bonferroni"
},
"migratedAbTestID": 224
}
],
"count": 10,
"total": 12
}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.
Position of the first item to return.
x >= 0Number of items to return.
Index name prefix. Only A/B tests for indices starting with this string are included in the response.
Index name suffix. Only A/B tests for indices ending with this string are included in the response.
Sort order for A/B tests by start date. Use 'asc' for ascending or 'desc' for descending. Active A/B tests are always listed first.
Sort order for A/B tests by start date. Use 'asc' for ascending or 'desc' for descending. Active A/B tests are always listed first.
asc, desc "desc"
OK
A/B tests.
Show child attributes
Unique A/B test identifier.
224
Date and time when the A/B test was last updated, in RFC 3339 format.
"2023-06-15T15:06:44.400601Z"
Date and time when the A/B test was created, in RFC 3339 format.
"2023-06-15T15:06:04.249906Z"
End date and time of the A/B test, in RFC 3339 format.
"2023-06-17T00:00:00Z"
A/B test name.
"Custom ranking sales rank test"
A/B test status.
active. The A/B test is live and search traffic is split between the two variants.stopped. You stopped the A/B test. The A/B test data is still available for analysis.expired. The A/B test was automatically stopped after reaching its end date.failed. Creating the A/B test failed.active, stopped, expired, failed "active"
A/B test variants.
The first variant is your control index, typically your production index. All of the additional variants are indexes with changed settings that you want to test against the control.
Show child attributes
Description for this variant.
"Current production index"
Index name of the A/B test variant (case-sensitive).
"delcourt_production"
Percentage of search requests each variant receives.
1 <= x <= 9960
All ABTest metrics that were defined during test creation.
Show child attributes
Date and time when the metric was last updated, in RFC 3339 format.
PValue for the first variant (control) will always be 0. For the other variants, pValue is calculated for the current variant based on the control.
The upper bound of the 95% confidence interval for the metric value. The confidence interval is calculated using either the relative ratio or relative difference between the metric values for the control and the variant. Relative ratio is used for metrics that are ratios (e.g., click-through rate, conversion rate), while relative difference is used for continuous metrics (e.g., revenue).
The lower bound of the 95% confidence interval for the metric value. The confidence interval is calculated using either the relative ratio or relative difference between the metric values for the control and the variant. Relative ratio is used for metrics that are ratios (e.g., click-through rate, conversion rate), while relative difference is used for continuous metrics (e.g., revenue).
Dimension defined during test creation.
Metric specific metadata.
Show child attributes
Only present in case the metric is 'revenue'. It is the amount exceeding the 95th percentile of global revenue transactions involved in the AB Test. This amount is not considered when calculating statistical significance. It is tied to a per revenue-currency pair contrary to other global filter effects (such as outliers and empty search count).
Mean value for this metric.
53.7
{ "winsorizedValue": 888.8, "mean": 53.7 }The value that was computed during error correction. It is used to determine significance of the metric pValue. The critical value is calculated using Bonferroni or Benjamini-Hochberg corrections, based on the given configuration during the A/B test creation.
Whether the pValue is significant or not based on the critical value and the error correction algorithm used.
Estimated number of searches required to achieve the desired statistical significance.
The A/B test configuration must include a minimumDetectableEffect setting for this number to be included in the response.
0
Variant specific metadata.
Show child attributes
A/B test filter effects resulting from configuration settings.
Show child attributes
Outliers removed from the A/B test as a result of configuration settings.
{
"usersCount": 1,
"trackedSearchesCount": 237
}Empty searches removed from the A/B test as a result of configuration settings.
{
"usersCount": 1,
"trackedSearchesCount": 237
}Search parameters applied to this variant when the same index is used for multiple variants. Only present if custom search parameters were provided during test creation.
{
"enablePersonalization": true,
"personalizationImpact": 50
}Date and time when the A/B test was stopped, in RFC 3339 format.
"2023-06-15T15:06:44.400601Z"
A/B test configuration.
Show child attributes
Configuration for the smallest difference between test variants you want to detect.
Show child attributes
Smallest difference in an observable metric between variants. For example, to detect a 10% difference between variants, set this value to 0.1.
0 <= x <= 1Metric for which you want to detect the smallest relative difference.
addToCartRate, clickThroughRate, conversionRate, purchaseRate, noResultsRate List of metric filters applied to the test population.
Show child attributes
Metric domain (for example abtesting, personalization).
"abtesting"
Public metric name.
"isOutlier"
Whether the experiment should record the effects of this filter.
If true, keep items that match the filter; if false, exclude them.
Multiple-testing correction method applied when evaluating metric significance.
bonferroni, benjamini-hochberg Unique migrated A/B test identifier.
224
Number of A/B tests.
10
Number of retrievable A/B tests.
12
Was this page helpful?