(Preview) Update a registered model
post
/20260430/aiDataPlatforms/{aiDataPlatformId}/mlops/api/2.0/mlflow/registered-models/update
(Preview) Updates a registered model with the provided details.
Request
Path Parameters
-
aiDataPlatformId(required): string
The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the AI Data Platform (Data Lake) instance.
Header Parameters
-
dh-user-principal: string
The DH User Principal Header .
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. The only valid characters for request IDs are letters, numbers, underscore, and dash.
-
opc-retry-token: string
Minimum Length:
1Maximum Length:64A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of running that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and removed from the system, then a retry of the original creation request might be rejected.
Details to update the registered model.
Root Schema : UpdateRegisteredModelDetails
Type:
objectThe data to update a RegisteredModel.
Show Source
-
deployment_job_id:
string
Deployment job id for this model.
-
description:
string
Description for the registered model.
-
name(required):
string
Registered model unique name.
Response
Supported Media Types
- application/json
200 Response
Successful operation. Registered model is updated.
Headers
-
etag: string
For optimistic concurrency control. See `if-match`.
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : UpdateRegisteredModelResponseDetails
Type:
objectResponse object for updating a registered model.
Show Source
-
registered_model(required):
object RegisteredModel
Details of the registered model
Nested Schema : RegisteredModel
Type:
objectDetails of the registered model
Show Source
-
aliases:
array aliases
Aliases pointing to model versions associated with this registered_model.
-
creation_timestamp:
integer(int64)
Timestamp in milliseconds when the model was created.
-
deployment_job_id:
string
Deployment job ID.
-
deployment_job_state:
string
Allowed Values:
[ "DEPLOYMENT_JOB_CONNECTION_STATE_UNSPECIFIED", "NOT_SET_UP", "CONNECTED", "NOT_FOUND", "REQUIRED_PARAMETERS_CHANGED" ]Job state. -
description:
string
Description of the registered model.
-
last_updated_timestamp:
integer(int64)
Timestamp in milliseconds when metadata for the model was last updated.
-
latest_versions:
array latest_versions
Collection of latest model versions for each stage. Only contains models with current READY status.
-
name:
string
Unique name for the model.
-
tags:
array tags
Tags for the registered model.
Nested Schema : aliases
Type:
arrayAliases pointing to model versions associated with this registered_model.
Show Source
-
Array of:
object RegisteredModelAlias
Alias of the registered model
Nested Schema : latest_versions
Type:
arrayCollection of latest model versions for each stage. Only contains models with current READY status.
Show Source
-
Array of:
object ModelVersion
Details of the model version.
Nested Schema : RegisteredModelAlias
Type:
objectAlias of the registered model
Show Source
-
alias:
string
The name of the alias.
-
version:
string
The model version number that the alias points to.
Nested Schema : ModelVersion
Type:
objectDetails of the model version.
Show Source
-
aliases:
array aliases
Aliases pointing to this version.
-
creation_timestamp:
integer(int64)
Timestamp in milliseconds when the model version was created.
-
current_stage:
string
Current stage for this model version.
-
deployment_job_state:
object ModelVersionDeploymentJobState
ModelVersion tag.
-
description:
string
Description of this model version.
-
last_updated_timestamp:
integer(int64)
Timestamp in milliseconds when metadata for the model version was last updated.
-
model_id:
string
Model ID for model version that is used to link the registered model to the source logged model.
-
model_metrics:
array model_metrics
Metrics logged for the model.
-
model_params:
array model_params
Parameters logged for the model.
-
name:
string
Unique name for the model.
-
run_id:
string
Run ID used when creating model version.
-
run_link:
string
Direct link to the run that generated this version.
-
source:
string
URI indicating the location of the source model artifacts, used when creating model version.
-
status:
string
Allowed Values:
[ "PENDING_REGISTRATION", "FAILED_REGISTRATION", "READY" ]Current status of model version. -
status_message:
string
Details on current status, if it is pending or failed.
-
tags:
array tags
Tags of model version.
-
user_id:
string
User that created this model version.
-
version:
string
Model???s version number.
Nested Schema : ModelVersionDeploymentJobState
Type:
objectModelVersion tag.
Show Source
-
current_task_name:
string
Current task name.
-
job_id:
string
Job ID.
-
job_state:
string
Allowed Values:
[ "DEPLOYMENT_JOB_CONNECTION_STATE_UNSPECIFIED", "NOT_SET_UP", "CONNECTED", "NOT_FOUND", "REQUIRED_PARAMETERS_CHANGED" ]Job state. -
run_id:
string
Run ID.
-
run_state:
string
Allowed Values:
[ "DEPLOYMENT_JOB_RUN_STATE_UNSPECIFIED", "NO_VALID_DEPLOYMENT_JOB_FOUND", "RUNNING", "SUCCEEDED", "FAILED", "PENDING", "APPROVAL" ]Run state.
Nested Schema : model_metrics
Type:
arrayMetrics logged for the model.
Show Source
-
Array of:
object ModelMetric
Model metric.
Nested Schema : model_params
Type:
arrayParameters logged for the model.
Show Source
-
Array of:
object ModelParam
Model param.
Nested Schema : ModelMetric
Type:
objectModel metric.
Show Source
-
key:
string
Name of the metric.
-
step:
integer(int64)
Step at which to log the metric.
-
timestamp:
integer(int64)
Unix timestamp in milliseconds when this metric was recorded.
-
value:
number(double)
Value of the metric.
Nested Schema : ModelParam
Type:
objectModel param.
Show Source
-
name:
string
Name of the parameter.
-
value:
string
Value of the parameter.
Nested Schema : ModelVersionTag
Type:
objectModelVersion tag.
Show Source
-
key:
string
Key of the tag.
-
value:
string
Value of the tag.
Nested Schema : RegisteredModelTag
Type:
objectTag for the registered model.
Show Source
-
key:
string
Key of the registered model tag.
-
value:
string
Value of the registered model tag.
400 Response
Bad Request (invalid query parameters, malformed headers, and so on).
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
401 Response
Unauthorized (missing or expired credentials, and so on).
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
404 Response
Not Found. The requested resource was not found.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
409 Response
Conflict. Request conflicts with the current state of the resource.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
429 Response
Too Many Requests. Too many requests sent to the server in a short period.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
500 Response
Internal Server Error. The server encountered an unexpected condition preventing fulfilment of the request.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
Default Response
Unknown Error. Error is not recognized by the system.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.