Skip to main content
GET
/
v1
/
models
/
{model_id}
/
deployments
/
{deployment_id}
/
download
cURL
curl --request GET \
--url https://api.baseten.co/v1/models/{model_id}/deployments/{deployment_id}/download \
--header "Authorization: Bearer $BASETEN_API_KEY"
{
  "download_url": "<string>"
}

Authorizations

Authorization
string
header
required

Pass your Baseten API key. Clients automatically send Authorization: Bearer <key>. Direct callers can also use Authorization: Api-Key <key>; both schemes are accepted.

Path Parameters

model_id
string
required
deployment_id
string
required

Response

200 - application/json

The response to a request to download a deployment's truss.

download_url
string
required

Presigned URL to download the truss tar file