Overview

Reference for the public Rebase Toolkit surface.

API Reference

Application Construction

APIPurpose
rebase.ProjectGroup functions, steps, and workflows for deployment.
rebase.projectCreate a project handle.

Serverless Execution

APIPurpose
rebase.FunctionSDK handle for a deployable function.
rebase.StepSDK handle for a deployable workflow step.
rebase.WorkflowSDK handle for a deployable workflow.
rebase.RunInspect and wait for submitted runs.
rebase.functionRegister a standalone SDK-callable function handle.
rebase.stepRegister a standalone workflow step handle.
rebase.workflowRegister a standalone workflow handle.
rebase.get_functionResolve a deployed function handle.
rebase.get_workflowResolve a deployed workflow handle.

HTTP Endpoints

APIPurpose
rebase.EndpointConfigHTTP endpoint configuration for functions, workflows, and models.
rebase.endpointDeclare an HTTP endpoint config.

Scheduling And Runtime

APIPurpose
rebase.CronDefine a cron schedule for a workflow.
rebase.ImageDeclare function dependencies installed with uv pip install.

Models

APIPurpose
rebase.ModelShared base class for model metadata and deployment config.
rebase.PredictorDeployable model class exposing predict(...).
rebase.OptimizerDeployable model class exposing optimize(...).
rebase.AgentDeployable model class exposing act(...).
rebase.SimulatorLocal-only simulator model class.
rebase.ModelHandleHandle for invoking a deployed model.
rebase.PredictorHandleHandle for invoking a deployed predictor.
rebase.OptimizerHandleHandle for invoking a deployed optimizer.
rebase.AgentHandleHandle for invoking a deployed agent.
rebase.get_modelResolve a deployed model handle from its entrypoint.
rebase.get_predictorResolve a deployed predictor handle.
rebase.get_optimizerResolve a deployed optimizer handle.
rebase.get_agentResolve a deployed agent handle.

Workspace And Utilities

APIPurpose
rebase.ClientLow-level API client used by SDK handles.
rebase.deployDeploy one or more Rebase targets.
rebase.projectsList projects in the active workspace.
rebase.update_workspaceUpdate active workspace metadata and source backing.
rebase.workspaceReturn the active workspace record.
rebase.HuggingFacePublishConfigConfigure Hugging Face publication during model deployment.
rebase.RebaseWorkflowErrorError raised for Rebase SDK and workflow API failures.

CLI

CommandPurpose
CLI overviewCommand index.
rebase adminSuperadmin view of every workspace: members, quota, and this month's spend, with the quota editable.
rebase api-keyCreate, list, and revoke workspace API keys.
rebase bucketManage object storage buckets addressed by key.
rebase connectConnect external services to the active workspace.
rebase datasetManage named datasets, signal updates, and configure contracts and freshness SLAs.
rebase deployDeploy Rebase objects from a Python file.
rebase endpointList, inspect, invoke, and disable Rebase endpoints.
rebase environmentInspect and manage deployment environment policies.
rebase functionInspect Rebase functions.
rebase hillclimbStart, watch, stop, and promote agentic model searches.
rebase initConnect this repository to a workspace you belong to.
rebase modelDeploy and operate Rebase models.
rebase profileInspect and switch local CLI profiles, and link another social login.
rebase projectInspect Rebase projects.
rebase runRun a function, workflow, or model from local source without deploying it.
rebase secretStore workspace secrets to reference from secrets=.
rebase setupAuthenticate and select a workspace.
rebase shellOpen an interactive shell in a cloud container with a target's image, env vars, secrets, and volumes.
rebase tuiOpen the Rebase terminal UI.
rebase volumeManage persistent file volumes mounted into deployed functions and apps.
rebase workflowInspect Rebase workflows.
rebase workspaceList, switch, create, and manage members of the Rebase workspaces you belong to.

On this page