Get Device Data
GET/api/v2/device/:deviceId/deviceData
Returns the persistent deviceData stored on the device, including orchestrated_by, platformId and any additional agent-reported fields.
Request
Path Parameters
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
Timestamp of the last metadata snapshot
Device identifier
Device type tokens
Platform identifier
Platform name
Available GetApp server URLs
Delivery source mode
When true, requests that a master agent orchestrate this device
When true, the device subscribes to the master SSE command channel
Master device-id that is currently orchestrating this device
Orchestrator identifier
Whether this device is the master of the platform.
The device-id of the master device for this platform.
metadata
object
Device metadata. Known fields are listed above. Any additional key-value pairs reported by the agent are flattened into this object (mirrors the Rust serde flatten pattern).
MAC address
IP address
Device name
location
object
Operating system
OS release version
Available storage in bytes
battery
object
Battery level as a percentage (0–100)
Battery health as a percentage (0–100)
Estimated time remaining in minutes
Battery state: Charging | Discharging | Full | Empty | Unknown
Whether this is a virtual/emulated battery
Currently active GetApp server URL
Device metadata. Known fields are listed above. Any additional key-value pairs reported by the agent are flattened into this object (mirrors the Rust serde flatten pattern).
{
"snapshotDate": "2026-09-10T14:32:46.384Z",
"deviceId": "string",
"deviceType": [
"string"
],
"platformId": "string",
"platform": "string",
"urlGetAppServerAvailable": [
"string"
],
"deliverySource": "string",
"orchestrateMe": true,
"reactiveMode": true,
"orchestratedBy": "string",
"orchestratorId": "string",
"isMaster": true,
"masterDeviceId": "string",
"metadata": {
"macAddress": "string",
"ipAddress": "string",
"name": "string",
"location": {
"lat": "string",
"long": "string",
"alt": "string"
},
"os": "string",
"osRelease": "string",
"storageAvailable": 0,
"battery": {
"level": 0,
"isPluggedIn": true,
"health": 0,
"timeRemainingMinutes": 0,
"state": "string",
"isVirtual": true
},
"urlGetAppServerActive": "string"
}
}