Skip to main content
This reference section documents Baseten’s APIs, CLIs, and Python SDKs for deploying models, managing your workspace, running training jobs, and calling endpoints in production.

API reference

Baseten provides APIs for inference, workspace management, Training Jobs, Loops, and Frontier Gateway:
inference-api

Inference API

Call deployed models and Chains.
management-api

Management API

Manage models, workspaces, and deployments.

Training API

Manage training projects and jobs.

Loops API

Manage Loops sessions, runs, samplers, checkpoints, and deployments.

Frontier Gateway API

Manage gateway endpoints, groups, and federated API keys.

CLI reference

The Baseten CLI deploys and operates models, and the Truss CLI authors model code and runs the Chains, Training, and Loops workflows. See the CLI overview to choose the right CLI for a task.

Truss configuration

The Truss configuration reference documents every key in config.yaml: model resources, dependencies, secrets, and engine settings.

SDK reference

Use the Python SDKs to deploy models, manage deployments, and call models from code.

CI/CD

The Truss Push GitHub Action deploys and validates a Truss model or chain from GitHub Actions.