Drives are in pre-release in the Baseten CLI (
baseten drive and baseten sandbox drive) and in the Python, TypeScript, and Go SDKs (baseten, @basetenlabs/client, @basetenlabs/sandbox, and baseten-go). Commands, methods, and responses can change. The Management API drive operations are experimental.Get a drive
A drive’s record holds its name, region, status, and labels, and when and by whom it was created and last updated. Its status is one of these values:
To get the drive named
shared-notes:
- TypeScript
- Python
- Go
- API
- CLI
Run the following code:
Next steps
Mount a drive
Mount the drive in a running sandbox.
Update a drive
Replace a drive’s labels.