Creates a Model Version.
POST
/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/model-versions/create
MLFlow Model Versions map to GitLab Model Versions. https://mlflow.org/docs/2.19.0/rest-api.html#create-modelversion
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Request Body
Section titled “ Request Body ” Media type application/json
object
name
Register model under this name This field is required.
string
description
Optional description for model version.
string
tags
Additional metadata for a model version.
array
run_id
Run ID of the candidate to be promoted to a model version
string
Example generated
{ "name": "example", "description": "example", "tags": [ "example" ], "run_id": "example"}Responses
Section titled “ Responses ”Created
Media type application/json
object
name
string
version
string
creation_timestamp
integer
last_updated_timestamp
integer
user_id
string
current_stage
string
description
string
source
string
run_id
string
status
string
status_message
string
tags
Array<object>
object
key
string
value
string
run_link
string
aliases
Array<string>
Example
{ "current_stage": "development", "status": "READY"}Bad Request
Not Found