Amplitude · Schema

CreateExperimentRequest

A/B TestingAnalyticsExperimentationFeature FlagsProduct AnalyticsUser Behavior

Properties

Name Type Description
key string The unique key for the experiment.
name string The display name of the experiment.
description string A description of the experiment.
variants array Array of variant configurations.
bucketingKey string The property used for bucketing.
View JSON Schema on GitHub

JSON Schema

amplitude-createexperimentrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateExperimentRequest",
  "title": "CreateExperimentRequest",
  "type": "object",
  "required": [
    "key"
  ],
  "properties": {
    "key": {
      "type": "string",
      "description": "The unique key for the experiment."
    },
    "name": {
      "type": "string",
      "description": "The display name of the experiment."
    },
    "description": {
      "type": "string",
      "description": "A description of the experiment."
    },
    "variants": {
      "type": "array",
      "description": "Array of variant configurations.",
      "items": {
        "$ref": "#/components/schemas/VariantConfig"
      }
    },
    "bucketingKey": {
      "type": "string",
      "description": "The property used for bucketing."
    }
  }
}