Manage Cloud applications¶
Info
Learn the concepts and fundamentals of applications in the Explanation page.
A Nextmv application is an entity that contains a decision model as executable code.
This how-to guide explains how to interact with the actions under the nextmv
cloud app command tree. Go the reference section or use the
--help option to see all the available options for each command.
Create an app¶
Use the nextmv cloud app create command to create a new
application.
⏳ Creating application...
{
"id": "app-w1mzyb4t",
"name": "app-w1mzyb4t",
"description": "",
"type": "custom",
"default_instance": "",
"default_experiment_instance": "",
"subscription_id": "",
"locked": false,
"created_at": "2026-07-22T20:58:07.769903Z",
"updated_at": "2026-07-22T20:58:07.769903Z"
}
The command above will create a random ID, and use the same identifier for the
app's name. The name of the application is used as a human-readable label. You
can use the --app-id and/or --name options to specify a custom ID and name
for the application. For example:
⏳ Creating application...
{
"id": "quirky-rabbit",
"name": "A quirky rabbit",
"description": "",
"type": "custom",
"default_instance": "",
"default_experiment_instance": "",
"subscription_id": "",
"locked": false,
"created_at": "2026-07-22T20:58:31.429643Z",
"updated_at": "2026-07-22T20:58:31.429643Z"
}
When working with Nextpipe and decision worklows, you must specify
that an application is of type "workflow" at the time of creation. Use the
--is-workflow option to create a workflow application:
⏳ Creating application...
{
"id": "quirky-rabbit-workflow",
"name": "quirky-rabbit-workflow",
"description": "",
"type": "pipeline",
"default_instance": "",
"default_experiment_instance": "",
"subscription_id": "",
"locked": false,
"created_at": "2026-07-22T20:59:40.777020Z",
"updated_at": "2026-07-22T20:59:40.777020Z"
}
In automated workflows, you don't have to check if an application exists before
creating it. Use the --exist-ok option to avoid an error if the application
already exists:
⏳ Creating or getting application...
{
"id": "quirky-rabbit",
"name": "A quirky rabbit",
"description": "",
"type": "custom",
"default_instance": "",
"default_experiment_instance": "",
"subscription_id": "",
"locked": false,
"created_at": "2026-07-22T20:58:31.429643Z",
"updated_at": "2026-07-22T20:58:31.429643Z"
}
Get an app¶
Use the nextmv cloud app get command to retrieve an existing
application by its ID.
⏳ Getting application...
{
"id": "quirky-rabbit",
"name": "A quirky rabbit",
"description": "",
"type": "custom",
"default_instance": "",
"default_experiment_instance": "",
"subscription_id": "",
"locked": false,
"created_at": "2026-07-22T20:58:31.429643Z",
"updated_at": "2026-07-22T20:58:31.429643Z"
}
You can list all applications in the account using the nextmv cloud app
list command. The same information is displayed as for the
individual applications, but as an array of objects.
⏳ Listing applications...
[
{
"id": "quirky-rabbit-workflow",
"name": "quirky-rabbit-workflow",
"description": "",
"type": "pipeline",
"default_instance": "",
"default_experiment_instance": "",
"subscription_id": "",
"locked": false,
"created_at": "2026-07-22T20:59:40.777020Z",
"updated_at": "2026-07-22T20:59:40.777020Z"
},
...
{
"id": "quirky-rabbit",
"name": "A quirky rabbit",
"description": "",
"type": "custom",
"default_instance": "",
"default_experiment_instance": "",
"subscription_id": "",
"locked": false,
"created_at": "2026-07-22T20:58:31.429643Z",
"updated_at": "2026-07-22T20:58:31.429643Z"
}
]
For automated workflows, you can check if an application exists with the
nextmv cloud app exists command. The command will return
a zero exit code if the application exists, and a non-zero exit code if it does
not.
Update an app¶
You can update different attributes of an application using the nextmv cloud
app update command, such as its:
- Name
- Description
- Default instance ID
- Default experiment instance ID
Please note that you cannot update the type of an application or its ID after it has been created.
⏳ Updating application...
✅ Application quirky-rabbit updated successfully.
{
"id": "quirky-rabbit",
"name": "A quirky rabbit",
"description": "This application inspects the quirks of rabbits",
"type": "custom",
"default_instance": "",
"default_experiment_instance": "",
"subscription_id": "",
"locked": false,
"created_at": "2026-07-22T20:58:31.429643Z",
"updated_at": "2026-07-22T21:14:19.399410Z"
}
Delete an app¶
Warning
Deleting an application is irreversible. All the app's data, such as its runs, instances, and experiments, will be permanently deleted.
Delete an application using the nextmv cloud app delete
command. The CLI will prompt you to confirm the deletion but you can override
it with the --yes option.