Run a batch of workflow runs
run_workflow_batchSubmit up to 1,000 documents as one batch of workflow runs (workflows group). Returns a batchId immediately; workflow batches have NO batch-get endpoint — track progress with list_workflow_runs filtered by batchId; do not re-submit the documents.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspaceId": "<workspaceId>",
"environment": "<environment>",
"workflow": "<workflow>",
"inputs": "<inputs>"
},
"name": "run_workflow_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | Yes | 1-1000 documents. | |
| priority | No | Queue priority (1-100). | |
| workflow | Yes | The deployed workflow every run in the batch executes. | |
| environment | Yes | "TEST" = the Test (development) environment, "PRODUCTION" = live. Must match a granted target from get_me (an API key pins one environment). | |
| workspaceId | Yes | Target workspace (ws_...). Must be a granted workspace — get_me lists the accepted values. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batchId | Yes |