Get a build of a given app

GET /apps/{app-slug}/builds/{build-slug}

Get the specified build of a given Bitrise app. You need to provide both an app slug and a build slug. You can get the build slug either by calling the /builds endpoint or by clicking on the build on bitrise.io and copying the slug from the URL. The endpoint returns all the relevant data of the build.

Path parameters

  • app-slug string Required

    App slug

  • build-slug string Required

    Build slug

Responses

  • 200

    OK

    Hide response attribute Show response attribute object
    • data object

      Additional properties are allowed.

      Hide data attributes Show data attributes object
      • abort_reason string
      • branch string
      • build_number integer
      • commit_hash string
      • commit_message string
      • commit_view_url string
      • credit_cost integer
      • environment_prepare_finished_at string
      • finished_at string
      • is_on_hold boolean
      • is_processed boolean
      • is_status_sent boolean
      • log_format string
      • machine_type_id string
      • original_build_params object

        Additional properties are allowed.

      • pipeline_workflow_id string
      • pull_request_id integer
      • pull_request_target_branch string
      • pull_request_view_url string
      • rebuildable boolean
      • slug string
      • stack_identifier string
      • started_on_worker_at string
      • status integer
      • status_text string
      • tag string
      • triggered_at string
      • triggered_by string
      • triggered_workflow string
  • 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}/builds/{build-slug}
curl \
 --request GET 'https://api.bitrise.io/v0.1/apps/{app-slug}/builds/{build-slug}' \
 --header "Authorization: $API_KEY"
Response examples (200)
{
  "data": {
    "abort_reason": "string",
    "branch": "string",
    "build_number": 42,
    "commit_hash": "string",
    "commit_message": "string",
    "commit_view_url": "string",
    "credit_cost": 42,
    "environment_prepare_finished_at": "string",
    "finished_at": "string",
    "is_on_hold": true,
    "is_processed": true,
    "is_status_sent": true,
    "log_format": "string",
    "machine_type_id": "string",
    "original_build_params": {},
    "pipeline_workflow_id": "string",
    "pull_request_id": 42,
    "pull_request_target_branch": "string",
    "pull_request_view_url": "string",
    "rebuildable": true,
    "slug": "string",
    "stack_identifier": "string",
    "started_on_worker_at": "string",
    "status": 42,
    "status_text": "string",
    "tag": "string",
    "triggered_at": "string",
    "triggered_by": "string",
    "triggered_workflow": "string"
  }
}
Response examples (400)
{
  "message": "string"
}
Response examples (401)
{
  "message": "string"
}
Response examples (404)
{
  "message": "string"
}
Response examples (500)
{
  "message": "string"
}