Get a feature environment

View as Markdown
Information about the enablement status and strategies for a feature flag in specified environment.

Authentication

Authorizationstring
API key needed to access this API
OR
AuthorizationBearer
API key needed to access this API, in Bearer token format

Path parameters

projectIdstringRequired
featureNamestringRequired
environmentstringRequired

Response

featureEnvironmentSchema
namestring
The name of the environment
enabledboolean

true if the feature is enabled for the environment, otherwise false.

featureNamestringOptional
The name of the feature
environmentstringOptional
The name of the environment
typestringOptional
The type of the environment
sortOrderdoubleOptional
The sort order of the feature environment in the feature environments list
variantCountdoubleOptional
The number of defined variants
strategieslist of objectsOptional
A list of activation strategies for the feature environment
variantslist of objectsOptional
A list of variants for the feature environment
changeRequestIdslist of doublesOptional
Experimental. A list of change request identifiers for actionable change requests that are not Cancelled, Rejected or Approved.
milestoneNamestringOptional

Experimental: The name of the currently active release plan milestone

milestoneOrderdoubleOptional

Experimental: The zero-indexed order of currently active milestone in the list of all release plan milestones

totalMilestonesdoubleOptional

Experimental: The total number of milestones in the feature environment release plan

lastSeenAtstring or nullOptionalformat: "date-time"
The date when metrics where last collected for the feature environment
hasStrategiesbooleanOptional
Whether the feature has any strategies defined.
hasEnabledStrategiesbooleanOptional
Whether the feature has any enabled strategies defined.
releasePlanslist of objectsOptional
Release plans for this feature environment
safeguardslist of objectsOptional
Safeguards for this feature environment
yesintegerOptional>=0

How many times the feature evaluated to true (enabled)

nointegerOptional>=0

How many times the feature evaluated to false (disabled)

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error