Skip to main content
GET
/
v1
/
api
/
artifacts
/
{id}
/
download
Download an artifact
curl --request GET \
  --url https://api.hq.zone/v1/api/artifacts/{id}/download \
  --header 'Authorization: Bearer <token>'

Binary response

Returns the raw file bytes with the artifact’s stored Content-Type (not JSON), plus a Content-Disposition filename for download. The interactive playground may not render binary — fetch it programmatically and stream the body to a file.

Authorizations

Authorization
string
header
required

Personal Access Token. Send as Authorization: Bearer hq_pat_....

Path Parameters

id
string<uuid>
required

Artifact id

Response

The artifact bytes, streamed, with the original Content-Type and a Content-Disposition: attachment carrying the filename