---
title: "List the registries"
method: GET
path: "/registries"
tags: ["registry"]
---

# List the registries

`GET /registries`

List the registries

## Query parameters

- `q` string
- `sort` string
- `page` integer
- `page_size` integer
- `name` string

## Headers

- `X-Request-Id` string

## Response `200`

Success

- Registry[]
  - `id` integer — The registry ID.
  - `url` string — The registry URL string.
  - `name` string — The registry name.
  - `credential` RegistryCredential
    - `type` string — Credential type, such as 'basic', 'oauth'.
    - `access_key` string — Access key, e.g. user name when credential type is 'basic'.
    - `access_secret` string — Access secret, e.g. password when credential type is 'basic'.
  - `type` string — Type of the registry, e.g. 'harbor'.
  - `insecure` boolean — Whether or not the certificate will be verified when Harbor tries to access the server.
  - `ca_certificate` string, nullable — The PEM-encoded CA certificate for this registry endpoint. If provided, this CA will be used to verify the registry's certificate instead of the system CA pool.
  - `description` string — Description of the registry.
  - `status` string — Health status of the registry.
  - `creation_time` string, date-time — The create time of the policy.
  - `update_time` string, date-time — The update time of the policy.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal server error

---

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