For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
This topic explains how to use tags with LaunchDarkly resources. Tags are customizable labels that help you categorize flags, segments, metrics, projects, environments, and other resources.
Tags are useful in the following ways:
Categorizing: You can add the same tag to different kinds of resources. This lets you easily understand which resources are associated with which projects or teams.
Filtering: You can filter the Flags list, environments list, and projects list by tag.
You can add tags to a resource when you create the resource, or you can add tags to existing resources later. Tag names can include only letters, numbers, periods ., underscores _, and dashes -. Tags are not case-sensitive. After you create a tag, you cannot delete it.
The following sections explain how to add tags to existing resources.
Flags
To add tags to a flag:
In the left navigation, click Code. The CodeControl menu appears.
Click Flags.
Click on the name of the flag you want to add tags to. The flag’s Targeting tab appears.
Click on the pencil icon in the “Tags” section of the right sidebar. The tags list appears.
Create a new tag or select a tag from the list.
To learn how to add tags to flags when you create them, read Creating new flags.
Click the project dropdown. The project menu appears.
Select Project settings.
Select Environments. The Environments list appears.
Next to the environment you want to add tags to, click the three-dot overflow menu.
Select Edit environment.
In the Tags field, click on the tag’s x.
Click Save environment.
Filter the environments list by tag
You can filter the environment list by tag.
To filter your environments:
Click the project dropdown. The project menu appears:
The project menu.
Select Project settings.
Select Environments. The Environments list appears.
Select a tag to filter by from the Tags menu.
Your environments list now displays only the environments that match the tag you specified.
Experiments
To add tags to an experiment or A/A test:
Navigate to the Experiments list.
Click on the name of the experiment you want to add tags to. Depending on whether or not the experiment is running, the experiment’s Design or Results tab appears.
Click on the pencil icon in the “Tags” section of the right sidebar. The tags list appears.
Create a new tag or select a tag from the list.
To remove a tag from an experiment, click on the tag’s x in the right sidebar.
Filter the Experiments list by tag
You can filter the Experiments list by one or more tags.
To filter your experiments:
Click Filters.
Select Add tag(s).
Search for or select a tag from the list.
The Experiments list now displays only the experiments that match the filter you specified.
Multi-armed bandits
To add tags to a multi-armed bandit (MAB):
Navigate to the Multi-armed bandits list.
Click on the name of the MAB you want to add tags to. Depending on if the MAB is running or not, the MAB’s Design or Results tab appears.
Click on the pencil icon in the “Tags” section of the right sidebar. The tags list appears.
Create a new tag or select a tag from the list.
To remove a tag from a MAB, click on the tag’s x in the right sidebar.
Filter the Multi-armed bandits list by tag
You can filter the Multi-armed bandits list by one or more tags.
To filter your MABs:
Click Filters.
Select Add tag(s).
Search for or select a tag from the list.
The Multi-armed bandits list now displays only the MABs that match the filter you specified.
Delete tags
To delete a tag from your list of tags, you must first remove it from every resource in your account. LaunchDarkly will then automatically delete the tag.