SmartGare
API referenceEndpoints

Read every declared device on the place it serves, with its health now

**Required permission:** `supervision.live-view:read`

GET/supervision/v1/device-health

Required permission: supervision.live-view:read

AuthorizationBearer <token>

In: header

Response Body

*/*

curl -X GET "https://example.com/supervision/v1/device-health"
{  "devices": [    {      "code": "string",      "contact_setting": {        "interval_seconds": 0,        "setting_version": 0,        "setting_version_id": "string"      },      "degraded_setting": {        "limit_minutes": 0,        "setting_version": 0,        "setting_version_id": "string"      },      "degraded_since": "2019-08-24T14:15:22Z",      "id": "string",      "kind": "string",      "last_heard_at": "2019-08-24T14:15:22Z",      "name": "string",      "place": {        "code": "string",        "id": "string",        "kind": "string",        "name": "string"      },      "reason": "string",      "source": "string",      "state": "string"    }  ],  "freshness": {    "age_seconds": 0,    "budget_seconds": 0,    "late_by_seconds": 0,    "newest_information_at": "2019-08-24T14:15:22Z",    "state": "string"  },  "read_at": "2019-08-24T14:15:22Z"}