@@ -38267,6 +38267,19 @@ components:
3826738267 example: "One or several indexes are missing or invalid. Results hold data from the other indexes."
3826838268 type: string
3826938269 type: object
38270+ ExecutionLimit:
38271+ description: "The maximum number of times to execute a workflow for an incident."
38272+ properties:
38273+ count:
38274+ description: "The maximum number of workflow executions."
38275+ example: 1
38276+ format: int32
38277+ maximum: 9999
38278+ minimum: 1
38279+ type: integer
38280+ required:
38281+ - count
38282+ type: object
3827038283 ExecutionPolicyActionPattern:
3827138284 description: The set of actions this policy applies to.
3827238285 properties:
@@ -48450,6 +48463,15 @@ components:
4845048463 type: string
4845148464 x-enum-varnames:
4845248465 - INCIDENT_ATTACHMENTS
48466+ IncidentCondition:
48467+ description: "Conditions that determine which incidents trigger the workflow."
48468+ properties:
48469+ tagValues:
48470+ description: "Incident tags and values used to filter matching incidents."
48471+ items:
48472+ $ref: "#/components/schemas/IncidentTagValue"
48473+ type: array
48474+ type: object
4845348475 IncidentConfigurationDataAttributesRequest:
4845448476 description: Attributes for creating an incident configuration.
4845548477 properties:
@@ -48803,6 +48825,25 @@ components:
4880348825 required:
4880448826 - data
4880548827 type: object
48828+ IncidentCreatedTrigger:
48829+ description: "Trigger a workflow when an incident is declared."
48830+ properties:
48831+ incidentType:
48832+ description: "The type of incident that triggers the workflow."
48833+ type: string
48834+ tagCondition:
48835+ $ref: "#/components/schemas/IncidentCondition"
48836+ type: object
48837+ IncidentCreatedTriggerWrapper:
48838+ description: "Schema for an incident declared trigger."
48839+ properties:
48840+ incidentCreatedTrigger:
48841+ $ref: "#/components/schemas/IncidentCreatedTrigger"
48842+ startStepNames:
48843+ $ref: "#/components/schemas/StartStepNames"
48844+ required:
48845+ - incidentCreatedTrigger
48846+ type: object
4880648847 IncidentFieldAttributes:
4880748848 description: Dynamic fields for which selections can be made, with field names as keys.
4880848849 oneOf:
@@ -49482,6 +49523,27 @@ components:
4948249523 required:
4948349524 - data
4948449525 type: object
49526+ IncidentImpactCreatedTrigger:
49527+ description: "Trigger a workflow when an impact is created for an incident."
49528+ properties:
49529+ executionLimit:
49530+ $ref: "#/components/schemas/ExecutionLimit"
49531+ incidentType:
49532+ description: "The type of incident that triggers the workflow."
49533+ type: string
49534+ tagCondition:
49535+ $ref: "#/components/schemas/IncidentCondition"
49536+ type: object
49537+ IncidentImpactCreatedTriggerWrapper:
49538+ description: "Schema for an incident impact created trigger."
49539+ properties:
49540+ incidentImpactCreatedTrigger:
49541+ $ref: "#/components/schemas/IncidentImpactCreatedTrigger"
49542+ startStepNames:
49543+ $ref: "#/components/schemas/StartStepNames"
49544+ required:
49545+ - incidentImpactCreatedTrigger
49546+ type: object
4948549547 IncidentImpactFieldChoice:
4948649548 description: A choice option for a dropdown or multiselect impact field.
4948749549 properties:
@@ -49780,6 +49842,27 @@ components:
4978049842 type: string
4978149843 x-enum-varnames:
4978249844 - INCIDENT_IMPACTS
49845+ IncidentImpactUpdatedTrigger:
49846+ description: "Trigger a workflow when an impact is updated for an incident."
49847+ properties:
49848+ executionLimit:
49849+ $ref: "#/components/schemas/ExecutionLimit"
49850+ incidentType:
49851+ description: "The type of incident that triggers the workflow."
49852+ type: string
49853+ tagCondition:
49854+ $ref: "#/components/schemas/IncidentCondition"
49855+ type: object
49856+ IncidentImpactUpdatedTriggerWrapper:
49857+ description: "Schema for an incident impact updated trigger."
49858+ properties:
49859+ incidentImpactUpdatedTrigger:
49860+ $ref: "#/components/schemas/IncidentImpactUpdatedTrigger"
49861+ startStepNames:
49862+ $ref: "#/components/schemas/StartStepNames"
49863+ required:
49864+ - incidentImpactUpdatedTrigger
49865+ type: object
4978349866 IncidentImpactsResponse:
4978449867 description: Response with a list of incident impacts.
4978549868 properties:
@@ -51001,6 +51084,27 @@ components:
5100151084 type: string
5100251085 x-enum-varnames:
5100351086 - INCIDENT_POSTMORTEMS
51087+ IncidentPostmortemUpdatedTrigger:
51088+ description: "Trigger a workflow when a postmortem is updated for an incident."
51089+ properties:
51090+ executionLimit:
51091+ $ref: "#/components/schemas/ExecutionLimit"
51092+ incidentType:
51093+ description: "The type of incident that triggers the workflow."
51094+ type: string
51095+ tagCondition:
51096+ $ref: "#/components/schemas/IncidentCondition"
51097+ type: object
51098+ IncidentPostmortemUpdatedTriggerWrapper:
51099+ description: "Schema for an incident postmortem updated trigger."
51100+ properties:
51101+ incidentPostmortemUpdatedTrigger:
51102+ $ref: "#/components/schemas/IncidentPostmortemUpdatedTrigger"
51103+ startStepNames:
51104+ $ref: "#/components/schemas/StartStepNames"
51105+ required:
51106+ - incidentPostmortemUpdatedTrigger
51107+ type: object
5100451108 IncidentRelatedObject:
5100551109 description: Object related to an incident.
5100651110 enum:
@@ -51031,6 +51135,27 @@ components:
5103151135 type: string
5103251136 x-enum-varnames:
5103351137 - INCIDENTS
51138+ IncidentResponderCreatedTrigger:
51139+ description: "Trigger a workflow when a responder is created for an incident."
51140+ properties:
51141+ executionLimit:
51142+ $ref: "#/components/schemas/ExecutionLimit"
51143+ incidentType:
51144+ description: "The type of incident that triggers the workflow."
51145+ type: string
51146+ tagCondition:
51147+ $ref: "#/components/schemas/IncidentCondition"
51148+ type: object
51149+ IncidentResponderCreatedTriggerWrapper:
51150+ description: "Schema for an incident responder created trigger."
51151+ properties:
51152+ incidentResponderCreatedTrigger:
51153+ $ref: "#/components/schemas/IncidentResponderCreatedTrigger"
51154+ startStepNames:
51155+ $ref: "#/components/schemas/StartStepNames"
51156+ required:
51157+ - incidentResponderCreatedTrigger
51158+ type: object
5103451159 IncidentResponderDataAttributesResponse:
5103551160 description: Attributes of an incident responder in a response.
5103651161 properties:
@@ -51784,6 +51909,55 @@ components:
5178451909 required:
5178551910 - data
5178651911 type: object
51912+ IncidentSavedTrigger:
51913+ description: "Trigger a workflow when an incident is declared or updated."
51914+ properties:
51915+ executionLimit:
51916+ $ref: "#/components/schemas/ExecutionLimit"
51917+ incidentType:
51918+ description: "The type of incident that triggers the workflow."
51919+ type: string
51920+ serialExecution:
51921+ $ref: "#/components/schemas/SerialExecution"
51922+ tagCondition:
51923+ $ref: "#/components/schemas/IncidentCondition"
51924+ type: object
51925+ IncidentSavedTriggerWrapper:
51926+ description: "Schema for an incident declared or updated trigger."
51927+ properties:
51928+ incidentSavedTrigger:
51929+ $ref: "#/components/schemas/IncidentSavedTrigger"
51930+ startStepNames:
51931+ $ref: "#/components/schemas/StartStepNames"
51932+ required:
51933+ - incidentSavedTrigger
51934+ type: object
51935+ IncidentScheduleTrigger:
51936+ description: "Trigger a workflow on a schedule for an incident."
51937+ properties:
51938+ incidentType:
51939+ description: "The type of incident that triggers the workflow."
51940+ type: string
51941+ rrule:
51942+ description: "The recurrence rule for the schedule, expressed as an iCalendar `RRULE` string."
51943+ example: "DTSTART:20241220T151700Z\nRRULE:FREQ=MONTHLY"
51944+ minLength: 1
51945+ type: string
51946+ tagCondition:
51947+ $ref: "#/components/schemas/IncidentCondition"
51948+ required:
51949+ - rrule
51950+ type: object
51951+ IncidentScheduleTriggerWrapper:
51952+ description: "Schema for an incident schedule trigger."
51953+ properties:
51954+ incidentScheduleTrigger:
51955+ $ref: "#/components/schemas/IncidentScheduleTrigger"
51956+ startStepNames:
51957+ $ref: "#/components/schemas/StartStepNames"
51958+ required:
51959+ - incidentScheduleTrigger
51960+ type: object
5178751961 IncidentSearchResponse:
5178851962 description: Response with incidents and facets.
5178951963 properties:
@@ -52077,6 +52251,24 @@ components:
5207752251 - SEV_3
5207852252 - SEV_4
5207952253 - SEV_5
52254+ IncidentTagValue:
52255+ description: "An incident tag and its accepted values."
52256+ properties:
52257+ tag:
52258+ description: "The incident tag to match."
52259+ example: ""
52260+ type: string
52261+ values:
52262+ description: "The accepted values for the incident tag."
52263+ example:
52264+ - ""
52265+ items:
52266+ type: string
52267+ type: array
52268+ required:
52269+ - tag
52270+ - values
52271+ type: object
5208052272 IncidentTimelineCellCreateAttributes:
5208152273 description: The timeline cell's attributes for a create request.
5208252274 oneOf:
@@ -52496,13 +52688,16 @@ components:
5249652688 x-enum-varnames:
5249752689 - INCIDENT_TODOS
5249852690 IncidentTrigger:
52499- description: "Trigger a workflow from an Incident . For automatic triggering a handle must be configured and the workflow must be published."
52691+ description: "Trigger a workflow from an incident . For automatic triggering a handle must be configured and the workflow must be published."
5250052692 properties:
5250152693 rateLimit:
5250252694 $ref: "#/components/schemas/TriggerRateLimit"
52695+ version:
52696+ description: "Version of the incident manual trigger."
52697+ type: string
5250352698 type: object
5250452699 IncidentTriggerWrapper:
52505- description: "Schema for an Incident -based trigger."
52700+ description: "Schema for an incident -based trigger."
5250652701 properties:
5250752702 incidentTrigger:
5250852703 $ref: "#/components/schemas/IncidentTrigger"
@@ -105347,6 +105542,16 @@ components:
105347105542 - REPLACEMENT_STRING
105348105543 - PARTIAL_REPLACEMENT_FROM_BEGINNING
105349105544 - PARTIAL_REPLACEMENT_FROM_END
105545+ SerialExecution:
105546+ description: "Whether to execute the workflow serially for an incident."
105547+ properties:
105548+ enabled:
105549+ description: "Whether serial execution is enabled."
105550+ example: false
105551+ type: boolean
105552+ required:
105553+ - enabled
105554+ type: object
105350105555 ServiceAccessToken:
105351105556 description: Datadog access token.
105352105557 properties:
@@ -108430,12 +108635,38 @@ components:
108430108635 - channel_name
108431108636 - redirect_url
108432108637 type: object
108638+ SlackReactionConfig:
108639+ description: "Configuration for a Slack emoji reaction trigger."
108640+ properties:
108641+ reactionEmoji:
108642+ description: "The Slack emoji reaction name."
108643+ example: L
108644+ minLength: 1
108645+ type: string
108646+ teamId:
108647+ description: "The Slack workspace ID."
108648+ example: L
108649+ minLength: 1
108650+ type: string
108651+ required:
108652+ - teamId
108653+ - reactionEmoji
108654+ type: object
108655+ SlackTrigger:
108656+ description: "Trigger a workflow from Slack. The workflow must be published."
108657+ properties:
108658+ reactionTriggers:
108659+ description: "Slack emoji reactions that trigger the workflow."
108660+ items:
108661+ $ref: "#/components/schemas/SlackReactionConfig"
108662+ type: array
108663+ uniqueItems: true
108664+ type: object
108433108665 SlackTriggerWrapper:
108434108666 description: "Schema for a Slack-based trigger."
108435108667 properties:
108436108668 slackTrigger:
108437- description: "Trigger a workflow from Slack. The workflow must be published."
108438- type: object
108669+ $ref: "#/components/schemas/SlackTrigger"
108439108670 startStepNames:
108440108671 $ref: "#/components/schemas/StartStepNames"
108441108672 required:
@@ -120368,6 +120599,13 @@ components:
120368120599 - $ref: "#/components/schemas/DashboardTriggerWrapper"
120369120600 - $ref: "#/components/schemas/FormTriggerWrapper"
120370120601 - $ref: "#/components/schemas/GithubWebhookTriggerWrapper"
120602+ - $ref: "#/components/schemas/IncidentCreatedTriggerWrapper"
120603+ - $ref: "#/components/schemas/IncidentImpactCreatedTriggerWrapper"
120604+ - $ref: "#/components/schemas/IncidentImpactUpdatedTriggerWrapper"
120605+ - $ref: "#/components/schemas/IncidentPostmortemUpdatedTriggerWrapper"
120606+ - $ref: "#/components/schemas/IncidentResponderCreatedTriggerWrapper"
120607+ - $ref: "#/components/schemas/IncidentSavedTriggerWrapper"
120608+ - $ref: "#/components/schemas/IncidentScheduleTriggerWrapper"
120371120609 - $ref: "#/components/schemas/IncidentTriggerWrapper"
120372120610 - $ref: "#/components/schemas/MonitorTriggerWrapper"
120373120611 - $ref: "#/components/schemas/NotebookTriggerWrapper"
0 commit comments