---
title: "Get artifact usage metrics"
method: GET
path: "/admin/usage/artifacts/{groupId}/{artifactId}"
tags: ["Admin"]
---

# Get artifact usage metrics

`GET /admin/usage/artifacts/{groupId}/{artifactId}`

## Request

- The document declares no server URL.
- Auth: none declared

## Path parameters

- `groupId` string, required
- `artifactId` string, required

## Response `200`

The artifact usage metrics.

- ArtifactUsageMetrics
  - `groupId` string, required
  - `artifactId` string, required
  - `versions` VersionUsageMetrics[], required
    - `version` string, required
    - `globalId` integer, required
    - `totalFetches` integer, required
    - `uniqueClients` integer, required
    - `firstFetchedOn` integer, required
    - `lastFetchedOn` integer, required
    - `clients` string[]
    - `classification` 'ACTIVE' | 'STALE' | 'DEAD', required: Classification of schema usage based on last fetch time.

## Other responses

- `404`: Common response for all operations that can return a `404` error.
- `409`: Common response used when an input conflicts with existing data.
- `500`: Common response for all operations that can fail with an unexpected server error.

## Changes

- **2026-10-31** `ff9684af2aad`: 15 info
  - added the optional property `ruleViolation/causes/items/code` to the response with the `404` status
  - added the optional property `ruleViolation/causes/items/code` to the response with the `409` status
  - added the optional property `ruleViolation/causes/items/code` to the response with the `500` status
  - added the optional property `ruleViolation/causes/items/direction` to the response with the `404` status
  - …11 more
- **2026-10-29** `f17f5df4e79c`: 3 info
  - added the optional property `ruleViolation` to the response with the `404` status
  - added the optional property `ruleViolation` to the response with the `409` status
  - added the optional property `ruleViolation` to the response with the `500` status
- **2026-05-18** `561c6d6c6989`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/apicurio/apis/apicurio-registry-api-v3/changes/admin/usage/artifacts/:groupId/:artifactId/get.md)

---

[API](https://skmtc.dev/apicurio/apis/apicurio-registry-api-v3.md) - [All operations](https://skmtc.dev/apicurio/apis/apicurio-registry-api-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/apicurio/apis/apicurio-registry-api-v3/revisions/ff9684af2aad?raw)
