---
title: "List registries"
method: GET
path: "/spaces/{space_ref}/registries"
tags: ["Spaces"]
---

# List registries

`GET /spaces/{space_ref}/registries`

Lists all the registries.

## Path parameters

- `space_ref` string, required

## Query parameters

- `package_type` string[]
- `type` 'VIRTUAL' | 'UPSTREAM'
- `page` integer
- `size` integer
- `sort_order` string
- `sort_field` string
- `search_term` string
- `recursive` boolean
- `scope` 'ancestors' | 'descendants' | 'none'

## Response `200`

response for list registry

- object
  - `status` 'SUCCESS' | 'FAILURE' | 'ERROR', required — Indicates if the request was successful or not
  - `data` ListRegistry, required — A list of Harness Artifact Registries
    - `pageCount` integer — The total number of pages
    - `itemCount` integer — The total number of items
    - `pageSize` integer — The number of items per page
    - `pageIndex` integer — The current page
    - `registries` RegistryMetadata[], required — A list of Harness Artifact Registries
      - `type` 'VIRTUAL' | 'UPSTREAM', required — refers to type of registry i.e virtual or upstream
      - `packageType` 'DOCKER' | 'MAVEN' | 'PYTHON' | 'GENERIC' | 'HELM' | 'NUGET' | 'NPM' | 'RPM' | 'CARGO' | 'GO' | 'HUGGINGFACE', required — refers to package
      - `description` string
      - `url` string, required
      - `identifier` string, required
      - `registrySize` string
      - `downloadsCount` integer
      - `artifactsCount` integer
      - `labels` string[]
      - `lastModified` string
      - `path` string
      - `isPublic` boolean, required
      - `uuid` string, required
      - `deletedAt` string — Timestamp in milliseconds when the registry was soft-deleted

## Other responses

- `400` — Bad request
- `401` — Unauthenticated
- `403` — Unauthorized
- `404` — The specified resource was not found
- `500` — Internal server error

---

[API](https://skmtc.net/harness/apis/harness-artifact-registry-api.md) · [All operations](https://skmtc.net/harness/apis/harness-artifact-registry-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/harness/harness-artifact-registry-api/revisions/e315ed26a2f1/schema)
