curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/devices \
--header 'x-api-key: <api-key>'
{
"success": true,
"error": "<string>",
"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,
"remote_mgmt_host": "<string>",
"supportsSnapshotStreaming": true,
"remoteMgmtMode": "disconnected",
"inferenceInfo": {
"projectId": 123,
"projectOwner": "<string>",
"projectName": "<string>",
"deployedVersion": 123,
"modelType": "classification"
}
}
]
}
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,
"error": "<string>",
"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,
"remote_mgmt_host": "<string>",
"supportsSnapshotStreaming": true,
"remoteMgmtMode": "disconnected",
"inferenceInfo": {
"projectId": 123,
"projectOwner": "<string>",
"projectName": "<string>",
"deployedVersion": 123,
"modelType": "classification"
}
}
]
}
Project ID
OK
The response is of type object
.