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.
96519
+
properties:
96520
+
createdAt:
96521
+
description: When the workflow was created.
96522
+
format: date-time
96523
+
readOnly: true
96524
+
type: string
96525
+
description:
96526
+
description: Description of the workflow.
96527
+
type: string
96528
+
name:
96529
+
description: Name of the workflow.
96530
+
example: ""
96531
+
type: string
96532
+
published:
96533
+
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.
96534
+
type: boolean
96535
+
spec:
96536
+
$ref: "#/components/schemas/Spec"
96537
+
nullable: true
96538
+
tags:
96539
+
description: Tags of the workflow.
96540
+
items:
96541
+
description: A tag string in `key:value` format.
96542
+
type: string
96543
+
type: array
96544
+
updatedAt:
96545
+
description: When the workflow was last updated.
96546
+
format: date-time
96547
+
readOnly: true
96548
+
type: string
96549
+
required:
96550
+
- name
96551
+
type: object
96468
96552
WorkflowTriggerWrapper:
96469
96553
description: "Schema for a Workflow-based trigger."
96470
96554
properties:
@@ -170668,6 +170752,120 @@ paths:
170668
170752
- manage_log_reports
170669
170753
- product_analytics_saved_widgets_write
170670
170754
/api/v2/workflows:
170755
+
get:
170756
+
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).
170757
+
operationId: ListWorkflows
170758
+
parameters:
170759
+
- description: The maximum number of workflows to return per page.
170760
+
example: 50
170761
+
in: query
170762
+
name: limit
170763
+
required: false
170764
+
schema:
170765
+
default: 50
170766
+
format: int64
170767
+
type: integer
170768
+
- description: The page number to return, starting from 0.
170769
+
example: 0
170770
+
in: query
170771
+
name: page
170772
+
required: false
170773
+
schema:
170774
+
default: 0
170775
+
format: int64
170776
+
type: integer
170777
+
- 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`."
170778
+
example: "-updatedAt"
170779
+
in: query
170780
+
name: sort
170781
+
required: false
170782
+
schema:
170783
+
type: string
170784
+
- 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."
170785
+
example: deploy
170786
+
in: query
170787
+
name: filter[query]
170788
+
required: false
170789
+
schema:
170790
+
type: string
170791
+
- 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.
170792
+
example:
170793
+
- monitor
170794
+
explode: true
170795
+
in: query
170796
+
name: filter[triggerType]
170797
+
required: false
170798
+
schema:
170799
+
items:
170800
+
type: string
170801
+
type: array
170802
+
- description: Whether to include unpublished workflows in the response.
170803
+
in: query
170804
+
name: filter[includeUnpublished]
170805
+
required: false
170806
+
schema:
170807
+
default: false
170808
+
type: boolean
170809
+
- 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