> ## 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 Endpoint Events

Get the endpoint events of an agent within a time range. If no time range is set, the last 24 hours are returned.

Use it to get the events around an alert, by setting the time range around the alert's detection time.

## Parameters

| Parameter | Description |
| - | - |
| Agent UUID | The UUID of the agent to get the events of. Can be obtained by using the `List Agents` action. |
| End Time | The end of the time range to search in. |
| Limit | The maximum number of events to return. |
| Start Time | The start of the time range to search in. |

## Example Output

```json theme={"dark"}
{
	"columns": [
		{
			"name": "timestamp"
		},
		{
			"name": "event.type"
		},
		{
			"name": "src.process.name"
		},
		{
			"name": "src.process.cmdline"
		},
		{
			"name": "src.process.user"
		},
		{
			"name": "tgt.file.path"
		},
		{
			"name": "dst.ip.address"
		},
		{
			"name": "event.dns.request"
		}
	],
	"values": [
		[
			1794152488333000000,
			"IP Connect",
			"svchost.exe",
			"C:\\Windows\\System32\\svchost.exe -k NetworkService -p -s DoSvc",
			"NT AUTHORITY\\NETWORK SERVICE",
			null,
			"203.0.113.10",
			null
		]
	],
	"matchingEvents": 194,
	"omittedEvents": 0,
	"warnings": [],
	"status": "success",
	"cpuUsage": 447
}
```
