Retrieve A/B test details
Retrieves the details for an A/B test by its ID.
analyticsAuthorizations
Your 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.
Path Parameters
Unique A/B test identifier.
224
Query Parameters
Statistical analysis results to include, as a comma-separated list.
When omitted, each test uses its configured method, or frequentist if no method is configured.
Request both methods to include both sets of available results. This doesn't change the test configuration or compute missing results.
Duplicate values aren't allowed.
1A/B test statistical analysis method.
When omitted, new A/B tests use bayesian.
They use frequentist instead only if no primary metric that supports Bayesian analysis is available.
The selected method is saved in the A/B test configuration.
Older A/B tests, created before methods were saved, may have no method in their configuration.
These tests use frequentist.
bayesian, frequentist Response
OK
Unique A/B test identifier.
224
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"
Expected outcome of the A/B test.
"Enabling the feature increases conversion rate"
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"
Date and time when the A/B test was last updated, in RFC 3339 format.
"2023-06-15T15:06:44.400601Z"
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.
A/B test configuration.
Outcome of the A/B test once a winner has been declared. Only present when a winning variant has been declared, so its presence indicates the test has been decided.
Date and time when the A/B test was stopped, in RFC 3339 format.
"2023-06-15T15:06:44.400601Z"