POST
/
instructor
/
executions
/
runBlock
Run single block
curl --request POST \
  --url https://api.kaizenautomation.com/instructor/executions/runBlock \
  --header 'Content-Type: application/json' \
  --data '{
  "blockId": "<string>",
  "blockName": "<string>",
  "params": {},
  "instructorExecutionId": "<string>"
}'
{
  "result": "<any>",
  "sessionContext": {},
  "sessionContextTimestamp": 123
}

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 successfully

sessionContext
object
required
sessionContextTimestamp
number
required

Context capture time (UNIX timestamp)

result
any

Result of the block execution