> ## 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 Device

Returns device details.

<Note>
  External Documentation

  To learn more, visit the [NinjaOne documentation](https://app.ninjarmm.com/apidocs-beta/core-resources/operations/getDevice).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter | Description        |
  | --------- | ------------------ |
  | Device ID | Device identifier. |
</div>

## Example Output

```json theme={"dark"}
{
	"approvalStatus": "Approval Status",
	"created": 0,
	"deviceType": "string",
	"displayName": "Display Name",
	"dnsName": "DNS Name",
	"fields": {},
	"id": 0,
	"ipAddresses": [
		"Device IP addresses"
	],
	"lastContact": 0,
	"lastUpdate": 0,
	"locationId": 0,
	"macAddresses": [
		"Device MAC addresses"
	],
	"maintenance": {
		"end": 0,
		"start": 0,
		"status": "Maintenance mode status"
	},
	"netbiosName": "NETBIOS Name",
	"nodeClass": "Node Class",
	"nodeRoleId": 0,
	"notes": [
		{
			"text": "Note text"
		}
	],
	"offline": false,
	"organizationId": 0,
	"parentDeviceId": 0,
	"policyId": 0,
	"publicIP": "Device Public IP Address",
	"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 Device with Ninjaone and Send Results Via Email](https://library.blinkops.com/workflows/get-device-with-ninjaone-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/get-device-with-ninjaone-and-send-results-via-email/canvas" />
</div>
