Skip to main content

Overview

Trigger up to 1,000 task runs in one request. Two endpoints are available:
Authentication with a secret key is required. This endpoint is not available with a Personal Access Token.

Batch trigger a single task

All items in the request run the task identified by taskIdentifier.

Path parameters

string
required
The id of the task to run for every item in the batch.

Request body

object[]
required
Array of up to 1,000 trigger request objects. Each item has the same shape as the single trigger request body:

Response

string
The ID of the created batch, prefixed with batch_.
string[]
An array of run IDs created by this batch, one per item.

Examples


Batch trigger multiple tasks

Each item can target a different task. Useful for fan-out workflows.

Request body

object[]
required
Array of up to 1,000 items. Each item must include a task field in addition to the standard trigger properties.

Response

string
The ID of the created batch.
string[]
An array of run IDs, one per item.

Example

cURL