modal app

Manage deployed and running apps.

Usage:

modal app [OPTIONS] COMMAND [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • list: List all running or recently running Modal apps for the current account
  • logs: Output logs for a running app.
  • stop: Stop an app.

List all running or recently running Modal apps for the current account

Usage:

modal app list [OPTIONS]

Options:

  • --env TEXT: Environment to interact with.

If not specified, Modal will use the default environment of your current profile, or the MODAL_ENVIRONMENT variable. Otherwise, raises an error if the workspace has multiple environments.

  • --json / --no-json: [default: no-json]
  • --help: Show this message and exit.

Output logs for a running app.

Usage:

modal app logs [OPTIONS] APP_ID

Arguments:

  • APP_ID: [required]

Options:

  • --help: Show this message and exit.

Stop an app.

Usage:

modal app stop [OPTIONS] APP_ID

Arguments:

  • APP_ID: [required]

Options:

  • --help: Show this message and exit.