---
descriptions:
  feature_flag:
    self: 'The [Feature Flag](/reference/feature-flags) object.'
    object: Distinguishes the Feature Flag object
    id: Unique identifier of the Feature Flag.
    name: >-
      A descriptive name for the Feature Flag. This field does not need to be
      unique.
    slug: A unique key to reference the Feature Flag.
    description: A description for the Feature Flag.
    tags: Labels assigned to the Feature Flag for categorizing and filtering.
    enabled: Specifies whether the Feature Flag is active for the current environment.
    default_value: >-
      The value returned for users and organizations who don't match any
      configured targeting rules.
    created_at: The timestamp when the Feature Flag was last created.
    updated_at: The timestamp when the Feature Flag was last updated.
reference:
  curl:
    - url: /reference/feature-flags/flag
      key: feature_flag
      id: feature_flag
      title: feature_flag
      properties:
        - key: object
          type: '"feature_flag"'
          description: (feature_flag.object)
        - key: id
          type: string
          description: (feature_flag.id)
        - key: name
          type: string
          description: (feature_flag.name)
        - key: slug
          type: string
          description: (feature_flag.slug)
        - key: description
          type: string | null
          description: (feature_flag.description)
        - key: tags
          type: array
          description: (feature_flag.tags)
        - key: enabled
          type: boolean
          description: (feature_flag.enabled)
        - key: default_value
          type: boolean
          description: (feature_flag.default_value)
        - key: created_at
          type: string
          description: (feature_flag.created_at)
        - key: updated_at
          type: string
          description: (feature_flag.updated_at)
  js:
    - url: /reference/feature-flags/flag
      key: FeatureFlag
      id: feature_flag
      title: interface FeatureFlag
      properties:
        - key: object
          type: '"feature_flag"'
          description: (feature_flag.object)
        - key: id
          type: string
          description: (feature_flag.id)
        - key: name
          type: string
          description: (feature_flag.name)
        - key: slug
          type: string
          description: (feature_flag.slug)
        - key: description
          type: string | null
          description: (feature_flag.description)
        - key: createdAt
          type: string
          description: (feature_flag.created_at)
        - key: updatedAt
          type: string
          description: (feature_flag.updated_at)
  ruby:
    - url: /reference/feature-flags/flag
      key: feature_flag
      id: feature_flag
      title: class FeatureFlag
      properties:
        - key: object
          type: '"feature_flag"'
          description: (feature_flag.object)
        - key: id
          type: String
          description: (feature_flag.id)
        - key: name
          type: String
          description: (feature_flag.name)
        - key: slug
          type: String
          description: (feature_flag.slug)
        - key: description
          type: String
          optional: true
          description: (feature_flag.description)
        - key: created_at
          type: String
          description: (feature_flag.created_at)
        - key: updated_at
          type: String
          description: (feature_flag.updated_at)
originalPath: .tmp-workos-clone/packages/docs/content/reference/feature-flags/flag/index.mdx
---

# Feature Flag

A Feature Flag controls feature availability for organizations and users in your application.
