Spaces method and path for this operation:
get /s/{space_id}/api/workflows/executions/{executionId}/step/{stepExecutionId}
Refer to Spaces for more information.
Retrieve details of a single step execution within a workflow execution.
[Required authorization] Route required privileges: workflowsManagement:readExecution.
GET
/api/workflows/executions/{executionId}/step/{stepExecutionId}
curl
curl \
-X GET "${KIBANA_URL}/api/workflows/executions/{executionId}/step/{stepExecutionId}" \
-H "Authorization: ApiKey ${API_KEY}"
GET kbn://api/workflows/executions/{executionId}/step/{stepExecutionId}
Response examples (200)
Get step execution response example
Example response returning a single step execution
{
"error": null,
"executionTimeMs": 1000,
"finishedAt": "2025-11-20T12:00:02.000Z",
"globalExecutionIndex": 0,
"id": "step-exec-001",
"input": {
"message": "hello world"
},
"isTestRun": false,
"output": "hello world",
"scopeStack": [],
"spaceId": "default",
"startedAt": "2025-11-20T12:00:01.000Z",
"state": null,
"status": "completed",
"stepExecutionIndex": 0,
"stepId": "hello_world_step",
"stepType": "console",
"topologicalIndex": 0,
"workflowId": "workflow-a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"workflowRunId": "exec-a1b2c3d4-e5f6-7890"
}
Example response for a Human-In-The-Loop `wait_for_input` step. Once a responder submits via any client (Kibana Inbox UI, Slack, Agent Builder, raw API/MCP), the `hitl` envelope is populated synchronously — before Task Manager runs the resume — so every reader can detect the "responded but not yet resumed" state from this single doc.
{
"error": null,
"executionTimeMs": 329000,
"finishedAt": "2025-11-20T12:05:30.000Z",
"globalExecutionIndex": 1,
"hitl": {
"channel": "kibana-ui",
"respondedAt": "2025-11-20T12:05:29.000Z",
"respondedBy": "alice"
},
"id": "step-exec-002",
"input": {
"message": "Approve change to production?"
},
"isTestRun": false,
"output": {
"approved": true,
"reason": "looks good"
},
"scopeStack": [],
"spaceId": "default",
"startedAt": "2025-11-20T12:00:01.000Z",
"state": null,
"status": "completed",
"stepExecutionIndex": 0,
"stepId": "approve_change",
"stepType": "wait_for_input",
"topologicalIndex": 1,
"workflowId": "workflow-a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"workflowRunId": "exec-a1b2c3d4-e5f6-7890"
}