Skip to main content
GET
/
v1
/
groups
/
{id}
/
state
/
tags
List group tags
curl --request GET \
  --url https://api.scrip.dev/v1/groups/{id}/state/tags \
  --header 'X-API-Key: <api-key>'
{
  "data": [
    {
      "tag": "vip"
    }
  ],
  "pagination": {
    "has_more": true,
    "next_cursor": "YWJjMTIz"
  }
}
Returns all tags on a group as an array of strings. Tags are labels used for segmentation and rule conditions, accessible in CEL as group.tags.
For usage patterns and examples, see the State Management guide.

Authorizations

X-API-Key
string
header
required

API key passed in the X-API-Key header.

Path Parameters

id
string<uuid>
required

Group ID

Response

Group tags

data
object[]

Tag entries

pagination
object

Pagination metadata for list responses