Get a specific build artifact

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

Retrieve data of a specific build artifact. The endpoint can retrieve archived artifacts as well. The response output contains a time-limited download url (expires in 10 minutes) and a public install-page URL. You can view the build artifact with both URLs, but the public install-page url will not work unless you enable it.

Path parameters

  • app-slug string Required

    App slug

  • build-slug string Required

    Build slug

  • artifact-slug string Required

    Artifact slug

Query parameters

  • download integer

    Setting this will result in a redirect to the artifact download location

Responses

  • 200

    OK

    Hide response attribute Show response attribute object
    • data object

      Additional properties are allowed.

      Hide data attributes Show data attributes object
      • artifact_meta object

        Additional properties are allowed.

      • artifact_type string
      • expiring_download_url string
      • file_size_bytes integer
      • intermediate_file_info object

        Additional properties are allowed.

      • is_public_page_enabled boolean
      • public_install_page_url string
      • slug string
      • title 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}/artifacts/{artifact-slug}
curl \
 --request GET 'https://api.bitrise.io/v0.1/apps/{app-slug}/builds/{build-slug}/artifacts/{artifact-slug}' \
 --header "Authorization: $API_KEY"
Response examples (200)
{
  "data": {
    "artifact_meta": {},
    "artifact_type": "string",
    "expiring_download_url": "string",
    "file_size_bytes": 42,
    "intermediate_file_info": {},
    "is_public_page_enabled": true,
    "public_install_page_url": "string",
    "slug": "string",
    "title": "string"
  }
}
Response examples (400)
{
  "message": "string"
}
Response examples (401)
{
  "message": "string"
}
Response examples (404)
{
  "message": "string"
}
Response examples (500)
{
  "message": "string"
}