v6

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-05-12308589.5 KB
Devices

Ping

Ping a device to check connectivity.

post/devices/{device_id}/ping

Path parameters

device_idstring required
Example:dvc_123

The unique identifier of the device.

Request body

timeout_nanosinteger required

The timeout in nanoseconds to wait for the ping operation to complete. The maximum timeout is 10 seconds.

Example request

{
  "timeout_nanos": 1000000000
}

Response

Successfully pinged the device.

code'success' | 'timeout' required

The result of the ping operation.

round_trip_nanosinteger

The round trip time in nanoseconds to send the ping to the device and receive the response. Only present when code is success.

Example response

{
  "code": "success",
  "round_trip_nanos": 1000000000
}