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 of the owner (or raw owner name/email for legacy records)

project
string
required
valueType
enum<string>
required
Available options:
boolean,
string,
number,
json
defaultValue
string
required
tags
string[]
required
environments
object
required
revision
object
required
ownerEmail
string

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

targetingAllProjects
boolean
targetingProjects
string[]
baseConfig
string | null

Key of the config backing this flag ("Config mode"), or null. The config supplies the base JSON and schema. The internal @config: directive is scrubbed from values; @const: references are preserved. (v2 additionally exposes per-rule config fields.)

defaultValueConfig
string | null

Config within baseConfig's family that the default value resolves to (a descendant), or null when the default uses baseConfig directly.

prerequisites
string[]

Feature IDs. Each feature must evaluate to true

customFields
object
holdout
object | null