---
title: "Get Artifact Stats"
method: GET
path: "/registry/{registry_ref}/artifact/{artifact}/stats"
tags: ["Artifacts"]
---

# Get Artifact Stats

`GET /registry/{registry_ref}/artifact/{artifact}/stats`

Get Artifact Stats.

## Path parameters

- `registry_ref` string, required
- `artifact` string, required

## Query parameters

- `from` string
- `to` string

## Response `200`

response to get artifact stats response

- object
  - `status` 'SUCCESS' | 'FAILURE' | 'ERROR', required — Indicates if the request was successful or not
  - `data` ArtifactStats, required — Harness Artifact Stats
    - `downloadCount` integer
    - `uploadSize` integer
    - `downloadSize` integer
    - `totalStorageSize` integer

## 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)
