Skip to main content
PUT
Replace the currently loaded model

Authorizations

token
string
query
required

A plaintext token to secure your server, specified at startup in the argument --auth-token thisismysecret

Body

application/json
model_file
string

Path to model file

Example:

"/absolute-path-to-models-directory/models/20190512.tar.gz"

model_server
object
remote_storage
enum<string>

Name of remote storage system

Available options:
aws,
gcs,
azure
Example:

"aws"

Response

Model was successfully replaced.