Events

Get an 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.

get/api/v1/events/{event_id}

Request

  • Base URL
    https://api.datadoghq.com
  • URL
    https://api.datadoghq.com/api/v1/events/{event_id}
  • Auth
    • API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
    • or OAuth 2
      Authorization code: /oauth2/v1/authorize
      Token URL: /oauth2/v1/token scopes: events_read

Path parameters

event_idinteger required

The ID of the event.

Response

OK

statusstring

A status.

Example response

{
  "event": {
    "alert_type": "info",
    "payload": "{}",
    "priority": "normal",
    "tags": [
      "environment:test"
    ],
    "text": "Oh boy!",
    "title": "Did you hear the news today?"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.