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, and the Frontier Gateway:
inference-api

Inference API

Call deployed models and Chains.
management-api

Management API

Manage models, workspaces, and deployments.

Training API

Use the Loops API and manage training projects and jobs.

Frontier Gateway API

Manage gateway endpoints, groups, and federated API keys.

CLI reference

The Baseten and Truss CLIs cover model authoring, deployment, and workspace management. 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.