---
type: api
title: Search workflow executions
description: Search across all workflow executions.<br/><br/>[Required authorization] Route required privileges: workflowsManagement:read AND workflowsManagement:readExecution. Extended privileges (optional, expand functionality when granted): workflowsManagement:managed:readExecution.
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/kibana/v0/operation/operation-get-workflows-workflow-executions
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/kibana/v0/operation/operation-get-workflows-workflow-executions
products:
  - Kibana
---

# Search workflow executions

Availability: 9.4+

- Server: `https://{kibana_url}`

## Paths

- `GET` `/api/workflows/workflow/executions`

- [Api key auth](/elastic/docs-builder/docs/4371/api/doc/kibana/v0/authentication#apikeyauth)
- [Basic auth](/elastic/docs-builder/docs/4371/api/doc/kibana/v0/authentication#basicauth)

## Description

Search across all workflow executions.<br/><br/>[Required authorization] Route required privileges: workflowsManagement:read AND workflowsManagement:readExecution. Extended privileges (optional, expand functionality when granted): workflowsManagement:managed:readExecution.

## Query String Parameters

- `kql` (string · max: 4096)
  KQL query string to filter executions.
- `statuses` ([] enum  · max: 11)
  Filter by execution status.
  Values: `pending`, `waiting`, `waiting_for_input`, `waiting_for_child`, `running`, `queued`, `completed`, `failed`, `cancelled`, `timed_out`, `skipped`
- `executionTypes` ([] enum  · max: 2)
  Filter by execution type.
  Values: `test`, `production`
- `executedBy` ([] string · max: 100)
  Filter by the user who triggered the execution.
- `concurrencyGroupKey` (string)
  Filter by evaluated concurrency group key.
- `startedAfter` (string)
  Datemath lower bound for filtering executions by startedAt.
- `startedBefore` (string)
  Datemath upper bound for filtering executions by startedAt.
- `finishedAfter` (string)
  Datemath lower bound for filtering executions by finishedAt.
- `finishedBefore` (string)
  Datemath upper bound for filtering executions by finishedAt.
- `collapse` (enum)
  Field to collapse execution results by.
  Values: `concurrencyGroupKey`, `status`, `executedBy`, `triggeredBy`
- `sortField` (enum)
  Field to sort by. One of: startedAt, duration, workflowId, triggeredBy.
  Values: `startedAt`, `duration`, `workflowId`, `triggeredBy`
- `sortOrder` (enum)
  Sort direction.
  Values: `asc`, `desc`
- `page` (number · min: 1)
  Page number.
- `size` (number · min: 1 · max: 100)
  Number of results to return.
- `trackTotalHits` (boolean)
  Whether to track total hit count.

## Responses

#### `200`

Indicates a successful response

#### `400`

Indicates a bad request, such as invalid KQL syntax

## Code Examples

#### Console

```console
GET kbn://api/workflows/workflow/executions?from=0&size=25&trackTotalHits=true&kql=startedAt >= "now-15m"&sortField=startedAt&sortOrder=desc
```

#### curl

```curl
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}"
```

## Response Examples

#### Search executions response

Example paginated list of workflow-level executions

```json
{
  "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
}
```

#### Search executions bad request

Example response when the kql parameter contains invalid syntax

```json
{
  "message": "Invalid KQL: Expected AND, OR, or end of input but \u0022f\u0022 found."
}
```

