PUT
/
v4
/
serving
/
{model_server_id}
/
backend

Authorizations

x-api-key
string
headerrequired

Headers

x-selected-account-id
string | null

Path Parameters

model_server_id
string
required

Body

application/json
new_model_deployment_id
string
required

Response

200 - application/json

Point the model server to a new model deployment.

Args: old_model_deployment_id(str): The ID of the model deployment to use as the new backend.

name
string
required
model_server_id
string
required
model_deployment_id
string
required
account_id
string
required
new_model_deployment_id
string
required
old_model_deployment_id
string
required
alias
string