How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Datadog Events API

The Event Management API allows you to programmatically post events to the Events Explorer and fetch events from the Events Explorer. See the [Event Management page](https://docs.datadoghq.com/service_management/events/) for more information.**Update to Datadog monitor events `aggregation_key` starting March 1, 2025:** The Datadog monitor events `aggregation_key` is unique to each Monitor ID. Starting March 1st, this key will also include Monitor Group, making it unique per *Monitor ID and Monitor Group*. If you're using monitor events `aggregation_key` in dashboard queries or the Event API, you must migrate to use `@monitor.id`. Reach out to [support](https://www.datadoghq.com/support/) if you have any question.

Datadog Events API is one of 186 APIs that Datadog publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 4 JSON Schema definitions.

Tagged areas include Event. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, an API reference, and 4 JSON Schemas.

This API exposes 14 operations across 13 paths, and defines 133 schemas. It is described by OpenAPI 3.2.0, at version 1.0.

Requests are made against 3 base URLs: https://{subdomain}.{site}, {protocol}://{name}, https://api.datadoghq.com.

14 operations 13 paths 133 schemas 6 GET8 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Base URL
https://api.datadoghq.com
Authentication
OAuth 2.0, API Key, API Key, HTTP Bearer
Resource Areas
1

Authentication & Security 4

Datadog Events API declares 4 security schemes for authenticating requests. It supports OAuth 2.0 (AuthZ) using the authorizationCode flow, exposing 68 scopes. An API key is passed in the header as DD-API-KEY (apiKeyAuth). An API key is passed in the header as DD-APPLICATION-KEY (appKeyAuth). It accepts HTTP bearer tokens (bearerAuth).

  • AuthZ — This API uses OAuth 2 with the implicit grant flow.
  • apiKeyAuth — Your Datadog API Key.
  • appKeyAuth — Your Datadog APP Key.

Paths & Operations 14

Across 13 paths, the API surfaces 14 operations — 6 GET, 8 POST. Each is listed below with its method, path, parameters, and response codes.

Events 14

The Event Management API allows you to programmatically post events to the Events Explorer and fetch events from the Events Explorer.

POST
/api/v2/ci/pipeline
Datadog Send Pipeline Event
CreateCIAppPipelineEvent body → 202400401403408413429500
GET
/api/v2/ci/pipelines/events
Datadog Get a List of Pipelines Events
ListCIAppPipelineEvents 6 params → 200400403429
POST
/api/v2/ci/pipelines/events/search
Datadog Search Pipelines Events
SearchCIAppPipelineEvents body → 200400403429
GET
/api/v2/ci/tests/events
Datadog Get a List of Tests Events
ListCIAppTestEvents 6 params → 200400403429
POST
/api/v2/ci/tests/events/search
Datadog Search Tests Events
SearchCIAppTestEvents body → 200400403429
POST
/api/v2/dora/failures
Datadog Get a List of Failure Events
ListDORAFailures body → 200400403429
GET
/api/v2/dora/failures/{failure_id}
Datadog Get a Failure Event
GetDORAFailure 1 param → 200400403429
POST
/api/v2/dora/incident
Datadog Send an Incident Event for Dora Metrics
CreateDORAIncident body → 200202400403429
GET
/api/v2/events
Datadog Get a List of Events
ListEvents 6 params → 200400403429
POST
/api/v2/events
Datadog Post an Event
CreateEvent body → 200400403429
POST
/api/v2/events/search
Datadog Search Events
SearchEvents body → 200400403429
GET
/api/v2/rum/events
Datadog Get a List of Rum Events
ListRUMEvents 6 params → 200400403429
POST
/api/v2/rum/events/search
Datadog Search Rum Events
SearchRUMEvents body → 200400403429
GET
/api/v2/events/{event_id}
Datadog Get an Event
getEvent 1 param → 200401403404

Schemas 133

The contract defines 133 schemas that model the data the API accepts and returns. The most detailed are CIAppPipelineEventFinishedPipeline (20 properties), EventAttributes (19 properties), CIAppPipelineEventStep (19 properties), CIAppPipelineEventInProgressPipeline (19 properties). Each schema is shown below with its type and property counts.

CIAppPipelineEventsResponse
object
Response object with all pipeline events matching the request and pagination information.
3 properties
APIErrorResponse
object
API error response.
1 property 1 required
Event
object
The metadata associated with a request.
4 properties
CIAppResponseStatus
string
The status of the response.
RUMSearchEventsRequest
object
The request for a RUM events list.
4 properties
DORAFetchResponse
object
Response for the DORA fetch endpoints.
1 property
CIAppHostInfo
objectnull
Contains information of the host running the pipeline, stage, job, or step.
4 properties
DORAListFailuresRequestDataType
string
The definition of DORAListFailuresRequestDataType object.
CIAppTestEventsResponse
object
Response object with all test events matching the request and pagination information.
3 properties
CIAppPipelinesQueryFilter
object
The search and filter query settings.
3 properties
ChangeEventCustomAttributesChangedResource
object
Object representing a uniquely identified resource.
2 properties 2 required
RUMQueryPageOptions
object
Paging attributes for listing events.
2 properties
CIAppPipelineEventAttributes
object
JSON object containing all event attributes and their associated values.
3 properties
CIAppPipelineEventJobLevel
string
Used to distinguish between pipelines, stages, jobs, and steps.
CIAppTestEventTypeName
string
Type of the event.
MonitorType
objectnull
Attributes from the monitor that triggered the event.
11 properties
CIAppCreatePipelineEventRequestAttributesResource
Details of the CI pipeline event.
EventCategory
string
Event category to identify the type of event. Only the value change is supported. Support for other categories are coming. please reach out to datadog support…
ChangeEventCustomAttributes
object
Object representing custom change event attributes.
6 properties 1 required
CIAppPipelineEventParentPipeline
objectnull
If the pipeline is triggered as child of another pipeline, this should contain the details of the parent pipeline.
2 properties 1 required
DORAGitInfo
object
Git info for DORA Metrics events.
2 properties 2 required
CIAppSort
string
Sort parameters when querying events.
CIAppTestLevel
string
Test run level.
EventResponseAttributes
object
The object description of an event response attribute.
4 properties
ChangeEventCustomAttributesAuthorType
string
Author's type.
CIAppTestEventsRequest
object
The request for a tests search.
4 properties
CIAppPipelineEventPreviousPipeline
objectnull
If the pipeline is a retry, this should contain the details of the previous attempt.
2 properties 1 required
DORAListFailuresRequestAttributes
object
Attributes to get a list of failures.
5 properties
RUMQueryOptions
object
Global query options that are used during the query. Note: Only supply timezone or time offset, not both. Otherwise, the query fails.
2 properties
DORAIncidentRequestData
object
The JSON:API data.
1 property 1 required
CIAppPipelineEventMetrics
arraynull
A list of user-defined metrics. The metrics must follow the key:value pattern and the value must be numeric.
CIAppPipelineEventStageStatus
string
The final status of the stage.
HTTPCIAppErrors
object
Errors occurred.
1 property
CIAppPipelineEventStage
object
Details of a CI stage.
16 properties 8 required
EventStatusType
string
If an alert event is enabled, its status is one of the following: failure, error, warning, info, success, userupdate, recommendation, or snapshot.
EventsResponseMetadata
object
The metadata associated with a request.
5 properties
CIAppPipelineEventPipeline
Details of the top level pipeline, build, or workflow of your CI.
CIAppPipelineEventTypeName
string
Type of the event.
EventsListRequest
object
The object sent with the request to retrieve a list of events from your organization.
4 properties
CIAppCreatePipelineEventRequestDataType
string
Type of the event.
EventsWarning
object
A warning message indicating something is wrong with the query.
3 properties
CIAppCreatePipelineEventRequestAttributes
object
Attributes of the pipeline event to create.
4 properties 1 required
RUMResponseLinks
object
Links attributes.
1 property
EventPayloadAttributes
JSON object for custom attributes. Schema are different per each event category.
ChangeEventCustomAttributesAuthor
object
Object representing the entity which made the change. Optional field but if provided should include type and name.
2 properties 2 required
CIAppResponsePage
object
Paging attributes.
1 property
CIAppTestEvent
object
Object description of test event after being processed and stored by Datadog.
3 properties
ChangeEventCustomAttributesImpactedResourcesItemsType
string
Resource's type.
CIAppCIError
objectnull
Contains information of the CI error.
4 properties
EventCreateResponseAttributesAttributesEvt
object
JSON object of event system attributes.
1 property
CIAppPipelineEventStepStatus
string
The final status of the step.
RUMEventsResponse
object
Response object with all events matching the request and pagination information.
3 properties
EventsQueryFilter
object
The search and filter query settings.
3 properties
CIAppCreatePipelineEventRequestData
object
Data of the pipeline event to create.
2 properties
GitRepositoryURL
string
Git Repository URL
JSONAPIErrorItemSource
object
References to the source of the error.
3 properties
DORAIncidentResponse
object
Response after receiving a DORA incident event.
1 property 1 required
RUMResponseMetadata
object
The metadata associated with a request.
5 properties
DORAIncidentType
string
JSON:API type for DORA incident events.
JSONAPIErrorItem
object
API error response body
5 properties
CIAppEventAttributes
object
JSON object containing all event attributes and their associated values.
3 properties
CIAppTestsQueryFilter
object
The search and filter query settings.
3 properties
GitCommitSHA
string
Git Commit SHA.
EventsListResponse
object
The response object with all events matching the request and pagination information.
3 properties
EventCreateRequestType
string
Entity type.
RUMWarning
object
A warning message indicating something that went wrong with the query.
3 properties
RUMEvent
object
Object description of a RUM event after being processed and stored by Datadog.
3 properties
CIAppPipelineLevel
string
Pipeline execution level.
EventCreateResponseAttributes
object
JSON object containing all events attributes and their associated values.
1 property
CIAppCreatePipelineEventRequest
object
Request object.
1 property
CIAppPipelineEventStageLevel
string
Used to distinguish between pipelines, stages, jobs and steps.
EventsSort
string
The sort parameters when querying events.
DORAIncidentRequest
object
Request to create a DORA incident event.
1 property 1 required
EventPriority
stringnull
The priority of the event's monitor. For example, normal or low.
ChangeEventCustomAttributesChangedResourceType
string
Resource's type.
RUMEventType
string
Type of the event.
CIAppQueryOptions
object
Global query options that are used during the query. Only supply timezone or time offset, not both. Otherwise, the query fails.
2 properties
DORAIncidentResponseData
object
Response after receiving a DORA incident event.
2 properties 1 required
CIAppWarning
object
A warning message indicating something that went wrong with the query.
3 properties
HTTPCIAppError
object
List of errors.
3 properties
CIAppPipelineEventsRequest
object
The request for a pipelines search.
4 properties
DORAListFailuresRequest
object
Request to get a list of failures.
1 property 1 required
TagsEventAttribute
array
Array of tags associated with your event.
EventsListResponseLinks
object
Links attributes.
1 property
RUMSort
string
Sort parameters when querying events.
EventResponse
object
The object description of an event after being processed and stored by Datadog.
3 properties
EventCreateRequest
object
Object representing an event creation request.
2 properties
JSONAPIErrorResponse
object
API error response.
1 property 1 required
EventAttributes
object
Object description of attributes from your event.
19 properties
CIAppPipelineEventFinishedPipeline
object
Details of a finished pipeline.
20 properties 8 required
CIAppResponseLinks
object
Links attributes.
1 property
EventsResponseMetadataPage
object
Pagination attributes.
1 property
EventsRequestPage
object
Pagination settings.
2 properties
EventCreateResponseAttributesAttributes
object
JSON object of attributes from your events.
1 property
DORAListResponse
object
Response for the DORA list endpoints.
1 property
CIAppPipelineEventStepLevel
string
Used to distinguish between pipelines, stages, jobs and steps.
CIAppPipelineEventTags
arraynull
A list of user-defined tags. The tags must follow the key:value pattern.
RUMResponseStatus
string
The status of the response.
EventCreateResponse
object
Object containing an event response.
2 properties
CIAppPipelineEventPipelineStatus
string
The final status of the pipeline.
RUMEventAttributes
object
JSON object containing all event attributes and their associated values.
4 properties
CIAppPipelineEventPipelineLevel
string
Used to distinguish between pipelines, stages, jobs, and steps.
EventType
string
Type of the event.
DORAListFailuresRequestData
object
The JSON:API data.
2 properties 1 required
CIAppCIErrorDomain
string
Error category used to differentiate between issues related to the developer or provider environments.
CIAppPipelineEvent
object
Object description of a pipeline event after being processed and stored by Datadog.
3 properties
DORAEvent
object
A DORA event.
3 properties
EventCreateResponsePayload
object
Response containing information about created event.
1 property
RUMQueryFilter
object
The search and filter query settings.
3 properties
CIAppGitInfo
objectnull
If pipelines are triggered due to actions to a Git repository, then all payloads must contain this. Note that either tag or branch has to be provided, but not…
12 properties 3 required
CIAppResponseMetadataWithPagination
object
The metadata associated with a request.
5 properties
EventPayload
object
Event attributes.
7 properties 3 required
CIAppPipelineEventStep
object
Details of a CI step.
19 properties 8 required
ChangeEventCustomAttributesImpactedResourcesItems
object
Object representing a uniquely identified resource. Only the resource type service is supported.
2 properties 2 required
CIAppPipelineEventInProgressPipeline
object
Details of a running pipeline.
19 properties 7 required
CIAppPipelineEventPipelineInProgressStatus
string
The in progress status of the pipeline.
DORAIncidentRequestAttributes
object
Attributes to create a DORA incident event.
10 properties 1 required
CIAppPipelineEventParameters
objectnull
A map of key-value parameters or environment variables that were defined for the pipeline.
CIAppQueryPageOptions
object
Paging attributes for listing events.
2 properties
EventsQueryOptions
object
The global query options that are used. Either provide a timezone or a time offset but not both, otherwise the query fails.
2 properties
RUMResponsePage
object
Paging attributes.
1 property
CIAppPipelineEventJobStatus
string
The final status of the job.
EventCreateRequestPayload
object
Payload for creating an event.
1 property
CIAppPipelineEventJob
object
Details of a CI job.
19 properties 9 required
EventAttributes_2
object
The attributes of an event returned from the Events Explorer
11 properties
APIErrorResponse_2
object
Standard API error response returned for failed requests
1 property 1 required
EventResponse_2
object
Response wrapper for a single event
1 property
EventCreateResponse_2
object
Response indicating an event was accepted for processing
2 properties
EventsListResponse_2
object
Response containing a paginated list of events from the Events Explorer
3 properties
Event_2
object
A single event from the Datadog Events Explorer
3 properties
EventsSearchRequest
object
Request body for searching events using the Events Explorer query language
3 properties
EventCreateRequest_2
object
Request body for creating a new event in the Datadog Events Explorer
1 property 1 required
EventCreateAttributes
object
The attributes for a new event to be created
9 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

datadog-events-api-openapi.yml Raw ↑

Other APIs Datadog publishes across the network.

Datadog Dashboards API
Datadog Synthetics API
Datadog Service Level Objectives API
Datadog Security Monitoring API
Datadog Service Definition API
Datadog Software Catalog API
Datadog Users API
Datadog Roles API
Datadog Key Management API
Datadog Organizations API
Datadog Downtimes API
Datadog RUM API
Where this information came from

This is an independent, third-party profile of Datadog Events API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.