v1

latestOpenAPI 3.0.22026-07-144652931.4 MB
Event Enrichments

Get Event Enrichment rules

Event Enrichments allow you to automatically add contextual data to events as they're ingested, so that relevant information is available throughout the event, alert, and incident lifecycle. By leveraging the Contextual Data Platform (CDP), you can define rules that extract values from events or query enrichment schemas to populate event fields.

<!-- theme: warning -->

Early Access

This API is in Early Access and may change at any time. Contact your PagerDuty account team to request access.

Get the rules associated with an Event Enrichment.

get/enrichment/event_enrichments/{id}/rules

Path parameters

idstring required

The ID of the Event Enrichment.

Headers

Acceptstring required

The Accept header is used as a versioning header.

Response

The Event Enrichment rules (orchestration path).

Example response

{
  "orchestration_path": {
    "sets": [
      {
        "rules": [
          {
            "conditions": [
              {
                "expression": "event.summary matches part 'my service error'"
              }
            ]
          }
        ]
      }
    ]
  }
}