---
title: "Returns details for a single container registry repository in the project."
method: GET
path: "/projects/{project_id}/ccr/repositories/{repository_id}"
tags: ["Ccr", "Container Registry"]
---

# Returns details for a single container registry repository in the project.

`GET /projects/{project_id}/ccr/repositories/{repository_id}`

## Request

- Base URL: `https://api.cloud.crusoe.ai/v1`
- URL: `https://api.cloud.crusoe.ai/v1/projects/{project_id}/ccr/repositories/{repository_id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/crusoecloud/apis/crusoe-cloud-api-gateway/docs/projects/:project_id/ccr/repositories/:repository_id/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `project_id` string, required
- `repository_id` string, required

## Query parameters

- `location` string

## Response `200`

- Repository
  - `created_at` string, date-time: Creation timestamp of the repository, in RFC3339 format.
  - `id` string: ID of the repository.
  - `location` string: Location the repository is hosted in.
  - `max_size_bytes` string: Maximum total size of the repository, in bytes.
  - `mode` string: Mode of the repository, which determines how images are stored and served.
  - `name` string: Name of the repository.
  - `state` string: State of the repository.
  - `upstream_registry` UpstreamRegistry
    - `provider` string: Provider of the upstream registry.
    - `upstream_registry_credentials` UpstreamRegistryCredentials
      - `password` string: Password used to authenticate to the upstream registry.
      - `username` string: Username used to authenticate to the upstream registry.
    - `url` string: Base URL of the upstream registry that the repository caches images from.
  - `url` string: URL at which the repository can be accessed.

## Other responses

- `400`: Error Bad Request
- `401`: Error Authentication Failed
- `403`: Error Permissions
- `500`: Error Internal Server

---

[API](https://skmtc.dev/crusoecloud/apis/crusoe-cloud-api-gateway.md) - [All operations](https://skmtc.dev/crusoecloud/apis/crusoe-cloud-api-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/crusoecloud/apis/crusoe-cloud-api-gateway/revisions/a3fd2dedc72b?raw)
