Tags

List tags

GET
/api/v2/tags

Get a list of tags.

Authorization

ApiKey read, write
Authorization<token>

In: header

Scope: read, write

Query Parameters

kind?array<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 Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v2/tags"
{  "_links": {    "key": {      "href": "href",      "type": "type"    }  },  "totalCount": 103,  "items": [    "ops",    "pro"  ]}