PATCH /v1/mlmodels/{id}
Update an ML Model
Update ML model properties using JSON Patch
PATCH
PATCH /v1/mlmodels/{id}
Documentation Index
Fetch the complete documentation index at: https://openmetadata-codex-audit-docs-codebase-alignment.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Update an ML Model
Update an ML model’s properties using JSON Merge Patch. You can update by ID or by fully qualified name.Update by ID
UUID of the ML model to update.
Update by Name
UsePATCH /v1/mlmodels/name/{fqn} to update by fully qualified name.
Fully qualified name of the ML model (e.g.,
mlflow_svc.customer_segmentation).Body Parameters
Send a JSON object with the fields to update. Only provided fields are changed.Updated description in Markdown format.
Updated display name.
Updated algorithm name.
Updated list of ML features.
Updated list of hyperparameters.
Updated target variable.
Updated list of owner references.
Updated classification tags.
Updated domain FQN.
Updated custom property values.
PATCH /v1/mlmodels/{id}
Returns
Returns the updated ML model object with the new version number.Response
Unique identifier for the ML model (UUID format).
ML model name.
Fully qualified name in format
service.modelName.Updated description.
Incremented version number.
Error Handling
| Code | Error Type | Description |
|---|---|---|
400 | BAD_REQUEST | Invalid JSON patch or malformed request |
401 | UNAUTHORIZED | Invalid or missing authentication token |
403 | FORBIDDEN | User lacks permission to update this ML model |
404 | NOT_FOUND | ML model with given ID or FQN does not exist |
409 | CONFLICT | Concurrent modification detected |