Skip to main content
POST
/
instructor
/
executions
/
runBlockAndSaveCoordinates
Run block and save coordinates
curl --request POST \
  --url https://api.kaizenautomation.com/instructor/executions/runBlockAndSaveCoordinates \
  --header 'Content-Type: application/json' \
  --data '
{
  "params": {},
  "instructorExecutionId": "<string>",
  "blockId": "<string>",
  "blockName": "<string>"
}
'
{
  "success": true,
  "result": "<unknown>",
  "sessionContext": {},
  "sessionContextTimestamp": 123,
  "coordinates": {
    "locationX": 123,
    "locationY": 123
  },
  "error": "<string>"
}

Body

application/json
params
object
required
instructorExecutionId
string
required

ID of the instructor execution context

blockId
string

ID of the block to execute

blockName
string

Name of the block to execute

Response

Block executed and coordinates saved successfully

success
boolean
required
result
any

Result of the block execution

sessionContext
object
sessionContextTimestamp
number

Context capture time (UNIX timestamp)

coordinates
object
error
string