Feature Flags

Get feature flag value

Get the current value of a feature flag. Returns the flag value if enabled, or a default falsey value if disabled.

get/feature-flags/{key}

Request

Path parameters

keystring required

The feature flag key

Example:webhooks

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

enabledboolean required

Whether the flag is enabled

keystring required

The feature flag key

valueunknown required
value_type'boolean' | 'string' | 'number' | 'object' required

The type of the value

Example response

{
  "$schema": "https://api.tower.dev/v1/schemas/GetFeatureFlagResponseBody.json"
}

Changes

No recorded changes to this operation across all 12 revisions of this API.