• Home
  • Dynatrace API
  • Environment
  • Events v2
  • GET an event type

Events API v2 - GET an event type

Gets the properties of an event type.

The request produces an application/json payload.

GETManagedDynatrace for Governmenthttps://{your-domain}/e/{your-environment-id}/api/v2/eventTypes/{eventType}
SaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/eventTypes/{eventType}
Environment ActiveGatehttps://{your-activegate-domain}/e/{your-environment-id}/api/v2/eventTypes/{eventType}

Authentication

To execute this request, you need an access token with events.read scope.

To learn how to obtain and use it, see Tokens and authentication.

Parameters

ParameterTypeDescriptionInRequired
eventTypestring

The event type you're inquiring.

pathrequired

Response

Response codes

CodeTypeDescription
200EventType

Success

Response body objects

The EventType object

Configuration of an event type.

ElementTypeDescription
severityLevelstring

The severity level associated with the event type.

The element can hold these values
  • AVAILABILITY
  • CUSTOM_ALERT
  • ERROR
  • INFO
  • MONITORING_UNAVAILABLE
  • PERFORMANCE
  • RESOURCE_CONTENTION
displayNamestring

The display name of the event type.

typestring

The event type.

descriptionstring

A short description of the event type.

Response body JSON model

json
{ "severityLevel": "PERFORMANCE", "displayName": "High CPU", "type": "OSI_HIGH_CPU", "description": "string" }

Example

In this example, the request queries the properties of the APPLICATION_SLOWDOWN type.

The API token is passed in the Authorization header.

Curl

bash
curl --request GET \ --url 'https://mySampleEnv.live.dynatrace.com/api/v2/eventTypes/APPLICATION_SLOWDOWN' \ --header 'Authorization: Api-Token dt0c01.abc123.abcdefjhij1234567890'

Request URL

plaintext
https://mySampleEnv.live.dynatrace.com/api/v2/eventTypes/APPLICATION_SLOWDOWN

Response body

json
{ "type": "APPLICATION_SLOWDOWN", "displayName": "Application slowdown", "severityLevel": "PERFORMANCE", "description": "User action duration degradation" }

Response code

200

Related topics
  • Event types

    Learn the supported event types, along with their severity levels, and the logic behind raising them.

  • Event analytics

    Gain an understanding of the Events section on each host, process, and service overview page.