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

# List artifacts

`GET /spaces/{space_ref}/artifacts`

Lists all the artifacts

## Path parameters

- `space_ref` string, required

## Query parameters

- `reg_identifier` string[]
- `page` integer
- `size` integer
- `sort_order` string
- `sort_field` string
- `search_term` string
- `latest_version` boolean
- `package_type` string[]

## Response `200`

response for list artifact

- object
  - `status` 'SUCCESS' | 'FAILURE' | 'ERROR', required — Indicates if the request was successful or not
  - `data` ListArtifact, required — A list of Artifacts
    - `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
    - `artifacts` ArtifactMetadata[], required — A list of Artifact
      - `name` string, required
      - `version` string
      - `registryIdentifier` string, required
      - `registryPath` string, required
      - `labels` string[]
      - `downloadsCount` integer
      - `lastModified` string
      - `pullCommand` string
      - `isQuarantined` boolean
      - `quarantineReason` string
      - `packageType` 'DOCKER' | 'MAVEN' | 'PYTHON' | 'GENERIC' | 'HELM' | 'NUGET' | 'NPM' | 'RPM' | 'CARGO' | 'GO' | 'HUGGINGFACE', required — refers to package
      - `artifactType` 'model' | 'dataset' — refers to artifact type
      - `metadata` ArtifactEntityMetadata — Artifact Entity Metadata
      - `uuid` string, required
      - `registryUUID` string, required
      - `deletedAt` string — Timestamp in milliseconds when the registry was soft-deleted
      - `registryType` 'VIRTUAL' | 'UPSTREAM' — refers to type of registry i.e virtual or upstream

## 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/versions/e315ed26a2f1/schema)
