---
title: "Ping"
method: POST
path: "/devices/{device_id}/ping"
tags: ["Devices"]
---

# Ping

`POST /devices/{device_id}/ping`

Ping a device to check connectivity.

## Path parameters

- `device_id` string, required

## Request body

- PingDeviceRequest
  - `timeout_nanos` integer, required — The timeout in nanoseconds to wait for the ping operation to complete. The maximum timeout is 10 seconds.

## Response `200`

Successfully pinged the device.

- PingDeviceResponse
  - `code` 'success' | 'timeout', required — The result of the ping operation.
  - `round_trip_nanos` integer — The round trip time in nanoseconds to send the ping to the device and receive the response. Only present when `code` is `success`.

---

[API](https://skmtc.dev/mirurobotics/apis/miru-platform-api.md) · [All operations](https://skmtc.dev/mirurobotics/apis/miru-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mirurobotics/miru-platform-api/revisions/3ca381fa7ccd/schema)
