# tuist build bazel step list

Lists the actions recorded for a Bazel invocation, longest first.

## Arguments

### invocation-id

The Bazel invocation ID.

```bash
tuist build bazel step list [invocation-id]
```

### project `Optional`

The full handle of the project. Must be in the format of account-handle/project-handle.

```bash
tuist build bazel step list --project [project]
tuist build bazel step list -P [project]
```

### path `Optional`

The path to the directory or a subdirectory of the project.

```bash
tuist build bazel step list --path [path]
tuist build bazel step list -p [path]
```

### status `Optional`

Filter steps by status, for example failure or remote_hit.

```bash
tuist build bazel step list --status [status]
```

### target `Optional`

Filter steps by target label.

```bash
tuist build bazel step list --target [target]
```

### search `Optional`

Case-insensitive search across step titles, packages and targets.

```bash
tuist build bazel step list --search [search]
```

### sort-by `Optional`

Sort by duration_ms (longest first, the default) or start_ms (earliest first).

```bash
tuist build bazel step list --sort-by [sort-by]
```

### page `Optional`

The page number to fetch (1-indexed).

```bash
tuist build bazel step list --page [page]
```

### page-size `Optional`

The number of steps per page. Defaults to 10.

```bash
tuist build bazel step list --page-size [page-size]
```

### json `Optional`

The output in JSON format.

```bash
tuist build bazel step list --json
```
