List all pipelines and standalone builds of an app

GET /apps/{app-slug}/pipelines

List all the pipelines and standalone builds of a specified Bitrise app. Set parameters to filter pipelines: for example, you can search for pipelines/standalone builds run with a given workflow name or all pipelines/standalone builds that were triggered by Pull Requests. It returns all the relevant data of the pipelines/standalone builds.

Path parameters

  • app-slug string Required

    App slug

Query parameters

  • after string

    List pipelines/standalone builds run after a given date (RFC3339 time format)

  • before string

    List pipelines/standalone builds run before a given date (RFC3339 time format) - was called 'next' earlier

  • branch string

    The branch which was built

  • build_number integer

    The pipeline/standalone build number

  • commit_message string

    The commit message of the pipeline/standalone build

  • limit integer

    Max number of elements per page - default: 10

  • next string

    List pipelines/standalone builds run before a given date (RFC3339 time format) - deprecated

  • pipeline string

    Name of the pipeline

  • status string

    The status of the pipeline/standalone build: on_hold, running, succeeded, failed, aborted, succeeded_with_abort

  • trigger_event_type string

    The event that triggered the pipeline/standalone build (push, pull-request, tag)

  • workflow string

    The name of the workflow used for the pipeline/standalone build

Responses

  • 200

    OK

    Hide response attributes Show response attributes object
    • data array[object]
      Hide data attributes Show data attributes object
      • artifacts array[object]
        Hide artifacts attributes Show artifacts attributes object
        • artifact_type string
        • id string
        • title string
        • version_code string
        • version_name string
      • branch string
      • build_number integer
      • build_tool_invocations array[object]
        Hide build_tool_invocations attributes Show build_tool_invocations attributes object
        • invocation_id string
        • tool string
        • tool_version string
      • commit_hash string
      • commit_message string
      • credit_cost integer
      • finished_at string
      • is_on_hold boolean
      • is_pipeline boolean
      • is_processed boolean
      • local_config object

        Additional properties are allowed.

        Hide local_config attributes Show local_config attributes object
        • host string
        • username string
      • pull_request_id integer
      • pull_request_target_branch string
      • rebuildable boolean
      • slug string
      • started_at string
      • status integer
      • tag string
      • trigger_params object

        Additional properties are allowed.

        Hide trigger_params attributes Show trigger_params attributes object
        • branch string
        • branch_dest string
        • branch_dest_repo_owner string
        • branch_repo_owner string
        • commit_hash string
        • commit_message string
        • environments array[object]
          Hide environments attributes Show environments attributes object
          • is_expand
          • key string
          • value
        • machine_type_id string
        • pull_request_author string
        • pull_request_head_branch string
        • pull_request_id
        • pull_request_merge_branch string
        • pull_request_repository_url string
        • pull_request_unverified_merge_branch string
        • stack string
        • tag
      • triggered_at string
      • triggered_by string
      • triggered_workflow string
    • paging object

      pagination

      Additional properties are allowed.

      Hide paging attributes Show paging attributes object
      • next string

        Next is the "anchor" for pagination. This value should be passed to the same endpoint to get the next page. Empty/not included if there's no "next" page. Stop paging when there's no "Next" item in the response!

      • page_item_limit integer

        PageItemLimit - per-page item count. A given page might include less items if there's not enough items. This value is the "max item count per page".

      • total_item_count integer

        TotalItemCount - total item count, through "all pages"

  • 400

    Bad Request

    Hide response attribute Show response attribute object
    • message string
  • 401

    Unauthorized

    Hide response attribute Show response attribute object
    • message string
  • 404

    Not Found

    Hide response attribute Show response attribute object
    • message string
  • 500

    Internal Server Error

    Hide response attribute Show response attribute object
    • message string
GET /apps/{app-slug}/pipelines
curl \
 --request GET 'https://api.bitrise.io/v0.1/apps/{app-slug}/pipelines' \
 --header "Authorization: $API_KEY"
Response examples (200)
{
  "data": [
    {
      "artifacts": [
        {
          "artifact_type": "string",
          "id": "string",
          "title": "string",
          "version_code": "string",
          "version_name": "string"
        }
      ],
      "branch": "string",
      "build_number": 42,
      "build_tool_invocations": [
        {
          "invocation_id": "string",
          "tool": "string",
          "tool_version": "string"
        }
      ],
      "commit_hash": "string",
      "commit_message": "string",
      "credit_cost": 42,
      "finished_at": "string",
      "is_on_hold": true,
      "is_pipeline": true,
      "is_processed": true,
      "local_config": {
        "host": "string",
        "username": "string"
      },
      "pull_request_id": 42,
      "pull_request_target_branch": "string",
      "rebuildable": true,
      "slug": "string",
      "started_at": "string",
      "status": 42,
      "tag": "string",
      "trigger_params": {
        "branch": "string",
        "branch_dest": "string",
        "branch_dest_repo_owner": "string",
        "branch_repo_owner": "string",
        "commit_hash": "string",
        "commit_message": "string",
        "environments": [
          {
            "key": "string"
          }
        ],
        "machine_type_id": "string",
        "pull_request_author": "string",
        "pull_request_head_branch": "string",
        "pull_request_merge_branch": "string",
        "pull_request_repository_url": "string",
        "pull_request_unverified_merge_branch": "string",
        "stack": "string"
      },
      "triggered_at": "string",
      "triggered_by": "string",
      "triggered_workflow": "string"
    }
  ],
  "paging": {
    "next": "string",
    "page_item_limit": 42,
    "total_item_count": 42
  }
}
Response examples (400)
{
  "message": "string"
}
Response examples (401)
{
  "message": "string"
}
Response examples (404)
{
  "message": "string"
}
Response examples (500)
{
  "message": "string"
}