Download Model File
const url = 'https://api.qualia.dev/v1/models/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/files/example:download';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.qualia.dev/v1/models/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/files/example:download \ --header 'X-API-Key: <X-API-Key>'A short-lived link to one file of a trained model.
url is signed by the storage CDN and works without credentials for
about an hour: fetch it directly, sending no X-API-Key. A small file
with no CDN link comes inline as content_base64. Check the bytes
against sha256 (or blob_id) from the listing.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Query Parameters
Section titled “Query Parameters ”Scope to this account (the dashboard’s active account). Membership is verified upstream; a non-member gets 403.
Scope to this account (the dashboard’s active account). Membership is verified upstream; a non-member gets 403.
The workspace the model lives in; a project-restricted key must name it.
The workspace the model lives in; a project-restricted key must name it.
Responses
Section titled “ Responses ”A short-lived signed link to the file
Where to fetch one file of a trained model.
url is a short-lived link signed by the storage CDN: a bearer link to
this one file, sent without credentials, until expires_at. A small file
the store serves without a CDN link comes inline in content_base64.
object
Path within the model, ’/‘-separated
Size in bytes
SHA-256 of the content; null for small files stored without one, which blob_id checks instead
Git blob id (SHA-1 of ‘blob
Signed download link
When the link stops working, if known
The file itself, base64, when no link exists
Example generated
{ "path": "example", "size": 1, "sha256": "example", "blob_id": "example", "url": "example", "expires_at": "2026-04-15T12:00:00Z", "content_base64": "example"}Invalid or missing API key
Standard error response.
object
Error message describing what went wrong
Example generated
{ "detail": "example"}No such model or file
Standard error response.
object
Error message describing what went wrong
Example generated
{ "detail": "example"}The model has no pinned export to download
Standard error response.
object
Error message describing what went wrong
Example generated
{ "detail": "example"}Validation Error
object
object
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}