---
title: "Get the bitrise.yml of a build"
method: GET
path: "/apps/{app-slug}/builds/{build-slug}/bitrise.yml"
tags: ["builds"]
---

# Get the bitrise.yml of a build

`GET /apps/{app-slug}/builds/{build-slug}/bitrise.yml`

## Request

- Base URL: `https://api.bitrise.io/v0.1`
- URL: `https://api.bitrise.io/v0.1/apps/{app-slug}/builds/{build-slug}/bitrise.yml`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `Bitrise-Addon-Auth-Token`

Get the bitrise.yml file of one of the builds of a given app. This will return the `bitrise.yml` configuration with which the build ran. You can compare it to [the current bitrise.yml configuration](https://api-docs.bitrise.io/#/application/app-config-datastore-show) of the app.

## Path parameters

- `app-slug` string, required
- `build-slug` string, required

## Response `200`

{the bitrise.yml in yml format}

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/bitrise/apis/bitrise-api.md) - [All operations](https://skmtc.dev/bitrise/apis/bitrise-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bitrise/apis/bitrise-api/revisions/859a161f2622?raw)
