# devops pipeline get

Get details of a DevOps Center pipeline including its stages, repositories, and connected projects.

## Description for devops pipeline get

Returns full details for a single DevOps Center pipeline: its stages in order, the source code repository and branch associated with each stage, and any connected projects.

## Flags

| Flag Name (Long) | Flag Name (Short) | Description                                                                                                                                         |
| ---------------- | ----------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| `--api-version`  | N/A               | **Type:** Value<br><br>Override the api version used for api requests made by this command                                                          |
| `--flags-dir`    | N/A               | **Type:** Value<br><br>Import flag values from a directory.                                                                                         |
| `--json`         | N/A               | **Type:** Boolean<br><br>Format output as json.                                                                                                     |
| `--pipeline-id`  | `-i`              | **Type:** Value<br>**Required**<br><br>ID of the DevOps Center pipeline.                                                                            |
| `--target-org`   | `-o`              | **Type:** Value<br>**Required**<br><br>Username or alias of the target org. Not required if the `target-org` configuration variable is already set. |

## Examples for devops pipeline get

Get details for a specific pipeline:

```shell
sf devops pipeline get --target-org my-devops-org --pipeline-id 0Do000000000001
```
