curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/device/{deviceId} \
--header 'x-api-key: <api-key>'{
"success": true,
"error": "<string>",
"device": {
"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"
}
}
}Retrieves a single device
curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/device/{deviceId} \
--header 'x-api-key: <api-key>'{
"success": true,
"error": "<string>",
"device": {
"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"
}
}
}OK
Whether the operation succeeded
Optional error description (set if 'success' was false)
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 Was this page helpful?