Skip to main content
GET
http://localhost:3000
/
tag-groups
curl -X GET 'https://api.example.com/tag-groups?scopeId=scope_acme' \
  -H 'Authorization: Bearer YOUR_TOKEN'
[
  {
    "id": "tag_group_priority",
    "scopeId": "scope_acme",
    "name": "Priority",
    "key": "priority",
    "description": "Task priority levels",
    "origin": "user",
    "maxAppliedPerTarget": 1,
    "isLocked": false,
    "createdBy": "user-1",
    "createdAt": "2024-01-15T10:30:00Z"
  },
  {
    "id": "tag_group_status",
    "scopeId": "scope_acme",
    "name": "Status",
    "key": "status",
    "description": "Task status",
    "origin": "user",
    "maxAppliedPerTarget": 1,
    "isLocked": false,
    "createdBy": "user-1",
    "createdAt": "2024-01-15T10:30:00Z"
  }
]

Query Parameters

scopeId
string
required
ID of the scope to get tag groups for

Response

Returns an array of tag group objects.
curl -X GET 'https://api.example.com/tag-groups?scopeId=scope_acme' \
  -H 'Authorization: Bearer YOUR_TOKEN'
[
  {
    "id": "tag_group_priority",
    "scopeId": "scope_acme",
    "name": "Priority",
    "key": "priority",
    "description": "Task priority levels",
    "origin": "user",
    "maxAppliedPerTarget": 1,
    "isLocked": false,
    "createdBy": "user-1",
    "createdAt": "2024-01-15T10:30:00Z"
  },
  {
    "id": "tag_group_status",
    "scopeId": "scope_acme",
    "name": "Status",
    "key": "status",
    "description": "Task status",
    "origin": "user",
    "maxAppliedPerTarget": 1,
    "isLocked": false,
    "createdBy": "user-1",
    "createdAt": "2024-01-15T10:30:00Z"
  }
]