TrueSight API Documentation
OverviewAccountActionsAdministration
Alarms v1Alarms v2BatchingDashboards
DatasetsEventsExtended Metrics
GroupsHostgroupsMetersMetricsProduct
PluginsRelaysSourcesSource-TagsSynchronize Data
Tenants
Terms

GET/v1/groups/:id

Retrieves a single group.

URL parameters

id

The slugified version of the group name to retrieve

Example request:

curl https://api.truesight.bmc.com/v1/groups/prod-servers \
-X GET \
-u <email>:<api-token>

Response:

{
   "id": "prod-servers",
   "name": "prod servers",
   "description": "Production Servers",
   "query": "*prod* && last: 2h",
   "system": false,
   "tenantId": "78facb56-f21c-40bb-9cb5-ddae78fb47b8",
   "sources": [
      {
         "name": "service-01.prod.domain.com",
         "tenantId": "78facb56-f21c-40bb-9cb5-ddae78fb47b8",
         "last": 1478590690888,
         "tags": [
            {
               "tag": "env:prod",
               "integration": "user"
            }
         ]
      }
   ]
}