---
title: "List a sandbox image's builds"
method: GET
path: "/projects/{projectId}/images/{imageId}/builds"
tags: ["Sandbox images"]
---

# List a sandbox image's builds

`GET /projects/{projectId}/images/{imageId}/builds`

A sandbox image's builds, newest first, each with its status and capped log preview.

## Path parameters

- `projectId` string, required
- `imageId` string, required

## Response `200`

The sandbox image's builds.

- SandboxImageBuildPage
  - `items` SandboxImageBuild[], required
    - `id` string, required
    - `status` 'queued' | 'building' | 'ready' | 'failed', required
    - `provider` 'e2b' | 'stub', required
    - `e2bBuildId` string
    - `baseImageDigests` string[], required — Resolved sha256 digest of every FROM base (the reproducibility pin).
    - `logPreview` string — Capped, ANSI-stripped tail of the build log.
    - `error` string
    - `createdAt` number, required
    - `startedAt` number
    - `finishedAt` number
  - `nextCursor` string

## Other responses

- `401` — Missing, invalid, revoked, or orphaned key (`UNAUTHORIZED`) — or the **target MCP server** needs an OAuth grant (`OAUTH_REQUIRED`), which is a property of the server, not your key.
- `403` — Key is valid but not allowed to do this.
- `404` — Unknown project, server, or resource.
- `429` — Per-key rate limit exceeded (60 requests/minute sustained, bursts up to 10). Honor `Retry-After` and back off with jitter.
- `500` — Something failed on MCPJam's side.
- `502` — Could not connect to the target MCP server.

## Changes

- **2026-07-25** `8e393fd5825f` — 6 warning
  - added the new `CONFLICT` enum value to the `code` response property for the response status `401`
  - added the new `CONFLICT` enum value to the `code` response property for the response status `403`
  - added the new `CONFLICT` enum value to the `code` response property for the response status `404`
  - added the new `CONFLICT` enum value to the `code` response property for the response status `429`
  - …2 more
- **2026-07-25** `302cc2d08c56` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/mcpjam/apis/mcpjam-api/changes/projects/:projectId/images/:imageId/builds/get.md)

---

[API](https://skmtc.dev/mcpjam/apis/mcpjam-api.md) · [All operations](https://skmtc.dev/mcpjam/apis/mcpjam-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mcpjam/mcpjam-api/revisions/b7c1342bf59e/schema)
