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

Get the device activity for a specified device ID.

<Note>
  External Documentation

  To learn more, visit the [Kandji documentation](https://api-docs.kandji.io/#80710108-fbdb-4dfd-af84-50adf15c5a23).
</Note>

## Parameters

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

## Example Output

```json theme={"dark"}
{
	"activity": {
		"count": 0,
		"next": "string",
		"previous": "string",
		"results": [
			{
				"action_type": "enrollment",
				"blueprint": {
					"id": "8c7e0b97-54e4-4ea0-8cf9-184ddb47de4b",
					"is_removed": false,
					"name": "NewEnrollment"
				},
				"computer": {
					"id": "9d6eda80-6058-40bb-94f0-3c7ba4a63eb6",
					"is_removed": false,
					"name": "iPad"
				},
				"created_at": "2021-04-19T18:09:06.865152Z",
				"details": {
					"blueprint_name": "NewEnrollment",
					"enrollment_type": "DEP"
				},
				"id": 6361,
				"user": null
			}
		]
	},
	"device_id": "string"
}
```

## Workflow Library Example

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