---
schema_version: "1"
id: 9c2859d09a302b24a52c4bc26b8f64305a21b55ec291403549e16b3e494485ee
title: devops pipeline get
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/salesforcedx/sfclireference/guides/devops/cli_reference_devops_pipeline_get.md
canonical_url: https://developer.salesforce.com/docs/platform/salesforce-cli-reference/guide/cli_reference_devops_pipeline_get.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: e4dfdd03f6b95c7ee7d20142520dc9a1b42b4348cd075cd814b0a90ac3148a55
products:
  - Salesforce CLI Command Reference
  - salesforcedx
---
<!-- prettier-ignore-start -->

# 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 |
|------------------|-------------------|-------------|
| <code>&#8209;&#8209;api&#8209;version</code> | N/A | **Type:** Value<br><br>Override the api version used for api requests made by this command |
| <code>&#8209;&#8209;flags&#8209;dir</code> | N/A | **Type:** Value<br><br>Import flag values from a directory. |
| <code>&#8209;&#8209;json</code> | N/A | **Type:** Boolean<br><br>Format output as json. |
| <code>&#8209;&#8209;pipeline&#8209;id</code> | <code>&#8209;i</code> | **Type:** Value<br>**Required**<br><br>ID of the DevOps Center pipeline. |
| <code>&#8209;&#8209;target&#8209;org</code> | <code>&#8209;o</code> | **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
```
<!-- prettier-ignore-end -->
