API Reference
Python
from miru_agent_sdk import Miru client = Miru() device = client.device.retrieve() print(device.id)
{ "object": "device", "id": "dvc_123", "name": "My Device", "status": "online", "last_synced_at": "2021-01-01T00:00:00Z", "last_connected_at": "2021-01-01T00:00:00Z", "last_disconnected_at": "2021-01-01T00:00:00Z" }
Successfully retrieved the device.
The response is of type object.
object