Authentication
Browser Sessions
Workflows
Instructor
API Reference
Get workflow
Retrieves a workflow by ID with its blocks
POST
/
workflows
/
get
Copy
Ask AI
curl --request POST \
--url https://api.kaizenautomation.com/workflows/get \
--header 'Content-Type: application/json' \
--data '{
"workflowId": "<string>"
}'
Copy
Ask AI
{
"id": "<string>",
"name": "<string>",
"blocks": [
{
"id": "<string>",
"name": "<string>",
"transformerFn": "<string>",
"type": "<string>",
"locator": {
"role": "<string>",
"text": "<string>",
"label": "<string>",
"placeholder": "<string>",
"altText": "<string>",
"title": "<string>",
"css": "<string>",
"xpath": "<string>"
},
"data": {
"loginId": "<string>"
},
"parentRelationship": {
"blockDepth": 123,
"positionInSequence": 123,
"parentBlockId": "<string>",
"parentSequenceId": "sequence"
}
}
],
"parametersSchema": {},
"parametersDefault": {}
}
Body
application/json
Response
200
application/json
Workflow retrieved successfully
The response is of type object
.
Copy
Ask AI
curl --request POST \
--url https://api.kaizenautomation.com/workflows/get \
--header 'Content-Type: application/json' \
--data '{
"workflowId": "<string>"
}'
Copy
Ask AI
{
"id": "<string>",
"name": "<string>",
"blocks": [
{
"id": "<string>",
"name": "<string>",
"transformerFn": "<string>",
"type": "<string>",
"locator": {
"role": "<string>",
"text": "<string>",
"label": "<string>",
"placeholder": "<string>",
"altText": "<string>",
"title": "<string>",
"css": "<string>",
"xpath": "<string>"
},
"data": {
"loginId": "<string>"
},
"parentRelationship": {
"blockDepth": 123,
"positionInSequence": 123,
"parentBlockId": "<string>",
"parentSequenceId": "sequence"
}
}
],
"parametersSchema": {},
"parametersDefault": {}
}
Assistant
Responses are generated using AI and may contain mistakes.