Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

The availability of features may depend on your plan type. Contact your Customer Success Manager if you have any questions.

Dev guideRecipesAPI ReferenceChangelog
Dev guideAPI ReferenceRecipesChangelogUser GuideGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
API Reference
GitHubDev CommunityOptimizely AcademySubmit a ticket

Optimizely developer documentation

How can we help you?

Try our conversational search powered by Generative AI!

AI OnAI Off

Fetch the Ruleset for a Flag in an Environment

Fetch a Ruleset for a Flag in a specific Environment of a project.

The Ruleset contains the set of all Rules that apply to the Flag for that Environment.

Log in to see full request history
Path Params
integer
required

The project identifier

string
required

The Flag identifier

string
required

The Environment identifier

Responses

404

Not found. No content

Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json