Skip to content

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: mdsp 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 Insights Hub CLI")
 -i, --modelid Insights Hub 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 Insights Hub model id
 -a, --modelauthor model author (default: "created by Insights Hub 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 Insights Hub
 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 Insights Hub API documentation for more information about Insights Hub APIs.


Connect and Collaborate with Industrial Professionals and Join the Community!

Click to load comments