PAGERDUTY_POST_EVENT_ORCHESTRATION_CACHE_VARIABLES
Creates a new cache variable within a PagerDuty event orchestration. This endpoint allows you to define a cache variable that can store dynamic data related to events, either based on recent values extracted from event fields or by counting trigger events within a specified time range. Cache variables are useful for maintaining state across multiple events and can be used in event routing and automation rules. The created cache variable can be configured with conditions to determine when it should be updated and can be optionally disabled. This tool should be used when setting up complex event orchestrations that require stateful processing or when implementing advanced automation workflows in PagerDuty.
Available from 1 provider (1 remote)
Input Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"title": "Id",
"description": "The ID of an Event Orchestration."
},
"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
Remotepagerduty