Amplitude · Schema

UpdateExperimentRequest

A/B TestingAnalyticsExperimentationFeature FlagsProduct AnalyticsUser Behavior

Properties

Name Type Description
name string The updated display name.
description string The updated description.
enabled boolean Whether the experiment should be enabled.
variants array Updated variant configurations.
segments array Updated targeting segments.
View JSON Schema on GitHub

JSON Schema

amplitude-updateexperimentrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/UpdateExperimentRequest",
  "title": "UpdateExperimentRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The updated display name."
    },
    "description": {
      "type": "string",
      "description": "The updated description."
    },
    "enabled": {
      "type": "boolean",
      "description": "Whether the experiment should be enabled."
    },
    "variants": {
      "type": "array",
      "description": "Updated variant configurations.",
      "items": {
        "$ref": "#/components/schemas/VariantConfig"
      }
    },
    "segments": {
      "type": "array",
      "description": "Updated targeting segments.",
      "items": {
        "$ref": "#/components/schemas/Segment"
      }
    }
  }
}