Export feature flags from an environment

Exports all features listed in the `features` property from the environment specified in the request body. If set to `true`, the `downloadFile` property will let you download a file with the exported data. Otherwise, the export data is returned directly as JSON. Refer to the documentation for more information about [Unleash's export functionality](https://docs.getunleash.io/concepts/import-export#export-feature-flags).

Authentication

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

Request

exportQuerySchema
ExportQuerySchema0objectRequired
OR
ExportQuerySchema1objectRequired
OR
ExportQuerySchema2objectRequired

Response

exportResultSchema
featureslist of objects
All the exported features.
featureStrategieslist of objects

All strategy instances that are used by the exported features in the features list.

tagTypeslist of objects

A list of all of the tag types that are used in the featureTags list.

featureEnvironmentslist of objects or null

Environment-specific configuration for all the features in the features list. Includes data such as whether the feature is enabled in the selected export environment, whether there are any variants assigned, etc.

contextFieldslist of objects or null

A list of all the context fields that are in use by any of the strategies in the featureStrategies list.

featureTagslist of objects or null

A list of all the tags that have been applied to any of the features in the features list.

segmentslist of objects or null

A list of all the segments that are used by the strategies in the featureStrategies list.

dependencieslist of objects or null

A list of all the dependencies for features in features list.

Errors