Skip to main content

API reference

Inference API

Call Model APIs, models you deploy, and Chains.

Management API

Manage models, deployments, and workspace resources. Query Model API metrics by team.

Loops API

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

Training API

Manage training projects and jobs.

Frontier Gateway API

Manage the endpoints, customer groups, and API keys for your inference API.

Sandbox runtime API

Work with files, processes, and network connections inside a sandbox.

Tools and configuration

CLIs

Baseten CLI, Truss CLI, and Baseten Switch commands.

Libraries and tools

Install SDKs, inference clients, and command-line tools.

Configuration

Configure Truss deployments, inference engines, and training jobs.

Metrics

Look up exported metric names, types, and labels for deployments and Model APIs.
For dashboard graphs and examples of querying metrics with the CLI or REST API, see Model API metrics.

Integrations