Skip to content

Tag

Tags are key-value metadata attached to nodes and clusters for grouping, permissions scoping, and dashboard filtering. Requires nodes::read to view, nodes::tag to modify.

Retrieve all available metadata tags used for node and cluster organization

Request

Security
JWTAuthorizer
curl -i -X GET \
  https://apidocs.trustgrid.io/_mock/tags \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK

Bodyapplication/json
Array [
created_atnumber

Unix timestamp when tag was created

namestring

Tag name

Example:"prod_status"
valuesArray of strings
]
Response
[ { "created_at": 0, "name": "prod_status", "values": [] } ]