> ## 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 Library Items

Get all library items and their statuses for a specified device ID.

<Note>
  External Documentation

  To learn more, visit the [Kandji documentation](https://api-docs.kandji.io/#005bf79f-3458-4834-9c2f-4e0c792069f4).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter | Description      |
  | --------- | ---------------- |
  | Device ID | The device's ID. |
</div>

## Example Output

```json theme={"dark"}
{
	"device_id": "77883d40-5656-4a24-9d70-49b6e751a923",
	"library_items": [
		{
			"id": 1222,
			"item_id": "4a98cb3d-3b55-46bf-829d-7dd7bd6ed832",
			"last_audit_log": "Executing audit script...\nScript exited with non-zero status.",
			"log": "Executing audit script...\nScript exited with non-zero status.\nDownloading zoom\nCompleted download in four minutes, fifty seconds.\nInstalling zoom\nCompleted package installation in four seconds.",
			"name": "zoom",
			"reported_at": "2021-05-11T19:45:19Z",
			"status": "PASS",
			"type": "custom-app"
		},
		{
			"id": 1218,
			"item_id": "b81b0ed6-c703-45a0-8d49-8255ff21d413",
			"last_audit_log": "Kandji is set to automatically enforce updates for Microsoft Edge two weeks after they are released.\nMicrosoft Edge 90.0.818.56 is installed, which is newer than the version being enforced.",
			"log": "Downloading Microsoft Edge\nCompleted download in six seconds.\nInstalling Microsoft Edge\nCompleted package installation in twenty-three seconds.\nAdded icon to end of Dock for all users.",
			"name": "Microsoft Edge",
			"reported_at": "2021-05-10T17:20:55Z",
			"status": "PASS",
			"type": "automatic-app"
		},
		{
			"id": 1224,
			"item_id": "59be1e8e-5ba5-4bbc-bead-8b3e2006c3e5",
			"last_audit_log": null,
			"log": "Executing Custom Script...\nExit code: 0",
			"name": "Custom Script",
			"reported_at": "2021-05-10T17:20:55Z",
			"status": "PASS",
			"type": "custom-script"
		},
		{
			"id": 1220,
			"item_id": "e517e593-5d9b-4492-abc1-64247f242f21",
			"last_audit_log": "Brave 81.1.8.95 is installed and up to date.\nKandji is set to enforce a minimum version (81.1.8.95) of Brave.",
			"log": "Downloading Brave\nCompleted download in three seconds.\nInstalling Brave\nCompleted package installation in eight seconds.",
			"name": "Brave",
			"reported_at": "2021-05-10T17:20:55Z",
			"status": "PASS",
			"type": "automatic-app"
		},
		{
			"id": 1219,
			"item_id": "ba02261d-e482-4e4f-b0ce-c108ba7b35a4",
			"last_audit_log": "Firefox 82.0.2 is installed and up to date.\nKandji is set to enforce a minimum version (82.0.2) of Firefox.",
			"log": "Downloading Firefox\nCompleted download in three seconds.\nInstalling Firefox\nCompleted package installation in seven seconds.",
			"name": "Firefox",
			"reported_at": "2021-05-10T17:20:55Z",
			"status": "PASS",
			"type": "automatic-app"
		},
		{
			"id": 1221,
			"item_id": "62189209-7f84-4132-a4f7-89a12cb5a9c3",
			"last_audit_log": "Atom 1.53.0 is installed and up to date.\nKandji is set to enforce a minimum version (1.46.0) of Atom.",
			"log": "Downloading Atom\nCompleted download in six seconds.\nInstalling Atom\nCompleted package installation in one minute, one second.\nAdded icon to end of Dock for all users.",
			"name": "Atom",
			"reported_at": "2021-05-10T17:20:55Z",
			"status": "PASS",
			"type": "automatic-app"
		},
		{
			"id": 1225,
			"item_id": "ae55bb5f-d1fc-4bab-a2ca-d4f34c703b5f",
			"last_audit_log": "Notion 2.0.7 is installed and up to date.\nKandji is set to enforce a minimum version (2.0.7) of Notion.",
			"log": "Downloading Notion\nCompleted download in four seconds.\nInstalling Notion\nCompleted package installation in ten seconds.",
			"name": "Notion",
			"reported_at": "2021-05-10T17:20:55Z",
			"status": "PASS",
			"type": "automatic-app"
		},
		{
			"id": 1223,
			"item_id": "73be2f87-6ea8-4db9-8e42-af8a4dfec36f",
			"last_audit_log": null,
			"log": "Downloading Chrome\nCompleted download in two seconds.\nInstalling Chrome\nCompleted package installation in twenty-four seconds.",
			"name": "Chrome",
			"reported_at": "2021-05-10T17:20:55Z",
			"status": "PASS",
			"type": "custom-app"
		}
	]
}
```

## Workflow Library Example

[Get Device Library Items with Kandji and Send Results Via Email](https://library.blinkops.com/workflows/get-device-library-items-with-kandji-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-library-items-with-kandji-and-send-results-via-email/canvas" />
</div>
