Class ExperimentsPatchExperimentProtocolRequestDataAttributes

Partial protocol update. Omitted attributes remain unchanged. Published protocols accept only name, description, and migration_metadata; archived protocols reject updates.

Hierarchy

  • ExperimentsPatchExperimentProtocolRequestDataAttributes

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

Partial statistical settings. Omitted fields remain unchanged. Null clears the whole plan. Null clears nullable fields; null or an empty string clears confidence_interval_method.

Assignment properties. Omission or null preserves them; an array replaces them.

assignmentSourceId?: string

ID of the assignment source selected by the protocol. Omission or null keeps the current value. An empty string clears it.

defaultDurationDays?: number

Default experiment duration supplied by the protocol, in days. Omission preserves it; null clears it. Sets analysis_plan.target_duration_days on experiments created from this protocol.

description?: string

Description. Empty string clears it; omission or null preserves it.

Partial lock map. Omitted fields remain unchanged. Null clears the whole map. Empty or null field values become EDITABLE, except subject_type, flag_source, and confidence_interval_method, which remain LOCKED.

environmentId?: string

ID of the feature flag environment used by the experiment. Omission or null keeps the current value. An empty string clears it.

Partial traffic schedule. Omitted fields remain unchanged. Null clears the whole schedule. Null clears nullable fields and rollout_steps; null sets strategy to an empty string and autostart to false.

isDurationRequiredToStart?: boolean

Whether the protocol requires a duration before an experiment can start. Omission or null preserves it.

isEqualSplitEnforced?: boolean

Whether the protocol requires equal traffic allocation across variants. Omission or null preserves it.

isMetricLimitEnabled?: boolean

Whether the protocol limits the number of metrics. Omission or null preserves it.

isMinimumDurationEnabled?: boolean

Whether the protocol enforces a minimum experiment duration. Omission or null preserves it.

Metric groups. Omission or null preserves them; an array replaces them.

metricLimit?: number

Maximum number of metrics allowed by the protocol. Omission preserves it; null clears it.

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

Metadata for imported resources. Must encode to at most 4096 bytes. Null clears it; omission preserves it on update.

Type declaration

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

Minimum duration unit, DAYS or WEEKS. Empty string clears it. Omission or null preserves it.

minimumDurationValue?: number

Minimum experiment duration in the specified unit. Omission preserves it; null clears it.

name?: string

Protocol name. Leading and trailing spaces are removed. The trimmed name must contain 1 to 255 characters.

primaryMetricId?: string

ID of the primary metric supplied by the protocol. Omission or null keeps the current value. An empty string clears it.

subjectTypeId?: string

ID of the subject type used by this configuration. Omission or null keeps the current value. An empty string clears it.

Targeting rules. Omission or null preserves them; an array replaces them.

Generated using TypeDoc