Skip to main content
List your team’s drives to find one by name or to check which ones failed. Set up your SDK or the CLI before running these examples.
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:
Run the following code:

Filter drives

Filter by a search over drive names, by status, or by both. The status values are DEPLOYING, DEPLOYED, FAILED, and DELETING, and you can pass more than one. To list drives with notes in their name that failed:
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.