--- title: "Get Events" slug: "get-events-2" tags: ["IPS 11.1.x", "Reference"] updated: 2026-11-19T12:57:44Z published: 2026-11-19T12:57:44Z canonical: "docs.trellix.com/get-events-2" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Get Events This URL gets the events information. ### Resource URL GET //endpointintelligence//events? duration= ### Request Parameters | Field Name | Description | Data Type | Mandatory | | --- | --- | --- | --- | | `duration` | Duration - LAST_5_MINUTES - LAST_1_HOUR - LAST_6_HOURS - LAST-12_HOURS - LAST_24_HOURS - LAST_48_HOURS - LAST_7_DAYS - LAST_14_DAYS | String | No | | `hash` | Hash | String | Yes | | `nbaId` | NTBA monitors id | String | Yes | ### Response Parameters Following fields are returned if the request parameters are correct, otherwise error details are returned. | Field Name | Description | Data Type | | --- | --- | --- | | `eventList` | List of events | Array | Details of eventList: | Field Name | Description | Data Type | | --- | --- | --- | | `time` | Attack time | String | | `attack` | Attack | String | | `result` | Result | String | | `direction` | Direction | String | | `attackerIpAddress` | Attacker ip address | String | | `attackerCountry` | Attacker country | String | | `victimIpAddress` | Victim ip address | String | | `victimPort` | Victim port | Int | | `victimCountry` | Victim country | String | ### Example **Request** GET [https:///sdkapi/1001/endpointintelligence/aaaaaaaa16/events?duration=LAST_14_DAYS](https://<NSM_IP>/sdkapi/1001/endpointintelligence/aaaaaaaa16/events?duration=LAST_14_DAYS%20) **Response** ``` { {"eventList":[{"time":"Tue Sep 10 17:16:26 IST 2013","attack":"MALWARE: High-confidence malware executable detected by Endpoint Intelligence Agent engine","result":"Inconclusive","direction":"Unknown","attackerCountry":"---","victimIpAddress":"0.1.138.146","victimPort":0,"victimCountry}] } ``` ### Error Information Following error codes are returned by this URL: | S.No | HTTP Error Code | SDK API errorId | SDK API errorMessage | | --- | --- | --- | --- | | 1 | 400 | 3601 | Invalid duration | | 2 | 400 | 4901 | Invalid hash/failed retrieve |