provider Tags GET /api/v2/tags
@utdk/launchdarkly /api/v2/tags
List tags
Get a list of tags.
kind query
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.
array
pre query
Return tags with the specified prefix
string
archived query
Whether or not to return archived flags
boolean
limit query
The number of tags to return. Maximum is 1000.
integer
offset query
The index of the first tag to return. Default is 0.
integer
asOf query
The time to retrieve tags as of. Default is the current time.
string

Try it

Authentication
Configure credentials for LaunchDarkly REST API
gettags
GET/api/v2/tags
Get a list of tags.

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.

Return tags with the specified prefix

Whether or not to return archived flags

The number of tags to return. Maximum is 1000.

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

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

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import launchdarkly from '@utdk/launchdarkly';

await launchdarkly.gettags()