rebase model

Deploy and operate Rebase models.

Synopsis

rebase model deploy <file.py>
rebase model get <name> --project <project>
rebase model list
rebase model run <name> --project <project>
rebase model versions <name> --project <project>

Subcommands

SubcommandDescription
approve-promotionApprove a model promotion request.
deployDeploy model objects from a Python file.
deploymentsList model environment deployments.
eventsList model audit events.
getShow model metadata.
listList models in the active workspace.
promotePromote a model version between environments.
promotion-requestsList promotion requests for a model.
reject-promotionReject a model promotion request.
request-promotionRequest approval to promote a model to prod.
rollbackRoll back a model environment.
runRun a deployed model.
versionsList versions for a model.

Name-based lookup requires --project. Use --id <uuid> on model-scoped commands when you want to select a model by exact ID.

Run Options

OptionTypeDescription
--projectstrProject name for name-based lookup.
--id, -istrExact model ID.
--env, -estrDeployment environment to run. Defaults to dev.
--param, -pname=json_valueModel parameter. Can be passed more than once.
--parameters-jsonjsonJSON object of parameters.
--wait / --no-wait, -wboolWait for the run to finish. Defaults to --wait.
--timeout, -tintMaximum seconds to wait. Defaults to 600.
--poll-intervalfloatSeconds between status polls. Defaults to 1.0.
--json, -jboolPrint machine-readable JSON output.

Deploy Options

OptionTypeDescription
--name, -nstrDeploy only the top-level variable name or model name.
--env, -estrEnvironment. Defaults to the active environment.

get, versions and list take --project/-p and --json/-j; get and versions also take --id/-i.

On this page