Skip to main content
GET
/
models
/
{modelId}
/
files
List all files for a specific model
curl --request GET \
  --url https://api.example.com/models/{modelId}/files \
  --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>"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Enter your API key here

Path Parameters

modelId
string
required

ID of the model

Query Parameters

downloaded
boolean

Filter to only show downloaded files

Response

List of model files retrieved successfully

data
object[]