Skip to main content
PUT
PUT /v1/mlmodels

Update an ML Model

Create an ML model or update it if it already exists, using PUT /v1/mlmodels with the full request body. Send the complete definition, not just the fields you want to change. To change only some fields, use PATCH with a JSON Patch array and the application/json-patch+json content type, as shown in the PATCH examples below.

Body Parameters

string
required
Name of the ML model. Must be unique within the parent ML model service.
string
required
Fully qualified name of the parent MlModelService, for example mlflow_svc.
string
Algorithm used by the ML model, for example KMeans, RandomForest, XGBoost, Neural Network.
string
Human-readable display name for the ML model.
string
Description of the ML model in Markdown format.
array
Array of ML features used by the model.
array
Array of hyperparameters used by the model.
string
Target variable or objective of the ML model.
string
Endpoint URL for the model serving server.
string
Fully qualified name of the associated dashboard, for example sample_looker.model_dashboard.
array
Array of owner references (users or teams) to assign to the ML model.
array
Fully qualified names of the domains to assign for governance purposes.
array
Array of classification tags to apply to the ML model.
object
Custom property values defined by your organization’s metadata schema.
PUT /v1/mlmodels

Returns

Returns the updated ML model object with the new version number.

Response

string
Unique identifier for the ML model (UUID format).
string
ML model name.
string
Fully qualified name in format service.modelName.
string
Updated description.
number
Incremented version number.

Error Handling