HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

Updated API methods - Decide

Explains the updated Optimizely Feature Experimentation SDK method, Decide, which retrieves decisions for your Flags.

Decide API

Optimizely Feature Experimentation introduces a new API and corresponding SDK methods to retrieve decisions for your Flags. It eliminates the need to know when to use .activate(), .isFeatureEnabled() and other methods by combining the logic into one, easy-to-use .decide() method.

It is a non-breaking change that extends and builds on the existing functionality of isFeatureEnabled(), which is still a supported method for retrieving both legacy Feature and new Flag decisions. The Decide API is available across all SDKs today, and more information can be found in the developer docs under a specific SDK language.

Decide methods reference documentation: