---
title: "ezgh workflows runs output"
description: "Print a run's output, a step's, or the run's input."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh workflows runs output

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh workflows runs output <run> [--step s | --input] [flags]
```

Print a completed run's output: the JSON value its workflow returned, as it is (YAML with -o yaml). `--step` prints a step's output instead (by step ID or name), and `--input` the run's input.

Part of [`ezgh workflows runs`](/cli/reference/workflows-runs).

## Examples

```sh
ezgh workflows runs output 0199a3c2-… > result.json
ezgh workflows runs output 0199a3c2-… --step fetch-user
```

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--input` | boolean |  | print the run's input |
| `--step` | string |  | print this step's output (a step ID or name) |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/workflows-runs-output/index.mdx
