Skip to main content
POST
/
executions
/
search
/
batches
/
list
Search batches with executions
curl --request POST \
  --url https://api.kaizenautomation.com/executions/search/batches/list \
  --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"
}
'
{
  "batches": [
    {
      "id": "<string>",
      "name": "<string>"
    }
  ]
}

Body

application/json

Request parameters for listing 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

List of batches retrieved successfully

Response containing batches for execution search filters

batches
object[]
required

List of batches that have executions matching the filters