Skip to main content
A FlagConfig is the complete specification for how a flag behaves in a given environment. It is evaluated entirely client-side by the SDK — no round-trip required per evaluation.

Schema

Rules

Rules are evaluated in order. The first matching rule wins and its value is returned.
If rolloutPercentage is set, only the specified percentage of users who match the conditions will receive value — the rest fall through to the next rule.

Conditions

Operators

Variants

Variants give names to the possible values a string or number flag can return. They are informational — the evaluation engine does not enforce that rule values match the variant list.

Evaluation order

Example

Enable a flag for Pro users in the US, with a 50% rollout for everyone else: