ml-model
Manage ML models (data science)
Authentication scope: fabric
List ML models in a workspace
fabio ml-model list --workspace <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | Workspace ID |
Read-only · Returns list
Show details of an ML model
fabio ml-model show --workspace <value> --id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | Workspace ID |
--id |
string |
Yes | ML model ID |
Read-only · Returns object
create
Section titled “create”Create a new ML model
fabio ml-model create --workspace <value> --name <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | Workspace ID |
--name |
string |
Yes | ML model display name |
--description |
string |
No | Optional description |
--sensitivity-label |
string |
No | Sensitivity label ID to apply on creation |
Examples
fabio ml-model create --workspace $WS --name "ChurnPredictor"Mutates state · Returns object
update
Section titled “update”Update ML model properties (name and/or description)
fabio ml-model update --workspace <value> --id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | Workspace ID |
--id |
string |
Yes | ML model ID |
--name |
string |
No | New display name |
--description |
string |
No | New description |
Mutates state · Returns object
delete
Section titled “delete”Delete an ML model
fabio ml-model delete --workspace <value> --id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | Workspace ID |
--id |
string |
Yes | ML model ID |
--hard-delete |
bool |
No | Permanently delete (cannot be recovered) |
Mutates state · Destructive · Returns void
get-endpoint
Section titled “get-endpoint”Get the ML model serving endpoint configuration
fabio ml-model get-endpoint --workspace <value> --id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | Workspace ID |
--id |
string |
Yes | ML model ID |
Read-only · Returns object
update-endpoint
Section titled “update-endpoint”Update the ML model serving endpoint configuration
fabio ml-model update-endpoint --workspace <value> --id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | Workspace ID |
--id |
string |
Yes | ML model ID |
--file |
string |
No | Path to JSON file with endpoint config |
--content |
string |
No | Inline JSON content with endpoint config |
Mutates state · Returns void
Score against the ML model endpoint
fabio ml-model score --workspace <value> --id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | Workspace ID |
--id |
string |
Yes | ML model ID |
--file |
string |
No | Path to JSON file with input data |
--content |
string |
No | Inline JSON input data |
Read-only · Returns object
list-versions
Section titled “list-versions”List endpoint versions
fabio ml-model list-versions --workspace <value> --id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | Workspace ID |
--id |
string |
Yes | ML model ID |
Read-only · Returns list
get-version
Section titled “get-version”Get a specific endpoint version
fabio ml-model get-version --workspace <value> --id <value> --version-name <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | Workspace ID |
--id |
string |
Yes | ML model ID |
--version-name |
string |
Yes | Version name |
Read-only · Returns object
update-version
Section titled “update-version”Update a specific endpoint version
fabio ml-model update-version --workspace <value> --id <value> --version-name <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | Workspace ID |
--id |
string |
Yes | ML model ID |
--version-name |
string |
Yes | Version name |
--file |
string |
No | Path to JSON file with version config |
--content |
string |
No | Inline JSON content with version config |
Mutates state · Returns void
activate-version
Section titled “activate-version”Activate a specific endpoint version
fabio ml-model activate-version --workspace <value> --id <value> --version-name <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | Workspace ID |
--id |
string |
Yes | ML model ID |
--version-name |
string |
Yes | Version name |
Mutates state · Returns object
deactivate-version
Section titled “deactivate-version”Deactivate a specific endpoint version
fabio ml-model deactivate-version --workspace <value> --id <value> --version-name <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | Workspace ID |
--id |
string |
Yes | ML model ID |
--version-name |
string |
Yes | Version name |
Mutates state · Returns object
score-version
Section titled “score-version”Score against a specific endpoint version
fabio ml-model score-version --workspace <value> --id <value> --version-name <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | Workspace ID |
--id |
string |
Yes | ML model ID |
--version-name |
string |
Yes | Version name |
--file |
string |
No | Path to JSON file with input data |
--content |
string |
No | Inline JSON input data |
Read-only · Returns object
deactivate-all-versions
Section titled “deactivate-all-versions”Deactivate all endpoint versions
fabio ml-model deactivate-all-versions --workspace <value> --id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | Workspace ID |
--id |
string |
Yes | ML model ID |
Mutates state · Returns object
list-registry-versions
Section titled “list-registry-versions”List the MLflow model-registry versions of an ML model (the trained model versions)
fabio ml-model list-registry-versions --workspace <value> --id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | Workspace ID |
--id |
string |
Yes | ML model ID |
Read-only · Returns list
get-registry-version
Section titled “get-registry-version”Get a specific MLflow model-registry version (source run, stage, status)
fabio ml-model get-registry-version --workspace <value> --id <value> --version <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | Workspace ID |
--id |
string |
Yes | ML model ID |
--version |
string |
Yes | MLflow model-registry version number (e.g. 1, 2, 3) |
Read-only · Returns object
