Skip to main content
POST
/
executions
/
duplicateAll
Duplicate all executions
curl --request POST \
  --url https://api.kaizenautomation.com/executions/duplicateAll \
  --header 'Content-Type: application/json' \
  --data '
{
  "status": "InProgress",
  "loginId": "<string>",
  "search": "<string>",
  "batch": "<string>",
  "workflowId": "<string>",
  "tagFilters": [
    "<string>"
  ],
  "fromTs": "2023-11-07T05:31:56Z",
  "toTs": "2023-11-07T05:31:56Z"
}
'
{
  "executionIds": [
    "<string>"
  ],
  "count": 123,
  "message": "<string>",
  "status": "InProgress",
  "loginId": "<string>",
  "search": "<string>",
  "batch": "<string>",
  "workflowId": "<string>",
  "tagFilters": [
    "<string>"
  ],
  "fromTs": "2023-11-07T05:31:56Z",
  "toTs": "2023-11-07T05:31:56Z"
}

Body

application/json

Request to duplicate all executions matching the filter criteria. Duplicated executions will be placed in the same batch as their original executions.

status
enum<string>

Filter executions by status

Available options:
InProgress,
Completed,
Enqueued,
Failed,
Paused
loginId
string

Filter executions by login external ID

Search executions by execution ID or parameters

batch
string

Filter executions by batch external ID

workflowId
string

Filter executions by workflow external ID

tagFilters
string[]

Filter executions by workflow tag external IDs (workflows must have all specified tags)

fromTs
string<date-time>

Filter executions with start time >= this timestamp (ISO 8601 format, UTC)

toTs
string<date-time>

Filter executions with start time <= this timestamp (ISO 8601 format, UTC)

Response

Executions duplicated successfully

Response from duplicating executions

executionIds
string[]
required

Array of created execution IDs

count
number
required

Number of executions duplicated

message
string
required

Success message

status
enum<string>

Filter executions by status

Available options:
InProgress,
Completed,
Enqueued,
Failed,
Paused
loginId
string

Filter executions by login external ID

Search executions by execution ID or parameters

batch
string

Filter executions by batch external ID

workflowId
string

Filter executions by workflow external ID

tagFilters
string[]

Filter executions by workflow tag external IDs (workflows must have all specified tags)

fromTs
string<date-time>

Filter executions with start time >= this timestamp (ISO 8601 format, UTC)

toTs
string<date-time>

Filter executions with start time <= this timestamp (ISO 8601 format, UTC)