← cyphonix.comSign in to the console
Cyphonix Backup

Home › Documentation › API › Devices

Devices

The device object

{
  "id": "dev_01HZX4QF8N3K",
  "name": "SRV-FILE-01",
  "plan": "server",
  "platform": "windows-server-2022",
  "agent_version": "4.6.2",
  "region": "uk-south-1",
  "policy": "Server default",
  "group": "Head office",
  "status": "active",
  "online": true,
  "last_seen_at": "2026-09-29T09:41:55Z",
  "last_backup": {
    "job_id": "job_01J8YV2C6M",
    "result": "completed",
    "finished_at": "2026-09-29T02:52:10Z"
  },
  "protected_bytes": 1318554959872,
  "stored_bytes": 742381232128,
  "registered_at": "2023-11-20T10:12:03Z"
}

status is active or retired. online is true if the agent has been in contact within the last 15 minutes.

List devices

GET /v2/devices

Scope: devices:read.

ParameterDescription
statusactive (default), retired or all
planworkstation, server, m365
groupDevice group name
onlinetrue or false
agent_versionExact version, or a prefix such as 4.5
last_backup_beforeDevices whose last completed backup is older than this time
limit, cursorSee Pagination

Example: devices with no completed backup in the last three days.

GET /v2/devices?last_backup_before=2026-09-26T00:00:00Z

Get a device

GET /v2/devices/{id}

Rename a device

PATCH /v2/devices/{id}
{ "name": "SRV-FILE-01-OLD" }

Scope: devices:write. Only name and group can be changed. See also KB-1093.

Start a backup

POST /v2/devices/{id}/backup

Scope: devices:write. Returns 202 with the new job's id. Returns 409 device_offline if the device is not connected, or 409 job_already_running.

Refresh policy

POST /v2/devices/{id}/refresh-policy

Asks the device to fetch its policy now instead of at the next 15-minute check.

Not available

Devices cannot be registered or retired through the API.

Last reviewed: · Report a problem with this page