Create a new version of a model
POST/models/:modelId/versions
Available in development only — the sandbox and production tables are replicas of development, so models cannot be written there.
The version number must not have been used before, and must supersede every version already
created for the model, so its history reads as a straight line. To change a version that
already exists, replace it with PUT /models/{modelId}/versions/{version}.
Creating a version does not put it in use: publish it to an environment to do that.
Request
Responses
- 201
- 401
- 403
- 404
- 409
- 413
Version created successfully
Missing or invalid bearer token
Token does not carry the management:models:write scope, or models are read-only in this environment
Model not found
This version already exists — replace it with PUT — or it does not supersede the latest one
The model is too large to store