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.List drives
Drives are listed newest first. The SDKs fetch further pages as you iterate. To list your team’s drives:- TypeScript
- Python
- Go
- API
- CLI
Run the following code:
Filter drives
Filter by a search over drive names, by status, or by both. The status values areDEPLOYING, DEPLOYED, FAILED, and DELETING, and you can pass more
than one.
To list drives with notes in their name that failed:
- TypeScript
- Python
- Go
- API
- CLI
Run the following code with the same client:
Next steps
Get a drive
Check one drive’s status, region, and labels.
Delete a drive
Permanently remove a drive and its files.