---
title: "Get a repository"
method: GET
path: "/v1/vcr/repository/{idOrName}"
tags: ["vcr"]
---

# Get a repository

`GET /v1/vcr/repository/{idOrName}`

Fetch a container registry repository for a project by ID or name.

## Path parameters

- `idOrName` string, required

## Query parameters

- `projectId` string, required
- `teamId` string
- `slug` string

## Response `200`

- object
  - `repository` VcrRepository, required — A Vercel Container Registry repository.
    - `id` string, required — Unique identifier of the repository.
    - `projectId` string, required — Identifier of the project the repository belongs to.
    - `name` string, required — Name of the repository.
    - `public` false | true, required — Whether the repository is public. Images in public repositories can be pulled by anyone. Defaults to `false` (private).
    - `createdAt` string, required — ISO 8601 timestamp of when the repository was created.
    - `updatedAt` string, required — ISO 8601 timestamp of when the repository was last updated.

## Other responses

- `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`
- `410`

## Changes

> 39 revisions in range; 4 could not be searched.

- **2026-08-04** `0b0420c2223a` — 1 info
  - added the required property `repository/public` to the response with the `200` status
- **2026-07-21** `2ae10ee9d21c` — 1 info
  - added the non-success response with the status `410`
- **2026-07-08** `3ff660568354` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/vercel/apis/api/changes/v1/vcr/repository/:idOrName/get.md)

---

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