curl --request GET \
--url https://api.example.com/api/models/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "<string>",
"name": "<string>",
"metadata": {
"numParameters": 123,
"contextWindowSize": 123,
"trainedFor": "text-generation",
"description": "<string>",
"license": "<string>",
"languages": [
"<string>"
],
"last_updated": "2023-11-07T05:31:56Z",
"library_name": "<string>",
"model_type": "<string>",
"resources": {
"canonicalUrl": "<string>",
"paperUrl": "<string>"
},
"publisher": "<string>",
"files": [
{
"id": "<string>",
"name": "<string>",
"downloadUrl": "<string>",
"sizeBytes": 123,
"sha256checksum": "<string>",
"quantization": "<string>",
"format": "<string>",
"maxRamUsage": 123,
"isDownloaded": true,
"localPath": "<string>"
}
]
}
}
}Retrieves detailed information about a specific model, including its metadata and files
curl --request GET \
--url https://api.example.com/api/models/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "<string>",
"name": "<string>",
"metadata": {
"numParameters": 123,
"contextWindowSize": 123,
"trainedFor": "text-generation",
"description": "<string>",
"license": "<string>",
"languages": [
"<string>"
],
"last_updated": "2023-11-07T05:31:56Z",
"library_name": "<string>",
"model_type": "<string>",
"resources": {
"canonicalUrl": "<string>",
"paperUrl": "<string>"
},
"publisher": "<string>",
"files": [
{
"id": "<string>",
"name": "<string>",
"downloadUrl": "<string>",
"sizeBytes": 123,
"sha256checksum": "<string>",
"quantization": "<string>",
"format": "<string>",
"maxRamUsage": 123,
"isDownloaded": true,
"localPath": "<string>"
}
]
}
}
}Was this page helpful?