GET/api/devices/{id}

Get the data of a device

Retrieves the data for a device. Use the device ID to identify which device to inspect. The response includes device details such as its name, firmware information, and connection timestamps.

1 parameter
idintegerrequired
The unique identifier of the device to retrieve.

3 status codes
200Returns a `data` object containing device details, including its identifiers, name, firmware information, connection timestamps, settings, and other device fields.
dataobjectoptional
401Returned when the request is unauthorized.
errorstringoptional
404Returned when the device is not found or belongs to another user.
errorstringoptional

Error handling

A 401 is returned when the request is unauthorized. A 404 is returned when the device is not found or belongs to another user. The id path parameter must identify the device whose data you want to retrieve.