---
title: "Fetch one agent-ready artifact bundle."
method: GET
path: "/api/artifacts/{id}/agent-bundle"
tags: ["Artifacts", "Agent Docs"]
---

# Fetch one agent-ready artifact bundle.

`GET /api/artifacts/{id}/agent-bundle`

## Request

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

Packages metadata, card, trust bundle, mirror readiness, hosted files, and safe next actions in one bounded response.

**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`

Agent artifact bundle

- ArtifactAgentBundle
  - `schemaVersion` 'hugging-bay.agent-artifact-bundle.v1', required
  - `generatedAt` string, required
  - `baseUrl` string
  - `id` string, required
  - `repo` string, required
  - `metadata` ArtifactMetadata, required (unresolved $ref)
  - `card` ArtifactCard, required (unresolved $ref)
  - `distribution` ArtifactDistribution (unresolved $ref)
  - `trustBundle` TrustBundle, required (unresolved $ref)
  - `mirrorReadiness` MirrorReadiness, required (unresolved $ref)
  - `downloadableFiles` DownloadableFileRow[] (unresolved $ref)
  - `recommendedNextActions` string[]
  - `urls` object

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