curl --request GET \
--url https://api.example.com/api/models/{modelId}/files/{fileId} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "<string>",
"name": "<string>",
"downloadUrl": "<string>",
"sizeBytes": 123,
"sha256checksum": "<string>",
"quantization": "<string>",
"format": "<string>",
"maxRamUsage": 123,
"isDownloaded": true,
"downloadStatus": {
"status": "not_started",
"progress": {
"fileId": "<string>",
"modelId": "<string>",
"filename": "<string>",
"downloadedRatio": 123,
"transferredBytes": 123,
"totalBytes": 123,
"paused": true,
"downloadTimeTaken": 123,
"averageMbps": 123
},
"localPath": "<string>"
}
}
}curl --request GET \
--url https://api.example.com/api/models/{modelId}/files/{fileId} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "<string>",
"name": "<string>",
"downloadUrl": "<string>",
"sizeBytes": 123,
"sha256checksum": "<string>",
"quantization": "<string>",
"format": "<string>",
"maxRamUsage": 123,
"isDownloaded": true,
"downloadStatus": {
"status": "not_started",
"progress": {
"fileId": "<string>",
"modelId": "<string>",
"filename": "<string>",
"downloadedRatio": 123,
"transferredBytes": 123,
"totalBytes": 123,
"paused": true,
"downloadTimeTaken": 123,
"averageMbps": 123
},
"localPath": "<string>"
}
}
}Was this page helpful?