Create
Create a new device.
| Scope | Required |
|---|---|
devices:write | Yes |
Authorizations
The API key to use for authentication.
Headers
The API version the client was built against.
"2026-03-09.tetons"
Body
The name of the device.
"Robot 1"
Response
Successfully created the device.
The object type, which is always device.
device "device"
ID of the device.
"dvc_123"
Name of the device.
"My Device"
The status of the device.
- Inactive: The miru agent has not yet been installed / authenticated
- Activating: The miru agent is currently being installed / authenticated (should only last for a few seconds)
- Online: The miru agent has successfully pinged the server within the last 60 seconds.
- Offline: The miru agent has not successfully pinged the server within the last 60 seconds (e.g. network issues, device is powered off, etc.)
inactive, activating, online, offline The version of the agent the device is running.
"v1.0.0"
Timestamp of when the device was last made an initial connection (this is not the same as the last time the device was seen).
"2021-01-01T00:00:00Z"
Timestamp of when the device was last disconnected (this is not the same as the last time the device was seen).
"2021-01-01T00:00:00Z"
Timestamp of when the device was created.
"2021-01-01T00:00:00Z"
Timestamp of when the device was last updated.
"2021-01-01T00:00:00Z"

