﻿---
title: stack kb workflows get-workflows-workflow-workflowid-executions-steps cli command
description: Get workflow step executions Behaviour flags: --dry-run — validate all inputs and exit without performing any action 
url: https://www.elastic.co/docs/reference/elastic-cli/cli/stack/kb/workflows/get-workflows-workflow-workflowid-executions-steps
applies_to:
  - Elastic Cloud Serverless: Preview
  - Elastic Stack: Preview
---

# stack kb workflows get-workflows-workflow-workflowid-executions-steps cli command
<cli-modifiers>
</cli-modifiers>

```bash
elastic stack kb workflows get-workflows-workflow-workflowid-executions-steps \
  --workflow-id <workflow-id> \
  [options]
```

Get workflow step executions
**Behaviour flags:**
`--dry-run` — validate all inputs and exit without performing any action

## Options

<definitions>
  <definition term="--workflow-id string required">
    Workflow ID
  </definition>
  <definition term="--step-id string">
    Filter by step ID.
  </definition>
  <definition term="--include-input">
    Include step input data.
  </definition>
  <definition term="--include-output">
    Include step output data.
  </definition>
  <definition term="--page number">
    Page number for pagination.
  </definition>
  <definition term="--size number">
    Number of results per page.
  </definition>
  <definition term="--started-after string">
    Datemath lower bound for filtering step executions by startedAt (inclusive when parsed).
  </definition>
  <definition term="--started-before string">
    Datemath upper bound for filtering step executions by startedAt (inclusive when parsed with roundUp).
  </definition>
  <definition term="--input-file string">
    path to a JSON file to use as command input
  </definition>
  <definition term="--dry-run">
    validate all inputs and exit without performing any action (preview changes without applying them)
  </definition>
  <definition term="--no-validate">
    skip input validation and send the request as-is
  </definition>
</definitions>


## Global Options

<definitions>
  <definition term="--output-fields string">
    comma-separated list of fields to include in output (dot-notation supported)
  </definition>
  <definition term="--output-template string">
    Mustache-like template for custom text output (e.g. "{{id}}: {{name}}")
  </definition>
  <definition term="--json">
    output as JSON
  </definition>
</definitions>