(Preview) Create a model version in a workspace

post

/20260430/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/mlops/api/2.0/mlflow/model-versions/create

(Preview) Creates a new model version in a specified workspace.

Request

Path Parameters
Header Parameters
  • The DH User Principal Header .
  • 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.
  • Minimum Length: 1
    Maximum Length: 64
    A 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.
Body ()
Details for the new model version.
Root Schema : CreateModelVersionDetails
Type: object
The data to create a model version.
Show Source
Nested Schema : tags
Type: array
Tags of model version.
Show Source
Nested Schema : ModelVersionTag
Type: object
ModelVersion tag.
Show Source
Back to Top

Response

Supported Media Types

200 Response

Successful operation. Model version is created.
Headers
  • For optimistic concurrency control. See `if-match`.
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : CreateModelVersionResponseDetails
Type: object
Created model version details.
Show Source
Nested Schema : ModelVersion
Type: object
Details of the model version.
Show Source
Nested Schema : aliases
Type: array
Aliases pointing to this version.
Show Source
Nested Schema : ModelVersionDeploymentJobState
Type: object
ModelVersion tag.
Show Source
Nested Schema : model_metrics
Type: array
Metrics logged for the model.
Show Source
Nested Schema : model_params
Type: array
Parameters logged for the model.
Show Source
Nested Schema : tags
Type: array
Tags of model version.
Show Source
Nested Schema : ModelMetric
Type: object
Model metric.
Show Source
Nested Schema : ModelParam
Type: object
Model param.
Show Source
Nested Schema : ModelVersionTag
Type: object
ModelVersion tag.
Show Source

400 Response

Bad Request (invalid query parameters, malformed headers, and so on).
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

401 Response

Unauthorized (missing or expired credentials, and so on).
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

404 Response

Not Found. The requested resource was not found.
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

409 Response

Conflict. Request conflicts with the current state of the resource.
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

429 Response

Too Many Requests. Too many requests sent to the server in a short period.
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

500 Response

Internal Server Error. The server encountered an unexpected condition preventing fulfilment of the request.
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

Default Response

Unknown Error. Error is not recognized by the system.
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source
Back to Top