You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: The definition of `WorkflowListItemAttributes` object.
96516
+
properties:
96517
+
createdAt:
96518
+
description: When the workflow was created.
96519
+
format: date-time
96520
+
readOnly: true
96521
+
type: string
96522
+
description:
96523
+
description: Description of the workflow.
96524
+
type: string
96525
+
name:
96526
+
description: Name of the workflow.
96527
+
example: ""
96528
+
type: string
96529
+
published:
96530
+
description: Set the workflow to published or unpublished. Workflows in an unpublished state will only be executable via manual runs. Automatic triggers such as Schedule will not execute the workflow until it is published.
96531
+
type: boolean
96532
+
spec:
96533
+
$ref: "#/components/schemas/Spec"
96534
+
nullable: true
96535
+
tags:
96536
+
description: Tags of the workflow.
96537
+
items:
96538
+
description: A tag string in `key:value` format.
96539
+
type: string
96540
+
type: array
96541
+
updatedAt:
96542
+
description: When the workflow was last updated.
96543
+
format: date-time
96544
+
readOnly: true
96545
+
type: string
96546
+
required:
96547
+
- name
96548
+
type: object
96468
96549
WorkflowTriggerWrapper:
96469
96550
description: "Schema for a Workflow-based trigger."
96470
96551
properties:
@@ -170668,6 +170749,120 @@ paths:
170668
170749
- manage_log_reports
170669
170750
- product_analytics_saved_widgets_write
170670
170751
/api/v2/workflows:
170752
+
get:
170753
+
description: List all workflows in your organization. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key). Alternatively, you can configure these permissions [in the UI](https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access).
170754
+
operationId: ListWorkflows
170755
+
parameters:
170756
+
- description: The maximum number of workflows to return per page.
170757
+
example: 50
170758
+
in: query
170759
+
name: limit
170760
+
required: false
170761
+
schema:
170762
+
default: 50
170763
+
format: int64
170764
+
type: integer
170765
+
- description: The page number to return, starting from 0.
170766
+
example: 0
170767
+
in: query
170768
+
name: page
170769
+
required: false
170770
+
schema:
170771
+
default: 0
170772
+
format: int64
170773
+
type: integer
170774
+
- description: "The sort order for the returned workflows. Provide a comma-separated list of fields, each optionally prefixed with `-` for descending order. Supported fields are `name`, `createdAt`, `updatedAt`, `creatorName`, `ownerName`, and `lastExecutedAt`."
170775
+
example: "-updatedAt"
170776
+
in: query
170777
+
name: sort
170778
+
required: false
170779
+
schema:
170780
+
type: string
170781
+
- description: "A search query used to filter the returned workflows. The query performs a case-insensitive substring match against each workflow's name, creator name, and handle. If the query contains a colon (for example, `team:infra`), it is instead treated as a `key:value` tag filter."
170782
+
example: deploy
170783
+
in: query
170784
+
name: filter[query]
170785
+
required: false
170786
+
schema:
170787
+
type: string
170788
+
- description: Filter the returned workflows by one or more trigger types, such as `monitor`, `schedule`, or `githubWebhook`. Repeat the parameter to filter by multiple trigger types.
170789
+
example:
170790
+
- monitor
170791
+
explode: true
170792
+
in: query
170793
+
name: filter[triggerType]
170794
+
required: false
170795
+
schema:
170796
+
items:
170797
+
type: string
170798
+
type: array
170799
+
- description: Whether to include unpublished workflows in the response.
170800
+
in: query
170801
+
name: filter[includeUnpublished]
170802
+
required: false
170803
+
schema:
170804
+
default: false
170805
+
type: boolean
170806
+
- description: Whether to include the full spec of each workflow in the response. When `false` (the default), each workflow's `spec` is returned as `null`.
description: Create a new workflow, returning the workflow ID. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key). Alternatively, you can configure these permissions [in the UI](https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access).
0 commit comments