---
title: "Lists all container registry repositories in the project and returns their details."
method: GET
path: "/projects/{project_id}/ccr/repositories"
tags: ["Ccr", "Container Registry"]
---

# Lists all container registry repositories in the project and returns their details.

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

## Path parameters

- `project_id` string, required

## Query parameters

- `page` integer
- `page_size` integer
- `sort_by` string
- `sort_order` string

## Response `200`

- ListRepositoriesResponse
  - `items` Repository[] — List of repositories.
    - `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.net/crusoecloud/apis/crusoe-cloud-api-gateway.md) · [All operations](https://skmtc.net/crusoecloud/apis/crusoe-cloud-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/crusoecloud/crusoe-cloud-api-gateway/versions/a3fd2dedc72b/schema)
