Skip to main content
id
string
required
dateCreated
string<date-time>
required
dateUpdated
string<date-time>
required
archived
boolean
required
description
string
required
Maximum string length: 10000
owner
string
required

The userId or email address of the owner. If an email address is provided, it will be used to look up the userId of the matching organization member. If an ID is provided, it will be validated as existing in the organization.

project
string
required
valueType
enum<string>
required
Available options:
boolean,
string,
number,
json
defaultValue
string
required
tags
string[]
required
rules
object · object · Feature Experiment Rule · object · object · object · Feature Safe Rollout Rule · object[]
required

Unified rules array. Each rule carries its own environment scope via allEnvironments / environments.

Common fields shared by all feature rule types. Specific rule types extend this base with their own required properties (value, coverage, etc.).

environments
object
required

Per-environment enabled state and SDK payload. Rules are on the top-level rules field.

revision
object
required
targetingAllProjects
boolean
targetingProjects
string[]
baseConfig
string | null

Key of the config backing this flag ("Config mode"). Requires valueType: "json" and a live config. The config supplies the base JSON and schema; defaultValue and rule values are override patches on top. null or omitted for a plain flag.

defaultValueConfig
string | null

Optional. A config within baseConfig's family that the default value resolves to instead of baseConfig itself. null or omitted means the default is baseConfig. The default is exactly this config and carries no overrides of its own.

prerequisites
string[]

Feature IDs. Each feature must evaluate to true

customFields
object
holdout
object | null
revisions
object[]