---
title: "Fetch artifact version provenance and freshness metadata."
method: GET
path: "/api/artifacts/{id}/versions"
tags: ["Artifacts", "Agent Docs"]
deprecated: true
---

# Fetch artifact version provenance and freshness metadata.

`GET /api/artifacts/{id}/versions`

## Request

- Base URL: `https://huggingbay.xyz`
- URL: `https://huggingbay.xyz/api/artifacts/{id}/versions`
- Auth: none declared

> **Deprecated.**

Alias of /api/v1/artifacts/{id}/versions (recorded; identical handler). Prefer the recorded path: this one already answers with Deprecation and Sunset headers. Returns bounded version rows with source URLs, release timestamps, scan state, verification state, manifest digest evidence, and safe agent workflow guidance.

**Inputs.** Path, query and header fields are listed below. No request body is required.

**Outputs.** See each status below for its media type, schema and headers. A missing record or unavailable capability is not a successful empty result.

**Errors.** API JSON failures use the documented response schema. Read code, message and next; retry only when the response allows it. Auth, invalid input and missing records need a caller change.

**Rate limits.** Public read budgets apply by client IP and route group. This operation can have a smaller route-specific budget. Read Retry-After on 429 or retryable 503 responses.

**Example setup.** Use an identifier returned by the matching list, search or create operation. Sample identifiers are not a promise that a record exists.

## Path parameters

- `id` string, required

## Query parameters

- `compat` 'containment'

## Response `200`

Artifact version provenance document

- object: Artifact version provenance document. Fields can vary; no stronger field guarantee is specified for this operation.

## Other responses

- `404`: Not found

---

[API](https://skmtc.dev/huggingbay/apis/hugging-bay-public-api.md) · [All operations](https://skmtc.dev/huggingbay/apis/hugging-bay-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/huggingbay/apis/hugging-bay-public-api/revisions/63c474bf0fe4?raw)
