envs

Baseten — model serving

baseten/api · version 1

envs add baseten/api

This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.

Key Needed Kind Notes
BASETEN_API_KEY required secret Baseten says to keep keys in environment variables or a secret manager, never in code, and never to commit one. Documented as a short prefix, a dot, then the secret, which is the shape checked here. Copy it at once; it is not shown again.. Shape ^[^.\s]+\.[^.\s]+$. where to get it

The JSON the CLI reads