---
type: api
title: Get workflow executions
description: **Spaces method and path for this operation:**
url: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/kibana/v9/operation/operation-get-workflows-workflow-workflowid-executions
resource: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/kibana/v9/operation/operation-get-workflows-workflow-workflowid-executions
products:
  - Kibana
---

# Get workflow executions

Availability: Generally available since 9.4

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

## Paths

- `GET` `/api/workflows/workflow/{workflowId}/executions`
- `GET` `/s/{space_id}/api/workflows/workflow/{workflowId}/executions`

#### Path parameters

- `workflowId` (string) — required
  Workflow ID

## Description

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

Retrieve a paginated list of executions for a specific workflow.

## Required authorization

- Privileges: `workflowsManagement:readExecution` or `workflowsManagement:managed:readExecution`

## Authentication

- Api key: `Authorization: <value>`
  These APIs use key-based authentication. You must create an API key and use the encoded value in the request header. For example: `Authorization: ApiKey base64AccessApiKey`
- Basic: `Authorization: Basic <credentials>`

## Query string parameters

- `statuses` (enum[] · max items: 11) — optional
  Filter by execution status.
  Values: `pending`, `waiting`, `waiting_for_input`, `waiting_for_child`, `running`, `queued`, `completed`, `failed`, `cancelled`, `timed_out`, `skipped`
- `executionTypes` (enum[] · max items: 2) — optional
  Filter by execution type.
  Values: `test`, `production`
- `executedBy` (string[] · max items: 100) — optional
  Filter by the user who triggered the execution.
- `concurrencyGroupKey` (string) — optional
  Filter by evaluated concurrency group key.
- `omitStepRuns` (boolean) — optional
  Whether to exclude step-level execution data.
- `finishedAfter` (string) — optional
  Datemath lower bound for filtering executions by finishedAt (inclusive when parsed).
- `finishedBefore` (string) — optional
  Datemath upper bound for filtering executions by finishedAt (inclusive when parsed with roundUp).
- `collapse` (enum) — optional
  Field to collapse execution results by.
  Values: `concurrencyGroupKey`, `status`, `executedBy`, `triggeredBy`
- `sortField` (enum) — optional
  Field to sort executions by.
  Values: `createdAt`, `finishedAt`
- `sortOrder` (enum) — optional
  Sort order.
  Values: `asc`, `desc`
- `page` (number · min: 1) — optional
  Page number.
- `size` (number · min: 1 · max: 100) — optional
  Number of results per page.
- `startedAfter` (string) — optional
  Datemath lower bound for filtering executions by startedAt (inclusive when parsed).
- `startedBefore` (string) — optional
  Datemath upper bound for filtering executions by startedAt (inclusive when parsed with roundUp).

## Response

Indicates a successful response

`application/json`

## Code examples

#### Console

```console
GET kbn://api/workflows/workflow/{workflowId}/executions?page=1&size=20&startedAfter=now-1d&startedBefore=now
```

#### curl

```curl
curl \
  -X GET "${KIBANA_URL}/api/workflows/workflow/{workflowId}/executions?page=1&size=20" \
  -H "Authorization: ApiKey ${API_KEY}"
```

## Response examples

#### Get workflow executions response

Example response returning a paginated list of executions for a workflow

```json
{
  "page": 1,
  "results": [
    {
      "duration": 3000,
      "error": "null",
      "executedBy": "elastic",
      "finishedAt": "2025-11-20T12:00:03.000Z",
      "id": "exec-001",
      "isTestRun": false,
      "spaceId": "default",
      "startedAt": "2025-11-20T12:00:00.000Z",
      "status": "completed",
      "triggeredBy": "manual",
      "workflowId": "workflow-a1b2c3d4-e5f6-7890-abcd-ef1234567890"
    },
    {
      "duration": 2000,
      "error": {
        "message": "Step \u0027hello_world_step\u0027 failed"
      },
      "executedBy": "elastic",
      "finishedAt": "2025-11-20T13:00:02.000Z",
      "id": "exec-002",
      "isTestRun": false,
      "spaceId": "default",
      "startedAt": "2025-11-20T13:00:00.000Z",
      "status": "failed",
      "triggeredBy": "manual",
      "workflowId": "workflow-a1b2c3d4-e5f6-7890-abcd-ef1234567890"
    }
  ],
  "size": 20,
  "total": 2
}
```

