Skip to content

Baseten CLI

Use the Baseten package via the command line to finetune models

You can always review these commands with baseten --help, which will print a complete list of commands.

baseten

Usage:

baseten [OPTIONS] COMMAND [ARGS]...

Options:

Name Type Description Default
-v, --version boolean Show baseten package version. False
--help boolean Show this message and exit. False

baseten configure

Configure client to use on-prem hosted Baseten environment.

Note

The client works out of the box without any need to run this command. This command is only required if you have Baseten Enterprise hosted on-prem and is not required for most users.

Usage:

baseten configure [OPTIONS]

Options:

Name Type Description Default
--server_url text URL to hosted Baseten solution. None
--help boolean Show this message and exit. False

baseten login

Authenticate user with Baseten using API Key.

Usage:

baseten login [OPTIONS]

Options:

Name Type Description Default
--api_key text Valid API Key from Baseten. None
--help boolean Show this message and exit. False

baseten signup

Signup as new Blueprint user.

The sign-up process:

  1. Create an API generator token
  2. Create a baseten account with the provided email address
  3. Use API generator token to poll for newly created API Key

Usage:

baseten signup [OPTIONS]

Options:

Name Type Description Default
--email text The email to register as user with. None
--help boolean Show this message and exit. False