Deploy ML apps to Paperspace.
These flags are available on all commands.
Enable debug logging. One of debug
, info
, warning
, error
, or critical
.
Output JSON
A Paperspace public API Key used for authenticating requests
Show help for a command
Get a deployment by its ID. If you don’t provide an ID, this command prompts you for one based on the deployments you have access to.
pspace deployment get 123e4567-e89b-12d3-a456-426614174000
Pick a subset of fields to display:
pspace deployment get 123e4567-e89b-12d3-a456-426614174000 -F name
The deployment ID to get.
The fields to include in the response.
These flags are available on all commands.
Enable debug logging. One of debug
, info
, warning
, error
, or critical
.
Output JSON
A Paperspace public API Key used for authenticating requests
Show help for a command
List deployments in your team.
Pick a subset of fields to display:
pspace deployment list -F id -F name
The number of items to return in the next page.
The cursor to fetch the next results from.
The field to order items by. One of dtCreated
.
Whether to order items ascending.
Whether to order items descending.
The fields to include in the response.
These flags are available on all commands.
Enable debug logging. One of debug
, info
, warning
, error
, or critical
.
Output JSON
A Paperspace public API Key used for authenticating requests
Show help for a command
This command creates a new deployment for your app or update it if it already exists. You can optionally specify a path to a config file. If no config file is specified, the default config file paths is tried.
Create a new deployment for the app in the current directory.
$ pspace deployment create
Create a new deployment using a config file.
$ pspace deployment create -c paperspace.json
Create a new deployment for an app in a different directory.
$ pspace deployment create --cwd ../my-app
Create a new deployment for an app in a specific project.
$ pspace deployment create --project-id 1234
The path to the config file. Defaults to our default config file paths.
The default config file paths are in order of precedence:
paperspace.yaml
paperspace.yml
paperspace.json
paperspace.jsonc
paperspace.toml
.paperspace/app.yaml
.paperspace/app.yml
.paperspace/app.json
.paperspace/app.jsonc
.paperspace/app.toml
The ID of the project to deploy to.
The directory to deploy the app from. Defaults to the current directory.
These flags are available on all commands.
Enable debug logging. One of debug
, info
, warning
, error
, or critical
.
Output JSON
A Paperspace public API Key used for authenticating requests
Show help for a command
Delete a deployment by its ID. If you don’t provide an ID, this command prompts you for one based on the deployments you have access to.
pspace deployment delete 123e4567-e89b-12d3-a456-426614174000
The deployment ID to delete.
These flags are available on all commands.
Enable debug logging. One of debug
, info
, warning
, error
, or critical
.
Output JSON
A Paperspace public API Key used for authenticating requests
Show help for a command