curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/devices \
--header 'x-api-key: <api-key>'{
"success": true,
"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",
"maxSampleLengthS": 123,
"frequencies": [
62.5,
100
]
}
],
"remote_mgmt_connected": true,
"supportsSnapshotStreaming": true,
"remoteMgmtMode": "disconnected",
"remote_mgmt_host": "<string>",
"inferenceInfo": {
"projectId": 123,
"projectOwner": "<string>",
"projectName": "<string>",
"deployedVersion": 123,
"modelType": "classification"
}
}
],
"error": "<string>"
}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.
curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/devices \
--header 'x-api-key: <api-key>'{
"success": true,
"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",
"maxSampleLengthS": 123,
"frequencies": [
62.5,
100
]
}
],
"remote_mgmt_connected": true,
"supportsSnapshotStreaming": true,
"remoteMgmtMode": "disconnected",
"remote_mgmt_host": "<string>",
"inferenceInfo": {
"projectId": 123,
"projectOwner": "<string>",
"projectName": "<string>",
"deployedVersion": 123,
"modelType": "classification"
}
}
],
"error": "<string>"
}Project ID
OK
Whether the operation succeeded
Show child attributes
1
Unique identifier (such as MAC address) for a device
"38:f9:d3:d7:62:03"
"2019-07-21T17:32:28Z"
Last message that was received from the device (ignoring keep-alive)
"2019-08-31T17:32:28Z"
"m6d.1 desk sensor"
"DISCO-L475VG"
Whether the device is connected to the remote management interface. This property is deprecated, use remoteMgmtMode instead.
Replaces remote_mgmt_connected. Shows whether the device is connected to the remote management interface, and in which mode.
disconnected, ingestion, inference The remote management host that the device is connected to
If remoteMgmtMode is set to inference this object shows information about the model that's ran on device.
Show child attributes
classification, objectDetection, constrainedObjectDetection Optional error description (set if 'success' was false)
Was this page helpful?