---
title: get-a-repository-image
product: vercel
url: /docs/rest-api/vcr/get-a-repository-image
canonical_url: "https://vercel.com/docs/rest-api/vcr/get-a-repository-image"
last_updated: 2026-07-03
type: reference
prerequisites:
  []
related:
  - /docs/rest-api
summary: Learn about get-a-repository-image on Vercel.
install_vercel_plugin: npx plugins add vercel/vercel-plugin
---

# Get a repository image

```http
GET /v1/vcr/repository/{idOrName}/images/{imageId}
```

Fetch an individual image from a repository, including its tags and Dockerfile history entries with discriminated layer details for UI rendering.

## Authentication

**bearerToken**: HTTP bearer

## Path parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `idOrName` | string. maxLength: 255 | Yes |  |
| `imageId` | string. maxLength: 255 | Yes |  |


## Query parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `projectId` | string | Yes |  |
| `teamId` | string | No | The Team identifier to perform the request on behalf of. |
| `slug` | string | No | The Team slug to perform the request on behalf of. |


## Responses

### 200: No description

Content-Type: `application/json`

```json
{
  "type": "object",
  "required": [
    "image"
  ],
  "properties": {
    "image": {
      "type": "object",
      "description": "A single image with its tags, status and resolved Dockerfile layer history.",
      "required": [
        "createdAt",
        "id",
        "kind",
        "layers",
        "manifestDigest",
        "repositoryId",
        "sizeInBytes",
        "status",
        "tags"
      ],
      "properties": {
        "layers": {
          "type": "array",
          "items": {}
        },
        "status": {
          "type": "string",
          "description": "VHS-readiness status, or `null` for a multi-platform index.",
          "enum": [
            "preparing",
            "ready",
            "unoptimized",
            null
          ],
          "nullable": true
        },
        "tags": {
          "type": "array",
          "description": "Tags pointing at this image's manifest.",
          "items": {
            "type": "string"
          }
        },
        "id": {
          "type": "string",
          "description": "Internal identifier of the image."
        },
        "repositoryId": {
          "type": "string",
          "description": "Identifier of the repository the image belongs to."
        },
        "manifestDigest": {
          "type": "string",
          "description": "SHA-256 digest of the image manifest."
        },
        "kind": {
          "type": "string",
          "description": "Whether the manifest is a multi-platform image index or a single-platform image manifest.",
          "enum": [
            "index",
            "manifest"
          ]
        },
        "platform": {
          "type": "string",
          "description": "Operating system the manifest targets. Only present for single-platform manifests."
        },
        "arch": {
          "type": "string",
          "description": "CPU architecture the manifest targets. Only present for single-platform manifests."
        },
        "pushedBy": {
          "type": "string",
          "description": "Identifier of the actor that pushed the image."
        },
        "sizeInBytes": {
          "type": "number",
          "description": "Total size in bytes of the image's resources (manifest, config and layer blobs) stored by the registry."
        },
        "vhs": {
          "type": "object",
          "description": "Converted VHS drive data, present once an image has been optimized for sandbox launch.",
          "required": [
            "digest",
            "path"
          ],
          "properties": {
            "path": {
              "type": "string"
            },
            "digest": {
              "type": "string"
            },
            "config": {
              "type": "object",
              "description": "Optional VHS drive configuration captured for an optimized image."
            }
          }
        },
        "createdAt": {
          "type": "string",
          "description": "ISO 8601 timestamp of when the image was created."
        }
      }
    }
  }
}
```

### 400: One of the provided values in the request query is invalid.

### 401: The request is not authorized.

### 403: You do not have permission to access this resource.

### 404: No description

---

## Related

- [vcr endpoints](/docs/rest-api#vcr)

- [REST API overview](/docs/rest-api)

- [OpenAPI spec](https://openapi.vercel.sh/) (machine-readable, all endpoints)

---

[View full sitemap](/docs/sitemap)
