Spaces method and path for this operation:
get /s/{space_id}/api/workflows/executions/{executionId}
Refer to Spaces for more information.
Retrieve details of a single workflow execution by its ID.
[Required authorization] Route required privileges: workflowsManagement:readExecution.
GET
/api/workflows/executions/{executionId}
curl
curl \
-X GET "${KIBANA_URL}/api/workflows/executions/{executionId}?includeInput=true&includeOutput=true" \
-H "Authorization: ApiKey ${API_KEY}"
GET kbn://api/workflows/executions/{executionId}?includeInput=true&includeOutput=true
Response examples (200)
Example response returning a workflow execution with step details
{
"id": "exec-a1b2c3d4-e5f6-7890",
"yaml": "name: Example definition\nenabled: true\ndescription: This is a workflow example\ntriggers:\n - type: manual\ninputs:\n - name: message\n type: string\n default: \"hello world\"\nsteps:\n - name: hello_world_step\n type: console\n with:\n message: \"{{ inputs.message }}\"\n",
"input": {
"message": "hello world"
},
"output": "hello world",
"status": "completed",
"spaceId": "default",
"duration": 3000,
"isTestRun": false,
"startedAt": "2025-11-20T12:00:00.000Z",
"executedBy": "elastic",
"finishedAt": "2025-11-20T12:00:03.000Z",
"workflowId": "workflow-a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"triggeredBy": "manual",
"stepExecutions": [
{
"id": "step-exec-001",
"status": "completed",
"stepId": "hello_world_step",
"spaceId": "default",
"stepType": "console",
"isTestRun": false,
"startedAt": "2025-11-20T12:00:01.000Z",
"finishedAt": "2025-11-20T12:00:02.000Z",
"scopeStack": [],
"workflowId": "workflow-a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"workflowRunId": "exec-a1b2c3d4-e5f6-7890",
"executionTimeMs": 1000,
"topologicalIndex": 0,
"stepExecutionIndex": 0,
"globalExecutionIndex": 0
}
],
"workflowDefinition": {
"name": "Example definition",
"steps": [
{
"name": "hello_world_step",
"type": "console",
"with": {
"message": "{{ inputs.message }}"
}
}
],
"inputs": [
{
"name": "message",
"type": "string",
"default": "hello world"
}
],
"enabled": true,
"triggers": [
{
"type": "manual"
}
],
"description": "This is a workflow example"
}
}