n8n/packages/@n8n/cli/docs/commands/execution.md
Albert Alises 20f1092815
feat: Add @n8n/cli: a client CLI to manage n8n from the terminal (#26943)
Co-authored-by: Daria Staferova <daria.staferova@n8n.io>
Co-authored-by: Nikhil Kuriakose <nikhil.kuriakose@n8n.io>
2026-03-20 14:11:35 +00:00

57 lines
955 B
Markdown

# execution
Manage workflow executions.
## `execution list`
List executions with optional filters.
```bash
n8n-cli execution list
n8n-cli execution list --workflow=1234
n8n-cli execution list --status=error --limit=10
```
| Flag | Description |
|------|-------------|
| `--workflow` | Filter by workflow ID |
| `--status` | Filter by status: `canceled`, `error`, `running`, `success`, `waiting` |
| `--limit` | Maximum number of results |
## `execution get`
Get execution details.
```bash
n8n-cli execution get 5678
n8n-cli execution get 5678 --include-data --format=json
```
| Flag | Description |
|------|-------------|
| `--include-data` | Include full node execution data |
## `execution retry`
Retry a failed execution.
```bash
n8n-cli execution retry 5678
```
## `execution stop`
Stop a running execution.
```bash
n8n-cli execution stop 5678
```
## `execution delete`
Delete an execution.
```bash
n8n-cli execution delete 5678
```