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
Array of strings

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

pre
string

Return tags with the specified prefix

archived
boolean

Whether or not to return archived flags

limit
integer

The number of tags to return. Maximum is 1000.

offset
integer

The index of the first tag to return. Default is 0.

asOf
string

The time to retrieve tags as of. Default is the current time.

Responses
200

Tag collection response

400

Bad request

401

Invalid access token

403

Forbidden

429

Rate Limited

500

Internal server error

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