Skip to main content

appFeatureFlags

Query application feature flags with their configurations and current status. This query provides access to the modern feature flag system powered by Flipper, allowing administrators to view all feature flags and their gate configurations.

Authentication Requirements

  • Requires authentication (login required)
  • User must be a system administrator (super_admin)
  • Requires the global:read_app_feature_flags permission

Business Rules

  • Only system administrators can access this query
  • Can optionally filter by a specific flag key
  • Returns all active feature flags when no key is specified
  • Feature flags must have gates or be explicitly enabled to be considered valid

Error Conditions

  • You must be logged in to access this resource - If not authenticated
  • You are not authorized to perform this action - If not a system admin
  • Not authorized to perform this action - If lacking required permission
  • Feature flag '{key}' not found - If specified flag doesn't exist or has no gates
appFeatureFlags(
key: String
): [AppFeatureFlag!]!

Arguments

appFeatureFlags.key ● String scalar

Optional: Filter by specific flag key. If provided, returns only the matching flag.

Type

AppFeatureFlag object

Application feature flag configuration and status