Get Event
This endpoint allows you to query for event details.
Note: If the event you’re querying contains markdown formatting of any kind,
you may see characters such as %
,\
,n
in your output.
External Documentation
To learn more, visit the Datadog documentation.
Parameters
Parameter | Description |
---|---|
Event ID | The ID of the event. Note: use the id_str attribute when referencing an Event object. |
Example Output
{
"event": {
"alert_type": "info",
"date_happened": 0,
"device_name": "device_name",
"host": "host",
"id": 6,
"payload": "{}",
"priority": "normal",
"source_type_name": "source_type_name",
"tags": [
"environment:test"
],
"text": "Oh boy!",
"title": "Did you hear the news today?",
"url": "url"
},
"status": "status"
}
Workflow Library Example
Get Event with Datadog and Send Results Via Email