Skip to main content
POST
/
environments
/
{env_name}
/
wake
Wake a named environment of a model.
curl --request POST \
  --url https://model-{model_id}.api.baseten.co/environments/{env_name}/wake \
  --header 'Authorization: Bearer <token>'
{
  "error": "<string>",
  "detail": "<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

env_name
string
required

The name of the environment (e.g. production, staging).

Response

Wake request accepted.