Run multiple coding tasks concurrently with the /invoke/stdout endpoint.
/invoke/stdout
endpoint supports parallel execution, allowing you to run multiple coding tasks concurrently for faster development workflows. Each task runs independently, and you can track its output in real-time.
parallel_tasks
array in your request to the /invoke/stdout
endpoint. See the Quickstart for details on authentication and other request parameters.
parallel_tasks
array requires the following fields:
Field | Type | Required | Description |
---|---|---|---|
prompt | string | ✅ | The prompt/query for this task. |
task_name | string | ✅ | A unique identifier for the task. |
custom
events from each task, identified by task_name
.
task_name
in the data
payload of custom
events.
Example custom
event from the “testing” task: