Get a list of all build artifacts

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

List all build artifacts that have been generated for an app's build. This endpoint can retrieve artifacts from the archive as well. You can use the created build artifact slugs from the response output to retrieve data of a specific build artifact with the GET/apps/ endpoint or update a build artifact with the PATCH/apps endpoint.

Path parameters

  • app-slug string Required

    App slug

  • build-slug string Required

    Build slug

Query parameters

  • next string

    Slug of the first build artifact in the response

  • limit integer

    Max number of build artifacts per page is 50.

    Maximum value is 50.

Responses

  • 200

    OK

    Hide response attributes Show response attributes object
    • data array[object]
      Hide data attributes Show data attributes object
      • artifact_meta object

        Additional properties are allowed.

      • artifact_type string
      • file_size_bytes integer
      • intermediate_file_info object

        Additional properties are allowed.

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