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 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

Responses

GET /apps/{app-slug}/pipelines/{pipeline-id}
curl \
 --request GET 'https://api.bitrise.io/v0.1/apps/{app-slug}/pipelines/{pipeline-id}' \
 --header "Authorization: $API_KEY"
Response examples (200)
{
  "abort_reason": "string",
  "app": {
    "slug": "string"
  },
  "attempts": [
    {
      "id": "string",
      "number_in_pipeline_build_scope": 42,
      "status": "string",
      "triggered_at": "string"
    }
  ],
  "current_attempt_id": "string",
  "finished_at": "string",
  "id": "string",
  "name": "string",
  "number_in_app_scope": 42,
  "rebuildable": true,
  "stages": [
    {
      "id": "string",
      "name": "string",
      "workflows": [
        {
          "depends_on": [
            "string"
          ],
          "external_id": "string",
          "finished_at": "string",
          "id": "string",
          "name": "string",
          "startFailureReason": "string",
          "started_at": "string",
          "status": "string"
        }
      ]
    }
  ],
  "started_at": "string",
  "status": "aborted",
  "trigger_params": {
    "branch": "string",
    "branch_dest": "string",
    "branch_dest_repo_owner": "string",
    "branch_repo_owner": "string",
    "commit_hash": "string",
    "commit_message": "string",
    "environments": [
      {
        "is_expand": true,
        "key": "string"
      }
    ],
    "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": [
    {
      "depends_on": [
        "string"
      ],
      "external_id": "string",
      "finished_at": "string",
      "id": "string",
      "name": "string",
      "startFailureReason": "string",
      "started_at": "string",
      "status": "string"
    }
  ]
}
Response examples (400)
{
  "message": "string"
}
Response examples (401)
{
  "message": "string"
}
Response examples (404)
{
  "message": "string"
}
Response examples (500)
{
  "message": "string"
}