Skip to main content
id
string
required
dateCreated
string<date-time>
required
dateUpdated
string<date-time>
required
name
string
required
description
string
required
Maximum string length: 10000
projects
string[]
required

Project IDs this Holdout applies to. An empty array means All Projects.

owner
string
required

The userId of the owner (or raw owner name/email for legacy records)

tags
string[]
required
archived
boolean
required
stage
enum<string>
required

Lifecycle stage of the Holdout. Use the start, start-analysis, and stop endpoints to move through the lifecycle.

Available options:
draft,
running,
analysis-period,
stopped
trackingKey
string
required
experimentId
string
required

ID of the companion experiment that stores this Holdout's analysis. Use it with the experiment results endpoints (e.g. GET /experiments/{experimentId}/results). Pass phase=0 for results across the whole Holdout period, or phase=1 for results limited to the analysis period.

skipAsDefaultHoldout
boolean
required

When true, this Holdout is not selected automatically when creating Feature Flags or experiments in Projects assigned to the Holdout.

holdoutSize
number
required

Proportion of traffic placed in the holdout group (e.g. 0.05 for 5%). An equally sized comparison group is sampled from the remaining traffic for measurement, so 2× this value enters the holdout experiment in total. Must be greater than 0 and at most 0.5.

Required range: x <= 0.5
hashAttribute
string
required

Attribute used to assign users to the Holdout.

targetingCondition
string
required

Targeting condition as a JSON string.

datasourceId
string
required
assignmentQueryId
string
required
goalMetrics
string[]
required
secondaryMetrics
string[]
required
variations
object[]
required
environments
object
required

Per-environment state, keyed by environment ID. Environments not present are disabled.

linkedFeatures
object[]
required

Feature Flags held out by this Holdout. Manage these through the Feature Flag endpoints.

linkedExperiments
object[]
required

Experiments held out by this Holdout. Manage these through the experiment endpoints.

ownerEmail
string

The email address of the owner, when the owner can be resolved to a known user.

savedGroupTargeting
object[]
statsEngine
enum<string>

Statistics engine used to analyze this Holdout.

Available options:
bayesian,
frequentist
dateStarted
string<date-time>
analysisStartDate
string<date-time>

When the Holdout entered its analysis period.

dateStopped
string<date-time>
statusUpdateSchedule
object | null

Automatic stage transitions for the Holdout. Dates must be consecutive: startAt before startAnalysisPeriodAt before stopAt. Send null to delete the schedule.

nextScheduledStatusUpdate
object | null

The next stage transition that will run automatically.