@@ -8716,6 +8716,65 @@ components:
87168716 page:
87178717 $ref: '#/components/schemas/Pagination'
87188718 type: object
8719+ RunWorkflowWidgetDefinition:
8720+ description: Run workflow is widget that allows you to run a workflow from a
8721+ dashboard.
8722+ properties:
8723+ custom_links:
8724+ description: List of custom links.
8725+ items:
8726+ $ref: '#/components/schemas/WidgetCustomLink'
8727+ type: array
8728+ inputs:
8729+ description: Array of workflow inputs to map to dashboard template variables.
8730+ items:
8731+ $ref: '#/components/schemas/RunWorkflowWidgetInput'
8732+ type: array
8733+ time:
8734+ $ref: '#/components/schemas/WidgetTime'
8735+ title:
8736+ description: Title of your widget.
8737+ type: string
8738+ title_align:
8739+ $ref: '#/components/schemas/WidgetTextAlign'
8740+ title_size:
8741+ description: Size of the title.
8742+ type: string
8743+ type:
8744+ $ref: '#/components/schemas/RunWorkflowWidgetDefinitionType'
8745+ workflow_id:
8746+ description: Workflow id.
8747+ example: <workflow_id>
8748+ type: string
8749+ required:
8750+ - type
8751+ - workflow_id
8752+ type: object
8753+ RunWorkflowWidgetDefinitionType:
8754+ default: run_workflow
8755+ description: Type of the run workflow widget.
8756+ enum:
8757+ - run_workflow
8758+ example: run_workflow
8759+ type: string
8760+ x-enum-varnames:
8761+ - RUN_WORKFLOW
8762+ RunWorkflowWidgetInput:
8763+ description: Object to map a dashboard template variable to a workflow input.
8764+ properties:
8765+ name:
8766+ description: Name of the workflow input.
8767+ example: Environment
8768+ type: string
8769+ value:
8770+ description: Dashboard template variable. Can be suffixed with '.value'
8771+ or '.key'.
8772+ example: $env.value
8773+ type: string
8774+ required:
8775+ - name
8776+ - value
8777+ type: object
87198778 SLOBulkDelete:
87208779 additionalProperties:
87218780 description: An array of all SLO timeframes.
@@ -18269,6 +18328,7 @@ components:
1826918328 - $ref: '#/components/schemas/MonitorSummaryWidgetDefinition'
1827018329 - $ref: '#/components/schemas/NoteWidgetDefinition'
1827118330 - $ref: '#/components/schemas/QueryValueWidgetDefinition'
18331+ - $ref: '#/components/schemas/RunWorkflowWidgetDefinition'
1827218332 - $ref: '#/components/schemas/ScatterPlotWidgetDefinition'
1827318333 - $ref: '#/components/schemas/SLOWidgetDefinition'
1827418334 - $ref: '#/components/schemas/SLOListWidgetDefinition'
0 commit comments