List events
GET https://{{host}}/event-viewer-api/v1/events
Returns each user account's portal-visible events stored in the Event Logger system. Each page of results lists 50 events. You can move between pages using the afterEventId
and beforeEventId
query parameters, or follow the relevant hypermedia link at the bottom of each page.
Body
PARAM
Key | Datatype | Required | Description |
eventTypeId
|
string | (Optional) The unique identifier for the event type. Use this parameter to view all events with the specified event type ID. | |
start
|
string | (Optional) The start date and time of the event. Use this parameter to view all events that occurred after the specified date and time. | |
end
|
string | (Optional) The end date and time of the event. Use this parameter to view all events that occurred before the specified date and time. | |
afterEventId
|
string | (Optional) The unique identifier for the event. Use this parameter to view all events that occurred after the event with the specified event ID. | |
beforeEventId
|
string | (Optional) The unique identifier for the event. Use this parameter to view all events that occurred before the event with the specified event ID. | |
username
|
string | (Optional) The name of the user that created the event. Use this parameter to view all events generated by the specified user. | |
accountSwitchKey
|
string | (Optional) For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client Curl curl -X GET 'https://host/event-viewer-api/v1/events?eventTypeId=&start=&end=&afterEventId=&beforeEventId=&username=&accountSwitchKey=' -H 'Accept: application/json' ENDPOINTS |