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

For calling deployed models and chains.
management-api

Management API

For managing models, workspaces, and deployments.

Training API

For managing training projects and jobs, including the Loops API.

Frontier Gateway API

For managing gateway endpoints, groups, and federated API keys.

CLI reference

Truss authors and deploys model code; the Baseten CLI manages your workspace. The CLI overview explains when to use each.

Truss configuration

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

SDK reference

The Python SDKs provide an abstraction for deploying models, managing deployments, and interacting with models through code.

CI/CD

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