Amplitude · Schema

Amplitude Experiment

Schema for an Amplitude experiment or feature flag configuration including variants, targeting segments, and deployment settings.

A/B TestingAnalyticsExperimentationFeature FlagsProduct AnalyticsUser Behavior

Properties

Name Type Description
id string The unique identifier for the experiment or flag.
projectId string The project ID the experiment belongs to.
key string The unique key used to reference the experiment or flag in code.
name string The display name of the experiment or flag.
description string A description of the experiment's purpose and hypothesis.
type string The type of configuration.
enabled boolean Whether the experiment or flag is currently enabled.
evaluationMode string The evaluation mode determining where variants are computed.
state string The lifecycle state of the experiment or flag.
bucketingKey string The user property used for deterministic bucketing.
bucketingSalt string The salt used with the bucketing key for hash computation.
variants array Array of variant configurations for the experiment.
segments array Array of targeting segments that control which users see which variants.
deployments array Array of deployment IDs where this experiment is active.
rolledOutVariant string The variant key that was rolled out after the experiment concluded.
startDate string The date and time the experiment started.
endDate string The date and time the experiment ended.
View JSON Schema on GitHub