MindSphere CLI: mdsp models Command


mdsp models


mdsp models --help

Alternative form:

mc models

(The CLI was using mc as default command name in older versions)


list, create or delete analytic models *


Parameter list:

Usage: mc models|ml [options]

list, create or delete analytic models *

  -m, --mode [list|create|delete|update|info|download|template]  mode [list | create | delete | update | info | download| template] (default:
  -n, --modelname                                     modelname
  -t, --modeltype                                     modeltype
  -d, --modeldesc                                     modeldesc (default: "created with MindSphere CLI")
  -i, --modelid                                         MindSphere model id
  -f, --metadata                                       model metadata file (default: "model.metadata.mdsp.json")
  -r, --version                                         model version for download (default: "last")
  -p, --payload                                         model payload file (default: "model.payload.mdsp.json")
  -i, --modelid                                         MindSphere model id
  -a, --modelauthor                                 model author (default: "created by MindSphere CLI")
  -k, --passkey                                         passkey
  -y, --retry                                            retry attempts before giving up (default: "3")
  -v, --verbose                                                  verbose output
  -h, --help                                                     display help for command


Here are some examples of how to use the mdsp models command:


    mdsp models --mode template --modeltype core.basicmodel --modelname MyModel 	 creates a template for model
    mdsp models --mode create --metadata model.metadata.mdsp.json --payload model.payload.mdsp.json 
							 creates a model from specified files
    mdsp models --mode list 				 lists all models in MindSphere
    mdsp models --mode delete --modelid 1234567..ef 	 deletes model with specified id
    mdsp models --mode info --modelid 123456...ef 	 print out infos about model with id 132456...ef
    mdsp models --mode download --modelid 123456...ef 	 download model with id 132456...ef

See MindSphere API documentation for more information about MindSphere APIs.

The content of the community tools and libraries documentation pages is licensed under the MIT License.
Siemens API Notice applies.
Back to top