Feature flags
Boolean and multivariate toggles evaluated locally by the SDK.
Flags gate code paths. They have a default treatment, optional targeted rules, and a percentage rollout seed.
Create a flag
DashboardApps → your app → Feature flags → New flag
Read it
ts
if (ctrl.flag("checkout_v2").isOn) mountNewCheckout();Ruleset shape
The ruleset returned by /flags/ruleset contains flags, treatments, and rules. Rules include capability gates; unsupported capabilities are filtered before the client sees them.
Impressions
Report which treatment a device actually saw via /flags/impressions so analytics and experiments count real exposure, not just eligibility.