POST
/v1/custom-models/{model_id}/versions/{model_version_id}/downloadDownload a model adapter
Requires training:read. Returns a download URL valid for 300 seconds, sha256 and bytes. If the adapter is not ready, returns 409 artifact_not_archived. Do not send your API key to the download URL. Deploy the downloaded adapter to a compatible inference server.
Authentication: Bearer API key in the Authorization header
Path parameters
model_idstringrequiredmodel_version_idstringrequired
Responses
200Success. Example response excerpt.
422Invalid request.
Response
detailarray<object>detail
ctxobjectinputanylocarray<string | integer>requiredmsgstringrequiredtypestringrequired
Request
curl -X POST 'https://api.staging.experientiallabs.ai/v1/custom-models/00000000-0000-4000-8000-000000000001/versions/00000000-0000-4000-8000-000000000006/download' \
-H "Authorization: Bearer <YOUR_API_KEY>"Response
{
"url": "https://example.invalid/signed-adapter",
"expires_in_seconds": 300,
"sha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"bytes": 185000000
}https://api.staging.experientiallabs.ai/v1/custom-models/00000000-0000-4000-8000-000000000001/versions/00000000-0000-4000-8000-000000000006/download