Get a single feature flag

Gets all the client data for a single flag. Contains the exact same information about a flag as the /api/client/features endpoint does, but only contains data about the specified flag. All SDKs should use /api/client/features

Authentication

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

Path parameters

featureNamestringRequired

Response

clientFeatureSchema
namestring
The unique name of a feature flag. Is validated to be URL safe on creation
enabledboolean
Whether the feature flag is enabled for the current API key or not. This is ANDed with the evaluation results of the strategies list, so if this is false, the evaluation result will always be false
typestring or null

What kind of feature flag is this. Refer to the documentation on feature flag types for more information

descriptionstring or null
A description of the flag
staleboolean or null
If this is true Unleash believes this feature flag has been active longer than Unleash expects a flag of this type to be active
impressionDataboolean or null

Set to true if SDKs should trigger impression events when this flag is evaluated

projectstring or null
Which project this feature flag belongs to
strategieslist of objects or null
Evaluation strategies for this flag. Each entry in this list will be evaluated and ORed together
variantslist of objects or null

Variants configured for this flag

dependencieslist of objects or null
Feature dependencies for this flag