Skip to main content
POST
/
v1
/
models
/
{model_id}
/
environments
/
{env_name}
/
activate
cURL
curl --request POST \
--url https://api.baseten.co/v1/models/{model_id}/environments/{env_name}/activate \
--header "Authorization: Bearer $BASETEN_API_KEY"
{
  "success": true
}

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
env_name
string
required

Response

200 - application/json

The response to a request to activate a deployment.

success
boolean
default:true

Whether the deployment was successfully activated