Logo
Akamai APIs API Documentation

List event types

GET https://{{host}}/event-viewer-api/v1/event-types

Returns all defined event types with related event definitions.

 

Body PARAM

Key Datatype Required Description 
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-account-switch-keys).



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

[ { "eventDefinitions": [ { "eventDefinitionId": "415195", "eventDescription": "A user logged in.", "eventName": "Login" } ], "eventTypeId": "16", "eventTypeName": "All Logins" }, { "eventDefinitions": [ { "eventDefinitionId": "800313", "eventDescription": "Update an Endpoint Resources Details.", "eventName": "Update an Endpoint Resources Details" }, { "eventDefinitionId": "892355", "eventDescription": "Add a new Endpoint", "eventName": "Create an Endpoint" }, { "eventDefinitionId": "913159", "eventDescription": "Deletes an endpoint resource details.", "eventName": "Delete Endpoint Resource" } ], "eventTypeId": "198", "eventTypeName": "API Definition" } ]



Curl
curl -X GET 'https://host/event-viewer-api/v1/event-types?accountSwitchKey=' -H 'Accept: application/json'

ENDPOINTS