POST
/
executions
/
getEvents
Get execution events
curl --request POST \
  --url https://api.kaizenautomation.com/executions/getEvents \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>"
}'
{
  "events": [
    {
      "type": "<string>",
      "spanId": "<string>",
      "block": {
        "id": "<string>",
        "name": "<string>",
        "blockReferenceId": "<string>",
        "transformerFn": "<string>",
        "type": "<string>",
        "locator": {
          "role": "<string>",
          "text": "<string>",
          "label": "<string>",
          "placeholder": "<string>",
          "altText": "<string>",
          "title": "<string>",
          "css": "<string>",
          "xpath": "<string>"
        },
        "isCacheable": true,
        "skipIfNotPresent": true,
        "data": {
          "loginId": "<string>",
          "isParameter": true
        },
        "parentRelationship": {
          "blockDepth": 123,
          "positionInSequence": 123,
          "parentBlockId": "<string>",
          "parentSequenceId": "sequence"
        }
      },
      "startTime": "2023-11-07T05:31:56Z",
      "endTime": "2023-11-07T05:31:56Z",
      "events": [
        "<any>"
      ],
      "level": "Info"
    }
  ]
}

Body

application/json

Request to get a single execution

id
string
required

ID of the execution to retrieve

Response

Execution events retrieved successfully

Execution events result

events
object[]
required

Array of execution events and block spans for the execution