Skip to main content
POST
/
api
/
v1
/
flows
/
executions
/
bulk
Bulk Execute Flows
curl --request POST \
  --url https://agent-studio.thena.ai/api/v1/flows/executions/bulk \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "flow_ids": [
    "<string>"
  ],
  "trigger_type": "manual",
  "variables": {},
  "priority": "normal",
  "metadata": {}
}'
{
  "total_requested": 123,
  "successful_queued": 123,
  "failed_queued": 123,
  "execution_ids": [
    "<string>"
  ],
  "errors": [
    "<string>"
  ]
}

Authorizations

x-api-key
string
header
required

Body

application/json

Request for bulk flow execution.

flow_ids
string[]
required

List of flow IDs to execute

trigger_type
enum<string>
required

Trigger type for all executions

Available options:
manual,
event,
scheduled,
api,
webhook,
test
variables
object

Variables for all executions

priority
enum<string>

Priority for all executions

Available options:
low,
normal,
high,
urgent
metadata
object

Metadata for all executions

Response

Successful Response

Response for bulk execution operations.

total_requested
integer
required

Total executions requested

successful_queued
integer
required

Successfully queued executions

failed_queued
integer
required

Failed to queue executions

execution_ids
string[]
required

List of created execution IDs

errors
string[]

List of errors encountered

I