Tags

Tags are simple strings that you can attach to most resources in LaunchDarkly. Tags are useful for grouping resources into a set that you can name in a resource specifier. To learn more, read Custom role concepts.

Using the tags API, you can list existing tags for resources.

List tags

Get a list of tags.

SecurityApiKey
Request
query Parameters
kind
string <string>

Fetch tags associated with the specified resource type. Options are flag, project, environment, segment. Returns all types by default.

pre
string <string>

Return tags with the specified prefix

Responses
200

Tag collection response

400

Invalid request

401

Invalid access token

403

Forbidden

429

Rate limited

get/api/v2/tags
Request samples
curl -i -X GET \
  https://app.launchdarkly.com/api/v2/tags \
  -H 'Authorization: YOUR_API_KEY_HERE'
Response samples
application/json
{
  • "items": [
    ],
  • "_links": {
    },
  • "totalCount": 103
}