Skip to main content
GET
Retrieve Device Status

Authorizations

Authorization
string
header
required

Short-lived session token obtained from POST /api/sessions/v2. Send it as Authorization: Bearer <session_token> together with the X-Device-Key: <device-key> header identifying the target device.

Headers

X-Device-Key
string
required

Device Key (4 BIP39 words) identifying the target device. Obtain it from POST /device/otp/confirm/v2.

Pattern: ^[a-z]+-[a-z]+-[a-z]+-[a-z]+$
Example:

"alpha-bravo-charlie-delta"

Response

200 - application/json

OK

device_time
integer<int64>
required

The current time of the device. Epoch time in milliseconds.

Example:

1723251774000

battery_level
integer<int32>
required

The current battery level of the device. Range: 0 to 100.

Example:

42

wifi_rssi
integer<int32>
required

The current WiFi signal strength of the device. Range: -100 to 10 dB.

Example:

1

battery_voltage
number<float>
required

The current battery voltage.

Example:

3.7

temperature_sensor_1
number<float>
required

Temperature reading from sensor 1 in Celsius.

Example:

22.5

temperature_sensor_2
number<float>
required

Temperature reading from sensor 2 in Celsius.

Example:

23.1

wifi_connected
boolean
required

Indicates if the device is connected to WiFi.

Example:

true

ble_connected
boolean
required

Indicates if the device is connected to BLE.

Example:

false

charging_status
integer<int32>

Charging status of the device.

  • 0: Not charging
  • 1: Charging
  • 2: Charged
Example:

0