---
title: "Download deterministic BitTorrent v2 metainfo with a hybrid v1 view."
method: GET
path: "/artifact/{id}/download.torrent"
tags: ["Artifacts"]
---

# Download deterministic BitTorrent v2 metainfo with a hybrid v1 view.

`GET /artifact/{id}/download.torrent`

## Request

- Base URL: `https://huggingbay.xyz`
- URL: `https://huggingbay.xyz/artifact/{id}/download.torrent`
- Auth: none declared

Generated only from the current serve_eligible_files security-barrier view. Every generation rechecks artifact_files.sha256 and full generation-pinned GCS object bytes. The BEP 19 webseed uses the stable /api/downloads/ redirect route; expiring signed object URLs are not embedded.

**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.** Read the status and Content-Type before decoding. Document, image, redirect and file routes need not return JSON errors.

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

## Headers

- `If-None-Match` string

## Response `200`

Hybrid v1/v2 torrent metainfo for exactly the hosted, serve-eligible file set.

## Other responses

- `304`: The strong torrent ETag matched If-None-Match.
- `404`: Artifact is absent, non-public, or has no current serve-eligible hosted files.
- `409`: Artifact/file quarantine, license-material omission, or SHA-256/size integrity mismatch.
- `503`: Serving authority, relational inventory, or generation-pinned GCS bytes are unavailable.

---

[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/ea7ba26b1e27?raw)
