capabilities.work

Experiment Lifecycle

A 4-step recipe with Amplitude. We can help you get access.

Recipe · 4 steps

Experiment Lifecycle

with Amplitude · A/B Test Execution

Create an experiment, read it, enable it, and list all experiments.

  1. Create a new A/B test experiment with the supplied key, variants, and bucketing configuration.
  2. Retrieve the newly created experiment by its ID to confirm its full configuration.
  3. Patch the experiment to enable it. Only the enabled field is changed; all other configuration is preserved.
  4. List all experiments in the project to confirm the enabled experiment is present.
What you'll need to have ready
  • bearerToken: The Experiment Management API key passed as a bearer token.
  • key: The unique key for the experiment, used to reference it in code.
  • name: The display name of the experiment.
  • description: A description of the experiment's purpose.
  • variants: Array of variant configurations including control and treatment groups.
  • bucketingKey: The property used for bucketing users into variants.
For your developer

Arazzo workflow amplitude:run-experiment-lifecycle, 4 operations: createExperiment → getExperiment → updateExperiment → listExperiments. Specs on APIs.io.