> ## Documentation Index
> Fetch the complete documentation index at: https://docs.baseten.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Reference documentation

> For deploying, managing, and interacting with machine learning models on Baseten.

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:

<CardGroup cols={2}>
  <Card title="Inference API" img="https://mintcdn.com/baseten-preview/W3NbEem9OZkF5rdB/images/inference-api.png?fit=max&auto=format&n=W3NbEem9OZkF5rdB&q=85&s=db298df57b8b5162245c0288b629fdfe" href="/reference/inference-api/overview" width="956" height="458" data-path="images/inference-api.png">
    For calling deployed models and chains.
  </Card>

  <Card title="Management API" img="https://mintcdn.com/baseten-preview/RbqB0rxPApYUjR04/_images/management-api.png?fit=max&auto=format&n=RbqB0rxPApYUjR04&q=85&s=2badee2eeeb313cceebba96e56aef8b4" href="/reference/management-api/overview" width="956" height="458" data-path="_images/management-api.png">
    For managing models, workspaces, and deployments.
  </Card>

  <Card title="Training API" icon="dumbbell" href="/reference/training-api/overview">
    For managing training projects and jobs, including the Loops API.
  </Card>

  <Card title="Frontier Gateway API" icon="globe" href="/reference/gateway/overview">
    For managing gateway endpoints, groups, and federated API keys.
  </Card>
</CardGroup>

## CLI reference

Truss authors and deploys model code; the Baseten CLI manages your workspace. The [CLI overview](/reference/cli/index) explains when to use each.

* [Truss CLI reference](/reference/cli/truss/overview): Commands for initializing, deploying, and managing models.
* [Baseten CLI reference](/reference/cli/baseten/overview): Commands for managing organizations, API keys, secrets, and the deployment lifecycle from scripts and CI.
* [Chains CLI reference](/reference/cli/chains/chains-cli): Commands for orchestrating multi-model workflows.
* [Training CLI reference](/reference/cli/training/training-cli): Commands for managing training jobs.
* [Loops CLI reference](/reference/cli/loops/loops-cli): Commands for deploying and inspecting Loops sessions, runs, samplers, and checkpoints.

***

## Truss configuration

The [Truss configuration reference](/reference/truss-configuration) 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.

* [Truss SDK reference](/reference/sdk/truss/overview): Deploy and interact with Truss models using Python.
* [Chains SDK reference](/reference/sdk/chains): Build and manage inference chains programmatically.
* [Training SDK reference](/reference/sdk/training): Deploy and interact with trained models using Python.
* [Loops SDK reference](/reference/sdk/loops/overview): Python clients for Loops training, sampling, and session management.

***

## CI/CD

The [Truss Push GitHub Action](/reference/ci/github-action) deploys and validates a Truss model or chain from GitHub Actions.
