> ## 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 [Iru Endpoint Management documentation](https://api-docs.iru.com/#80710108-fbdb-4dfd-af84-50adf15c5a23).

## Parameters

| Parameter | Description |
| - | - |
| Device ID | The device's ID. |

## 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 Iru Endpoint Management and Send Results Via Email](https://library.blinkops.com/workflows/get-device-activity-with-iru-endpoint-management-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-device-activity-with-iru-endpoint-management-and-send-results-via-email/canvas](https://library.blinkops.com/workflows/get-device-activity-with-iru-endpoint-management-and-send-results-via-email/canvas)
