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

GET/v1/groups

Get all of the groups.

Example request:

curl https://api.truesight.bmc.com/v1/groups \
-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"
   },
   {
      "id": "stage-servers",
      "name": "stage servers",
      "description": "Staging Servers",
      "query": "*stage* && last: 8h",
      "system": false,
      "tenantId": "78facb56-f21c-40bb-9cb5-ddae78fb47b8"
   }
]