Spaces method and path for this operation:
Refer to Spaces for more information.
Search across all workflow executions.
[Required authorization] Route required privileges: workflowsManagement:readExecution OR workflowsManagement:managed:readExecution.
Query parameters
-
KQL query string to filter executions.
Maximum length is
4096. -
Filter by execution status.
Not more than
11elements. Values arepending,waiting,waiting_for_input,waiting_for_child,running,queued,completed,failed,cancelled,timed_out, orskipped. -
Filter by execution type.
Not more than
2elements. Values aretestorproduction. -
Filter by the user who triggered the execution.
Not more than
100elements. -
Filter by evaluated concurrency group key.
-
Datemath lower bound for filtering executions by startedAt.
-
Datemath upper bound for filtering executions by startedAt.
-
Datemath lower bound for filtering executions by finishedAt.
-
Datemath upper bound for filtering executions by finishedAt.
-
Field to collapse execution results by.
Values are
concurrencyGroupKey,status,executedBy, ortriggeredBy. -
Field to sort by. One of: startedAt, duration, workflowId, triggeredBy.
Values are
startedAt,duration,workflowId, ortriggeredBy. -
Sort direction.
Values are
ascordesc. -
Page number.
Minimum value is
1. -
Number of results to return.
Minimum value is
1, maximum value is100. -
Whether to track total hit count.
curl \
-X GET "${KIBANA_URL}/api/workflows/workflow/executions?page=1&size=25&trackTotalHits=true&kql=startedAt%20%3E%3D%20%22now-15m%22&sortField=startedAt&sortOrder=desc" \
-H "Authorization: ApiKey ${API_KEY}"
GET kbn://api/workflows/workflow/executions?from=0&size=25&trackTotalHits=true&kql=startedAt >= "now-15m"&sortField=startedAt&sortOrder=desc
{
"page": 1,
"results": [
{
"duration": 3000,
"error": null,
"executedBy": "elastic",
"finishedAt": "2025-11-20T12:00:03.000Z",
"id": "exec-a1b2c3d4-e5f6-7890",
"isTestRun": false,
"managed": false,
"spaceId": "default",
"startedAt": "2025-11-20T12:00:00.000Z",
"status": "completed",
"tags": [
"reporting"
],
"triggeredBy": "manual",
"workflowId": "workflow-a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"workflowName": "Example Workflow"
}
],
"size": 25,
"total": 1
}
{
"message": "Invalid KQL: Expected AND, OR, or end of input but \"f\" found."
}