Skip to main content
PUT
/
api
/
ml
/
v1
/
model-versions
/
tags
Apply tags to model version
curl --request PUT \
  --url https://{controlPlaneURL}/api/ml/v1/model-versions/tags \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model_version_id": "<string>",
  "tags": [
    "<string>"
  ],
  "force": false
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
model_version_id
string
required

ID of the model version to apply tags to

tags
string[]
required

List of tags to apply to the model version

force
boolean
default:false

Whether to overwrite existing tags if they conflict

Response

Empty response indicating successful tag application

The response is of type EmptyResponse · object.