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 api-keyCreate, list, and revoke workspace API keys.
rebase connectConnect external services to the active workspace.
rebase deployDeploy Rebase objects from a Python file.
rebase endpointList, inspect, invoke, and disable Rebase endpoints.
rebase functionInspect Rebase functions.
rebase modelDeploy and operate Rebase models.
rebase projectInspect Rebase projects.
rebase runRun a function, workflow, or model from local source without deploying it.
rebase setupAuthenticate and select a workspace.
rebase tuiOpen the Rebase terminal UI.
rebase workflowInspect Rebase workflows.
rebase workspaceShow profiles, invite collaborators, and list workspace members.

On this page