Triggers multiple executions of a job with different payloads.
curl --request POST \
--url https://api.strait.dev/v1/jobs/{jobID}/trigger/bulk \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"concurrency_key": "<string>",
"idempotency_key": "<string>",
"payload": "<unknown>",
"priority": 123,
"scheduled_at": "2023-11-07T05:31:56Z",
"tags": {},
"ttl_secs": 123
}
]
}
'{
"batch_id": "<string>",
"created": 123,
"results": [
{
"id": "<string>",
"idempotency_hit": true,
"run_token": "<string>",
"status": "<string>"
}
],
"total": 123,
"$schema": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.strait.dev/llms.txt
Use this file to discover all available pages before exploring further.
API key passed as Bearer token
Show child attributes
curl --request POST \
--url https://api.strait.dev/v1/jobs/{jobID}/trigger/bulk \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"concurrency_key": "<string>",
"idempotency_key": "<string>",
"payload": "<unknown>",
"priority": 123,
"scheduled_at": "2023-11-07T05:31:56Z",
"tags": {},
"ttl_secs": 123
}
]
}
'{
"batch_id": "<string>",
"created": 123,
"results": [
{
"id": "<string>",
"idempotency_hit": true,
"run_token": "<string>",
"status": "<string>"
}
],
"total": 123,
"$schema": "<string>"
}