Agent Docs

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

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.

get/api/artifacts/{id}/download-all

Request

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

Path parameters

idstring required

Artifact identifier returned by search.

Query parameters

status'1'

Use 1 for availability only; no signed URLs are created.

snapshotstring

Inventory snapshot returned by a previous response.

pathstring

Select one exact file. Requires its snapshot.

Response

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

schemaVersion'hugging-bay.model-download-all.v1' required
availableboolean required
reasonstring
artifactIdstring
finalityobject
snapshotstring
fileCountinteger
totalBytesinteger
scopestring
deliverystring
hashAlgorithm'sha256'

Changes

No recorded changes to this operation across all 1 revision of this API.