Skip to main content
GET
/
v1
/
groups
/
{id}
/
state
/
attributes
List group attributes
curl --request GET \
  --url https://api.scrip.dev/v1/groups/{id}/state/attributes \
  --header 'X-API-Key: <api-key>'
{
  "data": [
    {
      "key": "tier",
      "value": "gold"
    }
  ],
  "pagination": {
    "has_more": true,
    "next_cursor": "YWJjMTIz"
  }
}
Returns all key-value attributes on a group. Attributes are string key-value pairs used to store group metadata, accessible in CEL rule conditions as group.attributes.{key}.
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 attributes

data
object[]

Attribute entries

pagination
object

Pagination metadata for list responses