> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Devices

Returns list of devices (basic node information).

> [!NOTE]
>
> External Documentation
>
> To learn more, visit the [NinjaOne documentation](https://app.ninjarmm.com/apidocs-beta/core-resources/operations/getDevices).

## Parameters

| Parameter | Description |
| - | - |
| After | Last Node ID from previous page. |
| Device Filter | A filter that is applied to the results. |
| Page Size | Limit number of devices to return. |

## Example Output

```json theme={"dark"}
[
	{
		"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](https://library.blinkops.com/workflows/get-devices-with-ninjaone-and-send-results-via-email)

![Workflow Library](https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max\&auto=format\&n=ojHYuDeYX5FWuN8a\&q=85\&s=b8af968e71438a9499c3223c9bd29fb2)

Preview this Workflow on desktop

[https://library.blinkops.com/workflows/get-devices-with-ninjaone-and-send-results-via-email/canvas](https://library.blinkops.com/workflows/get-devices-with-ninjaone-and-send-results-via-email/canvas)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.