Skip to main content
GET
/
api
/
v2
/
tags
List tags
curl --request GET \
  --url https://app.launchdarkly.com/api/v2/tags \
  --header 'Authorization: <api-key>'
{
  "_links": {
    "key": {
      "href": "href",
      "type": "type"
    }
  },
  "totalCount": 103,
  "items": [
    "ops",
    "pro"
  ]
}

Documentation Index

Fetch the complete documentation index at: https://launchdarkly-preview.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Query Parameters

kind
string[]

Fetch tags associated with the specified resource type. Options are flag, project, environment, segment, metric, metric-data-source, aiconfig, and view. 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.

Response

Tag collection response

items
string[]
required

List of tags

Example:
["ops", "pro"]
totalCount
integer

The total number of tags

Example:

103