Skip to main content

myFeatureFlags

Check which feature flags are enabled for the current authenticated user. This query provides a simple way for users to check their access to specific features without exposing sensitive configuration details.

Authentication Requirements

  • Requires authentication (login required)
  • No special permissions needed - available to all authenticated users

Business Rules

  • Only checks flags for the authenticated user
  • Does not expose gate configurations or other sensitive details
  • Returns false for non-existent flags (fail-safe approach)
  • Evaluates all gate types (boolean, actors, percentage) automatically

Error Conditions

  • You must be logged in to access this resource - If not authenticated
  • No error for non-existent flags (returns enabled: false)
myFeatureFlags(
keys: [String!]!
): [FeatureFlagEnabled!]!

Arguments

myFeatureFlags.keys ● [String!]! non-null scalar

List of feature flag keys to check

Type

FeatureFlagEnabled object