Class ExperimentsCreateExperimentV2RequestDataAttributesVariantsItems

Variant selected for an experiment, with its identity and traffic allocation.

Hierarchy

  • ExperimentsCreateExperimentV2RequestDataAttributesVariantsItems

Constructors

Properties

additionalProperties?: {
    [key: string]: any;
}

A container for additional, undeclared properties. This is a holder for any undeclared properties as specified with the 'additionalProperties' keyword in the OAS document.

Type declaration

  • [key: string]: any
featureFlagVariantId?: string

Stable backing flag variant ID. Required for Datadog-backed experiments and omitted for Warehouse-only experiments.

isActive?: boolean

Whether this variant participates in the experiment. Responses always include this field. On writes an included variant defaults to active; omit its row to remove or unselect it. Explicit false supports sending an unchanged response back.

isControl: boolean

Whether this is the single control variant.

key: string

Assignment value. Datadog flag variant keys are server-owned.

name?: string

Display name. Datadog flag variant names are server-owned.

weight: number

Traffic allocation percentage. Existing variant weights cannot change through the public API after the experiment starts.

Generated using TypeDoc