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.

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

archived
boolean

Whether or not to return archived flags

Responses
200

Tag collection response

400

Invalid request

401

Invalid access token

403

Forbidden

429

Rate limited

get/api/v2/tags
Request samples
Response samples
application/json
{
  • "items": [
    ],
  • "_links": {
    },
  • "totalCount": 103
}