List feature flag statuses

GET
/api/v2/flag-statuses/:projectKey/:environmentKey

Get a list of statuses for all feature flags. The status includes the last time the feature flag was requested, as well as a state, which is one of the following:

  • new: You created the flag fewer than seven days ago and it has never been requested.
  • active: LaunchDarkly is receiving requests for this flag, but there are either multiple variations configured, or it is toggled off, or there have been changes to configuration in the past seven days.
  • inactive: You created the feature flag more than seven days ago, and hasn’t been requested within the past seven days.
  • launched: LaunchDarkly is receiving requests for this flag, it is toggled on, there is only one variation configured, and there have been no changes to configuration in the past seven days.

To learn more, read Flag statuses.

Path parameters

projectKeystringRequired

The project key

environmentKeystringRequired

The environment key

Response

Flag Statuses collection response

itemslist of objectsOptional

Errors

Built with