---
title: "Read a complete model release inventory or short-lived file URLs."
method: GET
path: "/api/artifacts/{id}/download-all"
tags: ["Agent Docs"]
---

# Read a complete model release inventory or short-lived file URLs.

`GET /api/artifacts/{id}/download-all`

## Request

- Base URL: `https://huggingbay.xyz`
- URL: `https://huggingbay.xyz/api/artifacts/{id}/download-all`
- Auth: none required

Returns metadata, not an archive or byte stream. status=1 can return HTTP 200 available:false when a public model is not fully hosted. Without status=1, valid inventories include signed URLs lasting at most 300 seconds. Responses are private, no-store. Read hashes and verify bytes after download.

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

- `status` '1'
- `snapshot` string
- `path` string

## Response `200`

Read a complete model release inventory or short-lived file URLs.

- object
  - `schemaVersion` 'hugging-bay.model-download-all.v1', required
  - `available` boolean, required
  - `reason` string
  - `artifactId` string
  - `finality` object
  - `snapshot` string
  - `fileCount` integer
  - `totalBytes` integer
  - `scope` string
  - `delivery` string
  - `hashAlgorithm` 'sha256'
  - `files` object[]
    - `path` string
    - `sizeBytes` integer
    - `sha256` string
    - `generation` string
    - `url` string
    - `expiresAt` string

## Other responses

- `404`: Public model or selected file is unavailable.
- `409`: Inventory, license, manifest or snapshot checks failed.
- `429`: Request budget exceeded. Wait for Retry-After.
- `503`: Storage or current model state is 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/63c474bf0fe4?raw)
