---
title: "Submit magnet metadata for reviewed peer-assisted fallback distribution."
method: POST
path: "/api/artifacts/{id}/decentralized-fallbacks"
tags: ["Artifacts", "Mirrors"]
---

# Submit magnet metadata for reviewed peer-assisted fallback distribution.

`POST /api/artifacts/{id}/decentralized-fallbacks`

## Request

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

Accepts magnet metadata for public review. Requests must include sourceUrl and at least one file scope matching a Hugging Bay-hosted file. Hugging Bay does not publish unreviewed fallback links, does not host torrent payloads here, and does not allow gated/private/license bypasses.

**Inputs.** Path, query and header fields are listed below. The request body schema lists accepted fields and required values.

**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.** Write and protocol operations can have separate route-specific limits. Read Retry-After and retry_after_s when present; do not infer a write allowance from the public read budget.

**Example setup.** Use an identifier returned by the matching list, search or create operation. Sample identifiers are not a promise that a record exists. This example is not executed by documentation checks. Review the operation and obtain any required user consent before sending it.

## Path parameters

- `id` string, required

## Request body

- object
  - `magnetUri` string, required
  - `sourceUrl` string, required
  - `filePath` string
  - `filePaths` string[]
  - `displayName` string
  - `useCase` string
  - `note` string
  - `sizeBytes` number
  - `fileCount` number

## Response `200`

Duplicate fallback request already queued

- object: Duplicate fallback request already queued. Fields can vary; no stronger field guarantee is specified for this operation.

## Other responses

- `201`: Fallback request queued for review
- `422`: Invalid magnet metadata

---

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