Skip to main content
POST
/
executions
/
retry
Retry execution
curl --request POST \
  --url https://api.kaizenautomation.com/executions/retry \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>"
}
'
{
  "success": true,
  "message": "<string>",
  "execution": {
    "execution": {
      "id": "<string>",
      "workflow": {
        "id": "<string>",
        "name": "<string>"
      },
      "batch": {
        "id": "<string>",
        "name": "<string>"
      },
      "logins": [
        {
          "id": "<string>",
          "name": "<string>"
        }
      ],
      "authentications": [
        {
          "browserSessionId": "<string>",
          "status": "<string>",
          "liveViewUrl": "<string>"
        }
      ],
      "startTime": "2023-11-07T05:31:56Z",
      "params": {},
      "metadata": {},
      "name": "<string>",
      "startBlock": {
        "id": "<string>",
        "name": "<string>",
        "blockReferenceId": "<string>",
        "type": "<string>",
        "isCacheable": true,
        "skipIfNotPresent": true,
        "useWorkflowRecoveryAgent": true,
        "data": {
          "loginId": "<string>",
          "isParameter": true,
          "forceLoginEveryTime": true
        },
        "parentRelationship": {
          "blockDepth": 123,
          "positionInSequence": 123,
          "parentBlockId": "<string>",
          "parentSequenceId": "sequence"
        },
        "transformerFn": "<string>",
        "locator": {
          "role": "<string>",
          "text": "<string>",
          "label": "<string>",
          "placeholder": "<string>",
          "altText": "<string>",
          "title": "<string>",
          "css": "<string>",
          "xpath": "<string>"
        }
      },
      "contextAuthentications": [
        {
          "contextAuthenticationId": "<string>",
          "loginSummary": {
            "loginId": "<string>",
            "name": "<string>",
            "isManual": true
          },
          "authenticationStatus": "Unauthenticated"
        }
      ],
      "sessionId": "<string>",
      "status": "InProgress",
      "liveViewUrl": "<string>",
      "browserSessionId": "<string>",
      "browserSessionVendorId": "<string>",
      "downloads": {
        "status": "pending",
        "files": [
          {
            "id": "<string>",
            "name": "<string>",
            "mimeType": "<string>",
            "sizeBytes": 123,
            "downloadUrl": "<string>",
            "key": "<string>"
          }
        ],
        "message": "<string>"
      },
      "parentExecutionId": "<string>"
    }
  }
}

Body

application/json
id
string
required

The execution ID to retry

Response

Execution retry initiated successfully

success
boolean
required

Whether the retry was initiated successfully

message
string

Status message

execution
object

The new execution created from the retry