@@ -8725,6 +8725,65 @@ components:
87258725 page:
87268726 $ref: '#/components/schemas/Pagination'
87278727 type: object
8728+ RunWorkflowWidgetDefinition:
8729+ description: Run workflow is widget that allows you to run a workflow from a
8730+ dashboard.
8731+ properties:
8732+ custom_links:
8733+ description: List of custom links.
8734+ items:
8735+ $ref: '#/components/schemas/WidgetCustomLink'
8736+ type: array
8737+ inputs:
8738+ description: Array of workflow inputs to map to dashboard template variables.
8739+ items:
8740+ $ref: '#/components/schemas/RunWorkflowWidgetInput'
8741+ type: array
8742+ time:
8743+ $ref: '#/components/schemas/WidgetTime'
8744+ title:
8745+ description: Title of your widget.
8746+ type: string
8747+ title_align:
8748+ $ref: '#/components/schemas/WidgetTextAlign'
8749+ title_size:
8750+ description: Size of the title.
8751+ type: string
8752+ type:
8753+ $ref: '#/components/schemas/RunWorkflowWidgetDefinitionType'
8754+ workflow_id:
8755+ description: Workflow id.
8756+ example: <workflow_id>
8757+ type: string
8758+ required:
8759+ - type
8760+ - workflow_id
8761+ type: object
8762+ RunWorkflowWidgetDefinitionType:
8763+ default: run_workflow
8764+ description: Type of the run workflow widget.
8765+ enum:
8766+ - run_workflow
8767+ example: run_workflow
8768+ type: string
8769+ x-enum-varnames:
8770+ - RUN_WORKFLOW
8771+ RunWorkflowWidgetInput:
8772+ description: Object to map a dashboard template variable to a workflow input.
8773+ properties:
8774+ name:
8775+ description: Name of the workflow input.
8776+ example: Environment
8777+ type: string
8778+ value:
8779+ description: Dashboard template variable. Can be suffixed with '.value'
8780+ or '.key'.
8781+ example: $env.value
8782+ type: string
8783+ required:
8784+ - name
8785+ - value
8786+ type: object
87288787 SLOBulkDelete:
87298788 additionalProperties:
87308789 description: An array of all SLO timeframes.
@@ -18278,6 +18337,7 @@ components:
1827818337 - $ref: '#/components/schemas/MonitorSummaryWidgetDefinition'
1827918338 - $ref: '#/components/schemas/NoteWidgetDefinition'
1828018339 - $ref: '#/components/schemas/QueryValueWidgetDefinition'
18340+ - $ref: '#/components/schemas/RunWorkflowWidgetDefinition'
1828118341 - $ref: '#/components/schemas/ScatterPlotWidgetDefinition'
1828218342 - $ref: '#/components/schemas/SLOWidgetDefinition'
1828318343 - $ref: '#/components/schemas/SLOListWidgetDefinition'
0 commit comments