Events API v2 - GET an event type

Gets the properties of an event type.

The request produces an application/json payload.

Early Adopter

This request is an Early Adopter release and may be changed in non-compatible way.

GET
  • Managed https://{your-domain}/e/{your-environment-id}/api/v2/eventTypes/{eventType}
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v2/eventTypes/{eventType}
  • Environment ActiveGate https://{your-activegate-domain}/e/{your-environment-id}/api/v2/eventTypes/{eventType}

Authentication

To execute this request, you need the Read events (events.read) permission assigned to your API token. To learn how to obtain and use it, see Tokens and authentication.

Parameters

Parameter Type Description In Required
eventType string

The event type you're inquiring.

path required

Response

Response codes

Code Description
200

Success

Response body

The EventType object

Configuration of an event type.

Element Type Description
severityLevel string

The severity level associated with the event type.

type string

The event type.

displayName string

The display name of the event type.

description string

A short description of the event type.

Example

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

The API token is passed in the Authorization header.

Curl

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

Requst URL

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

Response body

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

Response code

200