---
title: "List persisted Bazel build records for an Xcode instance."
method: GET
path: "/v1/xcode_instances/{id}/bazel_build_logs"
---

# List persisted Bazel build records for an Xcode instance.

`GET /v1/xcode_instances/{id}/bazel_build_logs`

Returns a summary and a short-lived presigned download URL for each
Bazel build (RBE invocation) that ran on the given Xcode instance.
Builds are returned in chronological order. Records persist after the
instance is terminated, subject to the configured retention window.

## Path parameters

- `id` string, required

## Response `200`

OK

- BazelBuildLog[]
  - `id` string, required — Bazel invocation ID (UUID) from the build event stream.
  - `status` string, required — Terminal status (SUCCEEDED, FAILED, CANCELLED, INCOMPLETE).
  - `pattern` string[] — The build target patterns, if captured.
  - `startedAt` string, date-time
  - `durationMs` integer — Wall-clock duration of the invocation, in milliseconds.
  - `error` string — Error message captured on failure, if any.
  - `downloadUrl` string, required — Short-lived presigned URL for fetching the full .jsonl record from object storage.

## Other responses

- `default` — Error

---

[API](https://skmtc.net/limrun-inc/apis/limrun-api.md) · [All operations](https://skmtc.net/limrun-inc/apis/limrun-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/limrun-inc/limrun-api/versions/0a3cd7959546/schema)
