"Inference Engineering" is now available. Get your copy here
changelog / post

Deployment labels on push

Go back

You can now attach labels to deployments at push time using the --labels flag. Labels are key-value pairs passed as a JSON string that are stored with the deployment.

Sample usage:

truss push --labels '{"env": "staging", "team": "ml-platform", "version": "1.2.0"}'

Labeled deployments can be searched and filtered in the Baseten UI and API. Check out our CLI docs for the full list of flags.