---
title: "Get a pipeline of a given app"
method: GET
path: "/apps/{app-slug}/pipelines/{pipeline-id}"
tags: ["pipelines"]
---

# Get a pipeline of a given app

`GET /apps/{app-slug}/pipelines/{pipeline-id}`

Get the specified pipeline of a given Bitrise app. You need to provide both an app slug and a pipeline id. You can get the pipeline id either by calling the [/pipelines](https://api-docs.bitrise.io/#/pipelines/pipeline-list) endpoint or by clicking on the pipeline on bitrise.io and copying the id from the URL. The endpoint returns all the relevant data of the pipeline.

## Path parameters

- `app-slug` string, required
- `pipeline-id` string, required

## Response `200`

OK

- V0PipelineShowResponseModel
  - `abort_reason` string
  - `app` V0PipelineShowAppResponseModel
    - `slug` string
  - `attempts` V0PipelineShowAttemptResponseModel[]
    - `id` string
    - `number_in_pipeline_build_scope` integer
    - `status` string
    - `triggered_at` string
  - `credit_cost` unknown
  - `current_attempt_id` string
  - `finished_at` string
  - `id` string
  - `name` string
  - `number_in_app_scope` integer
  - `put_on_hold_at` unknown
  - `rebuildable` boolean
  - `stages` V0PipelineShowStageResponseModel[]
    - `id` string
    - `name` string
    - `workflows` V0PipelineShowWorkflowResponseModel[]
      - `credit_cost` unknown
      - `depends_on` string[]
      - `external_id` string
      - `finished_at` string
      - `id` string
      - `is_generator` boolean
      - `name` string
      - `startFailureReason` string
      - `started_at` string
      - `status` string
  - `started_at` string
  - `status` 'aborted' | 'failed' | 'initializing' | 'on_hold' | 'running' | 'succeeded' | 'succeeded_with_abort'
  - `trigger_params` V0PipelineShowTriggerParamsResponseModel
    - `branch` string
    - `branch_dest` string
    - `branch_dest_repo_owner` string
    - `branch_repo_owner` string
    - `commit_hash` string
    - `commit_message` string
    - `commit_messages` string[]
    - `commit_paths` V0CommitPaths[]
      - `added` string[]
      - `modified` string[]
      - `removed` string[]
    - `environments` V0PipelineShowEnvironmentsResponseModel[]
      - `is_expand` boolean
      - `key` string
      - `value` unknown
    - `pull_request_author` string
    - `pull_request_head_branch` string
    - `pull_request_id` string
    - `pull_request_merge_branch` string
    - `pull_request_repository_url` string
    - `pull_request_unverified_merge_branch` string
    - `tag` string
  - `triggered_at` string
  - `triggered_by` string
  - `type` string
  - `workflows` V0PipelineShowWorkflowResponseModel[]
    - `credit_cost` unknown
    - `depends_on` string[]
    - `external_id` string
    - `finished_at` string
    - `id` string
    - `is_generator` boolean
    - `name` string
    - `startFailureReason` string
    - `started_at` string
    - `status` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/bitrise/apis/bitrise-api.md) · [All operations](https://skmtc.net/bitrise/apis/bitrise-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bitrise/bitrise-api/revisions/89468e4a014b/schema)
