PAGERDUTY_MANAGE_CACHE_VARIABLES_FOR_EVENT_SERVICE

Creates a new cache variable for a specific service in PagerDuty's event orchestrations. This endpoint allows you to define a cache variable that can store either the most recent value from an event field or count trigger events within a specified time range. Cache variables are useful for maintaining temporary data related to events, which can be used in event routing and management. The created cache variable can be used to enhance event processing logic and improve incident management workflows.

Available from 1 provider (1 remote)

Input Schema


            {
  "type": "object",
  "properties": {
    "service_id": {
      "type": "string",
      "title": "Service Id",
      "description": "The service ID"
    },
    "cache__variable__id": {
      "type": "string",
      "title": "Cache  Variable  Id",
      "description": "Id"
    },
    "cache__variable__name": {
      "type": "string",
      "title": "Cache  Variable  Name",
      "description": "The name of the Cache Variable"
    },
    "cache__variable__disabled": {
      "type": "boolean",
      "title": "Cache  Variable  Disabled",
      "description": "Indicates whether the Cache Variable is disabled and would therefore not be evaluated. "
    },
    "cache__variable__conditions": {
      "type": "array",
      "items": {
        "type": "object",
        "title": "ConditionsRequest",
        "properties": {
          "expression": {
            "type": "string",
            "title": "Expression",
            "description": "A PCL condition string. Note: The `trigger_count` and `resetting_trigger_count` operators are unsupported for Cache Variables  "
          }
        },
        "description": "Request schema for `Conditions`"
      },
      "title": "Cache  Variable  Conditions",
      "description": "Each of these conditions is evaluated to check if an event matches this rule. The rule is considered a match if **any** of these conditions match. "
    },
    "cache__variable__created__at": {
      "type": "string",
      "title": "Cache  Variable  Created  At",
      "format": "date-time",
      "description": "The date/time the object was created."
    },
    "cache__variable__updated__at": {
      "type": "string",
      "title": "Cache  Variable  Updated  At",
      "format": "date-time",
      "description": "The date/time the object was last updated."
    },
    "cache__variable__configuration": {
      "type": "object",
      "title": "Cache  Variable  Configuration",
      "description": "Configuration",
      "additionalProperties": true
    },
    "cache__variable__created__by__id": {
      "type": "string",
      "title": "Cache  Variable  Created  By  Id",
      "description": "Id"
    },
    "cache__variable__updated__by__id": {
      "type": "string",
      "title": "Cache  Variable  Updated  By  Id",
      "description": "Id"
    },
    "cache__variable__created__by__self": {
      "type": "string",
      "title": "Cache  Variable  Created  By  Self",
      "format": "url",
      "description": "The API show URL at which the object is accessible"
    },
    "cache__variable__created__by__type": {
      "type": "string",
      "title": "Cache  Variable  Created  By  Type",
      "description": "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference. "
    },
    "cache__variable__updated__by__self": {
      "type": "string",
      "title": "Cache  Variable  Updated  By  Self",
      "format": "url",
      "description": "The API show URL at which the object is accessible"
    },
    "cache__variable__updated__by__type": {
      "type": "string",
      "title": "Cache  Variable  Updated  By  Type",
      "description": "A string that determines the schema of the object. This must be the standard name for the entity, suffixed by `_reference` if the object is a reference. "
    }
  }
}
          

Remote Providers (1)

These servers are accessible over the network — no local installation needed.

PagerDuty

Remote

pagerduty

View product →