Show a feature flag

feature_flags_get(name)

Arguments

name

string required. The name of the feature flag.

Value

A list containing the following elements:

name

string, The name of the feature flag

organizations

array, An array containing the following fields:

  • id integer, Organization ID

  • name string, Organization name

  • slug string, Organization slug

groups

array, An array containing the following fields:

  • id integer, Group ID

  • name string, Group name

  • slug string, Group slug

  • users array, Users within the group

users

array, An array containing the following fields:

  • id integer, User ID

  • username string, Username

percentage

integer, The target percentage of users who should have this feature flag enabled.