GET /api/workflows/executions/{executionId}/step/{stepExecutionId}

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.

Path parameters

  • executionId string Required

    Workflow execution ID.

  • stepExecutionId string Required

    Step execution ID.

Responses

  • 200 application/json

    Indicates a successful response

GET /api/workflows/executions/{executionId}/step/{stepExecutionId}
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)
Example response returning a single step execution
{
  "id": "step-exec-001",
  "error": null,
  "input": {
    "message": "hello world"
  },
  "state": null,
  "output": "hello world",
  "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
}