Add workspace API keys for more granular permissions

We added workspace API keys to give you more control over how you call models, especially in production environments.

There are now two types of API keys on Baseten:

  • Personal keys are tied to your Baseten account. This is the type of API key that previously existed and these keys are unchanged โ€” they can still be used to deploy, call, and manage models.

  • Workspace keys are shared across your entire Baseten workspace. When you create a workspace API key, you can grant it full access to the workspace or limit it to only being able to call and wake selected models.

Every action taken with a personal API key is associated with the matching user account. Use account-level API keys for deploying and testing models and use workspace-level API keys in automated actions and production environments.

Workspace and personal API keys