Lists devices

Lists devices

List all devices for this project. Devices get included here if they connect to the remote management API or if they have sent data to the ingestion API and had the device_id field set.

GEThttps://studio.edgeimpulse.com/v1/api/{projectId}/devices
Path parameters
projectId*integer

Project ID

Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

Optional error description (set if 'success' was false)

devices*array of Device (object)
Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/devices', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text",
  "devices": [
    {
      "id": 1,
      "deviceId": "38:f9:d3:d7:62:03",
      "created": "2019-07-21T17:32:28Z",
      "lastSeen": "2019-08-31T17:32:28Z",
      "name": "m6d.1 desk sensor",
      "deviceType": "DISCO-L475VG",
      "sensors": [
        {
          "name": "Built-in accelerometer",
          "frequencies": [
            62.5,
            100
          ]
        }
      ],
      "remote_mgmt_connected": false,
      "remote_mgmt_host": "text",
      "supportsSnapshotStreaming": false,
      "remoteMgmtMode": "disconnected",
      "inferenceInfo": {
        "projectOwner": "text",
        "projectName": "text",
        "modelType": "classification"
      }
    }
  ]
}