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

GET/v1/sources

Retrieves all sources, or a subset matching a supplied query.

Query parameters:

query [optional]

The source query See Source Queries

Example request:

curl https://api.truesight.bmc.com/v1/sources?query=service \
-X GET \
-u <email>:<api-token>

Response:

[
   {
      "name": "service-01.prod.domain.com",
      "tenantId": "78facb56-f21c-40bb-9cb5-ddae78fb47b9",
      "last": 1489016935577,
      "tags": [
         {
            "tag": "env:prod",
            "integration": "user"
         }
      ]
   },
   {
      "name": "service-02.prod.domain.com",
      "tenantId": "78facb56-f21c-40bb-9cb5-ddae78fb47b9",
      "last": 1488494949778,
      "tags": [
         {
            "tag": "meterVersion:4.3.1-698",
            "integration": "meter"
         }
      ]
   }
]