curl --request GET \
--url 'https://analytics.us.algolia.com/2/abtests?offset=0&limit=10&indexPrefix=dev_&indexSuffix=_development' \
--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": [
{
"addToCartCount": 0,
"clickCount": 65131,
"conversionCount": 4785,
"index": "delcourt_production",
"noResultCount": 0,
"purchaseCount": 0,
"searchCount": 86269,
"trafficPercentage": 60,
"userCount": 55501,
"trackedUserCount": 55501,
"addToCartRate": 0,
"averageClickPosition": 29.12342,
"clickThroughRate": 0.22219857724813036,
"conversionRate": 0.14546725846658964,
"currencies": {
"USD": {
"currency": "USD",
"revenue": 120,
"mean": 53.7,
"standardDeviation": 12.3,
"winsorizedAmount": 23
},
"EUR": {
"currency": "EUR",
"revenue": 100,
"mean": 43.7,
"standardDeviation": 10.3,
"winsorizedAmount": 10
}
},
"description": "Current production index",
"estimatedSampleSize": 0,
"filterEffects": {
"outliers": {
"usersCount": 1,
"trackedSearchesCount": 237
},
"emptySearch": {
"usersCount": 1,
"trackedSearchesCount": 237
}
},
"purchaseRate": 0,
"trackedSearchCount": 2
}
],
"clickSignificance": 1,
"conversionSignificance": 1,
"addToCartSignificance": 1,
"purchaseSignificance": 1,
"revenueSignificance": {
"USD": 1,
"EUR": 0.87
},
"stoppedAt": "2023-06-15T15:06:44.400601Z",
"configuration": {
"featureFilters": {
"dynamicReRanking": true,
"aiPerso": true,
"multiSignalRanking": true
},
"outliers": {
"exclude": true
},
"emptySearch": {
"exclude": true
},
"minimumDetectableEffect": {
"size": 0.5,
"metric": "addToCartRate"
}
}
}
],
"count": 10,
"total": 12
}Lists all A/B tests you configured for this application.
curl --request GET \
--url 'https://analytics.us.algolia.com/2/abtests?offset=0&limit=10&indexPrefix=dev_&indexSuffix=_development' \
--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": [
{
"addToCartCount": 0,
"clickCount": 65131,
"conversionCount": 4785,
"index": "delcourt_production",
"noResultCount": 0,
"purchaseCount": 0,
"searchCount": 86269,
"trafficPercentage": 60,
"userCount": 55501,
"trackedUserCount": 55501,
"addToCartRate": 0,
"averageClickPosition": 29.12342,
"clickThroughRate": 0.22219857724813036,
"conversionRate": 0.14546725846658964,
"currencies": {
"USD": {
"currency": "USD",
"revenue": 120,
"mean": 53.7,
"standardDeviation": 12.3,
"winsorizedAmount": 23
},
"EUR": {
"currency": "EUR",
"revenue": 100,
"mean": 43.7,
"standardDeviation": 10.3,
"winsorizedAmount": 10
}
},
"description": "Current production index",
"estimatedSampleSize": 0,
"filterEffects": {
"outliers": {
"usersCount": 1,
"trackedSearchesCount": 237
},
"emptySearch": {
"usersCount": 1,
"trackedSearchesCount": 237
}
},
"purchaseRate": 0,
"trackedSearchCount": 2
}
],
"clickSignificance": 1,
"conversionSignificance": 1,
"addToCartSignificance": 1,
"purchaseSignificance": 1,
"revenueSignificance": {
"USD": 1,
"EUR": 0.87
},
"stoppedAt": "2023-06-15T15:06:44.400601Z",
"configuration": {
"featureFilters": {
"dynamicReRanking": true,
"aiPerso": true,
"multiSignalRanking": true
},
"outliers": {
"exclude": true
},
"emptySearch": {
"exclude": true
},
"minimumDetectableEffect": {
"size": 0.5,
"metric": "addToCartRate"
}
}
}
],
"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.
OK
The list of A/B tests, null if no A/B tests are configured for this application.
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. The second variant is an index with changed settings that you want to test against the control.
Show child attributes
Number of add-to-cart events for this variant.
0
Number of click events for this variant.
65131
Number of click events for this variant.
4785
Index name of the A/B test variant (case-sensitive).
"delcourt_production"
Number of searches without results for this variant.
0
Number of purchase events for this variant.
0
Number of searches for this variant.
86269
Percentage of search requests each variant receives.
0 <= x <= 10060
Number of users that made searches to this variant.
55501
Number of users that made tracked searches to this variant.
55501
Add-to-cart rate for this variant.
0
Average click position for this variant.
29.12342
Click-through rate for this variant.
0.22219857724813036
Conversion rate for this variant.
0.14546725846658964
A/B test currencies.
Show child attributes
Show child attributes
Currency code.
"USD"
Revenue for this currency.
120
Mean for this currency.
53.7
Standard deviation for this currency.
12.3
The amount of revenue for this currency that was removed after capping purchase amounts to the 95th percentile.
23
{
"USD": {
"currency": "USD",
"revenue": 120,
"mean": 53.7,
"standardDeviation": 12.3,
"winsorizedAmount": 23
},
"EUR": {
"currency": "EUR",
"revenue": 100,
"mean": 43.7,
"standardDeviation": 10.3,
"winsorizedAmount": 10
}
}Description for this variant.
"Current production index"
Estimated number of searches required to achieve the desired statistical significance.
The A/B test configuration must include a mininmumDetectableEffect setting for this number to be included in the response.
0
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
}Purchase rate for this variant.
0
Number of tracked searches. Tracked searches are search requests where the clickAnalytics parameter is true.
2
A/B test significance calculated from click events.
Values of 0.95 or higher can be considered significant, that is, the difference between A and B variants is not due to random variations. Lower values have a.
1
A/B test significance calculated from conversion events.
Values of 0.95 or higher can be considered significant, that is, the difference between A and B variants is not due to random variations.
1
A/B test significance calculated from add-to-cart events.
Values of 0.95 or higher can be considered significant, that is, the difference between A and B variants is not due to random variations.
1
A/B test significance calculated from purchase events.
Values of 0.95 or higher can be considered significant, that is, the difference between A and B variants is not due to random variations.
1
A/B test significance calculated from revenue data.
Values of 0.95 or higher can be considered significant, that is, the difference between A and B variants is not due to random variations.
Show child attributes
{ "USD": 1, "EUR": 0.87 }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 of feature-based filters applied to the A/B test population.
Show child attributes
Whether to apply Dynamic Re-Ranking feature filters.
Whether to apply AI Personalization feature filters.
Whether to apply Multi-Signal Re-Ranking feature filters.
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 Number of A/B tests.
10
Number of retrievable A/B tests.
12
Was this page helpful?