POST
/
executions
/
generateCSV
Generate executions CSV
curl --request POST \
  --url https://api.kaizenautomation.com/executions/generateCSV \
  --header 'Content-Type: application/json' \
  --data '{
  "status": "InProgress",
  "loginId": "<string>",
  "search": "<string>",
  "batch": "<string>",
  "workflowId": "<string>",
  "isTest": true
}'
{
  "success": true,
  "message": "<string>",
  "csvContent": "<string>",
  "filename": "<string>"
}

Body

application/json

Request to generate CSV for executions matching the filter criteria

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

isTest
boolean

Filter executions by test status

Response

CSV file generated successfully

Response containing CSV generation result

success
boolean
required

Whether the CSV was generated successfully

message
string
required

Success or error message

csvContent
string

The generated CSV content

filename
string

Suggested filename for the CSV