Get execution logs
Base URL
https://{kibana_url}
Auth
Stack
9.4+
The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats.
Availability
Generally available since 9.4
This functionality is generally available and ready for production usage.
Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments.
This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.
Retrieve paginated logs for a workflow execution. Optionally filter by a specific step execution.
Privileges
workflowsManagement:read
and
workflowsManagement:readExecution. Extended privileges (optional, expand functionality when granted): workflowsManagement:managed:readExecution
Expand all
space_id
string
optional
An identifier for the space. If space_id is not provided in the URL, the default space is used. Refer to Spaces for more information.
executionId
string · max length: 255
required
Workflow execution ID
stepExecutionId
string · max length: 255
Filter logs by a specific step execution ID.
size
number · min: 1 · max: 100 · default: 100
Number of log entries per page.
page
number · min: 1 · default: 1
Page number.
sortField
string · max length: 1024
Field to sort by.
sortOrder
enum
Sort order.
Values:
asc
desc
200
Indicates a successful response
application/json
Thank you for your feedback.
Base URL
https://{kibana_url}
Examples
Request
Console
1 / 2 languages
‹
›
1
GET kbn://api/workflows/executions/{executionId}/logs?size=100&page=1
1
2
3
curl \
-X GET "${KIBANA_URL}/api/workflows/executions/{executionId}/logs?size=100&page=1" \
-H "Authorization: ApiKey ${API_KEY}"
Response
Example response returning paginated execution logs
Show more
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"logs": [
{
"additionalData": {
"executionId": "exec-a1b2c3d4-e5f6-7890",
"workflowId": "workflow-a1b2c3d4-e5f6-7890-abcd-ef1234567890"
},
"connectorType": "console",
"duration": 150,
"id": "log-001",
"level": "info",
"message": "Workflow execution started",
"stepId": "hello_world_step",
"stepName": "Hello World",
"timestamp": "2025-11-20T12:00:01.000Z"
},
{
"additionalData": {
"executionId": "exec-a1b2c3d4-e5f6-7890",
"workflowId": "workflow-a1b2c3d4-e5f6-7890-abcd-ef1234567890"
},
"connectorType": "console",
"duration": 200,
"id": "log-002",
"level": "info",
"message": "Step completed successfully",
"stepId": "hello_world_step",
"stepName": "Hello World",
"timestamp": "2025-11-20T12:00:02.000Z"
}
],
"page": 1,
"size": 100,
"total": 2
}