Device Status SSE Stream
GET/api/v1/device/status/stream
Server-Sent Events endpoint that pushes real-time device status updates (discovery, delivery, deploy). Optionally filter by projectId and/or deviceIds query parameters.
Each SSE message has the format: { data, id, type } where data is a JSON-serialized DeviceStatusEventDto.
Note: Not all properties are present on every event — availability depends on the statusType:
- DISCOVERY:
deviceId,status,timestamp, and optionallymessage,error,metadata. - DELIVERY:
deviceId,releaseId,projectId,status,timestamp, and optionallyprogress,message,error. - DEPLOY:
deviceId,releaseId,projectId,status,timestamp, and optionallyprogress,message,error.
Request
Query Parameters
Filter events by project ID
Filter events by specific device IDs (comma-separated or repeated query params)
Responses
- 200
SSE stream emitting device status update messages
- application/json
- Schema
- Example (from schema)
Schema
data
object
Default value: device_status_update
The device identifier
Project ID the release belongs to. Present for DELIVERY and DEPLOY events.
Release/catalog ID being delivered or deployed. Present for DELIVERY and DEPLOY events.
Possible values: [discovery, delivery, deploy]
Which pipeline stage: discovery, delivery, or deploy
Possible values: [new, discovered, Start, Done, Error, Download, Installing, Continue, Pause, Cancelled, Uninstall, Deleted]
Current status value (e.g. Start, Done, Error, Download, Installing)
ISO 8601 timestamp of when the event occurred
Human-readable description of the event
Error message when status is Error
Possible values: <= 100
Progress percentage (0-100) for DELIVERY/DEPLOY events
metadata
object
Device details. Typically present only for DISCOVERY events.
True when the device currently holds an open reactive (managed-command) SSE channel.
Platform instance id reported by the agent.
Unique event ID (timestamp-based)
SSE event type
{
"data": {
"type": "device_status_update",
"deviceId": "string",
"projectId": "string",
"releaseId": "string",
"statusType": "discovery",
"status": "new",
"timestamp": "2026-06-10T10:00:00.000Z",
"message": "string",
"error": "string",
"progress": 0,
"metadata": {
"id": "string",
"lastUpdatedDate": "2026-09-10T14:32:46.423Z",
"lastConnectionDate": "2026-09-10T14:32:46.423Z",
"name": "string",
"OS": "string",
"availableStorage": "string",
"power": 0,
"bandwidth": 0,
"operativeState": true,
"online": true,
"metaData": {},
"groupName": "string",
"groupId": 0,
"uid": "string",
"formations": [
"string"
],
"platformName": "string",
"deviceTypeName": "string",
"devices": [
"string"
],
"platformId": "string"
}
},
"id": "1718010000000",
"type": "device_status_update"
}