Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 2 KB

File metadata and controls

36 lines (29 loc) · 2 KB

IterationInput

Properties

Name Type Description Notes
hypothesis string The expected outcome of this experiment [default to undefined]
canReshuffleTraffic boolean Whether to allow the experiment to reassign traffic to different variations when you increase or decrease the traffic in your experiment audience (true) or keep all traffic assigned to its initial variation (false). Defaults to true. [optional] [default to undefined]
metrics Array<MetricInput> [default to undefined]
primarySingleMetricKey string The key of the primary metric for this experiment. Either <code>primarySingleMetricKey</code> or <code>primaryFunnelKey</code> must be present. [optional] [default to undefined]
primaryFunnelKey string The key of the primary funnel group for this experiment. Either <code>primarySingleMetricKey</code> or <code>primaryFunnelKey</code> must be present. [optional] [default to undefined]
treatments Array<TreatmentInput> [default to undefined]
flags { [key: string]: FlagInput; } [default to undefined]
randomizationUnit string The unit of randomization for this iteration. Defaults to user. [optional] [default to undefined]
attributes Array<string> The attributes that this iteration&#39;s results can be sliced by [optional] [default to undefined]

Example

import { IterationInput } from 'launchdarkly-api-typescript';

const instance: IterationInput = {
    hypothesis,
    canReshuffleTraffic,
    metrics,
    primarySingleMetricKey,
    primaryFunnelKey,
    treatments,
    flags,
    randomizationUnit,
    attributes,
};

[Back to Model list] [Back to API list] [Back to README]