Gets the details about an event property.
The request produces an application/json payload.
| GET | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/eventProperties/{propertyKey} |
| Environment ActiveGateCluster ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v2/eventProperties/{propertyKey} |
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.
| Parameter | Type | Description | In | Required |
|---|---|---|---|---|
| propertyKey | string | The event property key you're inquiring. | path | required |
| Code | Type | Description |
|---|---|---|
| 200 | Event | Success |
| 4XX | Error | Client side error. |
| 5XX | Error | Server side error. |
EventPropertyDetails objectConfiguration of an event property.
| Element | Type | Description |
|---|---|---|
| description | string | A short description of the event property. |
| displayName | string | The display name of the event property. |
| filterable | boolean | The property can ( |
| key | string | The key of the event property. |
| writable | boolean | The property can ( |
{"description": "string","displayName": "Custom description","filterable": true,"key": "dt.event.description","writable": true}
In this example, the request queries the details of the Custom source event property.
The API token is passed in the Authorization header.
curl --request GET \--url 'https://mySampleEnv.live.dynatrace.com/api/v2/eventProperties/dt.event.source' \--header 'Authorization: Api-Token dt0c01.abc123.abcdefjhij1234567890'
https://mySampleEnv.live.dynatrace.com/api/v2/eventProperties/dt.event.source
{"key": "dt.event.source","displayName": "Custom source","description": "The name or ID of the external source of the event","writable": true}
200