# PipelineEditor.StepsByTag

- Module: [Aspire.Hosting](/reference/api/go/aspire.hosting.md)
- Defined on: [PipelineEditor](/reference/api/go/aspire.hosting/pipelineeditor.md)
- Version: `17.0.0`
- Kind: `method`

Gets all pipeline steps that have the specified tag.

## Definition

```go
type PipelineEditor interface {
    // ... omitted for brevity
    StepsByTag(tag string) ([]PipelineStep, error)
}
```

## Signature

```go
StepsByTag(tag string) ([]PipelineStep, error)
```

## Parameters

- `tag` (`string`) -- The tag to search for.

## Returns

`([]PipelineStep, error)` -- The matching pipeline steps.

Returns `([]PipelineStep, error)`.

## Defined on

- [PipelineEditor](/reference/api/go/aspire.hosting/pipelineeditor.md) -- `handle`
