POST/v1/custom-models/{model_id}/versions/{model_version_id}/download

Download 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_idstringrequired
  • model_version_idstringrequired

Responses

  • 200

    Success. Example response excerpt.

  • 422

    Invalid request.

    Response
    • detailarray<object>
      detail
      • ctxobject
      • inputany
      • locarray<string | integer>required
      • msgstringrequired
      • typestringrequired

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