Authentication
Send your Baseten API key as a bearer token:Teams
Most routes use/v1/loops and run in your organization’s default team. Routes under /v1/teams/{team_id}/loops provision or list resources in a specified team.
In the Loops Python SDK, pass the team name as the team argument to ServiceClient. The SDK looks up the team’s ID for these requests.
Resource model
A session owns runs and samplers. A run owns checkpoints, and checkpoints produce deployments. Both the HTTP API and the Python SDK identify a trainer by itsrun_id.