{ "opencollection": "1.0.0", "info": { "name": "Datadog Account Workflows API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "items": [ { "info": { "name": "Workflows", "type": "folder" }, "items": [ { "info": { "name": "Datadog Get All Workflows Webhook Handles", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/integration/ms-teams/configuration/workflows-webhook-handles", "params": [ { "name": "name", "value": "", "type": "query", "description": "Your Workflows webhook handle name." } ] }, "docs": "Get a list of all Workflows webhook handles from the Datadog Microsoft Teams integration." }, { "info": { "name": "Datadog Create Workflows Webhook Handle", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.{site}/api/v2/integration/ms-teams/configuration/workflows-webhook-handles", "body": { "type": "json", "data": "{}" } }, "docs": "Create a Workflows webhook handle in the Datadog Microsoft Teams integration." }, { "info": { "name": "Datadog Get Workflows Webhook Handle Information", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/:handle_id", "params": [ { "name": "handle_id", "value": "", "type": "path", "description": "Your Workflows webhook handle id." } ] }, "docs": "Get the name of a Workflows webhook handle from the Datadog Microsoft Teams integration." }, { "info": { "name": "Datadog Update Workflows Webhook Handle", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/:handle_id", "params": [ { "name": "handle_id", "value": "", "type": "path", "description": "Your Workflows webhook handle id." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a Workflows webhook handle from the Datadog Microsoft Teams integration." }, { "info": { "name": "Datadog Delete Workflows Webhook Handle", "type": "http" }, "http": { "method": "DELETE", "url": "https://{subdomain}.{site}/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/:handle_id", "params": [ { "name": "handle_id", "value": "", "type": "path", "description": "Your Workflows webhook handle id." } ] }, "docs": "Delete a Workflows webhook handle from the Datadog Microsoft Teams integration." }, { "info": { "name": "Datadog Create a Workflow", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.{site}/api/v2/workflows", "body": { "type": "json", "data": "{}" } }, "docs": "Create a new workflow, returning the workflow ID. This API requires an application key scoped with the `workflows_write` permission." }, { "info": { "name": "Datadog Get an Existing Workflow", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/workflows/:workflow_id", "params": [ { "name": "workflow_id", "value": "", "type": "path", "description": "The ID of the workflow." } ] }, "docs": "Get a workflow by ID. This API requires an application key scoped with the `workflows_read` permission." }, { "info": { "name": "Datadog Update an Existing Workflow", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/workflows/:workflow_id", "params": [ { "name": "workflow_id", "value": "", "type": "path", "description": "The ID of the workflow." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a workflow by ID. This API requires an application key scoped with the `workflows_write` permission." }, { "info": { "name": "Datadog Delete an Existing Workflow", "type": "http" }, "http": { "method": "DELETE", "url": "https://{subdomain}.{site}/api/v2/workflows/:workflow_id", "params": [ { "name": "workflow_id", "value": "", "type": "path", "description": "The ID of the workflow." } ] }, "docs": "Delete a workflow by ID. This API requires an application key scoped with the `workflows_write` permission." }, { "info": { "name": "Datadog List Workflow Instances", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/workflows/:workflow_id/instances", "params": [ { "name": "workflow_id", "value": "", "type": "path", "description": "The ID of the workflow." }, { "name": "page[size]", "value": "", "type": "query", "description": "Size for a given page. The maximum allowed value is 100." }, { "name": "page[number]", "value": "", "type": "query", "description": "Specific page number to return." } ], "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "List all instances of a given workflow. This API requires an application key scoped with the workflows_read permission." }, { "info": { "name": "Datadog Execute a Workflow", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.{site}/api/v2/workflows/:workflow_id/instances", "params": [ { "name": "workflow_id", "value": "", "type": "path", "description": "The ID of the workflow." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Execute the given workflow. This API requires an application key scoped with the workflows_run permission." }, { "info": { "name": "Datadog Get a Workflow Instance", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/workflows/:workflow_id/instances/:instance_id", "params": [ { "name": "workflow_id", "value": "", "type": "path", "description": "The ID of the workflow." }, { "name": "instance_id", "value": "", "type": "path", "description": "The ID of the workflow instance." } ], "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Get a specific execution of a given workflow. This API requires an application key scoped with the workflows_read permission." }, { "info": { "name": "Datadog Cancel a Workflow Instance", "type": "http" }, "http": { "method": "PUT", "url": "https://{subdomain}.{site}/api/v2/workflows/:workflow_id/instances/:instance_id/cancel", "params": [ { "name": "workflow_id", "value": "", "type": "path", "description": "The ID of the workflow." }, { "name": "instance_id", "value": "", "type": "path", "description": "The ID of the workflow instance." } ] }, "docs": "Cancels a specific execution of a given workflow. This API requires an application key scoped with the workflows_run permission." } ] } ], "bundled": true }