Skip to main content

Get Devices

Returns list of devices (basic node information).

External Documentation

To learn more, visit the NinjaOne documentation.

Parameters

ParameterDescription
AfterLast Node ID from previous page.
Device FilterA filter that is applied to the results.
Page SizeLimit number of devices to return.

Example Output

[
{
"approvalStatus": "Approval Status",
"created": 0,
"displayName": "Display Name",
"dnsName": "DNS Name",
"fields": {},
"id": 0,
"lastContact": 0,
"lastUpdate": 0,
"locationId": 0,
"maintenance": {
"end": 0,
"start": 0,
"status": "Maintenance mode status"
},
"netbiosName": "NETBIOS Name",
"nodeClass": "Node Class",
"nodeRoleId": 0,
"offline": false,
"organizationId": 0,
"parentDeviceId": 0,
"policyId": 0,
"references": {
"backupUsage": {
"cloudFileFolderSize": 0,
"cloudImageSize": 0,
"cloudTotalSize": 0,
"localFileFolderSize": 0,
"localImageSize": 0,
"localTotalSize": 0,
"revisionsCurrentSize": 0,
"revisionsDeletedSize": 0,
"revisionsPreviousSize": 0,
"revisionsTotalSize": 0
},
"location": {
"address": "Address",
"description": "Description",
"fields": {},
"id": 0,
"name": "Location name",
"tags": [
"Tags"
],
"userData": {}
},
"organization": {
"description": "Organization Description",
"fields": {},
"id": 0,
"name": "Organization full name",
"nodeApprovalMode": "Device Approval Mode",
"tags": [
"Tags"
],
"userData": {}
},
"policy": {
"description": "Description",
"fields": {},
"id": 0,
"name": "Name",
"nodeClass": "Node Class",
"nodeClassDefault": false,
"parentPolicyId": 0,
"tags": [
"Tags"
],
"updated": 0
},
"role": {
"chassisType": "Chassis Type",
"created": 0,
"custom": false,
"description": "Description",
"fields": {},
"id": 0,
"name": "Name",
"nodeClass": "Node Class",
"tags": [
"Tags"
]
},
"rolePolicy": {
"description": "Description",
"fields": {},
"id": 0,
"name": "Name",
"nodeClass": "Node Class",
"nodeClassDefault": false,
"parentPolicyId": 0,
"tags": [
"Tags"
],
"updated": 0
}
},
"rolePolicyId": 0,
"systemName": "System Name",
"tags": [
"Tags"
],
"userData": {}
}
]

Workflow Library Example

Get Devices with Ninjaone and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop