Runs

Batch Trigger Workflow Runs

Changed on

Start multiple workflow runs in a single request.

post/v2/batch/trigger

Request

Request body

destinationstring required

The URL of the workflow to trigger.

bodystring

The raw request payload passed to the workflow endpoint as is. You can access it via request payload parameter on the context object.

headersobject

HTTP headers to forward to the workflow. You can pass any headers supported in the single trigger API.

Response

Workflow runs triggered successfully

workflowRunIdstring

The ID of the triggered workflow run.

workflowCreatedAtinteger

The unix timestamp in milliseconds when the workflow run was created.

deduplicatedboolean

Whether the workflow run was deduplicated (i.e. a run with the same ID already existed and a new one was not created).

Changes